1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Explicitly define garrison subtypes

(!) named subtypes are required for future map format.
This commit is contained in:
AlexVinS 2015-06-10 19:58:03 +03:00
parent 5f8ecc22d5
commit 478a1b8dfd

View File

@ -200,9 +200,22 @@
} }
}, },
// subtype: 0 = normal, 1 = anti-magic "garrisonHorizontal": {
"garrisonHorizontal" : { "index" :33, "handler": "garrison" }, "index" :33,
"garrisonVertical" : { "index" :219, "handler": "garrison" }, "handler": "garrison",
"types":{
"normal":{"index": 0},
"antiMagic":{"index": 1}
}
},
"garrisonVertical": {
"index" :219,
"handler": "garrison",
"types":{
"normal":{"index": 0},
"antiMagic":{"index": 1}
}
},
// Subtype: paired monoliths // Subtype: paired monoliths
"monolithOneWayEntrance" : { "monolithOneWayEntrance" : {