diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index c31af8bd..c5fd87fb 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -112,6 +112,10 @@ "description": "Add ship log entries to this planet and describe how it looks in map mode", "$ref": "#/definitions/ShipLogModule" }, + "ShockEffect": { + "description": "Settings for shock effect on planet when the nearest star goes supernova", + "$ref": "#/definitions/ShockEffectModule" + }, "Spawn": { "description": "Spawn the player at this planet", "$ref": "#/definitions/SpawnModule" @@ -454,11 +458,6 @@ "type": "boolean", "description": "If the body should have a marker on the map screen." }, - "hasSupernovaShockEffect": { - "type": "boolean", - "description": "Does this planet have a shock effect when the nearest star goes supernova?", - "default": true - }, "invulnerableToSun": { "type": "boolean", "description": "Can this planet survive entering a star?" @@ -2262,6 +2261,24 @@ } } }, + "ShockEffectModule": { + "type": "object", + "additionalProperties": false, + "properties": { + "hasSupernovaShockEffect": { + "type": "boolean", + "description": "Does this planet have a shock effect when the nearest star goes supernova? Automatically disabled for stars, focal points, and stellar remnants." + }, + "assetBundle": { + "type": "string", + "description": "Asset Bundle that contains the shock effect mesh" + }, + "meshPath": { + "type": "string", + "description": "Path to the replacement mesh for the planet's supernova shock effect in the supplied asset bundle" + } + } + }, "SpawnModule": { "type": "object", "additionalProperties": false,