@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,580 @@
1
+ {
2
+ "file": "curse",
3
+ "source": "lib/gamedata/curse.txt",
4
+ "records": [
5
+ {
6
+ "name": "vulnerability",
7
+ "type": [
8
+ "cloak",
9
+ "soft armor",
10
+ "hard armor",
11
+ "dragon armor",
12
+ "shield"
13
+ ],
14
+ "combat": {
15
+ "to-h": 0,
16
+ "to-d": 0,
17
+ "to-a": -50
18
+ },
19
+ "flags": [
20
+ "AGGRAVATE"
21
+ ],
22
+ "desc": [
23
+ "attracts opponents and weakens the defences"
24
+ ]
25
+ },
26
+ {
27
+ "name": "teleportation",
28
+ "type": [
29
+ "helm",
30
+ "crown",
31
+ "amulet",
32
+ "ring"
33
+ ],
34
+ "effect": [
35
+ {
36
+ "eff": "TELEPORT",
37
+ "dice": "40"
38
+ }
39
+ ],
40
+ "msg": [
41
+ "Space warps around you."
42
+ ],
43
+ "time": "d100",
44
+ "desc": [
45
+ "randomly makes you teleport"
46
+ ],
47
+ "conflict": [
48
+ "anti-teleportation"
49
+ ],
50
+ "conflict-flags": [
51
+ "NO_TELEPORT"
52
+ ]
53
+ },
54
+ {
55
+ "name": "dullness",
56
+ "type": [
57
+ "helm",
58
+ "crown"
59
+ ],
60
+ "values": [
61
+ "INT[-5] | WIS[-5]"
62
+ ],
63
+ "desc": [
64
+ "makes you mentally slow"
65
+ ]
66
+ },
67
+ {
68
+ "name": "sickliness",
69
+ "type": [
70
+ "helm",
71
+ "crown"
72
+ ],
73
+ "values": [
74
+ "STR[-5] | DEX[-5] | CON[-5]"
75
+ ],
76
+ "desc": [
77
+ "makes you frail"
78
+ ]
79
+ },
80
+ {
81
+ "name": "enveloping",
82
+ "type": [
83
+ "cloak"
84
+ ],
85
+ "combat": {
86
+ "to-h": -5,
87
+ "to-d": -5,
88
+ "to-a": 20
89
+ },
90
+ "desc": [
91
+ "protects you at the expense of free movement"
92
+ ]
93
+ },
94
+ {
95
+ "name": "irritation",
96
+ "type": [
97
+ "cloak"
98
+ ],
99
+ "combat": {
100
+ "to-h": -15,
101
+ "to-d": -15,
102
+ "to-a": 0
103
+ },
104
+ "flags": [
105
+ "AGGRAVATE"
106
+ ],
107
+ "desc": [
108
+ "annoys monsters and makes it hard for you to hit them"
109
+ ]
110
+ },
111
+ {
112
+ "name": "weakness",
113
+ "type": [
114
+ "gloves"
115
+ ],
116
+ "values": [
117
+ "STR[-10]"
118
+ ],
119
+ "desc": [
120
+ "weakens your grasp"
121
+ ]
122
+ },
123
+ {
124
+ "name": "clumsiness",
125
+ "type": [
126
+ "gloves"
127
+ ],
128
+ "values": [
129
+ "DEX[-10]"
130
+ ],
131
+ "desc": [
132
+ "gives you butterfingers"
133
+ ]
134
+ },
135
+ {
136
+ "name": "slowness",
137
+ "type": [
138
+ "boots"
139
+ ],
140
+ "values": [
141
+ "SPEED[-5]"
142
+ ],
143
+ "desc": [
144
+ "drags at your feet"
145
+ ]
146
+ },
147
+ {
148
+ "name": "annoyance",
149
+ "type": [
150
+ "boots"
151
+ ],
152
+ "flags": [
153
+ "AGGRAVATE"
154
+ ],
155
+ "values": [
156
+ "SPEED[-10] | STEALTH[-10]"
157
+ ],
158
+ "desc": [
159
+ "wakes up and annoys nearby monsters, and delays your escape"
160
+ ]
161
+ },
162
+ {
163
+ "name": "poison",
164
+ "type": [
165
+ "bow",
166
+ "digger",
167
+ "hafted",
168
+ "polearm",
169
+ "sword",
170
+ "boots",
171
+ "gloves",
172
+ "helm",
173
+ "crown",
174
+ "shield",
175
+ "cloak",
176
+ "soft armor",
177
+ "hard armor",
178
+ "dragon armor",
179
+ "light",
180
+ "amulet",
181
+ "ring"
182
+ ],
183
+ "effect": [
184
+ {
185
+ "eff": "TIMED_INC",
186
+ "type": "POISONED",
187
+ "dice": "10+d10"
188
+ }
189
+ ],
190
+ "time": "1d500",
191
+ "desc": [
192
+ "poisons you from time to time"
193
+ ]
194
+ },
195
+ {
196
+ "name": "siren",
197
+ "type": [
198
+ "bow",
199
+ "digger",
200
+ "hafted",
201
+ "polearm",
202
+ "sword",
203
+ "boots",
204
+ "gloves",
205
+ "helm",
206
+ "crown",
207
+ "shield",
208
+ "cloak",
209
+ "soft armor",
210
+ "hard armor",
211
+ "dragon armor",
212
+ "light",
213
+ "amulet",
214
+ "ring"
215
+ ],
216
+ "effect": [
217
+ {
218
+ "eff": "WAKE"
219
+ }
220
+ ],
221
+ "msg": [
222
+ "A horn blares out!"
223
+ ],
224
+ "time": "100+1d50",
225
+ "desc": [
226
+ "occasionally makes a loud noise"
227
+ ]
228
+ },
229
+ {
230
+ "name": "hallucination",
231
+ "type": [
232
+ "bow",
233
+ "digger",
234
+ "hafted",
235
+ "polearm",
236
+ "sword",
237
+ "boots",
238
+ "gloves",
239
+ "helm",
240
+ "crown",
241
+ "shield",
242
+ "cloak",
243
+ "soft armor",
244
+ "hard armor",
245
+ "dragon armor",
246
+ "light",
247
+ "amulet",
248
+ "ring"
249
+ ],
250
+ "effect": [
251
+ {
252
+ "eff": "TIMED_INC",
253
+ "type": "IMAGE",
254
+ "dice": "10+d10"
255
+ }
256
+ ],
257
+ "time": "1d500",
258
+ "desc": [
259
+ "makes you hallucinate sometimes"
260
+ ]
261
+ },
262
+ {
263
+ "name": "paralysis",
264
+ "type": [
265
+ "bow",
266
+ "digger",
267
+ "hafted",
268
+ "polearm",
269
+ "sword",
270
+ "boots",
271
+ "gloves",
272
+ "helm",
273
+ "crown",
274
+ "shield",
275
+ "cloak",
276
+ "soft armor",
277
+ "hard armor",
278
+ "dragon armor",
279
+ "light",
280
+ "amulet",
281
+ "ring"
282
+ ],
283
+ "effect": [
284
+ {
285
+ "eff": "TIMED_INC",
286
+ "type": "PARALYZED",
287
+ "dice": "5+1d5"
288
+ }
289
+ ],
290
+ "msg": [
291
+ "Your equipment grabs you!"
292
+ ],
293
+ "time": "1d1000",
294
+ "desc": [
295
+ "paralyses you every now and then"
296
+ ]
297
+ },
298
+ {
299
+ "name": "dragon summon",
300
+ "type": [
301
+ "dragon armor"
302
+ ],
303
+ "effect": [
304
+ {
305
+ "eff": "SUMMON",
306
+ "type": "DRAGON",
307
+ "dice": "1"
308
+ }
309
+ ],
310
+ "msg": [
311
+ "Your armour lets out a cry..."
312
+ ],
313
+ "time": "1d500",
314
+ "desc": [
315
+ "sometimes summons a dragon"
316
+ ]
317
+ },
318
+ {
319
+ "name": "demon summon",
320
+ "type": [
321
+ "digger",
322
+ "hafted",
323
+ "polearm",
324
+ "sword"
325
+ ],
326
+ "effect": [
327
+ {
328
+ "eff": "SUMMON",
329
+ "type": "DEMON",
330
+ "dice": "1"
331
+ }
332
+ ],
333
+ "msg": [
334
+ "Your weapon gives out a demonic shriek!"
335
+ ],
336
+ "time": "1d500",
337
+ "desc": [
338
+ "occasionally summons a demon"
339
+ ]
340
+ },
341
+ {
342
+ "name": "undead summon",
343
+ "type": [
344
+ "digger",
345
+ "hafted",
346
+ "polearm",
347
+ "sword"
348
+ ],
349
+ "effect": [
350
+ {
351
+ "eff": "SUMMON",
352
+ "type": "UNDEAD",
353
+ "dice": "1"
354
+ }
355
+ ],
356
+ "msg": [
357
+ "Your weapon calls beyond the grave!"
358
+ ],
359
+ "time": "1d500",
360
+ "desc": [
361
+ "occasionally summons an undead"
362
+ ]
363
+ },
364
+ {
365
+ "name": "impair mana recovery",
366
+ "type": [
367
+ "helm",
368
+ "crown"
369
+ ],
370
+ "flags": [
371
+ "IMPAIR_MANA"
372
+ ],
373
+ "desc": [
374
+ "makes you slow to recover mana"
375
+ ],
376
+ "conflict-flags": [
377
+ "IMPAIR_MANA"
378
+ ]
379
+ },
380
+ {
381
+ "name": "impair hitpoint recovery",
382
+ "type": [
383
+ "boots",
384
+ "gloves",
385
+ "shield",
386
+ "cloak",
387
+ "soft armor",
388
+ "hard armor",
389
+ "dragon armor"
390
+ ],
391
+ "flags": [
392
+ "IMPAIR_HP"
393
+ ],
394
+ "desc": [
395
+ "makes you slow to recover hitpoints"
396
+ ],
397
+ "conflict-flags": [
398
+ "IMPAIR_HP"
399
+ ]
400
+ },
401
+ {
402
+ "name": "cowardice",
403
+ "type": [
404
+ "amulet",
405
+ "ring"
406
+ ],
407
+ "flags": [
408
+ "AFRAID"
409
+ ],
410
+ "desc": [
411
+ "makes you too scared to fight"
412
+ ],
413
+ "conflict-flags": [
414
+ "AFRAID | PROT_FEAR"
415
+ ]
416
+ },
417
+ {
418
+ "name": "stone",
419
+ "type": [
420
+ "amulet",
421
+ "ring"
422
+ ],
423
+ "effect": [
424
+ {
425
+ "eff": "TIMED_INC",
426
+ "type": "STONESKIN",
427
+ "dice": "20+1d20"
428
+ }
429
+ ],
430
+ "time": "1d1000",
431
+ "desc": [
432
+ "periodically turns your skin to stone"
433
+ ]
434
+ },
435
+ {
436
+ "name": "anti-teleportation",
437
+ "type": [
438
+ "boots",
439
+ "cloak",
440
+ "soft armor",
441
+ "hard armor",
442
+ "dragon armor",
443
+ "amulet",
444
+ "ring"
445
+ ],
446
+ "flags": [
447
+ "NO_TELEPORT"
448
+ ],
449
+ "desc": [
450
+ "prevents you from teleporting"
451
+ ],
452
+ "conflict": [
453
+ "teleportation"
454
+ ],
455
+ "conflict-flags": [
456
+ "NO_TELEPORT"
457
+ ]
458
+ },
459
+ {
460
+ "name": "treacherous weapon",
461
+ "type": [
462
+ "digger",
463
+ "hafted",
464
+ "polearm",
465
+ "sword"
466
+ ],
467
+ "effect": [
468
+ {
469
+ "eff": "DAMAGE",
470
+ "dice": "$B",
471
+ "expr": [
472
+ {
473
+ "name": "B",
474
+ "base": "WEAPON_DAMAGE",
475
+ "expr": "+ 0"
476
+ }
477
+ ]
478
+ }
479
+ ],
480
+ "msg": [
481
+ "Your weapon turns on you!"
482
+ ],
483
+ "time": "1d200",
484
+ "desc": [
485
+ "makes your weapon attack you"
486
+ ]
487
+ },
488
+ {
489
+ "name": "burning up",
490
+ "type": [
491
+ "boots",
492
+ "gloves",
493
+ "helm",
494
+ "crown",
495
+ "shield",
496
+ "cloak",
497
+ "soft armor",
498
+ "hard armor",
499
+ "dragon armor"
500
+ ],
501
+ "values": [
502
+ "RES_FIRE[-1] | RES_COLD[1]"
503
+ ],
504
+ "desc": [
505
+ "makes you vulnerable to fire attacks, but resistant to cold"
506
+ ],
507
+ "conflict": [
508
+ "chilled to the bone"
509
+ ]
510
+ },
511
+ {
512
+ "name": "chilled to the bone",
513
+ "type": [
514
+ "boots",
515
+ "gloves",
516
+ "helm",
517
+ "crown",
518
+ "shield",
519
+ "cloak",
520
+ "soft armor",
521
+ "hard armor",
522
+ "dragon armor"
523
+ ],
524
+ "values": [
525
+ "RES_FIRE[1] | RES_COLD[-1]"
526
+ ],
527
+ "desc": [
528
+ "makes you vulnerable to cold attacks, but resistant to fire"
529
+ ],
530
+ "conflict": [
531
+ "burning up"
532
+ ]
533
+ },
534
+ {
535
+ "name": "steelskin",
536
+ "type": [
537
+ "digger",
538
+ "hafted",
539
+ "polearm",
540
+ "sword",
541
+ "helm",
542
+ "crown",
543
+ "shield",
544
+ "hard armor",
545
+ "dragon armor",
546
+ "light",
547
+ "amulet",
548
+ "ring"
549
+ ],
550
+ "combat": {
551
+ "to-h": 0,
552
+ "to-d": 0,
553
+ "to-a": 20
554
+ },
555
+ "values": [
556
+ "RES_ELEC[-1] | RES_SHARD[1]"
557
+ ],
558
+ "desc": [
559
+ "makes your skin harder to damage, but conduct electricity"
560
+ ]
561
+ },
562
+ {
563
+ "name": "air swing",
564
+ "type": [
565
+ "digger",
566
+ "hafted",
567
+ "polearm",
568
+ "sword"
569
+ ],
570
+ "combat": {
571
+ "to-h": -20,
572
+ "to-d": 0,
573
+ "to-a": 0
574
+ },
575
+ "desc": [
576
+ "makes it hard to hit anything"
577
+ ]
578
+ }
579
+ ]
580
+ }