| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566 |
- {
- /// These are objects that have subtypes that change various aspects of their mechanics
- /// Should be made configurable (either directly or via other parts of modding system ASAP)
- /// Editing these objects either directly or via mod may have negative effect on game since they are handled by engine
-
- // subtype: artifact ID
- "artifact" : {
- "index" :5,
- "handler": "artifact",
- "base" : {
- "removable": true,
- "base" : {
- "visitableFrom" : [ "+++", "+-+", "+++" ],
- "mask" : [ "VV", "VA"]
- },
- "sounds" : {
- "visit" : ["TREASURE"],
- "removal" : [ "PICKUP01", "PICKUP02", "PICKUP03", "PICKUP04", "PICKUP05", "PICKUP06", "PICKUP07" ]
- }
- }
- },
-
- // subtype: hero CLASS (not hero).
- "hero" : {
- "index" :34,
- "handler": "hero",
- "base" : {
- "aiValue" : 7500,
- "removable": true,
- "base" : {
- "visitableFrom" : [ "+++", "+-+", "+++" ],
- "mask" : [ "VVV", "VAV"]
- },
- "sounds" : {
- "removal" : ["KILLFADE"]
- }
- }
- },
-
- // subtype: creatures
- "monster" : {
- "index" :54,
- "handler": "monster",
- "base" : {
- "removable": true,
- "base" : {
- "visitableFrom" : [ "+++", "+-+", "+++" ],
- "mask" : [ "VV", "VA"]
- },
- "sounds" : {
- "removal" : ["KILLFADE"]
- }
- }
- },
- "randomResource":
- {
- "index" :76,
- "handler": "randomResource",
- "base" : {
- "removable": true,
- "base" : {
- "visitableFrom" : [ "+++", "+-+", "+++" ],
- "mask" : [ "VA" ]
- }
- },
- "types" : {
- "randomResource" : {
- "index" : 0,
- "rmg" : {
- "value" : 1500,
- "rarity" : 2000
- },
- "templates" :
- {
- "normal" : {
- "animation" : "AVTrndm0",
- "visitableFrom" : [ "+++", "+-+", "+++" ],
- "mask" : [ "VV", "VA"]
- }
- }
- }
- }
- },
- // subtype: resource ID
- "resource" : {
- "index" :79,
- "handler": "resource",
- "lastReservedIndex" : 6,
- "base" : {
- "removable": true,
- "base" : {
- "visitableFrom" : [ "+++", "+-+", "+++" ],
- "mask" : [ "VA" ]
- }
- },
- "types" : {
- "wood" : { "index" : 0, "aiValue" : 1400, "resource" : "wood", "amounts" : [ 6,7,8,9,10], "rmg" : { "value" : 1400, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTwood0.def" } } },
- "ore" : { "index" : 2, "aiValue" : 1400, "resource" : "ore", "amounts" : [ 6,7,8,9,10], "rmg" : { "value" : 1400, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTore0.def" } } },
- "mercury" : { "index" : 1, "aiValue" : 2000, "resource" : "mercury", "amounts" : [ 3,4,5], "rmg" : { "value" : 2000, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTmerc0.def" } } },
- "sulfur" : { "index" : 3, "aiValue" : 2000, "resource" : "sulfur", "amounts" : [ 3,4,5], "rmg" : { "value" : 2000, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTsulf0.def" } } },
- "crystal" : { "index" : 4, "aiValue" : 2000, "resource" : "crystal", "amounts" : [ 3,4,5], "rmg" : { "value" : 2000, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTcrys0.def" } } },
- "gems" : { "index" : 5, "aiValue" : 2000, "resource" : "gems", "amounts" : [ 3,4,5], "rmg" : { "value" : 2000, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTgems0.def" } } },
- "gold" : { "index" : 6, "aiValue" : 750, "resource" : "gold", "amounts" : [ 5,6,7,8,9,10], "amountMultiplier" : 100, "rmg" : { "value" : 750, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTgold0.def" } } }
- }
- },
-
- // subtype: faction
- "town" : {
- "index" :98,
- "handler": "town",
- "base" : {
- "aiValue" : 20000,
- "filters" : {
- // village image - fort not present
- "village" : [ "noneOf", [ "fort" ] ],
- // fort image - fort is here but not capitol
- "fort" : [ "allOf", [ "fort" ], [ "noneOf", ["capitol" ] ] ],
- // capitol image only when capitol is built
- "capitol" : [ "capitol" ]
- },
-
- // "faction" : "stringID", // should be set by engine
- "base" : {
- "visitableFrom" : [ "---", "+++", "+++" ],
- "mask" : [
- "VVVVVV", // a LOT of just visible rows due to towns like Tower
- "VVVVVV",
- "VVVVVV",
- "VVBBBV",
- "VBBBBB",
- "VBBABB"
- ]
- }
- }
- },
- // subtype: one of 3 possible boats
- "boat" : {
- "index" :8,
- "handler": "boat",
- "lastReservedIndex" : 2,
- "base" : {
- "aiValue" : 0,
- "removable": true,
- "layer" : "sail",
- "onboardAssaultAllowed" : true,
- "onboardVisitAllowed" : true,
- "base" : {
- "visitableFrom" : [ "+++", "+-+", "+++" ],
- "mask" : [ "VVV", "VAV" ]
- }
- },
- "types" : {
- "boatNecropolis" : {
- "index" : 0,
- "compatibilityIdentifiers" : [ "evil" ],
- "actualAnimation" : "AB01_.def",
- "overlayAnimation" : "ABM01_.def",
- "flagAnimations" : ["ABF01L", "ABF01G", "ABF01R", "ABF01D", "ABF01B", "ABF01P", "ABF01W", "ABF01K"]
- },
- "boatCastle" : {
- "index" : 1,
- "compatibilityIdentifiers" : [ "good" ],
- "actualAnimation" : "AB02_.def",
- "overlayAnimation" : "ABM02_.def",
- "flagAnimations" : ["ABF02L", "ABF02G", "ABF02R", "ABF02D", "ABF02B", "ABF02P", "ABF02W", "ABF02K"]
- },
- "boatFortress" : {
- "index" : 2,
- "compatibilityIdentifiers" : [ "neutral" ],
- "actualAnimation" : "AB03_.def",
- "overlayAnimation" : "ABM03_.def",
- "flagAnimations" : ["ABF03L", "ABF03G", "ABF03R", "ABF03D", "ABF03B", "ABF03P", "ABF03W", "ABF03K"]
- },
- }
- },
- // subtype: color of guard
- "borderGuard" : {
- "index" :9,
- "handler": "borderGuard",
- "lastReservedIndex" : 7,
- "base" : {
- "aiValue" : 0,
- "removable": true,
- "sounds" : {
- "visit" : ["CAVEHEAD"],
- "removal" : [ "PICKUP01", "PICKUP02", "PICKUP03", "PICKUP04", "PICKUP05", "PICKUP06", "PICKUP07" ]
- }
- },
- "types" : {
- "lblue" : { "index" : 0 },
- "green" : { "index" : 1 },
- "red" : { "index" : 2 },
- "dblue" : { "index" : 3 },
- "brown" : { "index" : 4 },
- "purple" : { "index" : 5 },
- "white" : { "index" : 6 },
- "black" : { "index" : 7 }
- }
- },
- "borderGate" : {
- "index" :212,
- "handler": "borderGate",
- "lastReservedIndex" : 7,
- "base" : {
- "aiValue" : 0,
- "sounds" : {
- "visit" : ["CAVEHEAD"]
- }
- },
- "types" : {
- "lblue" : { "index" : 0 },
- "green" : { "index" : 1 },
- "red" : { "index" : 2 },
- "dblue" : { "index" : 3 },
- "brown" : { "index" : 4 },
- "purple" : { "index" : 5 },
- "white" : { "index" : 6 },
- "black" : { "index" : 7 }
- }
- },
- "keymasterTent" : {
- "index" :10,
- "handler": "keymaster",
- "lastReservedIndex" : 7,
- "base" : {
- "aiValue" : 10000,
- "sounds" : {
- "visit" : ["CAVEHEAD"]
- }
- },
- "types" : {
- "lblue" : { "index" : 0 },
- "green" : { "index" : 1 },
- "red" : { "index" : 2 },
- "dblue" : { "index" : 3 },
- "brown" : { "index" : 4 },
- "purple" : { "index" : 5 },
- "white" : { "index" : 6 },
- "black" : { "index" : 7 }
- }
- },
- //Seer Hut object is set off bottom-right corner, need to fix that
- "seerHut" : {
- "index" :83,
- "handler": "seerHut",
- "lastReservedIndex" : 2,
- "base" : {
- "aiValue" : 10000,
- "base" : {
- "visitableFrom" : [ "---", "+++", "+++" ],
- "mask" : [ "VVV", "VVV", "VAV" ]
- },
- "sounds" : {
- "visit" : ["QUEST"]
- }
- },
- "types" : {
- "0" : { "index" : 0 },
- "1" : { "index" : 1 },
- "2" : { "index" : 2 }
- }
- },
- // subtype: resource ID
- "mine" : {
- "index" :53,
- "handler": "mine",
- "lastReservedIndex" : 7,
- "base" : {
- "sounds" : {
- "visit" : ["FLAGMINE"]
- }
- },
- "types" : {
- "sawmill" : {
- "index" : 0,
- "aiValue" : 1500,
- "rmg" : {
- "value" : 1500
- },
- "sounds" : {
- "ambient" : ["LOOPLUMB"]
- },
- "resource" : "wood",
- "defaultQuantity": 2
- },
- "alchemistLab" : {
- "index" : 1,
- "aiValue" : 3500,
- "rmg" : {
- "value" : 3500
- },
- "sounds" : {
- "ambient" : ["LOOPSTAR"]
- },
- "resource" : "mercury",
- "defaultQuantity": 1
- },
- "orePit" : {
- "index" : 2,
- "aiValue" : 1500,
- "rmg" : {
- "value" : 1500
- },
- "sounds" : {
- "ambient" : ["LOOPSULF"]
- },
- "resource" : "ore",
- "defaultQuantity": 2
- },
- "sulfurDune" : {
- "index" : 3,
- "aiValue" : 3500,
- "rmg" : {
- "value" : 3500
- },
- "sounds" : {
- "ambient" : ["LOOPSULF"]
- },
- "resource" : "sulfur",
- "defaultQuantity": 1
- },
- "crystalCavern" : {
- "index" : 4,
- "aiValue" : 3500,
- "rmg" : {
- "value" : 3500
- },
- "sounds" : {
- "ambient" : ["LOOPCRYS"]
- },
- "battleground": "subterranean",
- "resource" : "crystal",
- "defaultQuantity": 1
- },
- "gemPond" : {
- "index" : 5,
- "aiValue" : 3500,
- "rmg" : {
- "value" : 3500
- },
- "sounds" : {
- "ambient" : ["LOOPGEMP"]
- },
- "resource" : "gems",
- "defaultQuantity": 1
- },
- "goldMine" : {
- "index" : 6,
- "aiValue" : 7000,
- "rmg" : {
- "value" : 7000
- },
- "sounds" : {
- "ambient" : ["LOOPMINE"]
- },
- "battleground": "subterranean",
- "resource" : "gold",
- "defaultQuantity": 1000
- },
- "abandoned" : {
- "index" : 7,
- "aiValue" : 3500,
- "sounds" : {
- "ambient" : ["LOOPCAVE"],
- "visit" : ["MYSTERY"]
- },
- "battleground": "subterranean"
- }
- }
- },
- "abandonedMine" : {
- "index" :220,
- "handler": "mine",
- "lastReservedIndex" : 7,
- "base" : {
- "aiValue" : 3500,
- "sounds" : {
- "ambient" : ["LOOPCAVE"]
- }
- },
- "types" : {
- "mine" : { "index" : 7, "battleground": "subterranean" }
- }
- },
- "garrisonHorizontal": {
- "index" :33,
- "handler": "garrison",
- "lastReservedIndex" : 1,
- "base" : {
- "aiValue" : 0,
- "sounds" : {
- "visit" : ["MILITARY"]
- }
- },
- "types": {
- "normal": {
- "index": 0,
- "sounds" : {
- "ambient" : ["LOOPSWAR"]
- }
- },
- "antiMagic": {
- "index": 1,
- "sounds" : {
- "ambient" : ["LOOPMAGI"]
- }
- }
- }
- },
- "garrisonVertical" : {
- "index" :219,
- "handler": "garrison",
- "lastReservedIndex" : 1,
- "base" : {
- "aiValue" : 0,
- "sounds" : {
- "visit" : ["MILITARY"]
- }
- },
- "types": {
- "normal": {
- "index": 0,
- "sounds" : {
- "ambient" : ["LOOPSWAR"]
- }
- },
- "antiMagic": {
- "index": 1,
- "sounds" : {
- "ambient" : ["LOOPMAGI"]
- }
- }
- }
- },
- // Subtype: paired monoliths
- "monolithOneWayEntrance" : {
- "index" :43,
- "handler": "monolith",
- "lastReservedIndex" : 7,
- "base" : {
- "sounds" : {
- "ambient" : ["LOOPMON1"],
- "visit" : ["TELPTOUT"]
- }
- },
- "types" : {
- "monolith1" : { "index" : 0 },
- "monolith2" : { "index" : 1 },
- "monolith3" : { "index" : 2 },
- "monolith4" : { "index" : 3 },
- "monolith5" : { "index" : 4 },
- "monolith6" : { "index" : 5 },
- "monolith7" : { "index" : 6 },
- "monolith8" : { "index" : 7 }
- }
- },
- "monolithOneWayExit" : {
- "index" :44,
- "handler": "monolith",
- "lastReservedIndex" : 7,
- "base" : {
- "sounds" : { "ambient" : ["LOOPMON1"] }
- },
- "types" : {
- "monolith1" : { "index" : 0 },
- "monolith2" : { "index" : 1 },
- "monolith3" : { "index" : 2 },
- "monolith4" : { "index" : 3 },
- "monolith5" : { "index" : 4 },
- "monolith6" : { "index" : 5 },
- "monolith7" : { "index" : 6 },
- "monolith8" : { "index" : 7 }
- }
- },
- "monolithTwoWay" : {
- "index" :45,
- "handler": "monolith",
- "lastReservedIndex" : 7,
- "base" : {
- "sounds" : {
- "ambient" : ["LOOPMON2"],
- "visit" : ["TELPTOUT"]
- }
- },
- "types" : {
- "monolith1" : { "index" : 0 },
- "monolith2" : { "index" : 1 },
- "monolith3" : { "index" : 2 },
- "monolith4" : { "index" : 3 },
- "monolith5" : { "index" : 4 },
- "monolith6" : { "index" : 5 },
- "monolith7" : { "index" : 6 },
- "monolith8" : { "index" : 7 }
- }
- },
- // subtype: level
- "randomDwellingLvl" : {
- "index" :217,
- "handler": "randomDwelling",
- "lastReservedIndex" : 6,
- "types" : {
- "objectLvl1" : { "index" : 0},
- "objectLvl2" : { "index" : 1},
- "objectLvl3" : { "index" : 2},
- "objectLvl4" : { "index" : 3},
- "objectLvl5" : { "index" : 4},
- "objectLvl6" : { "index" : 5},
- "objectLvl7" : { "index" : 6}
- }
- },
-
- // subtype: faction ID
- "randomDwellingFaction" : {
- "index" :218,
- "handler": "randomDwelling",
- "lastReservedIndex" : 8,
- "types" : {
- "objectCastle" : { "index" : 0},
- "objectRampart" : { "index" : 1},
- "objectTower" : { "index" : 2},
- "objectInferno" : { "index" : 3},
- "objectNecropolis" : { "index" : 4},
- "objectDungeon" : { "index" : 5},
- "objectStronghold" : { "index" : 6},
- "objectFortress" : { "index" : 7},
- "objectConflux" : { "index" : 8},
- }
- },
- // don't have subtypes (at least now), but closely connected to this objects
- "spellScroll" : {
- "index" :93,
- "handler": "artifact",
- "types" : {
- "object" : {
- "index" : 0,
- "aiValue" : 500,
- "sounds" : {
- "removal" : [ "PICKUP01", "PICKUP02", "PICKUP03", "PICKUP04", "PICKUP05", "PICKUP06", "PICKUP07" ]
- },
- "templates" : {
- "normal" : {
- "visitableFrom" : [ "+++", "+-+", "+++" ],
- "mask" : [ "VA" ],
- "animation" : "AVA0001.def"
- }
- }
- }
- }
- },
- "heroPlaceholder" : {
- "index" : 214,
- "handler": "heroPlaceholder",
- "types" : { "object" : { "index" : 0 } }
- }
- }
|