From fa8b1249e83536812a2d08c72b1113ee4a70b3fc Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Sat, 24 Dec 2022 13:19:01 -0500 Subject: [PATCH] Add renames --- NewHorizons/External/Modules/PropModule.cs | 30 +++++++++++++++++++ .../Modules/VariableSize/SingularityModule.cs | 5 ++++ 2 files changed, 35 insertions(+) diff --git a/NewHorizons/External/Modules/PropModule.cs b/NewHorizons/External/Modules/PropModule.cs index 4e0a3a1e..51610074 100644 --- a/NewHorizons/External/Modules/PropModule.cs +++ b/NewHorizons/External/Modules/PropModule.cs @@ -243,6 +243,11 @@ namespace NewHorizons.External.Modules /// Acceleration of the raft. Default acceleration is 5. /// [DefaultValue(5f)] public float acceleration = 5f; + + /// + /// An optional rename of this object + /// + public string rename; } [JsonObject] @@ -287,6 +292,11 @@ namespace NewHorizons.External.Modules /// Loudness of the geyser /// [DefaultValue(0.7f)] public float volume = 0.7f; + + /// + /// An optional rename of this object + /// + public string rename; } [JsonObject] @@ -354,6 +364,11 @@ namespace NewHorizons.External.Modules /// Fluid type for sounds/effects when colliding with this tornado. /// [DefaultValue("cloud")] public FluidType fluidType = FluidType.Cloud; + + /// + /// An optional rename of this object + /// + public string rename; } [JsonObject] @@ -402,6 +417,11 @@ namespace NewHorizons.External.Modules /// The colour of the meteor's stone. /// public MColor stoneTint; + + /// + /// An optional rename of this object + /// + public string rename; } [JsonObject] @@ -489,6 +509,11 @@ namespace NewHorizons.External.Modules /// The position of this entry location /// public MVector3 position; + + /// + /// An optional rename of this object + /// + public string rename; } [JsonObject] @@ -680,6 +705,11 @@ namespace NewHorizons.External.Modules /// Whether the positional and rotational coordinates are relative to parent instead of the root planet object. /// public bool isRelativeToParent; + + /// + /// An optional rename of this object + /// + public string rename; } [JsonObject] diff --git a/NewHorizons/External/Modules/VariableSize/SingularityModule.cs b/NewHorizons/External/Modules/VariableSize/SingularityModule.cs index 448c3cdb..bbdcf27f 100644 --- a/NewHorizons/External/Modules/VariableSize/SingularityModule.cs +++ b/NewHorizons/External/Modules/VariableSize/SingularityModule.cs @@ -75,5 +75,10 @@ namespace NewHorizons.External.Modules.VariableSize /// Optional override for the render queue. If the singularity is rendering oddly, increasing this to 3000 can help /// [Range(2501f, 3500f)] public int renderQueueOverride = 2985; + + /// + /// An optional rename of this object + /// + public string rename; } } \ No newline at end of file