mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Updated Schemas
This commit is contained in:
parent
4754dfe043
commit
f33a820c94
@ -2495,6 +2495,13 @@
|
|||||||
"$ref": "#/definitions/DestructionVolumeInfo"
|
"$ref": "#/definitions/DestructionVolumeInfo"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"fluidVolumes": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Add fluid volumes to this planet.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/definitions/FluidVolumeInfo"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hazardVolumes": {
|
"hazardVolumes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "Add hazard volumes to this planet.",
|
"description": "Add hazard volumes to this planet.",
|
||||||
@ -2722,6 +2729,87 @@
|
|||||||
"crushedByElevator"
|
"crushedByElevator"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"FluidVolumeInfo": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"layer": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "The layer of this volume.",
|
||||||
|
"format": "int32",
|
||||||
|
"default": 0
|
||||||
|
},
|
||||||
|
"priority": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "The priority for this volume's effects to be applied. \nEx, a player in a gravity volume with priority 0, and zero-gravity volume with priority 1, will feel zero gravity.",
|
||||||
|
"format": "int32",
|
||||||
|
"default": 1
|
||||||
|
},
|
||||||
|
"position": {
|
||||||
|
"description": "The location of this volume. Optional (will default to 0,0,0).",
|
||||||
|
"$ref": "#/definitions/MVector3"
|
||||||
|
},
|
||||||
|
"radius": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "The radius of this volume.",
|
||||||
|
"format": "float",
|
||||||
|
"default": 1.0
|
||||||
|
},
|
||||||
|
"parentPath": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The relative path from the planet to the parent of this object. Optional (will default to the root sector)."
|
||||||
|
},
|
||||||
|
"rename": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "An optional rename of this volume."
|
||||||
|
},
|
||||||
|
"density": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "Density of the fluid. The higher the density, the harder it is to go through this fluid.",
|
||||||
|
"format": "float",
|
||||||
|
"default": 1.2
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"description": "The type of fluid for this volume.",
|
||||||
|
"$ref": "#/definitions/FluidType2"
|
||||||
|
},
|
||||||
|
"alignmentFluid": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Should the player and rafts align to this fluid.",
|
||||||
|
"default": true
|
||||||
|
},
|
||||||
|
"allowShipAutoroll": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Should the ship align to the fluid by rolling."
|
||||||
|
},
|
||||||
|
"disableOnStart": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Disable this fluid volume immediately?"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"FluidType2": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "",
|
||||||
|
"x-enumNames": [
|
||||||
|
"NONE",
|
||||||
|
"AIR",
|
||||||
|
"WATER",
|
||||||
|
"CLOUD",
|
||||||
|
"SAND",
|
||||||
|
"PLASMA",
|
||||||
|
"FOG"
|
||||||
|
],
|
||||||
|
"enum": [
|
||||||
|
"none",
|
||||||
|
"air",
|
||||||
|
"water",
|
||||||
|
"cloud",
|
||||||
|
"sand",
|
||||||
|
"plasma",
|
||||||
|
"fog"
|
||||||
|
]
|
||||||
|
},
|
||||||
"HazardVolumeInfo": {
|
"HazardVolumeInfo": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user