rewardableOnceVisitable.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. {
  2. /// These are objects that covered by concept of "configurable object" and have their entire configuration in this config
  3. "leanTo" :{
  4. "index" : 39,
  5. "handler": "configurable",
  6. "base" : {
  7. "sounds" : {
  8. "visit" : ["GENIE"]
  9. }
  10. },
  11. "types" : {
  12. "leanTo" : {
  13. "index" : 0,
  14. "aiValue" : 500,
  15. "rmg" : {
  16. "value" : 500,
  17. "rarity" : 100
  18. },
  19. "compatibilityIdentifiers" : [ "object" ],
  20. "variables" : {
  21. "resource" : {
  22. "gainedResource" : { // Note: this variable name is used by engine for H3M loading
  23. "anyOf" : [ "wood", "ore", "mercury", "gems", "sulfur", "crystal" ],
  24. }
  25. },
  26. "number" : {
  27. "gainedAmount" : { // Note: this variable name is used by engine for H3M loading
  28. "min" : 1,
  29. "max" : 5
  30. }
  31. },
  32. },
  33. "onVisitedMessage" : 65,
  34. "visitMode" : "once",
  35. "selectMode" : "selectFirst",
  36. "rewards" : [
  37. {
  38. "message" : 64,
  39. "resources" : [
  40. {
  41. "type" : "@gainedResource",
  42. "amount" : "@gainedAmount",
  43. }
  44. ]
  45. }
  46. ]
  47. }
  48. }
  49. },
  50. "corpse" :{
  51. "index" : 22,
  52. "handler": "configurable",
  53. "base" : {
  54. "blockedVisitable" : true,
  55. "sounds" : {
  56. "visit" : ["MYSTERY"]
  57. }
  58. },
  59. "types" : {
  60. "corpse" : {
  61. "index" : 0,
  62. "aiValue" : 500,
  63. "rmg" : {
  64. "value" : 500,
  65. "rarity" : 100
  66. },
  67. "compatibilityIdentifiers" : [ "object" ],
  68. "onVisitedMessage" : 38,
  69. "visitMode" : "once",
  70. "selectMode" : "selectFirst",
  71. "variables" : {
  72. "artifact" : {
  73. "gainedArtifact" : { // Note: this variable name is used by engine for H3M loading
  74. "class" : "TREASURE"
  75. }
  76. }
  77. },
  78. "rewards" : [
  79. {
  80. "appearChance" : { "max" : 10 },
  81. "message" : 37,
  82. "mapDice" : 1,
  83. "artifacts" : [ "@gainedArtifact" ]
  84. },
  85. {
  86. "appearChance" : { "min" : 10, "max" : 20 },
  87. "message" : 37,
  88. "mapDice" : 2,
  89. "artifacts" : [ { "class" : "MINOR" } ]
  90. },
  91. {
  92. "appearChance" : { "min" : 20, "max" : 100 },
  93. "message" : 38,
  94. "mapDice" : 0
  95. }
  96. ]
  97. }
  98. }
  99. },
  100. "wagon" :{
  101. "index" : 105,
  102. "handler": "configurable",
  103. "base" : {
  104. "sounds" : {
  105. "visit" : ["GENIE"]
  106. }
  107. },
  108. "types" : {
  109. "wagon" : {
  110. "index" : 0,
  111. "aiValue" : 500,
  112. "rmg" : {
  113. "value" : 500,
  114. "rarity" : 50
  115. },
  116. "compatibilityIdentifiers" : [ "object" ],
  117. "variables" : {
  118. "artifact" : {
  119. "gainedArtifact" : { // Note: this variable name is used by engine for H3M loading
  120. "class" : "TREASURE"
  121. }
  122. },
  123. "resource" : {
  124. "gainedResource" : { // Note: this variable name is used by engine for H3M loading
  125. "anyOf" : [ "wood", "ore", "mercury", "gems", "sulfur", "crystal" ],
  126. }
  127. },
  128. "number" : {
  129. "gainedAmount" : { // Note: this variable name is used by engine for H3M loading
  130. "min" : 1,
  131. "max" : 5
  132. }
  133. },
  134. },
  135. "onVisitedMessage" : 156,
  136. "visitMode" : "once",
  137. "selectMode" : "selectFirst",
  138. "rewards" : [
  139. {
  140. "appearChance" : { "max" : 20 },
  141. "mapDice" : 0,
  142. "message" : 155,
  143. "artifacts" : [ "@gainedArtifact" ]
  144. },
  145. {
  146. "appearChance" : { "min" : 20, "max" : 40 },
  147. "mapDice" : -1,
  148. "message" : 155,
  149. "artifacts" : [ { "class" : "MINOR" } ]
  150. },
  151. {
  152. "message" : 154,
  153. "appearChance" : { "min" : 40, "max" : 90 },
  154. "mapDice" : 1,
  155. "resources" : [
  156. {
  157. "type" : "@gainedResource",
  158. "amount" : "@gainedAmount",
  159. }
  160. ]
  161. },
  162. {
  163. "appearChance" : { "min" : 90, "max" : 100 },
  164. "mapDice" : 2,
  165. "message" : 156,
  166. }
  167. ]
  168. }
  169. }
  170. },
  171. "warriorTomb" : {
  172. "index" : 108,
  173. "handler": "configurable",
  174. "base" : {
  175. "sounds" : {
  176. "visit" : ["GRAVEYARD"]
  177. }
  178. },
  179. "types" : {
  180. "warriorTomb" : {
  181. "index" : 0,
  182. "aiValue" : 6000,
  183. "rmg" : {
  184. "value" : 6000,
  185. "rarity" : 20
  186. },
  187. "compatibilityIdentifiers" : [ "object" ],
  188. "onSelectMessage" : 161,
  189. "visitMode" : "once",
  190. "selectMode" : "selectFirst",
  191. "onVisited" : [
  192. {
  193. "message" : 163,
  194. "bonuses" : [ { "type" : "MORALE", "val" : -3, "duration" : "ONE_BATTLE", "description" : 104 } ]
  195. }
  196. ],
  197. "variables" : {
  198. "artifact" : {
  199. "gainedArtifact" : { // Note: this variable name is used by engine for H3M loading
  200. "class" : "TREASURE"
  201. }
  202. }
  203. },
  204. "rewards" : [
  205. {
  206. "appearChance" : { "max" : 30 },
  207. "message" : 162,
  208. "mapDice" : 0,
  209. "artifacts" : [ "@gainedArtifact" ],
  210. "bonuses" : [ { "type" : "MORALE", "val" : -3, "duration" : "ONE_BATTLE", "description" : 104 } ]
  211. },
  212. {
  213. "appearChance" : { "min" : 30, "max" : 80 },
  214. "mapDice" : 1,
  215. "message" : 162,
  216. "artifacts" : [ { "class" : "MINOR" } ],
  217. "bonuses" : [ { "type" : "MORALE", "val" : -3, "duration" : "ONE_BATTLE", "description" : 104 } ]
  218. },
  219. {
  220. "appearChance" : { "min" : 80, "max" : 95 },
  221. "mapDice" : 2,
  222. "message" : 162,
  223. "artifacts" : [ { "class" : "MAJOR" } ],
  224. "bonuses" : [ { "type" : "MORALE", "val" : -3, "duration" : "ONE_BATTLE", "description" : 104 } ]
  225. },
  226. {
  227. "appearChance" : { "min" : 95 },
  228. "mapDice" : 3,
  229. "message" : 162,
  230. "artifacts" : [ { "class" : "RELIC" } ],
  231. "bonuses" : [ { "type" : "MORALE", "val" : -3, "duration" : "ONE_BATTLE", "description" : 104 } ]
  232. }
  233. ]
  234. }
  235. }
  236. }
  237. }