1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Add checking handler type for validness, deprecate 'bank' handler

This commit is contained in:
Ivan Savenko
2024-09-02 14:47:37 +00:00
parent 39a2c29c97
commit a19a55b4ae

View File

@@ -17,7 +17,13 @@
"type" : "number"
},
"handler" : {
"type" : "string"
"type" : "string",
"enum" : [
"configurable", "dwelling", "hero", "town", "boat", "market", "hillFort", "shipyard", "monster", "resource", "static", "randomArtifact",
"randomHero", "randomResource", "randomTown", "randomMonster", "randomDwelling", "generic", "artifact", "borderGate", "borderGuard", "denOfThieves",
"event", "garrison", "heroPlaceholder", "keymaster", "lighthouse", "magi", "mine", "obelisk", "pandora", "prison", "questGuard", "seerHut", "sign",
"siren", "monolith", "subterraneanGate", "whirlpool", "terrain"
]
},
"base" : {
"type" : "object"