Make schema layout more explicit

This commit is contained in:
Liza 2025-01-29 21:14:40 +01:00
parent de90882ecb
commit 295274143d
Signed by: liza
GPG Key ID: 2C41B84815CF6445
2 changed files with 34 additions and 19 deletions

2
LLib

@ -1 +1 @@
Subproject commit b1059871154b84401020c0072fd089fcc022fb77 Subproject commit 746d14681baa91132784ab17f8f49671e86ea211

View File

@ -217,7 +217,10 @@
] ]
}, },
"Diving": { "Diving": {
"type": ["boolean", "null"] "type": [
"boolean",
"null"
]
}, },
"NotTargetable": { "NotTargetable": {
"type": "boolean" "type": "boolean"
@ -715,25 +718,37 @@
}, },
{ {
"if": { "if": {
"anyOf": [ "properties": {
{ "InteractionType": {
"properties": { "const": "UseItem"
"InteractionType": {
"const": "UseItem"
}
}
},
{
"properties": {
"InteractionType": {
"const": "Combat"
},
"EnemySpawnType": {
"const": "AfterItemUse"
}
}
} }
}
},
"then": {
"properties": {
"GroundTarget": {
"type": [
"boolean",
"null"
],
"default": false
}
},
"required": [
"ItemId"
] ]
}
},
{
"if": {
"properties": {
"InteractionType": {
"const": "Combat"
},
"EnemySpawnType": {
"const": "AfterItemUse"
}
}
}, },
"then": { "then": {
"properties": { "properties": {