moddables.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. {
  2. /// These are objects that have subtypes that change various aspects of their mechanics
  3. /// Should be made configurable (either directly or via other parts of modding system ASAP)
  4. /// Editing these objects either directly or via mod may have negative effect on game since they are handled by engine
  5. // subtype: artifact ID
  6. "artifact" : {
  7. "index" :5,
  8. "handler": "artifact",
  9. "base" : {
  10. "removable": true,
  11. "base" : {
  12. "visitableFrom" : [ "+++", "+-+", "+++" ],
  13. "mask" : [ "VV", "VA"]
  14. },
  15. "sounds" : {
  16. "visit" : ["TREASURE"],
  17. "removal" : [ "PICKUP01", "PICKUP02", "PICKUP03", "PICKUP04", "PICKUP05", "PICKUP06", "PICKUP07" ]
  18. }
  19. }
  20. },
  21. // subtype: hero CLASS (not hero).
  22. "hero" : {
  23. "index" :34,
  24. "handler": "hero",
  25. "base" : {
  26. "aiValue" : 7500,
  27. "removable": true,
  28. "base" : {
  29. "visitableFrom" : [ "+++", "+-+", "+++" ],
  30. "mask" : [ "VVV", "VAV"]
  31. },
  32. "sounds" : {
  33. "removal" : ["KILLFADE"]
  34. }
  35. }
  36. },
  37. // subtype: creatures
  38. "monster" : {
  39. "index" :54,
  40. "handler": "monster",
  41. "base" : {
  42. "removable": true,
  43. "base" : {
  44. "visitableFrom" : [ "+++", "+-+", "+++" ],
  45. "mask" : [ "VV", "VA"]
  46. },
  47. "sounds" : {
  48. "removal" : ["KILLFADE"]
  49. }
  50. }
  51. },
  52. "randomResource":
  53. {
  54. "index" :76,
  55. "handler": "randomResource",
  56. "base" : {
  57. "removable": true,
  58. "base" : {
  59. "visitableFrom" : [ "+++", "+-+", "+++" ],
  60. "mask" : [ "VA" ]
  61. }
  62. },
  63. "types" : {
  64. "randomResource" : {
  65. "index" : 0,
  66. "rmg" : {
  67. "value" : 1500,
  68. "rarity" : 2000
  69. },
  70. "templates" :
  71. {
  72. "normal" : {
  73. "animation" : "AVTrndm0",
  74. "visitableFrom" : [ "+++", "+-+", "+++" ],
  75. "mask" : [ "VV", "VA"]
  76. }
  77. }
  78. }
  79. }
  80. },
  81. // subtype: resource ID
  82. "resource" : {
  83. "index" :79,
  84. "handler": "resource",
  85. "lastReservedIndex" : 6,
  86. "base" : {
  87. "removable": true,
  88. "base" : {
  89. "visitableFrom" : [ "+++", "+-+", "+++" ],
  90. "mask" : [ "VA" ]
  91. }
  92. },
  93. "types" : {
  94. "wood" : { "index" : 0, "aiValue" : 1400, "rmg" : { "value" : 1400, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTwood0.def" } } },
  95. "mercury" : { "index" : 1, "aiValue" : 2000, "rmg" : { "value" : 2000, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTmerc0.def" } } },
  96. "ore" : { "index" : 2, "aiValue" : 1400, "rmg" : { "value" : 1400, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTore0.def" } } },
  97. "sulfur" : { "index" : 3, "aiValue" : 2000, "rmg" : { "value" : 2000, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTsulf0.def" } } },
  98. "crystal" : { "index" : 4, "aiValue" : 2000, "rmg" : { "value" : 2000, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTcrys0.def" } } },
  99. "gems" : { "index" : 5, "aiValue" : 2000, "rmg" : { "value" : 2000, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTgems0.def" } } },
  100. "gold" : { "index" : 6, "aiValue" : 750, "rmg" : { "value" : 750, "rarity" : 300 }, "templates" : { "res" : { "animation" : "AVTgold0.def" } } }
  101. }
  102. },
  103. // subtype: faction
  104. "town" : {
  105. "index" :98,
  106. "handler": "town",
  107. "base" : {
  108. "aiValue" : 20000,
  109. "filters" : {
  110. // village image - fort not present
  111. "village" : [ "noneOf", [ "fort" ] ],
  112. // fort image - fort is here but not capitol
  113. "fort" : [ "allOf", [ "fort" ], [ "noneOf", ["capitol" ] ] ],
  114. // capitol image only when capitol is built
  115. "capitol" : [ "capitol" ]
  116. },
  117. // "faction" : "stringID", // should be set by engine
  118. "base" : {
  119. "visitableFrom" : [ "---", "+++", "+++" ],
  120. "mask" : [
  121. "VVVVVV", // a LOT of just visible rows due to towns like Tower
  122. "VVVVVV",
  123. "VVVVVV",
  124. "VVBBBV",
  125. "VBBBBB",
  126. "VBBABB"
  127. ]
  128. }
  129. }
  130. },
  131. // subtype: one of 3 possible boats
  132. "boat" : {
  133. "index" :8,
  134. "handler": "boat",
  135. "lastReservedIndex" : 2,
  136. "base" : {
  137. "aiValue" : 0,
  138. "removable": true,
  139. "layer" : "sail",
  140. "onboardAssaultAllowed" : true,
  141. "onboardVisitAllowed" : true,
  142. "base" : {
  143. "visitableFrom" : [ "+++", "+-+", "+++" ],
  144. "mask" : [ "VVV", "VAV" ]
  145. }
  146. },
  147. "types" : {
  148. "boatNecropolis" : {
  149. "index" : 0,
  150. "actualAnimation" : "AB01_.def",
  151. "overlayAnimation" : "ABM01_.def",
  152. "flagAnimations" : ["ABF01L", "ABF01G", "ABF01R", "ABF01D", "ABF01B", "ABF01P", "ABF01W", "ABF01K"]
  153. },
  154. "boatCastle" : {
  155. "index" : 1,
  156. "actualAnimation" : "AB02_.def",
  157. "overlayAnimation" : "ABM02_.def",
  158. "flagAnimations" : ["ABF02L", "ABF02G", "ABF02R", "ABF02D", "ABF02B", "ABF02P", "ABF02W", "ABF02K"]
  159. },
  160. "boatFortress" : {
  161. "index" : 2,
  162. "actualAnimation" : "AB03_.def",
  163. "overlayAnimation" : "ABM03_.def",
  164. "flagAnimations" : ["ABF03L", "ABF03G", "ABF03R", "ABF03D", "ABF03B", "ABF03P", "ABF03W", "ABF03K"]
  165. },
  166. }
  167. },
  168. // subtype: color of guard
  169. "borderGuard" : {
  170. "index" :9,
  171. "handler": "borderGuard",
  172. "lastReservedIndex" : 7,
  173. "base" : {
  174. "aiValue" : 0,
  175. "removable": true,
  176. "sounds" : {
  177. "visit" : ["CAVEHEAD"],
  178. "removal" : [ "PICKUP01", "PICKUP02", "PICKUP03", "PICKUP04", "PICKUP05", "PICKUP06", "PICKUP07" ]
  179. }
  180. },
  181. "types" : {
  182. "lblue" : { "index" : 0 },
  183. "green" : { "index" : 1 },
  184. "red" : { "index" : 2 },
  185. "dblue" : { "index" : 3 },
  186. "brown" : { "index" : 4 },
  187. "purple" : { "index" : 5 },
  188. "white" : { "index" : 6 },
  189. "black" : { "index" : 7 }
  190. }
  191. },
  192. "borderGate" : {
  193. "index" :212,
  194. "handler": "borderGate",
  195. "lastReservedIndex" : 7,
  196. "base" : {
  197. "aiValue" : 0,
  198. "sounds" : {
  199. "visit" : ["CAVEHEAD"]
  200. }
  201. },
  202. "types" : {
  203. "lblue" : { "index" : 0 },
  204. "green" : { "index" : 1 },
  205. "red" : { "index" : 2 },
  206. "dblue" : { "index" : 3 },
  207. "brown" : { "index" : 4 },
  208. "purple" : { "index" : 5 },
  209. "white" : { "index" : 6 },
  210. "black" : { "index" : 7 }
  211. }
  212. },
  213. "keymasterTent" : {
  214. "index" :10,
  215. "handler": "keymaster",
  216. "lastReservedIndex" : 7,
  217. "base" : {
  218. "aiValue" : 10000,
  219. "sounds" : {
  220. "visit" : ["CAVEHEAD"]
  221. }
  222. },
  223. "types" : {
  224. "lblue" : { "index" : 0 },
  225. "green" : { "index" : 1 },
  226. "red" : { "index" : 2 },
  227. "dblue" : { "index" : 3 },
  228. "brown" : { "index" : 4 },
  229. "purple" : { "index" : 5 },
  230. "white" : { "index" : 6 },
  231. "black" : { "index" : 7 }
  232. }
  233. },
  234. //Seer Hut object is set off bottom-right corner, need to fix that
  235. "seerHut" : {
  236. "index" :83,
  237. "handler": "seerHut",
  238. "lastReservedIndex" : 2,
  239. "base" : {
  240. "aiValue" : 10000,
  241. "base" : {
  242. "visitableFrom" : [ "---", "+++", "+++" ],
  243. "mask" : [ "VVV", "VVV", "VAV" ]
  244. },
  245. "sounds" : {
  246. "visit" : ["QUEST"]
  247. }
  248. },
  249. "types" : {
  250. "0" : { "index" : 0 },
  251. "1" : { "index" : 1 },
  252. "2" : { "index" : 2 }
  253. }
  254. },
  255. // subtype: resource ID
  256. "mine" : {
  257. "index" :53,
  258. "handler": "mine",
  259. "lastReservedIndex" : 7,
  260. "base" : {
  261. "sounds" : {
  262. "visit" : ["FLAGMINE"]
  263. }
  264. },
  265. "types" : {
  266. "sawmill" : {
  267. "index" : 0,
  268. "aiValue" : 1500,
  269. "rmg" : {
  270. "value" : 1500
  271. },
  272. "sounds" : {
  273. "ambient" : ["LOOPLUMB"]
  274. }
  275. },
  276. "alchemistLab" : {
  277. "index" : 1,
  278. "aiValue" : 3500,
  279. "rmg" : {
  280. "value" : 3500
  281. },
  282. "sounds" : {
  283. "ambient" : ["LOOPSTAR"]
  284. }
  285. },
  286. "orePit" : {
  287. "index" : 2,
  288. "aiValue" : 1500,
  289. "rmg" : {
  290. "value" : 1500
  291. },
  292. "sounds" : {
  293. "ambient" : ["LOOPSULF"]
  294. }
  295. },
  296. "sulfurDune" : {
  297. "index" : 3,
  298. "aiValue" : 3500,
  299. "rmg" : {
  300. "value" : 3500
  301. },
  302. "sounds" : {
  303. "ambient" : ["LOOPSULF"]
  304. }
  305. },
  306. "crystalCavern" : {
  307. "index" : 4,
  308. "aiValue" : 3500,
  309. "rmg" : {
  310. "value" : 3500
  311. },
  312. "sounds" : {
  313. "ambient" : ["LOOPCRYS"]
  314. },
  315. "battleground": "subterranean"
  316. },
  317. "gemPond" : {
  318. "index" : 5,
  319. "aiValue" : 3500,
  320. "rmg" : {
  321. "value" : 3500
  322. },
  323. "sounds" : {
  324. "ambient" : ["LOOPGEMP"]
  325. }
  326. },
  327. "goldMine" : {
  328. "index" : 6,
  329. "aiValue" : 7000,
  330. "rmg" : {
  331. "value" : 7000
  332. },
  333. "sounds" : {
  334. "ambient" : ["LOOPMINE"]
  335. },
  336. "battleground": "subterranean"
  337. },
  338. "abandoned" : {
  339. "index" : 7,
  340. "aiValue" : 3500,
  341. "sounds" : {
  342. "ambient" : ["LOOPCAVE"],
  343. "visit" : ["MYSTERY"]
  344. },
  345. "battleground": "subterranean"
  346. }
  347. }
  348. },
  349. "abandonedMine" : {
  350. "index" :220,
  351. "handler": "mine",
  352. "lastReservedIndex" : 7,
  353. "base" : {
  354. "aiValue" : 3500,
  355. "sounds" : {
  356. "ambient" : ["LOOPCAVE"]
  357. }
  358. },
  359. "types" : {
  360. "mine" : { "index" : 7, "battleground": "subterranean" }
  361. }
  362. },
  363. "garrisonHorizontal": {
  364. "index" :33,
  365. "handler": "garrison",
  366. "lastReservedIndex" : 1,
  367. "base" : {
  368. "aiValue" : 0,
  369. "sounds" : {
  370. "visit" : ["MILITARY"]
  371. }
  372. },
  373. "types": {
  374. "normal": {
  375. "index": 0,
  376. "sounds" : {
  377. "ambient" : ["LOOPSWAR"]
  378. }
  379. },
  380. "antiMagic": {
  381. "index": 1,
  382. "sounds" : {
  383. "ambient" : ["LOOPMAGI"]
  384. }
  385. }
  386. }
  387. },
  388. "garrisonVertical" : {
  389. "index" :219,
  390. "handler": "garrison",
  391. "lastReservedIndex" : 1,
  392. "base" : {
  393. "aiValue" : 0,
  394. "sounds" : {
  395. "visit" : ["MILITARY"]
  396. }
  397. },
  398. "types": {
  399. "normal": {
  400. "index": 0,
  401. "sounds" : {
  402. "ambient" : ["LOOPSWAR"]
  403. }
  404. },
  405. "antiMagic": {
  406. "index": 1,
  407. "sounds" : {
  408. "ambient" : ["LOOPMAGI"]
  409. }
  410. }
  411. }
  412. },
  413. // Subtype: paired monoliths
  414. "monolithOneWayEntrance" : {
  415. "index" :43,
  416. "handler": "monolith",
  417. "lastReservedIndex" : 7,
  418. "base" : {
  419. "sounds" : {
  420. "ambient" : ["LOOPMON1"],
  421. "visit" : ["TELPTOUT"]
  422. }
  423. },
  424. "types" : {
  425. "monolith1" : { "index" : 0 },
  426. "monolith2" : { "index" : 1 },
  427. "monolith3" : { "index" : 2 },
  428. "monolith4" : { "index" : 3 },
  429. "monolith5" : { "index" : 4 },
  430. "monolith6" : { "index" : 5 },
  431. "monolith7" : { "index" : 6 },
  432. "monolith8" : { "index" : 7 }
  433. }
  434. },
  435. "monolithOneWayExit" : {
  436. "index" :44,
  437. "handler": "monolith",
  438. "lastReservedIndex" : 7,
  439. "base" : {
  440. "sounds" : { "ambient" : ["LOOPMON1"] }
  441. },
  442. "types" : {
  443. "monolith1" : { "index" : 0 },
  444. "monolith2" : { "index" : 1 },
  445. "monolith3" : { "index" : 2 },
  446. "monolith4" : { "index" : 3 },
  447. "monolith5" : { "index" : 4 },
  448. "monolith6" : { "index" : 5 },
  449. "monolith7" : { "index" : 6 },
  450. "monolith8" : { "index" : 7 }
  451. }
  452. },
  453. "monolithTwoWay" : {
  454. "index" :45,
  455. "handler": "monolith",
  456. "lastReservedIndex" : 7,
  457. "base" : {
  458. "sounds" : {
  459. "ambient" : ["LOOPMON2"],
  460. "visit" : ["TELPTOUT"]
  461. }
  462. },
  463. "types" : {
  464. "monolith1" : { "index" : 0 },
  465. "monolith2" : { "index" : 1 },
  466. "monolith3" : { "index" : 2 },
  467. "monolith4" : { "index" : 3 },
  468. "monolith5" : { "index" : 4 },
  469. "monolith6" : { "index" : 5 },
  470. "monolith7" : { "index" : 6 },
  471. "monolith8" : { "index" : 7 }
  472. }
  473. },
  474. // subtype: level
  475. "randomDwellingLvl" : {
  476. "index" :217,
  477. "handler": "randomDwelling",
  478. "lastReservedIndex" : 6,
  479. "types" : {
  480. "objectLvl1" : { "index" : 0},
  481. "objectLvl2" : { "index" : 1},
  482. "objectLvl3" : { "index" : 2},
  483. "objectLvl4" : { "index" : 3},
  484. "objectLvl5" : { "index" : 4},
  485. "objectLvl6" : { "index" : 5},
  486. "objectLvl7" : { "index" : 6}
  487. }
  488. },
  489. // subtype: faction ID
  490. "randomDwellingFaction" : {
  491. "index" :218,
  492. "handler": "randomDwelling",
  493. "lastReservedIndex" : 8,
  494. "types" : {
  495. "objectCastle" : { "index" : 0},
  496. "objectRampart" : { "index" : 1},
  497. "objectTower" : { "index" : 2},
  498. "objectInferno" : { "index" : 3},
  499. "objectNecropolis" : { "index" : 4},
  500. "objectDungeon" : { "index" : 5},
  501. "objectStronghold" : { "index" : 6},
  502. "objectFortress" : { "index" : 7},
  503. "objectConflux" : { "index" : 8},
  504. }
  505. },
  506. // don't have subtypes (at least now), but closely connected to this objects
  507. "spellScroll" : {
  508. "index" :93,
  509. "handler": "artifact",
  510. "types" : {
  511. "object" : {
  512. "index" : 0,
  513. "aiValue" : 500,
  514. "sounds" : {
  515. "removal" : [ "PICKUP01", "PICKUP02", "PICKUP03", "PICKUP04", "PICKUP05", "PICKUP06", "PICKUP07" ]
  516. },
  517. "templates" : {
  518. "normal" : {
  519. "visitableFrom" : [ "+++", "+-+", "+++" ],
  520. "mask" : [ "VA" ],
  521. "animation" : "AVA0001.def"
  522. }
  523. }
  524. }
  525. }
  526. },
  527. "heroPlaceholder" : {
  528. "index" : 214,
  529. "handler": "heroPlaceholder",
  530. "types" : { "object" : { "index" : 0 } }
  531. }
  532. }