Updated Schemas

This commit is contained in:
Ben C 2023-07-20 23:46:16 +00:00
parent 48c5c46c58
commit 72d683d4db

View File

@ -2132,6 +2132,40 @@
"description": "Fluid type for sounds/effects when colliding with this tornado.",
"default": "cloud",
"$ref": "#/definitions/NHFluidType"
},
"hazardType": {
"description": "The type of hazard for this volume. Leave empty for this tornado to not be hazardous.",
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/HazardType"
}
]
},
"damagePerSecond": {
"type": "number",
"description": "The amount of damage you will take per second while inside this tornado. Only used it hazardType is set.",
"format": "float",
"default": 10.0
},
"firstContactDamageType": {
"description": "The type of damage you will take when you first touch this volume. Leave empty for this tornado to not cause damage on first contact.",
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/InstantDamageType"
}
]
},
"firstContactDamage": {
"type": "number",
"description": "The amount of damage you will take when you first touch this volume. Only relevant if firstContactDamageType is set.",
"format": "float",
"default": 10.0
}
}
},
@ -2149,6 +2183,46 @@
"hurricane"
]
},
"HazardType": {
"type": "string",
"description": "",
"x-enumNames": [
"NONE",
"GENERAL",
"DARKMATTER",
"HEAT",
"FIRE",
"SANDFALL",
"ELECTRICITY",
"RAPIDS",
"RIVERHEAT"
],
"enum": [
"none",
"general",
"ghostMatter",
"heat",
"fire",
"sandfall",
"electricity",
"rapids",
"riverHeat"
]
},
"InstantDamageType": {
"type": "string",
"description": "",
"x-enumNames": [
"Impact",
"Puncture",
"Electrical"
],
"enum": [
"impact",
"puncture",
"electrical"
]
},
"VolcanoInfo": {
"type": "object",
"additionalProperties": false,
@ -3846,46 +3920,6 @@
}
}
},
"HazardType": {
"type": "string",
"description": "",
"x-enumNames": [
"NONE",
"GENERAL",
"DARKMATTER",
"HEAT",
"FIRE",
"SANDFALL",
"ELECTRICITY",
"RAPIDS",
"RIVERHEAT"
],
"enum": [
"none",
"general",
"ghostMatter",
"heat",
"fire",
"sandfall",
"electricity",
"rapids",
"riverHeat"
]
},
"InstantDamageType": {
"type": "string",
"description": "",
"x-enumNames": [
"Impact",
"Puncture",
"Electrical"
],
"enum": [
"impact",
"puncture",
"electrical"
]
},
"VolumeInfo": {
"type": "object",
"additionalProperties": false,