@rpgm-tools/neo-angband-content 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/LICENSE.md +43 -0
  2. package/README.md +65 -0
  3. package/dist/compile.d.ts +10 -0
  4. package/dist/compile.d.ts.map +1 -0
  5. package/dist/compile.js +42 -0
  6. package/dist/compile.js.map +1 -0
  7. package/dist/data-exactness.reader.d.ts +105 -0
  8. package/dist/data-exactness.reader.d.ts.map +1 -0
  9. package/dist/data-exactness.reader.js +547 -0
  10. package/dist/data-exactness.reader.js.map +1 -0
  11. package/dist/index.d.ts +17 -0
  12. package/dist/index.d.ts.map +1 -0
  13. package/dist/index.js +15 -0
  14. package/dist/index.js.map +1 -0
  15. package/dist/parser.d.ts +70 -0
  16. package/dist/parser.d.ts.map +1 -0
  17. package/dist/parser.js +365 -0
  18. package/dist/parser.js.map +1 -0
  19. package/dist/records.d.ts +101 -0
  20. package/dist/records.d.ts.map +1 -0
  21. package/dist/records.js +244 -0
  22. package/dist/records.js.map +1 -0
  23. package/dist/specs/generate.d.ts +12 -0
  24. package/dist/specs/generate.d.ts.map +1 -0
  25. package/dist/specs/generate.js +57 -0
  26. package/dist/specs/generate.js.map +1 -0
  27. package/dist/specs/index.d.ts +9 -0
  28. package/dist/specs/index.d.ts.map +1 -0
  29. package/dist/specs/index.js +60 -0
  30. package/dist/specs/index.js.map +1 -0
  31. package/dist/specs/init.d.ts +23 -0
  32. package/dist/specs/init.d.ts.map +1 -0
  33. package/dist/specs/init.js +305 -0
  34. package/dist/specs/init.js.map +1 -0
  35. package/dist/specs/misc.d.ts +33 -0
  36. package/dist/specs/misc.d.ts.map +1 -0
  37. package/dist/specs/misc.js +146 -0
  38. package/dist/specs/misc.js.map +1 -0
  39. package/dist/specs/mon-init.d.ts +22 -0
  40. package/dist/specs/mon-init.d.ts.map +1 -0
  41. package/dist/specs/mon-init.js +157 -0
  42. package/dist/specs/mon-init.js.map +1 -0
  43. package/dist/specs/obj-init.d.ts +19 -0
  44. package/dist/specs/obj-init.d.ts.map +1 -0
  45. package/dist/specs/obj-init.js +219 -0
  46. package/dist/specs/obj-init.js.map +1 -0
  47. package/dist/specs/ui-entry.d.ts +22 -0
  48. package/dist/specs/ui-entry.d.ts.map +1 -0
  49. package/dist/specs/ui-entry.js +69 -0
  50. package/dist/specs/ui-entry.js.map +1 -0
  51. package/dist/specs/visuals.d.ts +26 -0
  52. package/dist/specs/visuals.d.ts.map +1 -0
  53. package/dist/specs/visuals.js +35 -0
  54. package/dist/specs/visuals.js.map +1 -0
  55. package/pack/activation.json +3340 -0
  56. package/pack/artifact.json +5146 -0
  57. package/pack/blow_effects.json +370 -0
  58. package/pack/blow_methods.json +286 -0
  59. package/pack/body.json +59 -0
  60. package/pack/brand.json +100 -0
  61. package/pack/chest_trap.json +117 -0
  62. package/pack/class.json +5501 -0
  63. package/pack/constants.json +470 -0
  64. package/pack/curse.json +580 -0
  65. package/pack/dungeon_profile.json +836 -0
  66. package/pack/ego_item.json +2900 -0
  67. package/pack/flavor.json +1541 -0
  68. package/pack/hints.json +303 -0
  69. package/pack/history.json +1656 -0
  70. package/pack/manifest.json +52 -0
  71. package/pack/monster.json +29392 -0
  72. package/pack/monster_base.json +688 -0
  73. package/pack/monster_spell.json +2735 -0
  74. package/pack/names.json +1204 -0
  75. package/pack/object.json +11877 -0
  76. package/pack/object_base.json +364 -0
  77. package/pack/object_property.json +2034 -0
  78. package/pack/p_race.json +447 -0
  79. package/pack/pain.json +150 -0
  80. package/pack/pit.json +617 -0
  81. package/pack/player_property.json +519 -0
  82. package/pack/player_timed.json +1321 -0
  83. package/pack/projection.json +664 -0
  84. package/pack/quest.json +18 -0
  85. package/pack/realm.json +34 -0
  86. package/pack/room_template.json +9571 -0
  87. package/pack/shape.json +263 -0
  88. package/pack/slay.json +116 -0
  89. package/pack/store.json +675 -0
  90. package/pack/summon.json +143 -0
  91. package/pack/terrain.json +511 -0
  92. package/pack/trap.json +1483 -0
  93. package/pack/ui_entry.json +382 -0
  94. package/pack/ui_entry_base.json +60 -0
  95. package/pack/ui_entry_renderer.json +43 -0
  96. package/pack/ui_knowledge.json +302 -0
  97. package/pack/vault.json +4355 -0
  98. package/pack/visuals.json +680 -0
  99. package/pack/world.json +1030 -0
  100. package/package.json +67 -0
  101. package/src/compile.ts +55 -0
  102. package/src/data-exactness.reader.ts +559 -0
  103. package/src/index.ts +31 -0
  104. package/src/parser.ts +406 -0
  105. package/src/records.ts +341 -0
  106. package/src/specs/generate.ts +61 -0
  107. package/src/specs/index.ts +103 -0
  108. package/src/specs/init.ts +322 -0
  109. package/src/specs/misc.ts +153 -0
  110. package/src/specs/mon-init.ts +165 -0
  111. package/src/specs/obj-init.ts +230 -0
  112. package/src/specs/ui-entry.ts +74 -0
  113. package/src/specs/visuals.ts +37 -0
@@ -0,0 +1,382 @@
1
+ {
2
+ "file": "ui_entry",
3
+ "source": "lib/gamedata/ui_entry.txt",
4
+ "records": [
5
+ {
6
+ "name": "stat_mod_ui_compact_0",
7
+ "parameter": "stat",
8
+ "renderer": "char_screen1_stat_mod_renderer",
9
+ "combine": "ADD",
10
+ "category": [
11
+ "stat_modifiers",
12
+ "CHAR_SCREEN1",
13
+ "EQUIPCMP_SCREEN"
14
+ ],
15
+ "priority": "negative_index",
16
+ "desc": [
17
+ "Generic UI entry for compact display of modifier and sustain information",
18
+ " for one of the core statistics. Given that this is linked to other",
19
+ " entries that are hardcoded, the priority should be negative_index and",
20
+ " this should be the only thing with stat_modifiers and CHAR_SCREEN1 as",
21
+ " categories."
22
+ ]
23
+ },
24
+ {
25
+ "name": "resist_ui_compact_0",
26
+ "parameter": "element",
27
+ "renderer": "char_screen1_resist_renderer",
28
+ "combine": "RESIST_0",
29
+ "category": [
30
+ "resistances"
31
+ ],
32
+ "priority": "negative_index",
33
+ "flags": [
34
+ "TIMED_AS_AUX"
35
+ ],
36
+ "desc": [
37
+ "Generic UI entry for compact display of a resistance flag with the",
38
+ " label colored by the combined resistance across several sources.",
39
+ " It is used for rows in the second character screen's display of",
40
+ " resistances. Specializations below set the label and categories for",
41
+ " particular screens."
42
+ ]
43
+ },
44
+ {
45
+ "name": "resist_ui_compact_0<ACID>",
46
+ "label": "Acid",
47
+ "category": [
48
+ "CHAR_SCREEN1",
49
+ "EQUIPCMP_SCREEN"
50
+ ]
51
+ },
52
+ {
53
+ "name": "resist_ui_compact_0<ELEC>",
54
+ "label": "Elec",
55
+ "category": [
56
+ "CHAR_SCREEN1",
57
+ "EQUIPCMP_SCREEN"
58
+ ]
59
+ },
60
+ {
61
+ "name": "resist_ui_compact_0<FIRE>",
62
+ "label": "Fire",
63
+ "category": [
64
+ "CHAR_SCREEN1",
65
+ "EQUIPCMP_SCREEN"
66
+ ]
67
+ },
68
+ {
69
+ "name": "resist_ui_compact_0<COLD>",
70
+ "label": "Cold",
71
+ "category": [
72
+ "CHAR_SCREEN1",
73
+ "EQUIPCMP_SCREEN"
74
+ ]
75
+ },
76
+ {
77
+ "name": "resist_ui_compact_0<POIS>",
78
+ "label": "Poison",
79
+ "label5": "Pois",
80
+ "category": [
81
+ "CHAR_SCREEN1",
82
+ "EQUIPCMP_SCREEN"
83
+ ]
84
+ },
85
+ {
86
+ "name": "resist_ui_compact_0<LIGHT>",
87
+ "label": "Light",
88
+ "category": [
89
+ "CHAR_SCREEN1",
90
+ "EQUIPCMP_SCREEN"
91
+ ]
92
+ },
93
+ {
94
+ "name": "resist_ui_compact_0<DARK>",
95
+ "label": "Dark",
96
+ "category": [
97
+ "CHAR_SCREEN1",
98
+ "EQUIPCMP_SCREEN"
99
+ ]
100
+ },
101
+ {
102
+ "name": "resist_ui_compact_0<SOUND>",
103
+ "label": "Sound",
104
+ "category": [
105
+ "CHAR_SCREEN1",
106
+ "EQUIPCMP_SCREEN"
107
+ ]
108
+ },
109
+ {
110
+ "name": "resist_ui_compact_0<SHARD>",
111
+ "label": "Shard",
112
+ "category": [
113
+ "CHAR_SCREEN1",
114
+ "EQUIPCMP_SCREEN"
115
+ ]
116
+ },
117
+ {
118
+ "name": "resist_ui_compact_0<NEXUS>",
119
+ "label": "Nexus",
120
+ "label2": "Nx",
121
+ "category": [
122
+ "CHAR_SCREEN1",
123
+ "EQUIPCMP_SCREEN"
124
+ ]
125
+ },
126
+ {
127
+ "name": "resist_ui_compact_0<NETHER>",
128
+ "label": "Nether",
129
+ "label5": "Nethr",
130
+ "category": [
131
+ "CHAR_SCREEN1",
132
+ "EQUIPCMP_SCREEN"
133
+ ]
134
+ },
135
+ {
136
+ "name": "resist_ui_compact_0<CHAOS>",
137
+ "label": "Chaos",
138
+ "category": [
139
+ "CHAR_SCREEN1",
140
+ "EQUIPCMP_SCREEN"
141
+ ]
142
+ },
143
+ {
144
+ "name": "resist_ui_compact_0<DISEN>",
145
+ "label": "Disenchant",
146
+ "category": [
147
+ "CHAR_SCREEN1",
148
+ "EQUIPCMP_SCREEN"
149
+ ]
150
+ },
151
+ {
152
+ "name": "pfear_ui_compact_0",
153
+ "template": "good_flag_ui_compact_0",
154
+ "label": "Fear resistance",
155
+ "label5": "pFear",
156
+ "priority": "0"
157
+ },
158
+ {
159
+ "name": "pblind_ui_compact_0",
160
+ "template": "good_flag_ui_compact_0",
161
+ "label": "Blindess resistance",
162
+ "label5": "pBlnd",
163
+ "priority": "-1"
164
+ },
165
+ {
166
+ "name": "pconf_ui_compact_0",
167
+ "template": "good_flag_ui_compact_0",
168
+ "label": "Confusion resistance",
169
+ "label5": "pConf",
170
+ "priority": "-2"
171
+ },
172
+ {
173
+ "name": "pstun_ui_compact_0",
174
+ "template": "good_flag_ui_compact_0",
175
+ "label": "Stun resistance",
176
+ "label5": "pStun",
177
+ "priority": "-3"
178
+ },
179
+ {
180
+ "name": "holdlife_ui_compact_0",
181
+ "template": "good_flag_ui_compact_0",
182
+ "label": "Hold life",
183
+ "label5": "HLife",
184
+ "priority": "-4"
185
+ },
186
+ {
187
+ "name": "regen_ui_compact_0",
188
+ "template": "good_flag_ui_compact_0",
189
+ "label": "Regeneration",
190
+ "priority": "-5"
191
+ },
192
+ {
193
+ "name": "esp_ui_compact_0",
194
+ "template": "good_flag_ui_compact_0",
195
+ "label": "ESP",
196
+ "priority": "-6"
197
+ },
198
+ {
199
+ "name": "see_invis_ui_compact_0",
200
+ "template": "good_flag_ui_compact_0",
201
+ "label": "See invisible",
202
+ "label2": "SI",
203
+ "label5": "S.Inv",
204
+ "priority": "-7"
205
+ },
206
+ {
207
+ "name": "free_action_ui_compact_0",
208
+ "template": "good_flag_ui_compact_0",
209
+ "label": "Free action",
210
+ "label2": "FA",
211
+ "label5": "FrAct",
212
+ "priority": "-8"
213
+ },
214
+ {
215
+ "name": "feather_falling_ui_compact_0",
216
+ "template": "good_flag_ui_compact_0",
217
+ "label": "Feather falling",
218
+ "label2": "Ft",
219
+ "label5": "Feath",
220
+ "priority": "-9"
221
+ },
222
+ {
223
+ "name": "slow_digestion_ui_compact_0",
224
+ "template": "good_flag_ui_compact_0",
225
+ "label": "Slow digestion",
226
+ "label2": "SD",
227
+ "label5": "S.Dig",
228
+ "priority": "-10"
229
+ },
230
+ {
231
+ "name": "trap_immunity_ui_compact_0",
232
+ "template": "good_flag_ui_compact_0",
233
+ "label": "Trap immunity",
234
+ "label2": "TI",
235
+ "label5": "TrpIm",
236
+ "priority": "-11"
237
+ },
238
+ {
239
+ "name": "bless_ui_compact_0",
240
+ "template": "good_flag_ui_compact_0",
241
+ "label": "Bless",
242
+ "priority": "-12"
243
+ },
244
+ {
245
+ "name": "imphp_ui_compact_0",
246
+ "template": "other_flag_ui_compact_0",
247
+ "label": "Impaired HP recovery",
248
+ "label2": "IH",
249
+ "label5": "ImpHP",
250
+ "priority": "0"
251
+ },
252
+ {
253
+ "name": "impsp_ui_compact_0",
254
+ "template": "other_flag_ui_compact_0",
255
+ "label": "Impaired mana recovery",
256
+ "label2": "IS",
257
+ "label5": "ImpSP",
258
+ "priority": "-1"
259
+ },
260
+ {
261
+ "name": "fear_ui_compact_0",
262
+ "template": "other_flag_ui_compact_0",
263
+ "label": "Fear",
264
+ "priority": "-2"
265
+ },
266
+ {
267
+ "name": "aggravate_ui_compact_0",
268
+ "template": "other_flag_ui_compact_0",
269
+ "label": "Aggravate",
270
+ "label5": "Aggrv",
271
+ "priority": "-3"
272
+ },
273
+ {
274
+ "name": "noteleport_ui_compact_0",
275
+ "template": "other_flag_ui_compact_0",
276
+ "label": "No teleportation",
277
+ "label2": "NT",
278
+ "label5": "NoTel",
279
+ "priority": "-4"
280
+ },
281
+ {
282
+ "name": "drainxp_ui_compact_0",
283
+ "template": "other_flag_ui_compact_0",
284
+ "label": "Drain experience",
285
+ "label2": "DE",
286
+ "label5": "DrExp",
287
+ "priority": "-5"
288
+ },
289
+ {
290
+ "name": "sticky_ui_compact_0",
291
+ "template": "other_flag_ui_compact_0",
292
+ "label": "Sticky curse",
293
+ "label2": "Sy",
294
+ "label5": "Stick",
295
+ "priority": "-6"
296
+ },
297
+ {
298
+ "name": "fragile_ui_compact_0",
299
+ "template": "other_flag_ui_compact_0",
300
+ "label": "Fragile",
301
+ "label5": "Fragl",
302
+ "priority": "-7"
303
+ },
304
+ {
305
+ "name": "stealth_ui_compact_0",
306
+ "template": "numeric_as_sign_ui_0",
307
+ "label": "Stealth",
308
+ "label5": "Stea.",
309
+ "priority": "0"
310
+ },
311
+ {
312
+ "name": "search_ui_compact_0",
313
+ "template": "numeric_as_sign_ui_0",
314
+ "label": "Search",
315
+ "label5": "Sear.",
316
+ "priority": "-1"
317
+ },
318
+ {
319
+ "name": "infravision_ui_compact_0",
320
+ "template": "numeric_as_sign_ui_0",
321
+ "label": "Infravision",
322
+ "priority": "-2"
323
+ },
324
+ {
325
+ "name": "tunneling_ui_compact_0",
326
+ "template": "numeric_as_sign_ui_0",
327
+ "label": "Tunneling",
328
+ "label5": "Tunn.",
329
+ "priority": "-3"
330
+ },
331
+ {
332
+ "name": "speed_ui_compact_0",
333
+ "template": "numeric_as_sign_ui_0",
334
+ "label": "Speed",
335
+ "priority": "-4"
336
+ },
337
+ {
338
+ "name": "blows_ui_compact_0",
339
+ "template": "numeric_as_sign_ui_0",
340
+ "label": "Attack speed",
341
+ "label5": "Blows",
342
+ "priority": "-5"
343
+ },
344
+ {
345
+ "name": "shots_ui_compact_0",
346
+ "template": "numeric_as_sign_ui_0",
347
+ "label": "Shooting speed",
348
+ "label5": "Shots",
349
+ "priority": "-6"
350
+ },
351
+ {
352
+ "name": "shooting_power_ui_compact_0",
353
+ "template": "numeric_as_sign_ui_0",
354
+ "label": "Shooting power",
355
+ "label5": "Might",
356
+ "priority": "-7"
357
+ },
358
+ {
359
+ "name": "light_ui_compact_0",
360
+ "template": "numeric_as_sign_ui_0",
361
+ "label": "Light",
362
+ "label2": "Lt",
363
+ "priority": "-8"
364
+ },
365
+ {
366
+ "name": "damage_reduction_ui_compact_0",
367
+ "template": "numeric_as_sign_ui_0",
368
+ "label": "Damage reduction",
369
+ "label2": "DR",
370
+ "label5": "D.Red",
371
+ "priority": "-9"
372
+ },
373
+ {
374
+ "name": "movement_speed_ui_compact_0",
375
+ "template": "numeric_as_sign_ui_0",
376
+ "label": "Movement speed",
377
+ "label2": "MS",
378
+ "label5": "Moves",
379
+ "priority": "-10"
380
+ }
381
+ ]
382
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "file": "ui_entry_base",
3
+ "source": "lib/gamedata/ui_entry_base.txt",
4
+ "records": [
5
+ {
6
+ "name": "good_flag_ui_compact_0",
7
+ "renderer": "char_screen1_flag_renderer",
8
+ "combine": "LOGICAL_OR",
9
+ "category": [
10
+ "CHAR_SCREEN1",
11
+ "EQUIPCMP_SCREEN",
12
+ "abilities"
13
+ ],
14
+ "flags": [
15
+ "TIMED_AS_AUX"
16
+ ],
17
+ "desc": [
18
+ "Template for one of the positive flags shown on the second character",
19
+ " screen. Each occupies a row and has the label colored by the combination",
20
+ " of the flags across several sources."
21
+ ]
22
+ },
23
+ {
24
+ "name": "other_flag_ui_compact_0",
25
+ "renderer": "char_screen1_flag_renderer",
26
+ "combine": "LOGICAL_OR",
27
+ "category": [
28
+ "CHAR_SCREEN1",
29
+ "EQUIPCMP_SCREEN",
30
+ "hindrances"
31
+ ],
32
+ "flags": [
33
+ "TIMED_AS_AUX"
34
+ ],
35
+ "desc": [
36
+ "Template for one of the other flags shown on the second character",
37
+ " screen. Each occupies a row and has the label colored by the combination",
38
+ " of the flags across several sources."
39
+ ]
40
+ },
41
+ {
42
+ "name": "numeric_as_sign_ui_0",
43
+ "renderer": "char_screen1_numeric_as_sign_renderer",
44
+ "combine": "ADD",
45
+ "category": [
46
+ "CHAR_SCREEN1",
47
+ "EQUIPCMP_SCREEN",
48
+ "modifiers"
49
+ ],
50
+ "flags": [
51
+ "TIMED_AS_AUX"
52
+ ],
53
+ "desc": [
54
+ "Template for one of the auxiliary statistics shown on the second",
55
+ " character screen. Each occupies a row and has the label colored by",
56
+ " combination of the flags across several sources."
57
+ ]
58
+ }
59
+ ]
60
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "file": "ui_entry_renderer",
3
+ "source": "lib/gamedata/ui_entry_renderer.txt",
4
+ "records": [
5
+ {
6
+ "name": "char_screen1_resist_renderer",
7
+ "code": "COMPACT_RESIST_RENDERER_WITH_COMBINED_AUX",
8
+ "colors": "wwwwwwGGGrrGGGwGrGwwrwWWWWWWGGGrrGGGWGrGWWrW",
9
+ "labelcolors": "swBrgwBrwBwBr",
10
+ "symbols": "?..+-*!^.=.%%%~!=%~+=~"
11
+ },
12
+ {
13
+ "name": "char_screen1_flag_renderer",
14
+ "code": "COMPACT_FLAG_RENDERER_WITH_COMBINED_AUX",
15
+ "colors": "wwwwGWWWWG",
16
+ "labelcolors": "swBw",
17
+ "symbols": "?..+!"
18
+ },
19
+ {
20
+ "name": "char_screen1_flag_with_cancel_renderer",
21
+ "code": "COMPACT_FLAG_WITH_CANCEL_RENDERER_WITH_COMBINED_AUX",
22
+ "colors": "wwwwwGwwGGwWWWWWGWWGGW",
23
+ "labelcolors": "swwwwBw",
24
+ "symbols": "?..+-!+-=.-"
25
+ },
26
+ {
27
+ "name": "char_screen1_numeric_as_sign_renderer",
28
+ "code": "NUMERIC_AS_SIGN_RENDERER_WITH_COMBINED_AUX",
29
+ "colors": "wwwGowGowGoWWWGoWGoWGo",
30
+ "labelcolors": "swwwBBBrrr",
31
+ "symbols": "?....+!+--="
32
+ },
33
+ {
34
+ "name": "char_screen1_stat_mod_renderer",
35
+ "code": "NUMERIC_RENDERER_WITH_BOOL_AUX",
36
+ "colors": "sdsgGgrRsdsgGgrR",
37
+ "labelcolors": "wwwwwww",
38
+ "symbols": "? .s*=",
39
+ "ndigit": 1,
40
+ "sign": "NO_SIGN"
41
+ }
42
+ ]
43
+ }