mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Merge pull request #264 from xen-42/tornado-default-fix
Fix default tornado type
This commit is contained in:
commit
e99c0af965
6
NewHorizons/External/Modules/PropModule.cs
vendored
6
NewHorizons/External/Modules/PropModule.cs
vendored
@ -271,9 +271,9 @@ namespace NewHorizons.External.Modules
|
|||||||
[JsonConverter(typeof(StringEnumConverter))]
|
[JsonConverter(typeof(StringEnumConverter))]
|
||||||
public enum TornadoType
|
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
|
[EnumMember(Value = @"hurricane")] Hurricane = 2
|
||||||
}
|
}
|
||||||
@ -303,7 +303,7 @@ namespace NewHorizons.External.Modules
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// What type of cyclone should this be? Upwards and downwards are both tornados and will push in that direction.
|
/// What type of cyclone should this be? Upwards and downwards are both tornados and will push in that direction.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DefaultValue("downwards")] public TornadoType type = TornadoType.Downwards;
|
[DefaultValue("upwards")] public TornadoType type = TornadoType.Upwards;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Angular distance from the starting position that it will wander, in terms of the angle around the x-axis.
|
/// Angular distance from the starting position that it will wander, in terms of the angle around the x-axis.
|
||||||
|
|||||||
@ -1634,7 +1634,7 @@
|
|||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"description": "What type of cyclone should this be? Upwards and downwards are both tornados and will push in that direction.",
|
"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"
|
"$ref": "#/definitions/TornadoType"
|
||||||
},
|
},
|
||||||
"wanderDegreesX": {
|
"wanderDegreesX": {
|
||||||
@ -1665,13 +1665,13 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "",
|
"description": "",
|
||||||
"x-enumNames": [
|
"x-enumNames": [
|
||||||
"Downwards",
|
|
||||||
"Upwards",
|
"Upwards",
|
||||||
|
"Downwards",
|
||||||
"Hurricane"
|
"Hurricane"
|
||||||
],
|
],
|
||||||
"enum": [
|
"enum": [
|
||||||
"downwards",
|
|
||||||
"upwards",
|
"upwards",
|
||||||
|
"downwards",
|
||||||
"hurricane"
|
"hurricane"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user