@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,447 @@
1
+ {
2
+ "file": "p_race",
3
+ "source": "lib/gamedata/p_race.txt",
4
+ "records": [
5
+ {
6
+ "name": "Human",
7
+ "stats": {
8
+ "str": 0,
9
+ "int": 0,
10
+ "wis": 0,
11
+ "dex": 0,
12
+ "con": 0
13
+ },
14
+ "skill-disarm-phys": 0,
15
+ "skill-disarm-magic": 0,
16
+ "skill-device": 0,
17
+ "skill-save": 0,
18
+ "skill-stealth": 0,
19
+ "skill-search": 0,
20
+ "skill-melee": 0,
21
+ "skill-shoot": 0,
22
+ "skill-throw": 0,
23
+ "skill-dig": 0,
24
+ "hitdie": 10,
25
+ "exp": 100,
26
+ "infravision": 0,
27
+ "history": 1,
28
+ "age": {
29
+ "base_age": 14,
30
+ "mod_age": 6
31
+ },
32
+ "height": {
33
+ "base_hgt": 69,
34
+ "mod_hgt": 10
35
+ },
36
+ "weight": {
37
+ "base_wgt": 165,
38
+ "mod_wgt": 35
39
+ }
40
+ },
41
+ {
42
+ "name": "Half-Elf",
43
+ "stats": {
44
+ "str": 0,
45
+ "int": 1,
46
+ "wis": -1,
47
+ "dex": 1,
48
+ "con": -1
49
+ },
50
+ "skill-disarm-phys": 2,
51
+ "skill-disarm-magic": 2,
52
+ "skill-device": 3,
53
+ "skill-save": 3,
54
+ "skill-stealth": 1,
55
+ "skill-search": 3,
56
+ "skill-melee": -1,
57
+ "skill-shoot": 5,
58
+ "skill-throw": 5,
59
+ "skill-dig": 0,
60
+ "hitdie": 10,
61
+ "exp": 120,
62
+ "infravision": 2,
63
+ "history": 4,
64
+ "age": {
65
+ "base_age": 24,
66
+ "mod_age": 16
67
+ },
68
+ "height": {
69
+ "base_hgt": 71,
70
+ "mod_hgt": 8
71
+ },
72
+ "weight": {
73
+ "base_wgt": 115,
74
+ "mod_wgt": 25
75
+ },
76
+ "obj-flags": [
77
+ "SUST_DEX"
78
+ ]
79
+ },
80
+ {
81
+ "name": "Elf",
82
+ "stats": {
83
+ "str": -1,
84
+ "int": 2,
85
+ "wis": -1,
86
+ "dex": 1,
87
+ "con": -1
88
+ },
89
+ "skill-disarm-phys": 5,
90
+ "skill-disarm-magic": 5,
91
+ "skill-device": 6,
92
+ "skill-save": 6,
93
+ "skill-stealth": 2,
94
+ "skill-search": 6,
95
+ "skill-melee": -5,
96
+ "skill-shoot": 15,
97
+ "skill-throw": 15,
98
+ "skill-dig": 0,
99
+ "hitdie": 9,
100
+ "exp": 120,
101
+ "infravision": 3,
102
+ "history": 5,
103
+ "age": {
104
+ "base_age": 75,
105
+ "mod_age": 75
106
+ },
107
+ "height": {
108
+ "base_hgt": 73,
109
+ "mod_hgt": 7
110
+ },
111
+ "weight": {
112
+ "base_wgt": 90,
113
+ "mod_wgt": 10
114
+ },
115
+ "obj-flags": [
116
+ "SUST_DEX"
117
+ ],
118
+ "values": [
119
+ "RES_LIGHT[1]"
120
+ ]
121
+ },
122
+ {
123
+ "name": "Hobbit",
124
+ "stats": {
125
+ "str": -2,
126
+ "int": 2,
127
+ "wis": 1,
128
+ "dex": 3,
129
+ "con": 2
130
+ },
131
+ "skill-disarm-phys": 15,
132
+ "skill-disarm-magic": 15,
133
+ "skill-device": 18,
134
+ "skill-save": 18,
135
+ "skill-stealth": 4,
136
+ "skill-search": 6,
137
+ "skill-melee": -10,
138
+ "skill-shoot": 20,
139
+ "skill-throw": 20,
140
+ "skill-dig": 0,
141
+ "hitdie": 7,
142
+ "exp": 120,
143
+ "infravision": 4,
144
+ "history": 10,
145
+ "age": {
146
+ "base_age": 21,
147
+ "mod_age": 12
148
+ },
149
+ "height": {
150
+ "base_hgt": 34,
151
+ "mod_hgt": 4
152
+ },
153
+ "weight": {
154
+ "base_wgt": 55,
155
+ "mod_wgt": 5
156
+ },
157
+ "obj-flags": [
158
+ "HOLD_LIFE"
159
+ ],
160
+ "player-flags": [
161
+ "KNOW_MUSHROOM"
162
+ ]
163
+ },
164
+ {
165
+ "name": "Gnome",
166
+ "stats": {
167
+ "str": -1,
168
+ "int": 2,
169
+ "wis": 0,
170
+ "dex": 2,
171
+ "con": 1
172
+ },
173
+ "skill-disarm-phys": 10,
174
+ "skill-disarm-magic": 10,
175
+ "skill-device": 22,
176
+ "skill-save": 12,
177
+ "skill-stealth": 3,
178
+ "skill-search": 4,
179
+ "skill-melee": -8,
180
+ "skill-shoot": 12,
181
+ "skill-throw": 12,
182
+ "skill-dig": 0,
183
+ "hitdie": 8,
184
+ "exp": 120,
185
+ "infravision": 4,
186
+ "history": 13,
187
+ "age": {
188
+ "base_age": 50,
189
+ "mod_age": 40
190
+ },
191
+ "height": {
192
+ "base_hgt": 40,
193
+ "mod_hgt": 5
194
+ },
195
+ "weight": {
196
+ "base_wgt": 80,
197
+ "mod_wgt": 5
198
+ },
199
+ "obj-flags": [
200
+ "FREE_ACT"
201
+ ],
202
+ "player-flags": [
203
+ "KNOW_ZAPPER"
204
+ ]
205
+ },
206
+ {
207
+ "name": "Dwarf",
208
+ "stats": {
209
+ "str": 2,
210
+ "int": -3,
211
+ "wis": 2,
212
+ "dex": -2,
213
+ "con": 2
214
+ },
215
+ "skill-disarm-phys": 2,
216
+ "skill-disarm-magic": 2,
217
+ "skill-device": 9,
218
+ "skill-save": 9,
219
+ "skill-stealth": -1,
220
+ "skill-search": 2,
221
+ "skill-melee": 15,
222
+ "skill-shoot": 0,
223
+ "skill-throw": 0,
224
+ "skill-dig": 40,
225
+ "hitdie": 11,
226
+ "exp": 120,
227
+ "infravision": 5,
228
+ "history": 16,
229
+ "age": {
230
+ "base_age": 35,
231
+ "mod_age": 15
232
+ },
233
+ "height": {
234
+ "base_hgt": 47,
235
+ "mod_hgt": 4
236
+ },
237
+ "weight": {
238
+ "base_wgt": 135,
239
+ "mod_wgt": 20
240
+ },
241
+ "obj-flags": [
242
+ "PROT_BLIND"
243
+ ],
244
+ "player-flags": [
245
+ "SEE_ORE"
246
+ ]
247
+ },
248
+ {
249
+ "name": "Half-Orc",
250
+ "stats": {
251
+ "str": 2,
252
+ "int": -1,
253
+ "wis": 0,
254
+ "dex": 0,
255
+ "con": 1
256
+ },
257
+ "skill-disarm-phys": -3,
258
+ "skill-disarm-magic": -3,
259
+ "skill-device": -3,
260
+ "skill-save": -3,
261
+ "skill-stealth": -1,
262
+ "skill-search": -3,
263
+ "skill-melee": 12,
264
+ "skill-shoot": -5,
265
+ "skill-throw": -5,
266
+ "skill-dig": 0,
267
+ "hitdie": 10,
268
+ "exp": 120,
269
+ "infravision": 3,
270
+ "history": 19,
271
+ "age": {
272
+ "base_age": 11,
273
+ "mod_age": 4
274
+ },
275
+ "height": {
276
+ "base_hgt": 64,
277
+ "mod_hgt": 2
278
+ },
279
+ "weight": {
280
+ "base_wgt": 135,
281
+ "mod_wgt": 15
282
+ },
283
+ "values": [
284
+ "RES_DARK[1]"
285
+ ]
286
+ },
287
+ {
288
+ "name": "Half-Troll",
289
+ "stats": {
290
+ "str": 4,
291
+ "int": -4,
292
+ "wis": -2,
293
+ "dex": -4,
294
+ "con": 3
295
+ },
296
+ "skill-disarm-phys": -5,
297
+ "skill-disarm-magic": -5,
298
+ "skill-device": -8,
299
+ "skill-save": -8,
300
+ "skill-stealth": -2,
301
+ "skill-search": -9,
302
+ "skill-melee": 20,
303
+ "skill-shoot": -10,
304
+ "skill-throw": -10,
305
+ "skill-dig": 0,
306
+ "hitdie": 12,
307
+ "exp": 120,
308
+ "infravision": 3,
309
+ "history": 21,
310
+ "age": {
311
+ "base_age": 20,
312
+ "mod_age": 10
313
+ },
314
+ "height": {
315
+ "base_hgt": 90,
316
+ "mod_hgt": 16
317
+ },
318
+ "weight": {
319
+ "base_wgt": 240,
320
+ "mod_wgt": 60
321
+ },
322
+ "obj-flags": [
323
+ "SUST_STR | REGEN"
324
+ ]
325
+ },
326
+ {
327
+ "name": "Dunadan",
328
+ "stats": {
329
+ "str": 1,
330
+ "int": 2,
331
+ "wis": 2,
332
+ "dex": 2,
333
+ "con": 3
334
+ },
335
+ "skill-disarm-phys": 4,
336
+ "skill-disarm-magic": 4,
337
+ "skill-device": 5,
338
+ "skill-save": 5,
339
+ "skill-stealth": 1,
340
+ "skill-search": 3,
341
+ "skill-melee": 15,
342
+ "skill-shoot": 10,
343
+ "skill-throw": 10,
344
+ "skill-dig": 0,
345
+ "hitdie": 10,
346
+ "exp": 120,
347
+ "infravision": 0,
348
+ "history": 1,
349
+ "age": {
350
+ "base_age": 50,
351
+ "mod_age": 20
352
+ },
353
+ "height": {
354
+ "base_hgt": 80,
355
+ "mod_hgt": 6
356
+ },
357
+ "weight": {
358
+ "base_wgt": 190,
359
+ "mod_wgt": 20
360
+ },
361
+ "obj-flags": [
362
+ "SUST_CON"
363
+ ]
364
+ },
365
+ {
366
+ "name": "High-Elf",
367
+ "stats": {
368
+ "str": 1,
369
+ "int": 3,
370
+ "wis": -1,
371
+ "dex": 3,
372
+ "con": 1
373
+ },
374
+ "skill-disarm-phys": 4,
375
+ "skill-disarm-magic": 4,
376
+ "skill-device": 20,
377
+ "skill-save": 20,
378
+ "skill-stealth": 2,
379
+ "skill-search": 10,
380
+ "skill-melee": 10,
381
+ "skill-shoot": 25,
382
+ "skill-throw": 25,
383
+ "skill-dig": 0,
384
+ "hitdie": 10,
385
+ "exp": 145,
386
+ "infravision": 4,
387
+ "history": 7,
388
+ "age": {
389
+ "base_age": 100,
390
+ "mod_age": 30
391
+ },
392
+ "height": {
393
+ "base_hgt": 77,
394
+ "mod_hgt": 6
395
+ },
396
+ "weight": {
397
+ "base_wgt": 190,
398
+ "mod_wgt": 20
399
+ },
400
+ "obj-flags": [
401
+ "SEE_INVIS"
402
+ ],
403
+ "values": [
404
+ "RES_LIGHT[1]"
405
+ ]
406
+ },
407
+ {
408
+ "name": "Kobold",
409
+ "stats": {
410
+ "str": -1,
411
+ "int": -1,
412
+ "wis": 0,
413
+ "dex": 2,
414
+ "con": 2
415
+ },
416
+ "skill-disarm-phys": 10,
417
+ "skill-disarm-magic": 10,
418
+ "skill-device": 5,
419
+ "skill-save": 0,
420
+ "skill-stealth": 3,
421
+ "skill-search": 10,
422
+ "skill-melee": -5,
423
+ "skill-shoot": 10,
424
+ "skill-throw": 10,
425
+ "skill-dig": 0,
426
+ "hitdie": 8,
427
+ "exp": 120,
428
+ "infravision": 5,
429
+ "history": 23,
430
+ "age": {
431
+ "base_age": 15,
432
+ "mod_age": 10
433
+ },
434
+ "height": {
435
+ "base_hgt": 37,
436
+ "mod_hgt": 4
437
+ },
438
+ "weight": {
439
+ "base_wgt": 65,
440
+ "mod_wgt": 5
441
+ },
442
+ "values": [
443
+ "RES_POIS[1]"
444
+ ]
445
+ }
446
+ ]
447
+ }
package/pack/pain.json ADDED
@@ -0,0 +1,150 @@
1
+ {
2
+ "file": "pain",
3
+ "source": "lib/gamedata/pain.txt",
4
+ "records": [
5
+ {
6
+ "type": 1,
7
+ "message": [
8
+ "shrug[s] off the attack.",
9
+ "grunt[s] with pain.",
10
+ "cr[ies|y] out in pain.",
11
+ "scream[s] in pain.",
12
+ "scream[s] in agony.",
13
+ "writhe[s] in agony.",
14
+ "cr[ies|y] out feebly."
15
+ ]
16
+ },
17
+ {
18
+ "type": 2,
19
+ "message": [
20
+ "barely notice[s].",
21
+ "flinch[es].",
22
+ "squelch[es].",
23
+ "quiver[s] in pain.",
24
+ "writhe[s] about.",
25
+ "writhe[s] in agony.",
26
+ "jerk[s] limply."
27
+ ]
28
+ },
29
+ {
30
+ "type": 3,
31
+ "message": [
32
+ "shrug[s] off the attack.",
33
+ "snarl[s] with pain.",
34
+ "yelp[s] in pain.",
35
+ "howl[s] in pain.",
36
+ "howl[s] in agony.",
37
+ "writhe[s] in agony.",
38
+ "yelp[s] feebly."
39
+ ]
40
+ },
41
+ {
42
+ "type": 4,
43
+ "message": [
44
+ "ignore[s] the attack.",
45
+ "grunt[s] with pain.",
46
+ "squeal[s] in pain.",
47
+ "shriek[s] in pain.",
48
+ "shriek[s] in agony.",
49
+ "writhe[s] in agony.",
50
+ "cr[ies|y] out feebly."
51
+ ]
52
+ },
53
+ {
54
+ "type": 5,
55
+ "message": [
56
+ "barely notice[s].",
57
+ "hiss[es].",
58
+ "rear[s] up in anger.",
59
+ "hiss[es] furiously.",
60
+ "writhe[s] about.",
61
+ "writhe[s] in agony.",
62
+ "jerk[s] limply."
63
+ ]
64
+ },
65
+ {
66
+ "type": 6,
67
+ "message": [
68
+ "shrug[s] off the attack.",
69
+ "snarl[s].",
70
+ "growl[s] angrily.",
71
+ "hiss[es] in pain.",
72
+ "mewl[s] in pain.",
73
+ "hiss[es] in agony.",
74
+ "mewl[s] pitifully."
75
+ ]
76
+ },
77
+ {
78
+ "type": 7,
79
+ "message": [
80
+ "ignore[s] the attack.",
81
+ "drone[s] angrily.",
82
+ "scuttle[s] about.",
83
+ "twitch[es] in pain.",
84
+ "jerk[s] in pain.",
85
+ "jerk[s] in agony.",
86
+ "jerk[s] feebly."
87
+ ]
88
+ },
89
+ {
90
+ "type": 8,
91
+ "message": [
92
+ "shrug[s] off the attack.",
93
+ "flap[s] angrily.",
94
+ "jeer[s] in pain.",
95
+ "squawk[s] with pain.",
96
+ "twitter[s] in agony.",
97
+ "flutter[s] about.",
98
+ "chirp[s] feebly."
99
+ ]
100
+ },
101
+ {
102
+ "type": 9,
103
+ "message": [
104
+ "ignore[s] the attack.",
105
+ "jerk[s].",
106
+ "rattle[s].",
107
+ "clatter[s].",
108
+ "shake[s].",
109
+ "stagger[s].",
110
+ "crumple[s]."
111
+ ]
112
+ },
113
+ {
114
+ "type": 10,
115
+ "message": [
116
+ "ignore[s] the attack.",
117
+ "grunt[s].",
118
+ "jerk[s].",
119
+ "moan[s].",
120
+ "groan[s].",
121
+ "hesitate[s].",
122
+ "stagger[s]."
123
+ ]
124
+ },
125
+ {
126
+ "type": 11,
127
+ "message": [
128
+ "ignore[s] the attack.",
129
+ "spin[s] fiercely.",
130
+ "swirl[s] about.",
131
+ "twist[s] around.",
132
+ "spin[s] slowly.",
133
+ "swirl[s] weakly.",
134
+ "twist[s] limply."
135
+ ]
136
+ },
137
+ {
138
+ "type": 12,
139
+ "message": [
140
+ "laugh[s] off the attack.",
141
+ "sneer[s].",
142
+ "scowl[s].",
143
+ "bellow[s] in rage.",
144
+ "scream[s] in fury.",
145
+ "grunt[s].",
146
+ "wince[s]."
147
+ ]
148
+ }
149
+ ]
150
+ }