From c5176d70363ac2b8ae5afe8147d75d6efc4546a1 Mon Sep 17 00:00:00 2001 From: TerrificTrifid <99054745+TerrificTrifid@users.noreply.github.com> Date: Fri, 12 Aug 2022 21:39:10 -0500 Subject: [PATCH 1/2] Fix default tornado type --- NewHorizons/External/Modules/PropModule.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NewHorizons/External/Modules/PropModule.cs b/NewHorizons/External/Modules/PropModule.cs index 52ab42c6..70ebc244 100644 --- a/NewHorizons/External/Modules/PropModule.cs +++ b/NewHorizons/External/Modules/PropModule.cs @@ -271,9 +271,9 @@ namespace NewHorizons.External.Modules [JsonConverter(typeof(StringEnumConverter))] public enum TornadoType { - [EnumMember(Value = @"downwards")] Downwards = 0, + [EnumMember(Value = @"upwards")] Upwards = 0, - [EnumMember(Value = @"upwards")] Upwards = 1, + [EnumMember(Value = @"downwards")] Downwards = 1, [EnumMember(Value = @"hurricane")] Hurricane = 2 } @@ -303,7 +303,7 @@ namespace NewHorizons.External.Modules /// /// What type of cyclone should this be? Upwards and downwards are both tornados and will push in that direction. /// - [DefaultValue("downwards")] public TornadoType type = TornadoType.Downwards; + [DefaultValue("upwards")] public TornadoType type = TornadoType.Upwards; /// /// Angular distance from the starting position that it will wander, in terms of the angle around the x-axis. From 70b114b39e91fcef02c501748fd0ecbc46be4390 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 13 Aug 2022 02:41:01 +0000 Subject: [PATCH 2/2] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 5cc6a168..2a36d134 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -1634,7 +1634,7 @@ }, "type": { "description": "What type of cyclone should this be? Upwards and downwards are both tornados and will push in that direction.", - "default": "downwards", + "default": "upwards", "$ref": "#/definitions/TornadoType" }, "wanderDegreesX": { @@ -1665,13 +1665,13 @@ "type": "string", "description": "", "x-enumNames": [ - "Downwards", "Upwards", + "Downwards", "Hurricane" ], "enum": [ - "downwards", "upwards", + "downwards", "hurricane" ] },