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
e1fb84773c
commit
e63549b659
File diff suppressed because it is too large
Load Diff
@ -1,52 +1,88 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||||
|
"title": "Star System Schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Star System",
|
|
||||||
"description": "Configuration for a specific star system",
|
"description": "Configuration for a specific star system",
|
||||||
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"canEnterViaWarpDrive": {
|
"canEnterViaWarpDrive": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether this system can be warped to via the warp drive"
|
"description": "Whether this system can be warped to via the warp drive"
|
||||||
},
|
},
|
||||||
"startHere": {
|
"coords": {
|
||||||
"type": "boolean",
|
"description": "[DEPRECATED] Not implemented",
|
||||||
"description": "Set to true if you want to spawn here after dying, not Timber Hearth. You can still warp back to the main star system."
|
"$ref": "#/definitions/NomaiCoordinates"
|
||||||
},
|
|
||||||
"factRequiredForWarp": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Set to the FactID that must be revealed before it can be warped to. Don't set `CanEnterViaWarpDrive` to false if you're using this, that would make no sense."
|
|
||||||
},
|
},
|
||||||
"destroyStockPlanets": {
|
"destroyStockPlanets": {
|
||||||
"type": "bool",
|
"type": "boolean",
|
||||||
"description": "Do you want a clean slate for this star system? Or will it be a modified version of the original."
|
"description": "Do you want a clean slate for this star system? Or will it be a modified version of the original."
|
||||||
},
|
},
|
||||||
"enableTimeLoop": {
|
"enableTimeLoop": {
|
||||||
"type": "bool",
|
"type": "boolean",
|
||||||
"description": "Should the player be sent back in time after 22 minutes?",
|
"description": "Should the time loop be enabled in this system?",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
|
"factRequiredForWarp": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Set to the FactID that must be revealed before it can be warped to. Don't set `CanEnterViaWarpDrive` to `false` if\nyou're using this, that would make no sense."
|
||||||
|
},
|
||||||
"mapRestricted": {
|
"mapRestricted": {
|
||||||
"type": "bool",
|
"type": "boolean",
|
||||||
"description": "Should the player be unable to use their map in this system?",
|
"description": "Should the player not be able to view the map in this system?"
|
||||||
"default": false
|
},
|
||||||
|
"skybox": {
|
||||||
|
"description": "Customize the skybox for this system",
|
||||||
|
"$ref": "#/definitions/SkyboxConfig"
|
||||||
|
},
|
||||||
|
"startHere": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Set to `true` if you want to spawn here after dying, not Timber Hearth. You can still warp back to the main star\nsystem."
|
||||||
},
|
},
|
||||||
"subtitle": {
|
"subtitle": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Relative path to a subtitle image to be displayed on the main menu scene. The image should be 669x97 resolution."
|
"description": "Relative path to the image file to use as the subtitle image (replaces the eote banner)"
|
||||||
},
|
}
|
||||||
"skybox": {
|
},
|
||||||
|
"definitions": {
|
||||||
|
"NomaiCoordinates": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Options for the skybox of your system",
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"destroyStarField": {
|
"x": {
|
||||||
"type": "boolean",
|
"type": "array",
|
||||||
"description": "Whether to destroy the star field around the player (always set to true if `assetBundle` and `path` is set)",
|
"items": {
|
||||||
"default": false
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
"y": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"z": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"SkyboxConfig": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
"assetBundle": {
|
"assetBundle": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path to the Unity asset bundle to load the skybox material from"
|
"description": "Path to the Unity asset bundle to load the skybox material from"
|
||||||
},
|
},
|
||||||
|
"destroyStarField": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether to destroy the star field around the player"
|
||||||
|
},
|
||||||
"path": {
|
"path": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path to the material within the asset bundle specified by `assetBundle` to use for the skybox"
|
"description": "Path to the material within the asset bundle specified by `assetBundle` to use for the skybox"
|
||||||
@ -54,4 +90,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,24 +1,26 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||||
"$defs": {
|
"title": "Translation Schema",
|
||||||
"table": {
|
|
||||||
"type": "object",
|
|
||||||
"description": "A set of key value pairs where each key is the english text and each value is the translated text"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"title": "Translation",
|
|
||||||
"description": "Describes a set tables to use for translations",
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"ShipLogDictionary": {
|
"dialogueDictionary": {
|
||||||
"$ref": "#/$defs/table"
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"UIDictionary": {
|
"shipLogDictionary": {
|
||||||
"$ref": "#/$defs/table"
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"DialogueDictionary": {
|
"uiDictionary": {
|
||||||
"$ref": "#/$defs/table"
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"additionalProperties": false
|
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user