mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Added star_system_schema.json
This commit is contained in:
parent
3b635d164d
commit
1e9a49b301
@ -44,26 +44,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"colourPart": {
|
"colorPart": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 255
|
"maximum": 255
|
||||||
},
|
},
|
||||||
"colour": {
|
"color": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"R": {
|
"R": {
|
||||||
"$ref": "#/$defs/colourPart"
|
"$ref": "#/$defs/colorPart"
|
||||||
},
|
},
|
||||||
"G": {
|
"G": {
|
||||||
"$ref": "#/$defs/colourPart"
|
"$ref": "#/$defs/colorPart"
|
||||||
},
|
},
|
||||||
"B": {
|
"B": {
|
||||||
"$ref": "#/$defs/colourPart"
|
"$ref": "#/$defs/colorPart"
|
||||||
},
|
},
|
||||||
"A": {
|
"A": {
|
||||||
"$ref": "#/$defs/colourPart"
|
"$ref": "#/$defs/colorPart"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -98,7 +98,7 @@
|
|||||||
"description": "Average surface size"
|
"description": "Average surface size"
|
||||||
},
|
},
|
||||||
"colour": {
|
"colour": {
|
||||||
"$ref": "#/$defs/colour",
|
"$ref": "#/$defs/color",
|
||||||
"description": "Colour of the terrain."
|
"description": "Colour of the terrain."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -195,7 +195,7 @@
|
|||||||
"description": "Scale height of the atmosphere"
|
"description": "Scale height of the atmosphere"
|
||||||
},
|
},
|
||||||
"cloudTint": {
|
"cloudTint": {
|
||||||
"$ref": "#/$defs/colour"
|
"$ref": "#/$defs/color"
|
||||||
},
|
},
|
||||||
"cloud": {
|
"cloud": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -220,7 +220,7 @@
|
|||||||
"description": "If the top layer should have shadows"
|
"description": "If the top layer should have shadows"
|
||||||
},
|
},
|
||||||
"fogTint": {
|
"fogTint": {
|
||||||
"$ref": "#/$defs/colour",
|
"$ref": "#/$defs/color",
|
||||||
"description": "Colour of fog on the planet."
|
"description": "Colour of fog on the planet."
|
||||||
},
|
},
|
||||||
"fogDensity": {
|
"fogDensity": {
|
||||||
@ -251,7 +251,7 @@
|
|||||||
"description": "Whether we use an atmospheric shader on the planet."
|
"description": "Whether we use an atmospheric shader on the planet."
|
||||||
},
|
},
|
||||||
"atmosphereTint": {
|
"atmosphereTint": {
|
||||||
"$ref": "#/$defs/colour",
|
"$ref": "#/$defs/color",
|
||||||
"description": "Colour of atmospheric shader on the planet."
|
"description": "Colour of atmospheric shader on the planet."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -315,7 +315,7 @@
|
|||||||
"description": "Is the body meant to stay in one place without moving?"
|
"description": "Is the body meant to stay in one place without moving?"
|
||||||
},
|
},
|
||||||
"tint": {
|
"tint": {
|
||||||
"$ref": "#/$defs/colour",
|
"$ref": "#/$defs/color",
|
||||||
"description": "Colour of the orbit-line in the map view."
|
"description": "Colour of the orbit-line in the map view."
|
||||||
},
|
},
|
||||||
"trackingOrbitLine": {
|
"trackingOrbitLine": {
|
||||||
@ -420,15 +420,15 @@
|
|||||||
"minimum": 0
|
"minimum": 0
|
||||||
},
|
},
|
||||||
"tint": {
|
"tint": {
|
||||||
"$ref": "#/$defs/colour",
|
"$ref": "#/$defs/color",
|
||||||
"description": "Colour of the star."
|
"description": "Colour of the star."
|
||||||
},
|
},
|
||||||
"solarFlareTint": {
|
"solarFlareTint": {
|
||||||
"$ref": "#/$defs/colour",
|
"$ref": "#/$defs/color",
|
||||||
"description": "Colour of the solar flares."
|
"description": "Colour of the solar flares."
|
||||||
},
|
},
|
||||||
"lightTint": {
|
"lightTint": {
|
||||||
"$ref": "#/$defs/colour",
|
"$ref": "#/$defs/color",
|
||||||
"description": "Colour of the light given off."
|
"description": "Colour of the light given off."
|
||||||
},
|
},
|
||||||
"solarLuminosity": {
|
"solarLuminosity": {
|
||||||
@ -492,7 +492,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"details": {
|
"details": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -534,7 +533,6 @@
|
|||||||
"default": 1
|
"default": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"dialogue": {
|
"dialogue": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -618,6 +616,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"Spawn": {
|
"Spawn": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@ -739,7 +738,7 @@
|
|||||||
"default": 0
|
"default": 0
|
||||||
},
|
},
|
||||||
"tint": {
|
"tint": {
|
||||||
"$ref": "#/$defs/colour"
|
"$ref": "#/$defs/color"
|
||||||
},
|
},
|
||||||
"curve": {
|
"curve": {
|
||||||
"$ref": "#/$defs/curve"
|
"$ref": "#/$defs/curve"
|
||||||
@ -754,7 +753,7 @@
|
|||||||
"default": 0
|
"default": 0
|
||||||
},
|
},
|
||||||
"tint": {
|
"tint": {
|
||||||
"$ref": "#/$defs/colour"
|
"$ref": "#/$defs/color"
|
||||||
},
|
},
|
||||||
"curve": {
|
"curve": {
|
||||||
"$ref": "#/$defs/curve"
|
"$ref": "#/$defs/curve"
|
||||||
@ -769,7 +768,7 @@
|
|||||||
"default": 0
|
"default": 0
|
||||||
},
|
},
|
||||||
"tint": {
|
"tint": {
|
||||||
"$ref": "#/$defs/colour"
|
"$ref": "#/$defs/color"
|
||||||
},
|
},
|
||||||
"curve": {
|
"curve": {
|
||||||
"$ref": "#/$defs/curve"
|
"$ref": "#/$defs/curve"
|
||||||
@ -794,7 +793,7 @@
|
|||||||
"default": "Sand"
|
"default": "Sand"
|
||||||
},
|
},
|
||||||
"tint": {
|
"tint": {
|
||||||
"$ref": "#/$defs/colour"
|
"$ref": "#/$defs/color"
|
||||||
},
|
},
|
||||||
"curve": {
|
"curve": {
|
||||||
"$ref": "#/$defs/curve"
|
"$ref": "#/$defs/curve"
|
||||||
@ -889,7 +888,7 @@
|
|||||||
"description": "The sprite to show when the parent AstroBody is rumored/unexplored"
|
"description": "The sprite to show when the parent AstroBody is rumored/unexplored"
|
||||||
},
|
},
|
||||||
"rotation": {
|
"rotation": {
|
||||||
"$ref": "#/$defs/angle",
|
"$refs": "#/$defs/angle",
|
||||||
"description": "The angle in degrees to rotate the detail"
|
"description": "The angle in degrees to rotate the detail"
|
||||||
},
|
},
|
||||||
"invisibleWhenHidden": {
|
"invisibleWhenHidden": {
|
||||||
@ -912,21 +911,22 @@
|
|||||||
},
|
},
|
||||||
"Curiosities": {
|
"Curiosities": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "A set of colours to apply to curiosities",
|
"description": "A set of colors to apply to curiosities",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The ID of the curiosity to apply the colour to"
|
"description": "The ID of the curiosity to apply the color to"
|
||||||
},
|
},
|
||||||
"colour": {
|
"color": {
|
||||||
"$ref": "#/$defs/colour",
|
"$ref": "#/$defs/color",
|
||||||
"description": "The colour to apply to entries with this curiosity"
|
"description": "The color to apply to entries with this curiosity"
|
||||||
},
|
},
|
||||||
"highlightColour": {
|
"highlightColor": {
|
||||||
"$ref": "#/$defs/colour",
|
"$ref": "#/$defs/color",
|
||||||
"description": "The colour to apply to highlighted entries with this curiosity"
|
"description": "The color to apply to highlighted entries with this curiosity"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
19
NewHorizons/star_system_schema.json
Normal file
19
NewHorizons/star_system_schema.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Configuration for a specific star system",
|
||||||
|
"properties": {
|
||||||
|
"canEnterViaWarpDrive": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether this system can be warped to via the warp drive"
|
||||||
|
},
|
||||||
|
"startHere": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Set to true if you want to spawn here after dying, not Timber Hearth. You can still warp back to the main star system."
|
||||||
|
},
|
||||||
|
"factRequiredForWarp": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Set to the FactID that must be revealed before it can be warped to. Don't set \"CanEnterViaWarpDrive\" to false if you're using this, that would make no sense."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user