@archivist-gg/dnd5e 0.3.11 → 0.3.13
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.
- package/LICENSES/SRD.md +38 -3
- package/dist/armor/armor.codec.js +3 -3
- package/dist/armor/armor.parser.js +2 -2
- package/dist/armor/armor.schema.d.ts +1 -0
- package/dist/armor/armor.schema.js +1 -1
- package/dist/armor/armor.types.d.ts +2 -0
- package/dist/background/background.codec.js +5 -5
- package/dist/background/background.parser.js +4 -4
- package/dist/background/background.schema.js +3 -3
- package/dist/chunk-2LULMQTF.js +14 -0
- package/dist/{chunk-CBEKVAX4.js → chunk-4BZ47YJ4.js} +10 -3
- package/dist/{chunk-T2SNEJOE.js → chunk-4SLOJXJ4.js} +1 -1
- package/dist/{chunk-2DFENQIJ.js → chunk-5GKJAUMX.js} +2 -0
- package/dist/{chunk-J77CKYV3.js → chunk-5KGV6TF7.js} +1 -1
- package/dist/{chunk-CHUALUIX.js → chunk-6ZY3U6BQ.js} +1 -1
- package/dist/{chunk-DNAJRMNN.js → chunk-A54HHCWW.js} +6 -7
- package/dist/{chunk-2M34FLAY.js → chunk-BRGLDWUP.js} +3 -1
- package/dist/chunk-CM5CWO4K.js +735 -0
- package/dist/{chunk-3HX5VLWP.js → chunk-DPM6V7YX.js} +1 -1
- package/dist/chunk-EJP263OP.js +186 -0
- package/dist/{chunk-G247QXWW.js → chunk-EL6QPF6I.js} +1 -1
- package/dist/{chunk-SMLXZUBH.js → chunk-EYX4JMAU.js} +4 -1
- package/dist/{chunk-AW3EHF3L.js → chunk-FC4IGH5Y.js} +1 -1
- package/dist/{chunk-PI4LLJG4.js → chunk-FPGXFD2M.js} +2 -2
- package/dist/{chunk-23LZLBJK.js → chunk-G6MHJDVT.js} +6 -2
- package/dist/{chunk-NWDF5HG3.js → chunk-G7ED5H2G.js} +1 -1
- package/dist/chunk-H5PTKYXL.js +101 -0
- package/dist/{chunk-LWFTHJIE.js → chunk-HHBD4SQ6.js} +1 -1
- package/dist/{chunk-PP2UHLBA.js → chunk-HJQNK3J5.js} +8 -0
- package/dist/{chunk-JC5UNIVM.js → chunk-HS6FIOLP.js} +2 -0
- package/dist/chunk-IHE6KVC3.js +13 -0
- package/dist/{chunk-BLRW2UU6.js → chunk-J53ERF6K.js} +2 -2
- package/dist/{chunk-MQ747UCR.js → chunk-JNNNBEUH.js} +65 -2
- package/dist/{chunk-LDDCNPHD.js → chunk-K5NJBTE2.js} +1 -1
- package/dist/{chunk-4ISR76DH.js → chunk-KSTV7J2U.js} +9 -3
- package/dist/chunk-LBEXLN6I.js +91 -0
- package/dist/{chunk-UBBKSYBY.js → chunk-LHZXYFBU.js} +30 -1
- package/dist/{chunk-U3BABVJF.js → chunk-LVX6TQ3R.js} +2 -2
- package/dist/{chunk-R747YKS7.js → chunk-M2OWVAZG.js} +1 -1
- package/dist/{chunk-7YU4NPKR.js → chunk-MC5YJ4PB.js} +1 -1
- package/dist/{chunk-JCEV7KYN.js → chunk-MUIU7RZ3.js} +1 -1
- package/dist/{chunk-R2ZV233X.js → chunk-MYY2C5MB.js} +3 -3
- package/dist/{chunk-S56D6B6C.js → chunk-PLOSP4XQ.js} +3 -3
- package/dist/{chunk-JANNRGJC.js → chunk-PX25R3DK.js} +1 -1
- package/dist/{chunk-V373TRJE.js → chunk-Q5XTEYHD.js} +191 -125
- package/dist/{chunk-MAH6DCRI.js → chunk-Q6UOHCCT.js} +1 -1
- package/dist/{chunk-2INMRR3Q.js → chunk-QEO7LYTG.js} +215 -94
- package/dist/{chunk-PJMG5XV3.js → chunk-QSBJ6NEM.js} +1 -1
- package/dist/{chunk-BL3VELKP.js → chunk-R2V5LN3I.js} +1 -1
- package/dist/{chunk-4DOMDEBZ.js → chunk-RQNJXADQ.js} +1 -1
- package/dist/{chunk-GFZ7PITJ.js → chunk-S3YUXDSC.js} +6 -1
- package/dist/chunk-T5GZBKIQ.js +927 -0
- package/dist/{chunk-PZCE7DJM.js → chunk-UE6LKRXQ.js} +15 -1
- package/dist/{chunk-5N2GW72F.js → chunk-UZXG6QSY.js} +2 -1
- package/dist/{chunk-QHMWA3SZ.js → chunk-VDPRBUU5.js} +1 -1
- package/dist/{chunk-4XTNPNQB.js → chunk-VPYBK2MG.js} +1 -1
- package/dist/{chunk-V6LJFP4R.js → chunk-X7VZY4ON.js} +2 -2
- package/dist/{chunk-HZA7OE7N.js → chunk-XCFC7LGF.js} +2 -1
- package/dist/{chunk-BIA32MQ5.js → chunk-XJRNEQPD.js} +1 -1
- package/dist/{chunk-UIRMA5KM.js → chunk-YDGMBMYI.js} +1 -1
- package/dist/{chunk-6X4KUDMU.js → chunk-ZCTUYGNV.js} +7 -2
- package/dist/{chunk-XTRDCSJB.js → chunk-ZMJQUZQH.js} +4 -1
- package/dist/chunk-ZUQW5VBZ.js +89 -0
- package/dist/class/class.codec.js +7 -7
- package/dist/class/class.parser.js +6 -6
- package/dist/class/class.schema.d.ts +10 -0
- package/dist/class/class.schema.js +5 -5
- package/dist/entities/base-item-resolver.js +2 -2
- package/dist/entities/slug.d.ts +18 -8
- package/dist/entities/slug.js +3 -1
- package/dist/feat/feat.codec.js +5 -5
- package/dist/feat/feat.parser.js +4 -4
- package/dist/feat/feat.schema.d.ts +16 -3
- package/dist/feat/feat.schema.js +3 -3
- package/dist/index.js +7190 -4116
- package/dist/item/item.actions-map.d.ts +40 -5
- package/dist/item/item.actions-map.js +5 -84
- package/dist/item/item.attunement.js +3 -9
- package/dist/item/item.bonuses.js +5 -2
- package/dist/item/item.codec.js +3 -3
- package/dist/item/item.conditions.js +4 -1
- package/dist/item/item.conditions.types.d.ts +4 -0
- package/dist/item/item.cost.d.ts +3 -0
- package/dist/item/item.cost.js +29 -0
- package/dist/item/item.icon.d.ts +15 -0
- package/dist/item/item.icon.js +211 -0
- package/dist/item/item.parser.js +2 -2
- package/dist/item/item.schema.d.ts +16 -1
- package/dist/item/item.schema.js +3 -1
- package/dist/item/item.types.d.ts +9 -2
- package/dist/monster/monster.parser.js +5 -5
- package/dist/monster/monster.schema.js +4 -4
- package/dist/optional-feature/optional-feature.codec.js +4 -4
- package/dist/optional-feature/optional-feature.parser.js +3 -3
- package/dist/optional-feature/optional-feature.schema.d.ts +229 -3
- package/dist/optional-feature/optional-feature.schema.js +6 -2
- package/dist/pc/pc.additional-spells.js +2 -2
- package/dist/pc/pc.asi-flatten.d.ts +62 -1
- package/dist/pc/pc.asi-flatten.js +16 -0
- package/dist/pc/pc.conditions.js +1 -1
- package/dist/pc/pc.containment.d.ts +45 -0
- package/dist/pc/pc.containment.js +24 -0
- package/dist/pc/pc.decision-engine.d.ts +21 -3
- package/dist/pc/pc.decision-engine.js +21 -12
- package/dist/pc/pc.entry-overrides.d.ts +79 -0
- package/dist/pc/pc.entry-overrides.js +40 -0
- package/dist/pc/pc.equipment.d.ts +2 -2
- package/dist/pc/pc.equipment.js +18 -7
- package/dist/pc/pc.feature-effects.js +2 -2
- package/dist/pc/pc.infusions.d.ts +220 -0
- package/dist/pc/pc.infusions.js +64 -0
- package/dist/pc/pc.parser.js +18 -1
- package/dist/pc/pc.pools.d.ts +1 -1
- package/dist/pc/pc.pools.js +11 -3
- package/dist/pc/pc.proficiencies.js +19 -12
- package/dist/pc/pc.recalc.d.ts +39 -36
- package/dist/pc/pc.recalc.js +58 -30
- package/dist/pc/pc.resolver.js +19 -12
- package/dist/pc/pc.resource-seed.js +1 -1
- package/dist/pc/pc.resources.d.ts +6 -1
- package/dist/pc/pc.resources.js +3 -1
- package/dist/pc/pc.rest.d.ts +21 -1
- package/dist/pc/pc.rest.js +52 -19
- package/dist/pc/pc.schema.d.ts +14 -0
- package/dist/pc/pc.schema.js +1 -1
- package/dist/pc/pc.slotting.d.ts +36 -3
- package/dist/pc/pc.slotting.js +13 -5
- package/dist/pc/pc.tool-picks.d.ts +51 -0
- package/dist/pc/pc.tool-picks.js +18 -0
- package/dist/pc/pc.types.d.ts +70 -12
- package/dist/pc/pool-layout.d.ts +14 -0
- package/dist/pc/pool-layout.js +7 -3
- package/dist/race/race.codec.js +6 -6
- package/dist/race/race.parser.js +5 -5
- package/dist/race/race.schema.js +4 -4
- package/dist/schemas/attack-schema.d.ts +1 -1
- package/dist/schemas/choice-schema.js +2 -2
- package/dist/schemas/feature-effect-schema.d.ts +16 -3
- package/dist/schemas/feature-effect-schema.js +1 -1
- package/dist/schemas/feature-schema.js +3 -3
- package/dist/schemas/selection-pool-schema.d.ts +10 -0
- package/dist/schemas/selection-pool-schema.js +1 -1
- package/dist/srd/retired-items.d.ts +14 -0
- package/dist/srd/retired-items.js +11 -0
- package/dist/subclass/subclass.codec.js +7 -7
- package/dist/subclass/subclass.parser.js +6 -6
- package/dist/subclass/subclass.schema.d.ts +10 -0
- package/dist/subclass/subclass.schema.js +5 -5
- package/dist/types/choice.d.ts +8 -0
- package/dist/types/equipment-grant.d.ts +18 -1
- package/dist/types/equipment-grant.js +12 -0
- package/dist/types/feature-effect.d.ts +6 -1
- package/dist/types/optional-feature.types.d.ts +79 -1
- package/dist/types/selection-pool.d.ts +16 -1
- package/dist/weapon/weapon.classify.d.ts +10 -8
- package/dist/weapon/weapon.classify.js +2 -2
- package/dist/weapon/weapon.codec.js +3 -3
- package/dist/weapon/weapon.parser.js +2 -2
- package/dist/weapon/weapon.schema.d.ts +1 -0
- package/dist/weapon/weapon.schema.js +1 -1
- package/dist/weapon/weapon.types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/chunk-O4SRD3J5.js +0 -165
- package/dist/chunk-WXWPK3LI.js +0 -55
|
@@ -0,0 +1,735 @@
|
|
|
1
|
+
import {
|
|
2
|
+
slugify
|
|
3
|
+
} from "./chunk-ZCTUYGNV.js";
|
|
4
|
+
|
|
5
|
+
// src/srd/data/runtime/retired-items.2014.json
|
|
6
|
+
var retired_items_2014_default = [
|
|
7
|
+
{
|
|
8
|
+
retired_slug: "srd-5e_item_adamantine-breastplate",
|
|
9
|
+
retired_name: "Adamantine Breastplate",
|
|
10
|
+
retired_path: "SRD 5e/Magic Items/Adamantine Breastplate.md",
|
|
11
|
+
kept_slug: "srd-5e_item_adamantine-armor-breastplate",
|
|
12
|
+
kept_name: "Adamantine Armor (Breastplate)"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
retired_slug: "srd-5e_item_adamantine-chain-mail",
|
|
16
|
+
retired_name: "Adamantine Chain Mail",
|
|
17
|
+
retired_path: "SRD 5e/Magic Items/Adamantine Chain Mail.md",
|
|
18
|
+
kept_slug: "srd-5e_item_adamantine-armor-chain-mail",
|
|
19
|
+
kept_name: "Adamantine Armor (Chain-Mail)"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
retired_slug: "srd-5e_item_adamantine-chain-shirt",
|
|
23
|
+
retired_name: "Adamantine Chain Shirt",
|
|
24
|
+
retired_path: "SRD 5e/Magic Items/Adamantine Chain Shirt.md",
|
|
25
|
+
kept_slug: "srd-5e_item_adamantine-armor-chain-shirt",
|
|
26
|
+
kept_name: "Adamantine Armor (Chain-Shirt)"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
retired_slug: "srd-5e_item_adamantine-half-plate-armor",
|
|
30
|
+
retired_name: "Adamantine Half Plate Armor",
|
|
31
|
+
retired_path: "SRD 5e/Magic Items/Adamantine Half Plate Armor.md",
|
|
32
|
+
kept_slug: "srd-5e_item_adamantine-armor-half-plate",
|
|
33
|
+
kept_name: "Adamantine Armor (Half-Plate)"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
retired_slug: "srd-5e_item_adamantine-plate-armor",
|
|
37
|
+
retired_name: "Adamantine Plate Armor",
|
|
38
|
+
retired_path: "SRD 5e/Magic Items/Adamantine Plate Armor.md",
|
|
39
|
+
kept_slug: "srd-5e_item_adamantine-armor-plate",
|
|
40
|
+
kept_name: "Adamantine Armor (Plate)"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
retired_slug: "srd-5e_item_adamantine-ring-mail",
|
|
44
|
+
retired_name: "Adamantine Ring Mail",
|
|
45
|
+
retired_path: "SRD 5e/Magic Items/Adamantine Ring Mail.md",
|
|
46
|
+
kept_slug: "srd-5e_item_adamantine-armor-ring-mail",
|
|
47
|
+
kept_name: "Adamantine Armor (Ring-Mail)"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
retired_slug: "srd-5e_item_adamantine-scale-mail",
|
|
51
|
+
retired_name: "Adamantine Scale Mail",
|
|
52
|
+
retired_path: "SRD 5e/Magic Items/Adamantine Scale Mail.md",
|
|
53
|
+
kept_slug: "srd-5e_item_adamantine-armor-scale-mail",
|
|
54
|
+
kept_name: "Adamantine Armor (Scale-Mail)"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
retired_slug: "srd-5e_item_adamantine-splint-armor",
|
|
58
|
+
retired_name: "Adamantine Splint Armor",
|
|
59
|
+
retired_path: "SRD 5e/Magic Items/Adamantine Splint Armor.md",
|
|
60
|
+
kept_slug: "srd-5e_item_adamantine-armor-splint",
|
|
61
|
+
kept_name: "Adamantine Armor (Splint)"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
retired_slug: "srd-5e_item_greatsword-sword-of-life-stealing",
|
|
65
|
+
retired_name: "Greatsword, Sword of Life Stealing",
|
|
66
|
+
retired_path: "SRD 5e/Magic Items/Greatsword, Sword of Life Stealing.md",
|
|
67
|
+
kept_slug: "srd-5e_item_sword-of-life-stealing-greatsword",
|
|
68
|
+
kept_name: "Sword of Life Stealing (Greatsword)"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
retired_slug: "srd-5e_item_greatsword-sword-of-sharpness",
|
|
72
|
+
retired_name: "Greatsword, Sword of Sharpness",
|
|
73
|
+
retired_path: "SRD 5e/Magic Items/Greatsword, Sword of Sharpness.md",
|
|
74
|
+
kept_slug: "srd-5e_item_sword-of-sharpness-greatsword",
|
|
75
|
+
kept_name: "Sword of Sharpness (Greatsword)"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
retired_slug: "srd-5e_item_greatsword-sword-of-wounding",
|
|
79
|
+
retired_name: "Greatsword, Sword of Wounding",
|
|
80
|
+
retired_path: "SRD 5e/Magic Items/Greatsword, Sword of Wounding.md",
|
|
81
|
+
kept_slug: "srd-5e_item_sword-of-wounding-greatsword",
|
|
82
|
+
kept_name: "Sword of Wounding (Greatsword)"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
retired_slug: "srd-5e_item_hand-crossbow-1",
|
|
86
|
+
retired_name: "Hand Crossbow +1",
|
|
87
|
+
retired_path: "SRD 5e/Magic Items/Hand Crossbow +1.md",
|
|
88
|
+
kept_slug: "srd-5e_item_crossbow-hand-1",
|
|
89
|
+
kept_name: "Crossbow-Hand (+1)"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
retired_slug: "srd-5e_item_hand-crossbow-2",
|
|
93
|
+
retired_name: "Hand Crossbow +2",
|
|
94
|
+
retired_path: "SRD 5e/Magic Items/Hand Crossbow +2.md",
|
|
95
|
+
kept_slug: "srd-5e_item_crossbow-hand-2",
|
|
96
|
+
kept_name: "Crossbow-Hand (+2)"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
retired_slug: "srd-5e_item_hand-crossbow-3",
|
|
100
|
+
retired_name: "Hand Crossbow +3",
|
|
101
|
+
retired_path: "SRD 5e/Magic Items/Hand Crossbow +3.md",
|
|
102
|
+
kept_slug: "srd-5e_item_crossbow-hand-3",
|
|
103
|
+
kept_name: "Crossbow-Hand (+3)"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
retired_slug: "srd-5e_item_heavy-crossbow-1",
|
|
107
|
+
retired_name: "Heavy Crossbow +1",
|
|
108
|
+
retired_path: "SRD 5e/Magic Items/Heavy Crossbow +1.md",
|
|
109
|
+
kept_slug: "srd-5e_item_crossbow-heavy-1",
|
|
110
|
+
kept_name: "Crossbow-Heavy (+1)"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
retired_slug: "srd-5e_item_heavy-crossbow-2",
|
|
114
|
+
retired_name: "Heavy Crossbow +2",
|
|
115
|
+
retired_path: "SRD 5e/Magic Items/Heavy Crossbow +2.md",
|
|
116
|
+
kept_slug: "srd-5e_item_crossbow-heavy-2",
|
|
117
|
+
kept_name: "Crossbow-Heavy (+2)"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
retired_slug: "srd-5e_item_heavy-crossbow-3",
|
|
121
|
+
retired_name: "Heavy Crossbow +3",
|
|
122
|
+
retired_path: "SRD 5e/Magic Items/Heavy Crossbow +3.md",
|
|
123
|
+
kept_slug: "srd-5e_item_crossbow-heavy-3",
|
|
124
|
+
kept_name: "Crossbow-Heavy (+3)"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
retired_slug: "srd-5e_item_light-crossbow-1",
|
|
128
|
+
retired_name: "Light Crossbow +1",
|
|
129
|
+
retired_path: "SRD 5e/Magic Items/Light Crossbow +1.md",
|
|
130
|
+
kept_slug: "srd-5e_item_crossbow-light-1",
|
|
131
|
+
kept_name: "Crossbow-Light (+1)"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
retired_slug: "srd-5e_item_light-crossbow-2",
|
|
135
|
+
retired_name: "Light Crossbow +2",
|
|
136
|
+
retired_path: "SRD 5e/Magic Items/Light Crossbow +2.md",
|
|
137
|
+
kept_slug: "srd-5e_item_crossbow-light-2",
|
|
138
|
+
kept_name: "Crossbow-Light (+2)"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
retired_slug: "srd-5e_item_light-crossbow-3",
|
|
142
|
+
retired_name: "Light Crossbow +3",
|
|
143
|
+
retired_path: "SRD 5e/Magic Items/Light Crossbow +3.md",
|
|
144
|
+
kept_slug: "srd-5e_item_crossbow-light-3",
|
|
145
|
+
kept_name: "Crossbow-Light (+3)"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
retired_slug: "srd-5e_item_longsword-sword-of-life-stealing",
|
|
149
|
+
retired_name: "Longsword, Sword of Life Stealing",
|
|
150
|
+
retired_path: "SRD 5e/Magic Items/Longsword, Sword of Life Stealing.md",
|
|
151
|
+
kept_slug: "srd-5e_item_sword-of-life-stealing-longsword",
|
|
152
|
+
kept_name: "Sword of Life Stealing (Longsword)"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
retired_slug: "srd-5e_item_longsword-sword-of-sharpness",
|
|
156
|
+
retired_name: "Longsword, Sword of Sharpness",
|
|
157
|
+
retired_path: "SRD 5e/Magic Items/Longsword, Sword of Sharpness.md",
|
|
158
|
+
kept_slug: "srd-5e_item_sword-of-sharpness-longsword",
|
|
159
|
+
kept_name: "Sword of Sharpness (Longsword)"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
retired_slug: "srd-5e_item_longsword-sword-of-wounding",
|
|
163
|
+
retired_name: "Longsword, Sword of Wounding",
|
|
164
|
+
retired_path: "SRD 5e/Magic Items/Longsword, Sword of Wounding.md",
|
|
165
|
+
kept_slug: "srd-5e_item_sword-of-wounding-longsword",
|
|
166
|
+
kept_name: "Sword of Wounding (Longsword)"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
retired_slug: "srd-5e_item_mithral-breastplate",
|
|
170
|
+
retired_name: "Mithral Breastplate",
|
|
171
|
+
retired_path: "SRD 5e/Magic Items/Mithral Breastplate.md",
|
|
172
|
+
kept_slug: "srd-5e_item_mithral-armor-breastplate",
|
|
173
|
+
kept_name: "Mithral Armor (Breastplate)"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
retired_slug: "srd-5e_item_mithral-chain-mail",
|
|
177
|
+
retired_name: "Mithral Chain Mail",
|
|
178
|
+
retired_path: "SRD 5e/Magic Items/Mithral Chain Mail.md",
|
|
179
|
+
kept_slug: "srd-5e_item_mithral-armor-chain-mail",
|
|
180
|
+
kept_name: "Mithral Armor (Chain-Mail)"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
retired_slug: "srd-5e_item_mithral-chain-shirt",
|
|
184
|
+
retired_name: "Mithral Chain Shirt",
|
|
185
|
+
retired_path: "SRD 5e/Magic Items/Mithral Chain Shirt.md",
|
|
186
|
+
kept_slug: "srd-5e_item_mithral-armor-chain-shirt",
|
|
187
|
+
kept_name: "Mithral Armor (Chain-Shirt)"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
retired_slug: "srd-5e_item_mithral-half-plate-armor",
|
|
191
|
+
retired_name: "Mithral Half Plate Armor",
|
|
192
|
+
retired_path: "SRD 5e/Magic Items/Mithral Half Plate Armor.md",
|
|
193
|
+
kept_slug: "srd-5e_item_mithral-armor-half-plate",
|
|
194
|
+
kept_name: "Mithral Armor (Half-Plate)"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
retired_slug: "srd-5e_item_mithral-plate-armor",
|
|
198
|
+
retired_name: "Mithral Plate Armor",
|
|
199
|
+
retired_path: "SRD 5e/Magic Items/Mithral Plate Armor.md",
|
|
200
|
+
kept_slug: "srd-5e_item_mithral-armor-plate",
|
|
201
|
+
kept_name: "Mithral Armor (Plate)"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
retired_slug: "srd-5e_item_mithral-ring-mail",
|
|
205
|
+
retired_name: "Mithral Ring Mail",
|
|
206
|
+
retired_path: "SRD 5e/Magic Items/Mithral Ring Mail.md",
|
|
207
|
+
kept_slug: "srd-5e_item_mithral-armor-ring-mail",
|
|
208
|
+
kept_name: "Mithral Armor (Ring-Mail)"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
retired_slug: "srd-5e_item_mithral-scale-mail",
|
|
212
|
+
retired_name: "Mithral Scale Mail",
|
|
213
|
+
retired_path: "SRD 5e/Magic Items/Mithral Scale Mail.md",
|
|
214
|
+
kept_slug: "srd-5e_item_mithral-armor-scale-mail",
|
|
215
|
+
kept_name: "Mithral Armor (Scale-Mail)"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
retired_slug: "srd-5e_item_mithral-splint-armor",
|
|
219
|
+
retired_name: "Mithral Splint Armor",
|
|
220
|
+
retired_path: "SRD 5e/Magic Items/Mithral Splint Armor.md",
|
|
221
|
+
kept_slug: "srd-5e_item_mithral-armor-splint",
|
|
222
|
+
kept_name: "Mithral Armor (Splint)"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
retired_slug: "srd-5e_item_rapier-sword-of-life-stealing",
|
|
226
|
+
retired_name: "Rapier, Sword of Life Stealing",
|
|
227
|
+
retired_path: "SRD 5e/Magic Items/Rapier, Sword of Life Stealing.md",
|
|
228
|
+
kept_slug: "srd-5e_item_sword-of-life-stealing-rapier",
|
|
229
|
+
kept_name: "Sword of Life Stealing (Rapier)"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
retired_slug: "srd-5e_item_rapier-sword-of-wounding",
|
|
233
|
+
retired_name: "Rapier, Sword of Wounding",
|
|
234
|
+
retired_path: "SRD 5e/Magic Items/Rapier, Sword of Wounding.md",
|
|
235
|
+
kept_slug: "srd-5e_item_sword-of-wounding-rapier",
|
|
236
|
+
kept_name: "Sword of Wounding (Rapier)"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
retired_slug: "srd-5e_item_scimitar-sword-of-sharpness",
|
|
240
|
+
retired_name: "Scimitar, Sword of Sharpness",
|
|
241
|
+
retired_path: "SRD 5e/Magic Items/Scimitar, Sword of Sharpness.md",
|
|
242
|
+
kept_slug: "srd-5e_item_sword-of-sharpness-scimitar",
|
|
243
|
+
kept_name: "Sword of Sharpness (Scimitar)"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
retired_slug: "srd-5e_item_shortsword-sword-of-life-stealing",
|
|
247
|
+
retired_name: "Shortsword, Sword of Life Stealing",
|
|
248
|
+
retired_path: "SRD 5e/Magic Items/Shortsword, Sword of Life Stealing.md",
|
|
249
|
+
kept_slug: "srd-5e_item_sword-of-life-stealing-shortsword",
|
|
250
|
+
kept_name: "Sword of Life Stealing (Shortsword)"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
retired_slug: "srd-5e_item_shortsword-sword-of-wounding",
|
|
254
|
+
retired_name: "Shortsword, Sword of Wounding",
|
|
255
|
+
retired_path: "SRD 5e/Magic Items/Shortsword, Sword of Wounding.md",
|
|
256
|
+
kept_slug: "srd-5e_item_sword-of-wounding-shortsword",
|
|
257
|
+
kept_name: "Sword of Wounding (Shortsword)"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
retired_slug: "srd-5e_item_vicious-battleaxe",
|
|
261
|
+
retired_name: "Vicious Battleaxe",
|
|
262
|
+
retired_path: "SRD 5e/Magic Items/Vicious Battleaxe.md",
|
|
263
|
+
kept_slug: "srd-5e_item_vicious-weapon-battleaxe",
|
|
264
|
+
kept_name: "Vicious Weapon (Battleaxe)"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
retired_slug: "srd-5e_item_vicious-blowgun",
|
|
268
|
+
retired_name: "Vicious Blowgun",
|
|
269
|
+
retired_path: "SRD 5e/Magic Items/Vicious Blowgun.md",
|
|
270
|
+
kept_slug: "srd-5e_item_vicious-weapon-blowgun",
|
|
271
|
+
kept_name: "Vicious Weapon (Blowgun)"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
retired_slug: "srd-5e_item_vicious-club",
|
|
275
|
+
retired_name: "Vicious Club",
|
|
276
|
+
retired_path: "SRD 5e/Magic Items/Vicious Club.md",
|
|
277
|
+
kept_slug: "srd-5e_item_vicious-weapon-club",
|
|
278
|
+
kept_name: "Vicious Weapon (Club)"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
retired_slug: "srd-5e_item_vicious-dagger",
|
|
282
|
+
retired_name: "Vicious Dagger",
|
|
283
|
+
retired_path: "SRD 5e/Magic Items/Vicious Dagger.md",
|
|
284
|
+
kept_slug: "srd-5e_item_vicious-weapon-dagger",
|
|
285
|
+
kept_name: "Vicious Weapon (Dagger)"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
retired_slug: "srd-5e_item_vicious-dart",
|
|
289
|
+
retired_name: "Vicious Dart",
|
|
290
|
+
retired_path: "SRD 5e/Magic Items/Vicious Dart.md",
|
|
291
|
+
kept_slug: "srd-5e_item_vicious-weapon-dart",
|
|
292
|
+
kept_name: "Vicious Weapon (Dart)"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
retired_slug: "srd-5e_item_vicious-flail",
|
|
296
|
+
retired_name: "Vicious Flail",
|
|
297
|
+
retired_path: "SRD 5e/Magic Items/Vicious Flail.md",
|
|
298
|
+
kept_slug: "srd-5e_item_vicious-weapon-flail",
|
|
299
|
+
kept_name: "Vicious Weapon (Flail)"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
retired_slug: "srd-5e_item_vicious-glaive",
|
|
303
|
+
retired_name: "Vicious Glaive",
|
|
304
|
+
retired_path: "SRD 5e/Magic Items/Vicious Glaive.md",
|
|
305
|
+
kept_slug: "srd-5e_item_vicious-weapon-glaive",
|
|
306
|
+
kept_name: "Vicious Weapon (Glaive)"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
retired_slug: "srd-5e_item_vicious-greataxe",
|
|
310
|
+
retired_name: "Vicious Greataxe",
|
|
311
|
+
retired_path: "SRD 5e/Magic Items/Vicious Greataxe.md",
|
|
312
|
+
kept_slug: "srd-5e_item_vicious-weapon-greataxe",
|
|
313
|
+
kept_name: "Vicious Weapon (Greataxe)"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
retired_slug: "srd-5e_item_vicious-greatclub",
|
|
317
|
+
retired_name: "Vicious Greatclub",
|
|
318
|
+
retired_path: "SRD 5e/Magic Items/Vicious Greatclub.md",
|
|
319
|
+
kept_slug: "srd-5e_item_vicious-weapon-greatclub",
|
|
320
|
+
kept_name: "Vicious Weapon (Greatclub)"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
retired_slug: "srd-5e_item_vicious-greatsword",
|
|
324
|
+
retired_name: "Vicious Greatsword",
|
|
325
|
+
retired_path: "SRD 5e/Magic Items/Vicious Greatsword.md",
|
|
326
|
+
kept_slug: "srd-5e_item_vicious-weapon-greatsword",
|
|
327
|
+
kept_name: "Vicious Weapon (Greatsword)"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
retired_slug: "srd-5e_item_vicious-halberd",
|
|
331
|
+
retired_name: "Vicious Halberd",
|
|
332
|
+
retired_path: "SRD 5e/Magic Items/Vicious Halberd.md",
|
|
333
|
+
kept_slug: "srd-5e_item_vicious-weapon-halberd",
|
|
334
|
+
kept_name: "Vicious Weapon (Halberd)"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
retired_slug: "srd-5e_item_vicious-hand-crossbow",
|
|
338
|
+
retired_name: "Vicious Hand Crossbow",
|
|
339
|
+
retired_path: "SRD 5e/Magic Items/Vicious Hand Crossbow.md",
|
|
340
|
+
kept_slug: "srd-5e_item_vicious-weapon-crossbow-hand",
|
|
341
|
+
kept_name: "Vicious Weapon (Crossbow-Hand)"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
retired_slug: "srd-5e_item_vicious-handaxe",
|
|
345
|
+
retired_name: "Vicious Handaxe",
|
|
346
|
+
retired_path: "SRD 5e/Magic Items/Vicious Handaxe.md",
|
|
347
|
+
kept_slug: "srd-5e_item_vicious-weapon-handaxe",
|
|
348
|
+
kept_name: "Vicious Weapon (Handaxe)"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
retired_slug: "srd-5e_item_vicious-heavy-crossbow",
|
|
352
|
+
retired_name: "Vicious Heavy Crossbow",
|
|
353
|
+
retired_path: "SRD 5e/Magic Items/Vicious Heavy Crossbow.md",
|
|
354
|
+
kept_slug: "srd-5e_item_vicious-weapon-crossbow-heavy",
|
|
355
|
+
kept_name: "Vicious Weapon (Crossbow-Heavy)"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
retired_slug: "srd-5e_item_vicious-javelin",
|
|
359
|
+
retired_name: "Vicious Javelin",
|
|
360
|
+
retired_path: "SRD 5e/Magic Items/Vicious Javelin.md",
|
|
361
|
+
kept_slug: "srd-5e_item_vicious-weapon-javelin",
|
|
362
|
+
kept_name: "Vicious Weapon (Javelin)"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
retired_slug: "srd-5e_item_vicious-lance",
|
|
366
|
+
retired_name: "Vicious Lance",
|
|
367
|
+
retired_path: "SRD 5e/Magic Items/Vicious Lance.md",
|
|
368
|
+
kept_slug: "srd-5e_item_vicious-weapon-lance",
|
|
369
|
+
kept_name: "Vicious Weapon (Lance)"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
retired_slug: "srd-5e_item_vicious-light-crossbow",
|
|
373
|
+
retired_name: "Vicious Light Crossbow",
|
|
374
|
+
retired_path: "SRD 5e/Magic Items/Vicious Light Crossbow.md",
|
|
375
|
+
kept_slug: "srd-5e_item_vicious-weapon-crossbow-light",
|
|
376
|
+
kept_name: "Vicious Weapon (Crossbow-Light)"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
retired_slug: "srd-5e_item_vicious-light-hammer",
|
|
380
|
+
retired_name: "Vicious Light Hammer",
|
|
381
|
+
retired_path: "SRD 5e/Magic Items/Vicious Light Hammer.md",
|
|
382
|
+
kept_slug: "srd-5e_item_vicious-weapon-light-hammer",
|
|
383
|
+
kept_name: "Vicious Weapon (Light-Hammer)"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
retired_slug: "srd-5e_item_vicious-longbow",
|
|
387
|
+
retired_name: "Vicious Longbow",
|
|
388
|
+
retired_path: "SRD 5e/Magic Items/Vicious Longbow.md",
|
|
389
|
+
kept_slug: "srd-5e_item_vicious-weapon-longbow",
|
|
390
|
+
kept_name: "Vicious Weapon (Longbow)"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
retired_slug: "srd-5e_item_vicious-longsword",
|
|
394
|
+
retired_name: "Vicious Longsword",
|
|
395
|
+
retired_path: "SRD 5e/Magic Items/Vicious Longsword.md",
|
|
396
|
+
kept_slug: "srd-5e_item_vicious-weapon-longsword",
|
|
397
|
+
kept_name: "Vicious Weapon (Longsword)"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
retired_slug: "srd-5e_item_vicious-mace",
|
|
401
|
+
retired_name: "Vicious Mace",
|
|
402
|
+
retired_path: "SRD 5e/Magic Items/Vicious Mace.md",
|
|
403
|
+
kept_slug: "srd-5e_item_vicious-weapon-mace",
|
|
404
|
+
kept_name: "Vicious Weapon (Mace)"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
retired_slug: "srd-5e_item_vicious-maul",
|
|
408
|
+
retired_name: "Vicious Maul",
|
|
409
|
+
retired_path: "SRD 5e/Magic Items/Vicious Maul.md",
|
|
410
|
+
kept_slug: "srd-5e_item_vicious-weapon-maul",
|
|
411
|
+
kept_name: "Vicious Weapon (Maul)"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
retired_slug: "srd-5e_item_vicious-morningstar",
|
|
415
|
+
retired_name: "Vicious Morningstar",
|
|
416
|
+
retired_path: "SRD 5e/Magic Items/Vicious Morningstar.md",
|
|
417
|
+
kept_slug: "srd-5e_item_vicious-weapon-morningstar",
|
|
418
|
+
kept_name: "Vicious Weapon (Morningstar)"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
retired_slug: "srd-5e_item_vicious-net",
|
|
422
|
+
retired_name: "Vicious Net",
|
|
423
|
+
retired_path: "SRD 5e/Magic Items/Vicious Net.md",
|
|
424
|
+
kept_slug: "srd-5e_item_vicious-weapon-net",
|
|
425
|
+
kept_name: "Vicious Weapon (Net)"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
retired_slug: "srd-5e_item_vicious-pike",
|
|
429
|
+
retired_name: "Vicious Pike",
|
|
430
|
+
retired_path: "SRD 5e/Magic Items/Vicious Pike.md",
|
|
431
|
+
kept_slug: "srd-5e_item_vicious-weapon-pike",
|
|
432
|
+
kept_name: "Vicious Weapon (Pike)"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
retired_slug: "srd-5e_item_vicious-quarterstaff",
|
|
436
|
+
retired_name: "Vicious Quarterstaff",
|
|
437
|
+
retired_path: "SRD 5e/Magic Items/Vicious Quarterstaff.md",
|
|
438
|
+
kept_slug: "srd-5e_item_vicious-weapon-quarterstaff",
|
|
439
|
+
kept_name: "Vicious Weapon (Quarterstaff)"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
retired_slug: "srd-5e_item_vicious-rapier",
|
|
443
|
+
retired_name: "Vicious Rapier",
|
|
444
|
+
retired_path: "SRD 5e/Magic Items/Vicious Rapier.md",
|
|
445
|
+
kept_slug: "srd-5e_item_vicious-weapon-rapier",
|
|
446
|
+
kept_name: "Vicious Weapon (Rapier)"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
retired_slug: "srd-5e_item_vicious-scimitar",
|
|
450
|
+
retired_name: "Vicious Scimitar",
|
|
451
|
+
retired_path: "SRD 5e/Magic Items/Vicious Scimitar.md",
|
|
452
|
+
kept_slug: "srd-5e_item_vicious-weapon-scimitar",
|
|
453
|
+
kept_name: "Vicious Weapon (Scimitar)"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
retired_slug: "srd-5e_item_vicious-shortbow",
|
|
457
|
+
retired_name: "Vicious Shortbow",
|
|
458
|
+
retired_path: "SRD 5e/Magic Items/Vicious Shortbow.md",
|
|
459
|
+
kept_slug: "srd-5e_item_vicious-weapon-shortbow",
|
|
460
|
+
kept_name: "Vicious Weapon (Shortbow)"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
retired_slug: "srd-5e_item_vicious-shortsword",
|
|
464
|
+
retired_name: "Vicious Shortsword",
|
|
465
|
+
retired_path: "SRD 5e/Magic Items/Vicious Shortsword.md",
|
|
466
|
+
kept_slug: "srd-5e_item_vicious-weapon-shortsword",
|
|
467
|
+
kept_name: "Vicious Weapon (Shortsword)"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
retired_slug: "srd-5e_item_vicious-sickle",
|
|
471
|
+
retired_name: "Vicious Sickle",
|
|
472
|
+
retired_path: "SRD 5e/Magic Items/Vicious Sickle.md",
|
|
473
|
+
kept_slug: "srd-5e_item_vicious-weapon-sickle",
|
|
474
|
+
kept_name: "Vicious Weapon (Sickle)"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
retired_slug: "srd-5e_item_vicious-sling",
|
|
478
|
+
retired_name: "Vicious Sling",
|
|
479
|
+
retired_path: "SRD 5e/Magic Items/Vicious Sling.md",
|
|
480
|
+
kept_slug: "srd-5e_item_vicious-weapon-sling",
|
|
481
|
+
kept_name: "Vicious Weapon (Sling)"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
retired_slug: "srd-5e_item_vicious-spear",
|
|
485
|
+
retired_name: "Vicious Spear",
|
|
486
|
+
retired_path: "SRD 5e/Magic Items/Vicious Spear.md",
|
|
487
|
+
kept_slug: "srd-5e_item_vicious-weapon-spear",
|
|
488
|
+
kept_name: "Vicious Weapon (Spear)"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
retired_slug: "srd-5e_item_vicious-trident",
|
|
492
|
+
retired_name: "Vicious Trident",
|
|
493
|
+
retired_path: "SRD 5e/Magic Items/Vicious Trident.md",
|
|
494
|
+
kept_slug: "srd-5e_item_vicious-weapon-trident",
|
|
495
|
+
kept_name: "Vicious Weapon (Trident)"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
retired_slug: "srd-5e_item_vicious-war-pick",
|
|
499
|
+
retired_name: "Vicious War Pick",
|
|
500
|
+
retired_path: "SRD 5e/Magic Items/Vicious War Pick.md",
|
|
501
|
+
kept_slug: "srd-5e_item_vicious-weapon-war-pick",
|
|
502
|
+
kept_name: "Vicious Weapon (War-Pick)"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
retired_slug: "srd-5e_item_vicious-warhammer",
|
|
506
|
+
retired_name: "Vicious Warhammer",
|
|
507
|
+
retired_path: "SRD 5e/Magic Items/Vicious Warhammer.md",
|
|
508
|
+
kept_slug: "srd-5e_item_vicious-weapon-warhammer",
|
|
509
|
+
kept_name: "Vicious Weapon (Warhammer)"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
retired_slug: "srd-5e_item_vicious-whip",
|
|
513
|
+
retired_name: "Vicious Whip",
|
|
514
|
+
retired_path: "SRD 5e/Magic Items/Vicious Whip.md",
|
|
515
|
+
kept_slug: "srd-5e_item_vicious-weapon-whip",
|
|
516
|
+
kept_name: "Vicious Weapon (Whip)"
|
|
517
|
+
}
|
|
518
|
+
];
|
|
519
|
+
|
|
520
|
+
// src/srd/data/runtime/retired-items.2024.json
|
|
521
|
+
var retired_items_2024_default = [
|
|
522
|
+
{
|
|
523
|
+
retired_slug: "srd-2024_item_adamantine-breastplate",
|
|
524
|
+
retired_name: "Adamantine Breastplate",
|
|
525
|
+
retired_path: "SRD 2024/Magic Items/Adamantine Breastplate.md",
|
|
526
|
+
kept_slug: "srd-2024_item_adamantine-armor-breastplate",
|
|
527
|
+
kept_name: "Adamantine Armor (Breastplate)"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
retired_slug: "srd-2024_item_adamantine-chain-mail",
|
|
531
|
+
retired_name: "Adamantine Chain Mail",
|
|
532
|
+
retired_path: "SRD 2024/Magic Items/Adamantine Chain Mail.md",
|
|
533
|
+
kept_slug: "srd-2024_item_adamantine-armor-chain-mail",
|
|
534
|
+
kept_name: "Adamantine Armor (Chain Mail)"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
retired_slug: "srd-2024_item_adamantine-chain-shirt",
|
|
538
|
+
retired_name: "Adamantine Chain Shirt",
|
|
539
|
+
retired_path: "SRD 2024/Magic Items/Adamantine Chain Shirt.md",
|
|
540
|
+
kept_slug: "srd-2024_item_adamantine-armor-chain-shirt",
|
|
541
|
+
kept_name: "Adamantine Armor (Chain Shirt)"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
retired_slug: "srd-2024_item_adamantine-half-plate-armor",
|
|
545
|
+
retired_name: "Adamantine Half Plate Armor",
|
|
546
|
+
retired_path: "SRD 2024/Magic Items/Adamantine Half Plate Armor.md",
|
|
547
|
+
kept_slug: "srd-2024_item_adamantine-armor-half-plate",
|
|
548
|
+
kept_name: "Adamantine Armor (Half Plate)"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
retired_slug: "srd-2024_item_adamantine-plate-armor",
|
|
552
|
+
retired_name: "Adamantine Plate Armor",
|
|
553
|
+
retired_path: "SRD 2024/Magic Items/Adamantine Plate Armor.md",
|
|
554
|
+
kept_slug: "srd-2024_item_adamantine-armor-plate",
|
|
555
|
+
kept_name: "Adamantine Armor (Plate)"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
retired_slug: "srd-2024_item_adamantine-ring-mail",
|
|
559
|
+
retired_name: "Adamantine Ring Mail",
|
|
560
|
+
retired_path: "SRD 2024/Magic Items/Adamantine Ring Mail.md",
|
|
561
|
+
kept_slug: "srd-2024_item_adamantine-armor-ring-mail",
|
|
562
|
+
kept_name: "Adamantine Armor (Ring Mail)"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
retired_slug: "srd-2024_item_adamantine-scale-mail",
|
|
566
|
+
retired_name: "Adamantine Scale Mail",
|
|
567
|
+
retired_path: "SRD 2024/Magic Items/Adamantine Scale Mail.md",
|
|
568
|
+
kept_slug: "srd-2024_item_adamantine-armor-scale-mail",
|
|
569
|
+
kept_name: "Adamantine Armor (Scale Mail)"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
retired_slug: "srd-2024_item_adamantine-splint-armor",
|
|
573
|
+
retired_name: "Adamantine Splint Armor",
|
|
574
|
+
retired_path: "SRD 2024/Magic Items/Adamantine Splint Armor.md",
|
|
575
|
+
kept_slug: "srd-2024_item_adamantine-armor-splint",
|
|
576
|
+
kept_name: "Adamantine Armor (Splint)"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
retired_slug: "srd-2024_item_dwarven-half-plate-armor",
|
|
580
|
+
retired_name: "Dwarven Half Plate Armor",
|
|
581
|
+
retired_path: "SRD 2024/Magic Items/Dwarven Half Plate Armor.md",
|
|
582
|
+
kept_slug: "srd-2024_item_dwarven-half-plate",
|
|
583
|
+
kept_name: "Dwarven Half Plate"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
retired_slug: "srd-2024_item_dwarven-plate-armor",
|
|
587
|
+
retired_name: "Dwarven Plate Armor",
|
|
588
|
+
retired_path: "SRD 2024/Magic Items/Dwarven Plate Armor.md",
|
|
589
|
+
kept_slug: "srd-2024_item_dwarven-plate",
|
|
590
|
+
kept_name: "Dwarven Plate"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
retired_slug: "srd-2024_item_half-plate-armor-plate-armor-of-etherealness",
|
|
594
|
+
retired_name: "Half Plate Armor, Plate Armor of Etherealness (*)",
|
|
595
|
+
retired_path: "SRD 2024/Magic Items/Half Plate Armor, Plate Armor of Etherealness (_).md",
|
|
596
|
+
kept_slug: "srd-2024_item_half-plate-armor-of-etherealness",
|
|
597
|
+
kept_name: "Half Plate Armor of Etherealness"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
retired_slug: "srd-2024_item_mithral-breastplate",
|
|
601
|
+
retired_name: "Mithral Breastplate",
|
|
602
|
+
retired_path: "SRD 2024/Magic Items/Mithral Breastplate.md",
|
|
603
|
+
kept_slug: "srd-2024_item_mithral-armor-breastplate",
|
|
604
|
+
kept_name: "Mithral Armor (Breastplate)"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
retired_slug: "srd-2024_item_mithral-chain-mail",
|
|
608
|
+
retired_name: "Mithral Chain Mail",
|
|
609
|
+
retired_path: "SRD 2024/Magic Items/Mithral Chain Mail.md",
|
|
610
|
+
kept_slug: "srd-2024_item_mithral-armor-chain-mail",
|
|
611
|
+
kept_name: "Mithral Armor (Chain Mail)"
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
retired_slug: "srd-2024_item_mithral-chain-shirt",
|
|
615
|
+
retired_name: "Mithral Chain Shirt",
|
|
616
|
+
retired_path: "SRD 2024/Magic Items/Mithral Chain Shirt.md",
|
|
617
|
+
kept_slug: "srd-2024_item_mithral-armor-chain-shirt",
|
|
618
|
+
kept_name: "Mithral Armor (Chain Shirt)"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
retired_slug: "srd-2024_item_mithral-half-plate-armor",
|
|
622
|
+
retired_name: "Mithral Half Plate Armor",
|
|
623
|
+
retired_path: "SRD 2024/Magic Items/Mithral Half Plate Armor.md",
|
|
624
|
+
kept_slug: "srd-2024_item_mithral-armor-half-plate",
|
|
625
|
+
kept_name: "Mithral Armor (Half Plate)"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
retired_slug: "srd-2024_item_mithral-plate-armor",
|
|
629
|
+
retired_name: "Mithral Plate Armor",
|
|
630
|
+
retired_path: "SRD 2024/Magic Items/Mithral Plate Armor.md",
|
|
631
|
+
kept_slug: "srd-2024_item_mithral-armor-plate",
|
|
632
|
+
kept_name: "Mithral Armor (Plate)"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
retired_slug: "srd-2024_item_mithral-ring-mail",
|
|
636
|
+
retired_name: "Mithral Ring Mail",
|
|
637
|
+
retired_path: "SRD 2024/Magic Items/Mithral Ring Mail.md",
|
|
638
|
+
kept_slug: "srd-2024_item_mithral-armor-ring-mail",
|
|
639
|
+
kept_name: "Mithral Armor (Ring Mail)"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
retired_slug: "srd-2024_item_mithral-scale-mail",
|
|
643
|
+
retired_name: "Mithral Scale Mail",
|
|
644
|
+
retired_path: "SRD 2024/Magic Items/Mithral Scale Mail.md",
|
|
645
|
+
kept_slug: "srd-2024_item_mithral-armor-scale-mail",
|
|
646
|
+
kept_name: "Mithral Armor (Scale Mail)"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
retired_slug: "srd-2024_item_mithral-splint-armor",
|
|
650
|
+
retired_name: "Mithral Splint Armor",
|
|
651
|
+
retired_path: "SRD 2024/Magic Items/Mithral Splint Armor.md",
|
|
652
|
+
kept_slug: "srd-2024_item_mithral-armor-splint",
|
|
653
|
+
kept_name: "Mithral Armor (Splint)"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
retired_slug: "srd-2024_item_plate-armor-plate-armor-of-etherealness",
|
|
657
|
+
retired_name: "Plate Armor, Plate Armor of Etherealness (*)",
|
|
658
|
+
retired_path: "SRD 2024/Magic Items/Plate Armor, Plate Armor of Etherealness (_).md",
|
|
659
|
+
kept_slug: "srd-2024_item_plate-armor-of-etherealness",
|
|
660
|
+
kept_name: "Plate Armor of Etherealness"
|
|
661
|
+
}
|
|
662
|
+
];
|
|
663
|
+
|
|
664
|
+
// src/entities/base-item-resolver.ts
|
|
665
|
+
function unwrapWikilink(input) {
|
|
666
|
+
const m = /^\[\[([^\]]+)\]\]$/.exec(input.trim());
|
|
667
|
+
if (!m) return null;
|
|
668
|
+
const inner = m[1];
|
|
669
|
+
const pipe = inner.indexOf("|");
|
|
670
|
+
return pipe === -1 ? inner : inner.slice(0, pipe);
|
|
671
|
+
}
|
|
672
|
+
var FOLDER_TO_TYPE = {
|
|
673
|
+
Weapons: "weapon",
|
|
674
|
+
Armor: "armor",
|
|
675
|
+
"Magic Items": "item"
|
|
676
|
+
};
|
|
677
|
+
function vaultPathToSlug(target) {
|
|
678
|
+
const segments = target.split("/").map((s) => s.trim()).filter((s) => s.length > 0);
|
|
679
|
+
if (segments.length === 0) return "";
|
|
680
|
+
if (segments.length === 1) {
|
|
681
|
+
return slugify(segments[0]);
|
|
682
|
+
}
|
|
683
|
+
const compendiumName = segments[0];
|
|
684
|
+
const typeFolder = segments[segments.length - 2];
|
|
685
|
+
const basename = segments[segments.length - 1];
|
|
686
|
+
const prefix = slugify(compendiumName);
|
|
687
|
+
const nameSlug = slugify(basename);
|
|
688
|
+
if (!prefix || !nameSlug) return nameSlug;
|
|
689
|
+
const type = FOLDER_TO_TYPE[typeFolder];
|
|
690
|
+
return type ? `${prefix}_${type}_${nameSlug}` : `${prefix}_${nameSlug}`;
|
|
691
|
+
}
|
|
692
|
+
function resolveBaseItem(baseItem, registry) {
|
|
693
|
+
var _a, _b;
|
|
694
|
+
if (typeof baseItem !== "string" || baseItem.length === 0) return null;
|
|
695
|
+
const target = (_a = unwrapWikilink(baseItem)) != null ? _a : baseItem.trim();
|
|
696
|
+
if (target.length === 0) return null;
|
|
697
|
+
if (!target.includes("/")) {
|
|
698
|
+
const direct = registry.getBySlug(target);
|
|
699
|
+
if (direct) return direct;
|
|
700
|
+
}
|
|
701
|
+
const slug = vaultPathToSlug(target);
|
|
702
|
+
if (!slug) return null;
|
|
703
|
+
const found = registry.getBySlug(slug);
|
|
704
|
+
if (found) return found;
|
|
705
|
+
const kept = keptSlugForLink(target);
|
|
706
|
+
return kept === void 0 ? null : (_b = registry.getBySlug(kept)) != null ? _b : null;
|
|
707
|
+
}
|
|
708
|
+
function resolveBaseItemOfType(baseItem, entityType, registry) {
|
|
709
|
+
const found = resolveBaseItem(baseItem, registry);
|
|
710
|
+
return found && found.entityType === entityType ? found : null;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
// src/srd/retired-items.ts
|
|
714
|
+
var RETIRED_ITEMS = Object.freeze([
|
|
715
|
+
...retired_items_2014_default,
|
|
716
|
+
...retired_items_2024_default
|
|
717
|
+
]);
|
|
718
|
+
var KEPT_BY_RETIRED = new Map(RETIRED_ITEMS.map((r) => [r.retired_slug, r.kept_slug]));
|
|
719
|
+
function keptSlugFor(slug) {
|
|
720
|
+
return KEPT_BY_RETIRED.get(slug);
|
|
721
|
+
}
|
|
722
|
+
function keptSlugForLink(target) {
|
|
723
|
+
const t = target.trim();
|
|
724
|
+
if (t.length === 0) return void 0;
|
|
725
|
+
return keptSlugFor(t.includes("/") ? vaultPathToSlug(t) : t);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export {
|
|
729
|
+
RETIRED_ITEMS,
|
|
730
|
+
keptSlugFor,
|
|
731
|
+
keptSlugForLink,
|
|
732
|
+
vaultPathToSlug,
|
|
733
|
+
resolveBaseItem,
|
|
734
|
+
resolveBaseItemOfType
|
|
735
|
+
};
|