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
73d84898c1
commit
8f9440bf1a
@ -38,6 +38,13 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The path to the addons subtitle for the main menu.\nDefaults to \"subtitle.png\".\nThe dimensions of the Echoes of the Eye subtitle is 669 x 67, so aim for that size"
|
"description": "The path to the addons subtitle for the main menu.\nDefaults to \"subtitle.png\".\nThe dimensions of the Echoes of the Eye subtitle is 669 x 67, so aim for that size"
|
||||||
},
|
},
|
||||||
|
"gameOver": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Custom game over messages for this mod. This can either display a title card before looping like in EOTE, or show a message and roll credits like the various time loop escape endings.\nYou must set a dialogue condition for the game over sequence to run.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/definitions/GameOverModule"
|
||||||
|
}
|
||||||
|
},
|
||||||
"$schema": {
|
"$schema": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The schema to validate with"
|
"description": "The schema to validate with"
|
||||||
@ -79,6 +86,80 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"GameOverModule": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"text": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Text displayed in orange on game over. For localization, put translations under UI."
|
||||||
|
},
|
||||||
|
"colour": {
|
||||||
|
"description": "Change the colour of the game over text. Leave empty to use the default orange.",
|
||||||
|
"$ref": "#/definitions/MColor"
|
||||||
|
},
|
||||||
|
"condition": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Condition that must be true for this game over to trigger. If this is on a LoadCreditsVolume, leave empty to always trigger this game over.\nNote this is a regular dialogue condition, not a persistent condition."
|
||||||
|
},
|
||||||
|
"creditsType": {
|
||||||
|
"description": "The type of credits that will run after the game over message is shown",
|
||||||
|
"default": "fast",
|
||||||
|
"$ref": "#/definitions/NHCreditsType"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"MColor": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"r": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "The red component of this colour from 0-255, higher values will make the colour glow if applicable.",
|
||||||
|
"format": "int32",
|
||||||
|
"maximum": 2147483647.0,
|
||||||
|
"minimum": 0.0
|
||||||
|
},
|
||||||
|
"g": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "The green component of this colour from 0-255, higher values will make the colour glow if applicable.",
|
||||||
|
"format": "int32",
|
||||||
|
"maximum": 2147483647.0,
|
||||||
|
"minimum": 0.0
|
||||||
|
},
|
||||||
|
"b": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "The blue component of this colour from 0-255, higher values will make the colour glow if applicable.",
|
||||||
|
"format": "int32",
|
||||||
|
"maximum": 2147483647.0,
|
||||||
|
"minimum": 0.0
|
||||||
|
},
|
||||||
|
"a": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "The alpha (opacity) component of this colour",
|
||||||
|
"format": "int32",
|
||||||
|
"default": 255,
|
||||||
|
"maximum": 255.0,
|
||||||
|
"minimum": 0.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"NHCreditsType": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "",
|
||||||
|
"x-enumNames": [
|
||||||
|
"Fast",
|
||||||
|
"Final",
|
||||||
|
"Kazoo",
|
||||||
|
"None"
|
||||||
|
],
|
||||||
|
"enum": [
|
||||||
|
"fast",
|
||||||
|
"final",
|
||||||
|
"kazoo",
|
||||||
|
"none"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"$docs": {
|
"$docs": {
|
||||||
|
|||||||
@ -6391,10 +6391,6 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "An optional rename of this object"
|
"description": "An optional rename of this object"
|
||||||
},
|
},
|
||||||
"creditsType": {
|
|
||||||
"default": "none",
|
|
||||||
"$ref": "#/definitions/NHCreditsType"
|
|
||||||
},
|
|
||||||
"deathType": {
|
"deathType": {
|
||||||
"description": "The type of death the player will have if they enter this volume. Don't set to have the camera just fade out.",
|
"description": "The type of death the player will have if they enter this volume. Don't set to have the camera just fade out.",
|
||||||
"default": "default",
|
"default": "default",
|
||||||
@ -6413,6 +6409,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"GameOverModule": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"text": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Text displayed in orange on game over. For localization, put translations under UI."
|
||||||
|
},
|
||||||
|
"colour": {
|
||||||
|
"description": "Change the colour of the game over text. Leave empty to use the default orange.",
|
||||||
|
"$ref": "#/definitions/MColor"
|
||||||
|
},
|
||||||
|
"condition": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Condition that must be true for this game over to trigger. If this is on a LoadCreditsVolume, leave empty to always trigger this game over.\nNote this is a regular dialogue condition, not a persistent condition."
|
||||||
|
},
|
||||||
|
"creditsType": {
|
||||||
|
"description": "The type of credits that will run after the game over message is shown",
|
||||||
|
"default": "fast",
|
||||||
|
"$ref": "#/definitions/NHCreditsType"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"NHCreditsType": {
|
"NHCreditsType": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "",
|
"description": "",
|
||||||
@ -6429,24 +6448,6 @@
|
|||||||
"none"
|
"none"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"GameOverModule": {
|
|
||||||
"type": "object",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"text": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Text displayed in orange on game over. For localization, put translations under UI."
|
|
||||||
},
|
|
||||||
"colour": {
|
|
||||||
"description": "Change the colour of the game over text. Leave empty to use the default orange.",
|
|
||||||
"$ref": "#/definitions/MColor"
|
|
||||||
},
|
|
||||||
"condition": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Condition that must be true for this game over to trigger. Leave empty to always trigger this game over.\nNote this is a regular dialogue condition, not a persistent condition."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CometTailModule": {
|
"CometTailModule": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user