Added base examples

This commit is contained in:
DaanV2
2021-10-11 18:13:12 +02:00
parent 67ccb3d2d1
commit 7ab7193fa6
150 changed files with 2627 additions and 556 deletions

View File

@@ -6,8 +6,12 @@
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"priority": {
"$ref": "types/priority.json"
},
"speed_multiplier": {
"$ref": "types/speed_multiplier.json"
},
"cooldown_time": {
"type": "number",
"default": 0,
@@ -30,9 +34,24 @@
"description": "The entity type that this entity is allowed to mingle with",
"title": "Mingle Partner Type",
"oneOf": [
{ "type": "array", "items": { "description": "The entity type that this entity is allowed to mingle with", "type": "string" } },
{ "type": "string" }
{
"type": "array",
"items": {
"description": "The entity type that this entity is allowed to mingle with",
"type": "string"
}
},
{
"type": "string"
}
]
}
}
}
},
"examples": [
{
"cooldown_time": 0,
"duration": 1,
"mingle_distance": 2.0
}
]
}