Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the heightmap proxy caster guy and also asteroid belt now #1002

Merged
merged 6 commits into from
Jan 6, 2025

Conversation

TerrificTrifid
Copy link
Member

@TerrificTrifid TerrificTrifid commented Dec 20, 2024

Minor features

  • Added an option to use a detail for asteroid belts, instead of just procgen.
  • Also added asteroid belt options for gravity and random orientation.

Bug fixes

@TerrificTrifid TerrificTrifid changed the title fix the heightmap proxy caster guy fix the heightmap proxy caster guy and also asteroid belt now Dec 20, 2024
NewHorizons/Builder/Body/HeightMapBuilder.cs Show resolved Hide resolved
@@ -62,20 +64,37 @@ public static void Make(string bodyName, PlanetConfig parentConfig, IModBehaviou
enabled = false
};

config.ProcGen = belt.procGen;
if (config.ProcGen == null)
if (belt.assetBundle != null || belt.path != null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since these are strings should probably do string.IsNullOrEmpty

public float gravity = 1f;

/// <summary>
/// Should they be randomly oriented, or all pointing towards the center.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this only affects details not procgen we should say that

@xen-42 xen-42 merged commit d983295 into dev Jan 6, 2025
@xen-42 xen-42 deleted the fix-the-heightmap-proxy-caster branch January 6, 2025 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants