mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Updated Schemas
This commit is contained in:
parent
00a1cd2a16
commit
a555c2dee3
@ -497,11 +497,6 @@
|
||||
"description": "A scale height used for a number of things. Should be the approximate radius of the body.",
|
||||
"format": "float"
|
||||
},
|
||||
"zeroGravityRadius": {
|
||||
"type": "number",
|
||||
"description": "Radius of the zero gravity volume. This will make it so no gravity from any planet will affect you. Useful for satellites.",
|
||||
"format": "float"
|
||||
},
|
||||
"gravityVolumePriority": {
|
||||
"type": "integer",
|
||||
"description": "Optional. You can force this planet's gravity to be felt over other gravity/zero-gravity sources by increasing this number.",
|
||||
@ -2478,6 +2473,13 @@
|
||||
"items": {
|
||||
"$ref": "#/definitions/VolumeInfo"
|
||||
}
|
||||
},
|
||||
"zeroGravityVolumes": {
|
||||
"type": "array",
|
||||
"description": "Add zero-gravity volumes to this planet. \nGood for surrounding planets which are using a static position to stop the player being pulled away.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/PriorityVolumeInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -2799,6 +2801,35 @@
|
||||
"observe",
|
||||
"snapshot"
|
||||
]
|
||||
},
|
||||
"PriorityVolumeInfo": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"position": {
|
||||
"description": "The location of this volume. Optional (will default to 0,0,0).",
|
||||
"$ref": "#/definitions/MVector3"
|
||||
},
|
||||
"radius": {
|
||||
"type": "number",
|
||||
"description": "The radius of this volume.",
|
||||
"format": "float"
|
||||
},
|
||||
"parentPath": {
|
||||
"type": "string",
|
||||
"description": "The relative path from the planet to the parent of this object. Optional (will default to the root sector)."
|
||||
},
|
||||
"rename": {
|
||||
"type": "string",
|
||||
"description": "An optional rename of this volume."
|
||||
},
|
||||
"priority": {
|
||||
"type": "integer",
|
||||
"description": "The priority for this volume's effects to be applied. \nEx, a player in a gravity volume with priority 0, and zero-gravity volume with priority 1, will feel zero gravity.",
|
||||
"format": "int32",
|
||||
"default": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$docs": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user