Update loot table schemas (#391)

* update loot table schemas

* remove entity_properties and use new int_or_range definition

* remove entity_properties from conditions.json as well
This commit is contained in:
Piotr Brzozowski
2025-10-15 19:48:05 +02:00
committed by GitHub
parent 1f04c737cd
commit cbd0262612
19 changed files with 255 additions and 106 deletions

View File

@@ -0,0 +1,16 @@
{
"$id": "Integer or Range",
"description": "An integer value or inclusive range.",
"oneOf": [
{ "type": "integer" },
{
"type": "object",
"additionalProperties": false,
"required": ["min", "max"],
"properties": {
"min": { "type": "integer", "description": "Minimum value." },
"max": { "type": "integer", "description": "Maximum value." }
}
}
]
}