Updated Schemas

This commit is contained in:
Ben C 2025-02-15 02:54:28 +00:00
parent 37c43d0104
commit d957540fbd

View File

@ -6395,10 +6395,6 @@
"default": "none",
"$ref": "#/definitions/NHCreditsType"
},
"gameOverText": {
"type": "string",
"description": "Text displayed in orange on game over. For localization, put translations under UI."
},
"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.",
"default": "default",
@ -6411,9 +6407,9 @@
}
]
},
"gameOverTextColour": {
"description": "Change the colour of the game over text. Leave empty to use the default orange.",
"$ref": "#/definitions/MColor"
"gameOver": {
"description": "The game over message to display. Leave empty to go straight to credits.",
"$ref": "#/definitions/GameOverModule"
}
}
},
@ -6433,6 +6429,24 @@
"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": {
"type": "object",
"additionalProperties": false,