Updated Schemas

This commit is contained in:
Ben C 2025-04-19 03:39:03 +00:00
parent 8c4f22eab3
commit dd90af1314
2 changed files with 47 additions and 1 deletions

View File

@ -103,6 +103,27 @@
"type": "string", "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." "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."
}, },
"audio": {
"type": "string",
"description": "The audio to use for the credits music. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list.\nCredits will be silent unless this attribute is specified.\nNote: only applies when creditsType is set to \"custom\"."
},
"audioVolume": {
"type": "number",
"description": "The length of the fade in and out for the credits music.\nNote: only applies when creditsType is set to \"custom\".",
"format": "float",
"default": 1.0
},
"audioLooping": {
"type": "boolean",
"description": "Determines if the credits music should loop.\nNote: only applies when creditsType is set to \"custom\".",
"default": false
},
"length": {
"type": "number",
"description": "Duration of the credits scroll in seconds.\nNote: only applies when creditsType is set to \"custom\".",
"format": "float",
"default": 120.0
},
"creditsType": { "creditsType": {
"description": "The type of credits that will run after the game over message is shown", "description": "The type of credits that will run after the game over message is shown",
"default": "fast", "default": "fast",
@ -152,12 +173,14 @@
"Fast", "Fast",
"Final", "Final",
"Kazoo", "Kazoo",
"Custom",
"None" "None"
], ],
"enum": [ "enum": [
"fast", "fast",
"final", "final",
"kazoo", "kazoo",
"custom",
"none" "none"
] ]
} }

View File

@ -2964,7 +2964,7 @@
"$ref": "#/definitions/SlideReelType" "$ref": "#/definitions/SlideReelType"
}, },
"reelCondition": { "reelCondition": {
"description": "Exclusive to the slide reel type. Condition/material of the reel. Antique is the Stranger, Pristine is the Dreamworld, Rusted is a burned reel.", "description": "Exclusive to the slide reel and standing vision torch type. Condition/material of the reel. Antique is the Stranger, Pristine is the Dreamworld, Rusted (exclusive to slide reels) is a burned reel.",
"default": "antique", "default": "antique",
"$ref": "#/definitions/SlideReelCondition" "$ref": "#/definitions/SlideReelCondition"
}, },
@ -6529,6 +6529,27 @@
"type": "string", "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." "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."
}, },
"audio": {
"type": "string",
"description": "The audio to use for the credits music. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list.\nCredits will be silent unless this attribute is specified.\nNote: only applies when creditsType is set to \"custom\"."
},
"audioVolume": {
"type": "number",
"description": "The length of the fade in and out for the credits music.\nNote: only applies when creditsType is set to \"custom\".",
"format": "float",
"default": 1.0
},
"audioLooping": {
"type": "boolean",
"description": "Determines if the credits music should loop.\nNote: only applies when creditsType is set to \"custom\".",
"default": false
},
"length": {
"type": "number",
"description": "Duration of the credits scroll in seconds.\nNote: only applies when creditsType is set to \"custom\".",
"format": "float",
"default": 120.0
},
"creditsType": { "creditsType": {
"description": "The type of credits that will run after the game over message is shown", "description": "The type of credits that will run after the game over message is shown",
"default": "fast", "default": "fast",
@ -6543,12 +6564,14 @@
"Fast", "Fast",
"Final", "Final",
"Kazoo", "Kazoo",
"Custom",
"None" "None"
], ],
"enum": [ "enum": [
"fast", "fast",
"final", "final",
"kazoo", "kazoo",
"custom",
"none" "none"
] ]
}, },