Updated Schemas

This commit is contained in:
Ben C 2025-02-15 06:04:05 +00:00
parent 4c552db703
commit e38bff6cca

View File

@ -36,10 +36,9 @@
"type": "string", "type": "string",
"description": "The ambience audio that will play on the title screen. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list." "description": "The ambience audio that will play on the title screen. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list."
}, },
"rotationSpeed": { "Background": {
"type": "number", "description": "Edit properties of the background",
"description": "Changes the speed the skybox rotates (and by extension the main menu planet). This is in degrees per second.", "$ref": "#/definitions/BackgroundModule"
"format": "float"
}, },
"MenuPlanet": { "MenuPlanet": {
"description": "Edit properties of the main menu planet", "description": "Edit properties of the main menu planet",
@ -131,13 +130,14 @@
} }
} }
}, },
"MenuPlanetModule": { "BackgroundModule": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"destroyMenuPlanet": { "rotationSpeed": {
"type": "boolean", "type": "number",
"description": "Disables the renderers of the main menu planet and all objects on it (this is to improve compatibility with other mods that don't use the NH title screen json)." "description": "Changes the speed the background rotates (and by extension the main menu planet). This is in degrees per second.",
"format": "float"
}, },
"removeChildren": { "removeChildren": {
"type": "array", "type": "array",
@ -148,15 +148,10 @@
}, },
"details": { "details": {
"type": "array", "type": "array",
"description": "A list of DetailInfos to populate the main menu planet with.", "description": "A list of DetailInfos to populate the background with.",
"items": { "items": {
"$ref": "#/definitions/SimplifiedDetailInfo" "$ref": "#/definitions/SimplifiedDetailInfo"
} }
},
"rotationSpeed": {
"type": "number",
"description": "Changes the speed the main menu planet. This is in degrees per second.",
"format": "float"
} }
} }
}, },
@ -239,6 +234,35 @@
"format": "float" "format": "float"
} }
} }
},
"MenuPlanetModule": {
"type": "object",
"additionalProperties": false,
"properties": {
"destroyMenuPlanet": {
"type": "boolean",
"description": "Disables the renderers of the main menu planet and all objects on it (this is to improve compatibility with other mods that don't use the NH title screen json)."
},
"removeChildren": {
"type": "array",
"description": "Disables the renderers of objects at the provided paths",
"items": {
"type": "string"
}
},
"details": {
"type": "array",
"description": "A list of DetailInfos to populate the main menu planet with.",
"items": {
"$ref": "#/definitions/SimplifiedDetailInfo"
}
},
"rotationSpeed": {
"type": "number",
"description": "Changes the speed the main menu planet. This is in degrees per second.",
"format": "float"
}
}
} }
}, },
"$docs": { "$docs": {