Updated Schemas

This commit is contained in:
github-actions[bot] 2022-06-19 19:38:19 +00:00
parent ad0530c11a
commit ed64d71563
2 changed files with 195 additions and 55 deletions

View File

@ -791,6 +791,13 @@
"$ref": "#/definitions/ProjectionInfo" "$ref": "#/definitions/ProjectionInfo"
} }
}, },
"quantumGroups": {
"type": "array",
"description": "A list of quantum groups that props can be added to. An example of a group would be a list of possible locations for a QuantumSocketedObject.",
"items": {
"$ref": "#/definitions/QuantumGroupInfo"
}
},
"tornados": { "tornados": {
"type": "array", "type": "array",
"description": "Add tornadoes to this planet", "description": "Add tornadoes to this planet",
@ -851,6 +858,10 @@
"description": "Scale the prop", "description": "Scale the prop",
"format": "float", "format": "float",
"default": 1.0 "default": 1.0
},
"quantumGroupID": {
"type": "string",
"description": "If this value is not null, this prop will be quantum. Assign this field to the id of the quantum group it should be a part of. The group it is assigned to determines what kind of quantum object it is"
} }
} }
}, },
@ -965,6 +976,10 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"mirror": {
"type": "boolean",
"description": "Whether to flip the spiral from left-curling to right-curling or vice versa."
},
"position": { "position": {
"description": "The local position of this object on the wall.", "description": "The local position of this object on the wall.",
"$ref": "#/definitions/MVector2" "$ref": "#/definitions/MVector2"
@ -973,6 +988,12 @@
"description": "The type of text to display.", "description": "The type of text to display.",
"$ref": "#/definitions/NomaiTextArcType" "$ref": "#/definitions/NomaiTextArcType"
}, },
"variation": {
"type": "integer",
"description": "Which variation of the chosen type to place. If not specified, a random variation will be selected based on the seed provided in the parent module.",
"format": "int32",
"default": -1
},
"zRotation": { "zRotation": {
"type": "number", "type": "number",
"description": "The z euler angle for this arc.", "description": "The z euler angle for this arc.",
@ -1236,6 +1257,74 @@
"standingVisionTorch" "standingVisionTorch"
] ]
}, },
"QuantumGroupInfo": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"description": "What type of group this is: does it define a list of states a single quantum object could take or a list of sockets one or more quantum objects could share?",
"$ref": "#/definitions/QuantumGroupType"
},
"id": {
"type": "string",
"description": "A unique string used by props (that are marked as quantum) use to refer back to this group"
},
"sockets": {
"type": "array",
"description": "Only required if type is `sockets`. This lists all the possible locations for any props assigned to this group.",
"items": {
"$ref": "#/definitions/QuantumSocketInfo"
}
},
"hasEmptyState": {
"type": "boolean",
"description": "Optional. Only used if type is `states`. If this is true, then the first prop made part of this group will be used to construct a visibility box for an empty game object, which will be considered one of the states."
},
"sequential": {
"type": "boolean",
"description": "Optional. Only used if type is `states`. If this is true, then the states will be presented in order, rather than in a random order"
},
"loop": {
"type": "boolean",
"description": "Optional. Only used if type is `states` and `sequential` is true. If this is false, then after the last state has appeared, the object will no longer change state",
"default": true
}
}
},
"QuantumGroupType": {
"type": "string",
"description": "",
"x-enumNames": [
"Sockets",
"States",
"FailedValidation"
],
"enum": [
"sockets",
"states",
"FailedValidation"
]
},
"QuantumSocketInfo": {
"type": "object",
"additionalProperties": false,
"properties": {
"position": {
"description": "The location of this socket",
"$ref": "#/definitions/MVector3"
},
"rotation": {
"description": "The rotation the quantum object will take if it's occupying this socket",
"$ref": "#/definitions/MVector3"
},
"probability": {
"type": "number",
"description": "The probability any props that are part of this group will occupy this socket",
"format": "float",
"default": 1.0
}
}
},
"TornadoInfo": { "TornadoInfo": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
@ -1452,27 +1541,6 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"curiosities": {
"type": "array",
"description": "List colors of curiosity entries",
"items": {
"$ref": "#/definitions/CuriosityColorInfo"
}
},
"entryPositions": {
"type": "array",
"description": "Manually layout entries in detective mode",
"items": {
"$ref": "#/definitions/EntryPositionInfo"
}
},
"initialReveal": {
"type": "array",
"description": "A list of fact IDs to reveal when the game starts.",
"items": {
"type": "string"
}
},
"mapMode": { "mapMode": {
"description": "Describe what this planet looks and like in map mode", "description": "Describe what this planet looks and like in map mode",
"$ref": "#/definitions/MapModeInfo" "$ref": "#/definitions/MapModeInfo"
@ -1487,38 +1555,6 @@
} }
} }
}, },
"CuriosityColorInfo": {
"type": "object",
"additionalProperties": false,
"properties": {
"color": {
"description": "The color to apply to entries with this curiosity.",
"$ref": "#/definitions/MColor"
},
"highlightColor": {
"description": "The color to apply to highlighted entries with this curiosity.",
"$ref": "#/definitions/MColor"
},
"id": {
"type": "string",
"description": "The ID of the curiosity to apply the color to."
}
}
},
"EntryPositionInfo": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"description": "The name of the entry to apply the position to."
},
"position": {
"description": "Position of the entry",
"$ref": "#/definitions/MVector2"
}
}
},
"MapModeInfo": { "MapModeInfo": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@ -7,11 +7,13 @@
"properties": { "properties": {
"canEnterViaWarpDrive": { "canEnterViaWarpDrive": {
"type": "boolean", "type": "boolean",
"description": "Whether this system can be warped to via the warp drive" "description": "Whether this system can be warped to via the warp drive",
"default": true
}, },
"destroyStockPlanets": { "destroyStockPlanets": {
"type": "boolean", "type": "boolean",
"description": "Do you want a clean slate for this star system? Or will it be a modified version of the original." "description": "Do you want a clean slate for this star system? Or will it be a modified version of the original.",
"default": true
}, },
"enableTimeLoop": { "enableTimeLoop": {
"type": "boolean", "type": "boolean",
@ -42,6 +44,27 @@
"type": "string", "type": "string",
"description": "Relative filepath to the .wav file to use as the audio. Mutually exclusive with travelAudioClip." "description": "Relative filepath to the .wav file to use as the audio. Mutually exclusive with travelAudioClip."
}, },
"entryPositions": {
"type": "array",
"description": "Manually layout ship log entries in detective mode",
"items": {
"$ref": "#/definitions/EntryPositionInfo"
}
},
"initialReveal": {
"type": "array",
"description": "A list of fact IDs to reveal when the game starts.",
"items": {
"type": "string"
}
},
"curiosities": {
"type": "array",
"description": "List colors of curiosity entries",
"items": {
"$ref": "#/definitions/CuriosityColorInfo"
}
},
"$schema": { "$schema": {
"type": "string", "type": "string",
"description": "The schema to validate with" "description": "The schema to validate with"
@ -65,6 +88,87 @@
"description": "Path to the material within the asset bundle specified by `assetBundle` to use for the skybox" "description": "Path to the material within the asset bundle specified by `assetBundle` to use for the skybox"
} }
} }
},
"EntryPositionInfo": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"description": "The name of the entry to apply the position to."
},
"position": {
"description": "Position of the entry",
"$ref": "#/definitions/MVector2"
}
}
},
"MVector2": {
"type": "object",
"additionalProperties": false,
"properties": {
"x": {
"type": "number",
"format": "float"
},
"y": {
"type": "number",
"format": "float"
}
}
},
"CuriosityColorInfo": {
"type": "object",
"additionalProperties": false,
"properties": {
"color": {
"description": "The color to apply to entries with this curiosity.",
"$ref": "#/definitions/MColor"
},
"highlightColor": {
"description": "The color to apply to highlighted entries with this curiosity.",
"$ref": "#/definitions/MColor"
},
"id": {
"type": "string",
"description": "The ID of the curiosity to apply the color to."
}
}
},
"MColor": {
"type": "object",
"additionalProperties": false,
"properties": {
"r": {
"type": "integer",
"description": "The red component of this colour",
"format": "int32",
"maximum": 2147483647.0,
"minimum": 0.0
},
"g": {
"type": "integer",
"description": "The green component of this colour",
"format": "int32",
"maximum": 2147483647.0,
"minimum": 0.0
},
"b": {
"type": "integer",
"description": "The blue component of this colour",
"format": "int32",
"maximum": 2147483647.0,
"minimum": 0.0
},
"a": {
"type": "integer",
"description": "The alpha (opacity) component of this colour",
"format": "int32",
"default": 255.0,
"maximum": 255.0,
"minimum": 0.0
}
}
} }
}, },
"$docs": { "$docs": {