Added base examples

This commit is contained in:
DaanV2
2021-10-11 18:10:42 +02:00
parent f188cfa6ee
commit 67ccb3d2d1
134 changed files with 2414 additions and 385 deletions

View File

@@ -29,11 +29,13 @@
"default": [0.0, 0.0, 0.0],
"description": "Position of this seat relative to this entity's position"
},
"rotate_rider_by": { "$ref": "../../../../molang/number.json", "description": "Offset to rotate riders by" }
"rotate_rider_by": {
"$ref": "../../../../molang/number.json",
"description": "Offset to rotate riders by"
}
}
}
},
"properties": {
"controlling_seat": {
"type": "integer",
@@ -49,7 +51,9 @@
},
"family_types": {
"type": "array",
"items": { "type": "string" },
"items": {
"type": "string"
},
"description": "List of entities that can ride this entity",
"title": "Family Types"
},
@@ -81,9 +85,28 @@
"description": "The list of positions and number of riders for each position for entities riding this entity",
"title": "Seats",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/seats_spec" },
{ "type": "array", "items": { "$ref": "#/definitions/seats_spec" } }
{
"type": "object",
"$ref": "#/definitions/seats_spec"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/seats_spec"
}
}
]
}
}
},
"examples": [
{
"controlling_seat": 0,
"crouching_skip_interact": true,
"family_types": [],
"interact_text": "",
"pull_in_entities": false,
"rider_can_interact": false,
"seat_count": 1
}
]
}