diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index b34d82aa..5615d7fa 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -1441,6 +1441,11 @@ "type": "object", "additionalProperties": false, "properties": { + "enabled": { + "type": "boolean", + "description": "Allows the object to be targeted.", + "default": true + }, "hideInMap": { "type": "boolean", "description": "Stop the object from being targeted on the map." diff --git a/NewHorizons/Schemas/star_system_schema.json b/NewHorizons/Schemas/star_system_schema.json index 4d1e9685..c3c3fe30 100644 --- a/NewHorizons/Schemas/star_system_schema.json +++ b/NewHorizons/Schemas/star_system_schema.json @@ -44,6 +44,26 @@ "type": "string", "description": "Relative filepath to the .wav file to use as the audio. Mutually exclusive with travelAudioClip." }, + "coords": { + "description": "Coordinates that the vessel can use to warp to your solar system.", + "$ref": "#/definitions/NomaiCoordinates" + }, + "vesselPosition": { + "description": "The position in the solar system the vessel will warp to.", + "$ref": "#/definitions/MVector3" + }, + "vesselRotation": { + "description": "Euler angles by which the vessel will be oriented.", + "$ref": "#/definitions/MVector3" + }, + "warpExitPosition": { + "description": "The relative position to the vessel that you will be teleported to when you exit the vessel through the black hole.", + "$ref": "#/definitions/MVector3" + }, + "warpExitRotation": { + "description": "Euler angles by which the warp exit will be oriented.", + "$ref": "#/definitions/MVector3" + }, "entryPositions": { "type": "array", "description": "Manually layout ship log entries in detective mode", @@ -89,6 +109,51 @@ } } }, + "NomaiCoordinates": { + "type": "object", + "additionalProperties": false, + "properties": { + "x": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "y": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "z": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + } + } + }, + "MVector3": { + "type": "object", + "additionalProperties": false, + "properties": { + "x": { + "type": "number", + "format": "float" + }, + "y": { + "type": "number", + "format": "float" + }, + "z": { + "type": "number", + "format": "float" + } + } + }, "EntryPositionInfo": { "type": "object", "additionalProperties": false,