mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 12:05:23 +01:00
Updated Schemas
This commit is contained in:
parent
e626dc6974
commit
2e06de70c2
@ -5434,6 +5434,13 @@
|
||||
"$ref": "#/definitions/HazardVolumeInfo"
|
||||
}
|
||||
},
|
||||
"interactionVolumes": {
|
||||
"type": "array",
|
||||
"description": "Add interaction volumes to this planet.\nThey can be interacted with by the player to trigger various effects.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/InteractionVolumeInfo"
|
||||
}
|
||||
},
|
||||
"interferenceVolumes": {
|
||||
"type": "array",
|
||||
"description": "Add interference volumes to this planet.\nHides HUD markers of ship scout/probe and prevents scout photos if you are not inside the volume together with ship or scout probe.",
|
||||
@ -6626,6 +6633,95 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"InteractionVolumeInfo": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"radius": {
|
||||
"type": "number",
|
||||
"description": "The radius of this volume, if a shape is not specified.",
|
||||
"format": "float",
|
||||
"default": 1.0
|
||||
},
|
||||
"shape": {
|
||||
"description": "The shape of this volume. Defaults to a sphere with a radius of `radius` if not specified.",
|
||||
"$ref": "#/definitions/ShapeInfo"
|
||||
},
|
||||
"rotation": {
|
||||
"description": "Rotation of the object",
|
||||
"$ref": "#/definitions/MVector3"
|
||||
},
|
||||
"alignRadial": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
],
|
||||
"description": "Do we try to automatically align this object to stand upright relative to the body's center? Stacks with rotation.\nDefaults to true for geysers, tornados, and volcanoes, and false for everything else."
|
||||
},
|
||||
"position": {
|
||||
"description": "Position of the object",
|
||||
"$ref": "#/definitions/MVector3"
|
||||
},
|
||||
"isRelativeToParent": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the positional and rotational coordinates are relative to parent instead of the root planet object."
|
||||
},
|
||||
"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 object"
|
||||
},
|
||||
"prompt": {
|
||||
"type": "string",
|
||||
"description": "The prompt to display when the volume is interacted with."
|
||||
},
|
||||
"range": {
|
||||
"type": "number",
|
||||
"description": "The range at which the volume can be interacted with.",
|
||||
"format": "float",
|
||||
"default": 2.0
|
||||
},
|
||||
"maxViewAngle": {
|
||||
"type": [
|
||||
"null",
|
||||
"number"
|
||||
],
|
||||
"description": "The max view angle (in degrees) the player can see the volume with to interact with it. This will effectively be a cone extending from the volume's center forwards (along the Z axis) based on the volume's rotation.\nIf not specified, no view angle restriction will be applied.",
|
||||
"format": "float"
|
||||
},
|
||||
"usableInShip": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the volume can be interacted with while in the ship."
|
||||
},
|
||||
"reusable": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the volume can be interacted with multiple times."
|
||||
},
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"description": "The name of the dialogue condition or persistent condition to set when the volume is interacted with."
|
||||
},
|
||||
"persistent": {
|
||||
"type": "boolean",
|
||||
"description": "If true, the condition will persist across all future loops until unset."
|
||||
},
|
||||
"audio": {
|
||||
"type": "string",
|
||||
"description": "A sound to play when the volume is interacted with. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list."
|
||||
},
|
||||
"pathToAnimator": {
|
||||
"type": "string",
|
||||
"description": "A path to an animator component where an animation will be triggered when the volume is interacted with. "
|
||||
},
|
||||
"animationTrigger": {
|
||||
"type": "string",
|
||||
"description": "The name of an animation trigger to set on the animator when the volume is interacted with."
|
||||
}
|
||||
}
|
||||
},
|
||||
"VolumeInfo": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user