@archivist-gg/dnd5e 0.3.19 → 0.3.24

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 (440) hide show
  1. package/LICENSE +48 -21
  2. package/README.md +26 -48
  3. package/dist/armor/armor.codec.d.ts +0 -7
  4. package/dist/armor/armor.codec.js +1 -9
  5. package/dist/armor/armor.parser.js +1 -8
  6. package/dist/armor/armor.schema.js +1 -7
  7. package/dist/armor/armor.types.d.ts +0 -3
  8. package/dist/background/background.codec.d.ts +0 -6
  9. package/dist/background/background.codec.js +1 -12
  10. package/dist/background/background.parser.js +1 -11
  11. package/dist/background/background.schema.js +1 -12
  12. package/dist/background/background.types.d.ts +0 -5
  13. package/dist/chunk-2EOGK6R6.js +1 -0
  14. package/dist/chunk-2HRRH3WL.js +1 -0
  15. package/dist/chunk-2LCGKNVM.js +1 -0
  16. package/dist/chunk-2NUDWOFG.js +1 -0
  17. package/dist/chunk-334WLI7V.js +1 -0
  18. package/dist/chunk-3LWOVRLA.js +1 -0
  19. package/dist/chunk-3QQOATV3.js +1 -0
  20. package/dist/chunk-4E2GIWJE.js +1 -0
  21. package/dist/chunk-4GN3GYMP.js +1 -0
  22. package/dist/chunk-4IAMSRHD.js +1 -0
  23. package/dist/chunk-4JEF3CET.js +1 -0
  24. package/dist/chunk-4KVVAENP.js +1 -0
  25. package/dist/chunk-56JK6VCL.js +1 -0
  26. package/dist/chunk-5FEXHY4U.js +1 -0
  27. package/dist/chunk-63YJPWTM.js +1 -0
  28. package/dist/chunk-6ASJ3MVB.js +1 -0
  29. package/dist/chunk-6IC53O3Q.js +1 -0
  30. package/dist/chunk-6LCNV26D.js +1 -0
  31. package/dist/chunk-6W253VHH.js +1 -0
  32. package/dist/chunk-7AKJBRBD.js +1 -0
  33. package/dist/chunk-7EL3GWWJ.js +1 -0
  34. package/dist/chunk-7FPQJDFD.js +1 -0
  35. package/dist/chunk-7J5BNH2D.js +1 -0
  36. package/dist/chunk-7LPKI27J.js +1 -0
  37. package/dist/chunk-7UPYRKMF.js +1 -0
  38. package/dist/chunk-A7H6LX47.js +1 -0
  39. package/dist/chunk-AINRPPLH.js +1 -0
  40. package/dist/chunk-BC52J4LA.js +1 -0
  41. package/dist/chunk-BCXGB4HP.js +1 -0
  42. package/dist/chunk-BGX36NPE.js +1 -0
  43. package/dist/chunk-BPKG6RZ7.js +1 -0
  44. package/dist/chunk-BREHZNTL.js +1 -0
  45. package/dist/chunk-BZ6BGGZS.js +1 -0
  46. package/dist/chunk-CAPYNIGK.js +1 -0
  47. package/dist/chunk-CCFIINBA.js +1 -0
  48. package/dist/chunk-CMIEZQL4.js +1 -0
  49. package/dist/chunk-DVUXUIPV.js +1 -0
  50. package/dist/chunk-DY6FVAGA.js +1 -0
  51. package/dist/chunk-DZITM5AG.js +1 -0
  52. package/dist/chunk-DZKSXSJF.js +1 -0
  53. package/dist/chunk-EAARMPCW.js +1 -0
  54. package/dist/chunk-EVT7MGAC.js +1 -0
  55. package/dist/chunk-FOLHTMSC.js +1 -0
  56. package/dist/chunk-GCYUCIDN.js +1 -0
  57. package/dist/chunk-GIOV6JW7.js +1 -0
  58. package/dist/chunk-HCK6IUB3.js +1 -0
  59. package/dist/chunk-HR5MKCP2.js +1 -0
  60. package/dist/chunk-I26FHSI6.js +1 -0
  61. package/dist/chunk-I4O2FIDT.js +1 -0
  62. package/dist/chunk-IGVRLGLM.js +1 -0
  63. package/dist/chunk-IHPLT2ZT.js +1 -0
  64. package/dist/chunk-IOCJIWCV.js +1 -0
  65. package/dist/chunk-JXDX2DKF.js +1 -0
  66. package/dist/chunk-KBFSJ5WE.js +1 -0
  67. package/dist/chunk-KM75CC6Q.js +1 -0
  68. package/dist/chunk-KZDDFG4O.js +1 -0
  69. package/dist/chunk-LJNT3PJP.js +1 -0
  70. package/dist/chunk-LR6UMA5V.js +1 -0
  71. package/dist/chunk-M6RPOLKS.js +1 -0
  72. package/dist/chunk-MC6PLWRZ.js +1 -0
  73. package/dist/chunk-MGGKZGLG.js +1 -0
  74. package/dist/chunk-N3RYJ7RE.js +1 -0
  75. package/dist/chunk-NEMX7QGG.js +1 -0
  76. package/dist/chunk-NI364WV7.js +1 -0
  77. package/dist/chunk-O2QZ73GA.js +1 -0
  78. package/dist/chunk-O776WL7O.js +1 -0
  79. package/dist/chunk-OTFNINUY.js +1 -0
  80. package/dist/chunk-PQAVMK3T.js +1 -0
  81. package/dist/chunk-PZ3ZZ5H5.js +1 -0
  82. package/dist/chunk-PZ4L2EEG.js +1 -0
  83. package/dist/chunk-PZUPZBTN.js +1 -0
  84. package/dist/chunk-QBA757AU.js +1 -0
  85. package/dist/chunk-QFIGPOFW.js +1 -0
  86. package/dist/chunk-QMEKQTUT.js +1 -0
  87. package/dist/chunk-QVWT67WA.js +1 -0
  88. package/dist/chunk-RDXQAZBA.js +1 -0
  89. package/dist/chunk-RE5Z5RNK.js +1 -0
  90. package/dist/chunk-RL4VY2AL.js +1 -0
  91. package/dist/chunk-RQGTBHJW.js +1 -0
  92. package/dist/chunk-RQZCGXUZ.js +1 -0
  93. package/dist/chunk-S5UCI27C.js +1 -0
  94. package/dist/chunk-SEOASDO4.js +1 -0
  95. package/dist/chunk-SU4MEZ5P.js +1 -0
  96. package/dist/chunk-T55DELVL.js +1 -0
  97. package/dist/chunk-TKIEPC6F.js +1 -0
  98. package/dist/chunk-TLXFGGWH.js +1 -0
  99. package/dist/chunk-UBUKCRZ3.js +1 -0
  100. package/dist/chunk-V6NQ547U.js +1 -0
  101. package/dist/chunk-VA3ZWV7C.js +1 -0
  102. package/dist/chunk-VIP3FH2O.js +1 -0
  103. package/dist/chunk-VTQ4RWEG.js +1 -0
  104. package/dist/chunk-WUHTSLG4.js +1 -0
  105. package/dist/chunk-X22SISGM.js +1 -0
  106. package/dist/chunk-XKJXT2PN.js +1 -0
  107. package/dist/chunk-XQMKH4R4.js +1 -0
  108. package/dist/chunk-YGH7S5ZF.js +1 -0
  109. package/dist/chunk-ZE46ADXS.js +1 -0
  110. package/dist/chunk-ZI3FEUX3.js +1 -0
  111. package/dist/class/class.codec.d.ts +0 -7
  112. package/dist/class/class.codec.js +1 -18
  113. package/dist/class/class.parser.js +1 -17
  114. package/dist/class/class.schema.d.ts +2 -1
  115. package/dist/class/class.schema.js +1 -15
  116. package/dist/class/class.slug.d.ts +0 -11
  117. package/dist/class/class.slug.js +1 -8
  118. package/dist/class/class.standard-array.d.ts +0 -7
  119. package/dist/class/class.standard-array.js +1 -20
  120. package/dist/class/class.types.d.ts +0 -20
  121. package/dist/condition/condition.codec.d.ts +0 -6
  122. package/dist/condition/condition.parser.d.ts +0 -10
  123. package/dist/condition/condition.parser.js +1 -7
  124. package/dist/condition/condition.schema.d.ts +0 -16
  125. package/dist/condition/condition.types.d.ts +0 -3
  126. package/dist/data-srd/index.generated.js +1 -146
  127. package/dist/dnd/amount-text.d.ts +3 -30
  128. package/dist/dnd/amount-text.js +1 -15
  129. package/dist/dnd/constants.d.ts +0 -18
  130. package/dist/dnd/constants.js +1 -42
  131. package/dist/dnd/formula-tags.d.ts +0 -2
  132. package/dist/dnd/formula-tags.js +1 -119
  133. package/dist/dnd/math.d.ts +0 -26
  134. package/dist/dnd/math.js +1 -45
  135. package/dist/dnd/prose-tags.d.ts +1 -15
  136. package/dist/dnd/prose-tags.js +1 -18
  137. package/dist/dnd/resource-die.d.ts +0 -4
  138. package/dist/dnd/resource-die.js +1 -17
  139. package/dist/dnd/resource-formula.d.ts +0 -43
  140. package/dist/dnd/resource-formula.js +1 -14
  141. package/dist/dnd/resource-words.d.ts +0 -2
  142. package/dist/dnd/resource-words.js +1 -30
  143. package/dist/dnd/srd-tag-converter.d.ts +0 -21
  144. package/dist/dnd/srd-tag-converter.js +1 -12
  145. package/dist/dnd/tag-grammar.js +1 -12
  146. package/dist/dnd/warn-once.js +1 -8
  147. package/dist/encounter/encounter.ai-schema.js +1 -8
  148. package/dist/entities/base-item-resolver.d.ts +0 -26
  149. package/dist/entities/base-item-resolver.js +1 -11
  150. package/dist/entities/registry-revision.d.ts +0 -15
  151. package/dist/entities/registry-revision.js +1 -10
  152. package/dist/entities/slug.d.ts +1 -31
  153. package/dist/entities/slug.js +1 -12
  154. package/dist/entities/wikilink-display.d.ts +0 -2
  155. package/dist/entities/wikilink-display.js +1 -10
  156. package/dist/feat/feat.category-codes.d.ts +1 -26
  157. package/dist/feat/feat.category-codes.js +1 -14
  158. package/dist/feat/feat.codec.d.ts +0 -6
  159. package/dist/feat/feat.codec.js +1 -12
  160. package/dist/feat/feat.parser.js +1 -11
  161. package/dist/feat/feat.schema.d.ts +22 -1
  162. package/dist/feat/feat.schema.js +1 -10
  163. package/dist/feat/feat.types.d.ts +0 -6
  164. package/dist/index.js +45 -141495
  165. package/dist/inline-tag-parser.js +1 -6
  166. package/dist/item/item.actions-map.d.ts +4 -63
  167. package/dist/item/item.actions-map.js +1 -10
  168. package/dist/item/item.ai-schema.js +1 -6
  169. package/dist/item/item.attunement.d.ts +0 -14
  170. package/dist/item/item.attunement.js +1 -6
  171. package/dist/item/item.bonuses.js +1 -10
  172. package/dist/item/item.codec.js +1 -9
  173. package/dist/item/item.conditions.d.ts +0 -7
  174. package/dist/item/item.conditions.js +1 -11
  175. package/dist/item/item.conditions.types.d.ts +0 -2
  176. package/dist/item/item.cost.js +1 -29
  177. package/dist/item/item.enrichment.js +1 -9
  178. package/dist/item/item.icon.d.ts +0 -8
  179. package/dist/item/item.icon.js +1 -211
  180. package/dist/item/item.parser.js +1 -8
  181. package/dist/item/item.schema.d.ts +2 -0
  182. package/dist/item/item.schema.js +1 -11
  183. package/dist/item/item.types.d.ts +2 -28
  184. package/dist/monster/monster.ai-schema.js +1 -6
  185. package/dist/monster/monster.codec.d.ts +0 -10
  186. package/dist/monster/monster.enrichment.js +1 -19
  187. package/dist/monster/monster.format.d.ts +0 -69
  188. package/dist/monster/monster.format.js +1 -78
  189. package/dist/monster/monster.parser.d.ts +0 -4
  190. package/dist/monster/monster.parser.js +1 -15
  191. package/dist/monster/monster.resolve.d.ts +0 -4
  192. package/dist/monster/monster.schema.d.ts +0 -9
  193. package/dist/monster/monster.schema.js +1 -34
  194. package/dist/monster/monster.types.d.ts +0 -3
  195. package/dist/monster/monster.types.js +1 -1
  196. package/dist/optional-feature/optional-feature.codec.d.ts +0 -11
  197. package/dist/optional-feature/optional-feature.codec.js +1 -13
  198. package/dist/optional-feature/optional-feature.parser.js +1 -12
  199. package/dist/optional-feature/optional-feature.schema.d.ts +21 -1
  200. package/dist/optional-feature/optional-feature.schema.js +1 -15
  201. package/dist/pack.d.ts +0 -9
  202. package/dist/pc/conditions.constants.js +1 -6
  203. package/dist/pc/decision-recognizer.js +1 -8
  204. package/dist/pc/pc.additional-spells.d.ts +0 -24
  205. package/dist/pc/pc.additional-spells.js +1 -26
  206. package/dist/pc/pc.amount-bindings.d.ts +0 -25
  207. package/dist/pc/pc.amount-bindings.js +1 -28
  208. package/dist/pc/pc.asi-flatten.d.ts +0 -59
  209. package/dist/pc/pc.asi-flatten.js +1 -16
  210. package/dist/pc/pc.conditions.d.ts +1 -0
  211. package/dist/pc/pc.conditions.js +1 -6
  212. package/dist/pc/pc.containment.d.ts +0 -5
  213. package/dist/pc/pc.containment.js +1 -24
  214. package/dist/pc/pc.decision-engine.d.ts +0 -145
  215. package/dist/pc/pc.decision-engine.js +1 -55
  216. package/dist/pc/pc.defense-normalize.d.ts +0 -10
  217. package/dist/pc/pc.defense-normalize.js +1 -6
  218. package/dist/pc/pc.entry-overrides.d.ts +0 -58
  219. package/dist/pc/pc.entry-overrides.js +1 -41
  220. package/dist/pc/pc.equipment.d.ts +2 -22
  221. package/dist/pc/pc.equipment.js +1 -34
  222. package/dist/pc/pc.feature-effects.d.ts +22 -281
  223. package/dist/pc/pc.feature-effects.js +1 -39
  224. package/dist/pc/pc.formula-context.js +1 -11
  225. package/dist/pc/pc.infusions.d.ts +0 -65
  226. package/dist/pc/pc.infusions.js +1 -65
  227. package/dist/pc/pc.item-effects.d.ts +18 -0
  228. package/dist/pc/pc.member-choices.d.ts +3 -66
  229. package/dist/pc/pc.member-choices.js +1 -39
  230. package/dist/pc/pc.parser.js +1 -58
  231. package/dist/pc/pc.pools.d.ts +7 -10
  232. package/dist/pc/pc.pools.js +1 -27
  233. package/dist/pc/pc.proficiencies.d.ts +0 -40
  234. package/dist/pc/pc.proficiencies.js +1 -156
  235. package/dist/pc/pc.proficiency-grants.d.ts +0 -26
  236. package/dist/pc/pc.proficiency-normalize.d.ts +0 -35
  237. package/dist/pc/pc.proficiency-normalize.js +1 -18
  238. package/dist/pc/pc.proficiency-query.d.ts +0 -13
  239. package/dist/pc/pc.proficiency-query.js +1 -27
  240. package/dist/pc/pc.recalc.d.ts +7 -131
  241. package/dist/pc/pc.recalc.js +1 -1042
  242. package/dist/pc/pc.resolver.d.ts +0 -107
  243. package/dist/pc/pc.resolver.js +1 -60
  244. package/dist/pc/pc.resource-seed.d.ts +0 -8
  245. package/dist/pc/pc.resource-seed.js +1 -42
  246. package/dist/pc/pc.resources.d.ts +1 -59
  247. package/dist/pc/pc.resources.js +1 -23
  248. package/dist/pc/pc.rest.d.ts +1 -20
  249. package/dist/pc/pc.rest.js +1 -231
  250. package/dist/pc/pc.schema.d.ts +0 -2
  251. package/dist/pc/pc.schema.js +1 -9
  252. package/dist/pc/pc.slotting.d.ts +0 -29
  253. package/dist/pc/pc.slotting.js +1 -28
  254. package/dist/pc/pc.speeds.d.ts +19 -0
  255. package/dist/pc/pc.spell-scope.d.ts +0 -16
  256. package/dist/pc/pc.spellcasting.d.ts +0 -70
  257. package/dist/pc/pc.spellcasting.js +1 -28
  258. package/dist/pc/pc.table-column.d.ts +0 -22
  259. package/dist/pc/pc.table-column.js +1 -18
  260. package/dist/pc/pc.tool-picks.d.ts +0 -27
  261. package/dist/pc/pc.tool-picks.js +1 -18
  262. package/dist/pc/pc.types.d.ts +54 -374
  263. package/dist/pc/pc.weapon-grant.d.ts +0 -6
  264. package/dist/pc/pool-layout.d.ts +0 -39
  265. package/dist/pc/pool-layout.js +1 -18
  266. package/dist/pc/resource-equivalents.d.ts +2 -40
  267. package/dist/pc/roll-scope.js +1 -8
  268. package/dist/pc/roll-tag-labels.d.ts +0 -32
  269. package/dist/pc/roll-tag-labels.js +1 -17
  270. package/dist/pc/spell-source.d.ts +0 -11
  271. package/dist/pc/spell-source.js +1 -8
  272. package/dist/race/race.codec.d.ts +0 -6
  273. package/dist/race/race.codec.js +1 -15
  274. package/dist/race/race.parser.js +1 -14
  275. package/dist/race/race.schema.d.ts +0 -8
  276. package/dist/race/race.schema.js +1 -14
  277. package/dist/race/race.structural.d.ts +0 -6
  278. package/dist/race/race.structural.js +1 -6
  279. package/dist/race/race.types.d.ts +0 -8
  280. package/dist/schemas/attack-schema.d.ts +5 -0
  281. package/dist/schemas/caster-type-schema.d.ts +1 -6
  282. package/dist/schemas/caster-type-schema.js +1 -6
  283. package/dist/schemas/choice-schema.js +1 -7
  284. package/dist/schemas/duration-schema.d.ts +0 -2
  285. package/dist/schemas/duration-schema.js +1 -6
  286. package/dist/schemas/entity-extras-schema.d.ts +0 -30
  287. package/dist/schemas/entity-extras-schema.js +1 -10
  288. package/dist/schemas/equipment-grant-schema.d.ts +0 -2
  289. package/dist/schemas/equipment-grant-schema.js +1 -12
  290. package/dist/schemas/feature-alias.d.ts +0 -27
  291. package/dist/schemas/feature-effect-schema.d.ts +21 -1
  292. package/dist/schemas/feature-effect-schema.js +1 -6
  293. package/dist/schemas/feature-schema.d.ts +0 -6
  294. package/dist/schemas/feature-schema.js +1 -12
  295. package/dist/schemas/resource-schema.d.ts +1 -34
  296. package/dist/schemas/resource-schema.js +1 -12
  297. package/dist/schemas/selection-pool-schema.js +1 -10
  298. package/dist/spell/casting-time.d.ts +0 -15
  299. package/dist/spell/casting-time.js +1 -6
  300. package/dist/spell/spell.access.d.ts +0 -6
  301. package/dist/spell/spell.access.js +1 -45
  302. package/dist/spell/spell.ai-schema.js +1 -6
  303. package/dist/spell/spell.codec.js +1 -9
  304. package/dist/spell/spell.enrichment.js +1 -9
  305. package/dist/spell/spell.filter.d.ts +0 -5
  306. package/dist/spell/spell.filter.js +1 -75
  307. package/dist/spell/spell.parser.d.ts +0 -31
  308. package/dist/spell/spell.parser.js +1 -16
  309. package/dist/spell/spell.scaling.d.ts +0 -46
  310. package/dist/spell/spell.scaling.js +1 -79
  311. package/dist/spell/spell.schema.js +1 -7
  312. package/dist/spell/spell.types.d.ts +0 -7
  313. package/dist/srd/retired-items.d.ts +0 -4
  314. package/dist/srd/retired-items.js +1 -11
  315. package/dist/srd-store.d.ts +0 -33
  316. package/dist/subclass/subclass.codec.d.ts +0 -8
  317. package/dist/subclass/subclass.codec.js +1 -17
  318. package/dist/subclass/subclass.parser.js +1 -16
  319. package/dist/subclass/subclass.schema.d.ts +2 -1
  320. package/dist/subclass/subclass.schema.js +1 -14
  321. package/dist/subclass/subclass.types.d.ts +0 -3
  322. package/dist/types/attack.d.ts +2 -0
  323. package/dist/types/casting-option.d.ts +0 -4
  324. package/dist/types/choice.d.ts +1 -72
  325. package/dist/types/choice.js +1 -24
  326. package/dist/types/edition.d.ts +0 -3
  327. package/dist/types/equipment-grant.d.ts +1 -27
  328. package/dist/types/equipment-grant.js +1 -12
  329. package/dist/types/feature-effect.d.ts +4 -22
  330. package/dist/types/feature.d.ts +0 -22
  331. package/dist/types/optional-feature.types.d.ts +1 -31
  332. package/dist/types/resource.d.ts +1 -21
  333. package/dist/types/selection-pool.d.ts +0 -24
  334. package/dist/weapon/weapon-mastery.d.ts +0 -1
  335. package/dist/weapon/weapon.classify.d.ts +0 -11
  336. package/dist/weapon/weapon.classify.js +1 -7
  337. package/dist/weapon/weapon.codec.d.ts +0 -9
  338. package/dist/weapon/weapon.codec.js +1 -9
  339. package/dist/weapon/weapon.parser.js +1 -8
  340. package/dist/weapon/weapon.schema.js +1 -7
  341. package/dist/weapon/weapon.types.d.ts +0 -3
  342. package/package.json +3 -3
  343. package/src/data-srd/ATTRIBUTION.md +1 -1
  344. package/dist/chunk-2FRUSVZS.js +0 -489
  345. package/dist/chunk-2LULMQTF.js +0 -14
  346. package/dist/chunk-3LWMFYKS.js +0 -57
  347. package/dist/chunk-3SFGWFVQ.js +0 -19
  348. package/dist/chunk-3SIUAFDQ.js +0 -18
  349. package/dist/chunk-3TM34RSJ.js +0 -23
  350. package/dist/chunk-4J6DS3EJ.js +0 -30
  351. package/dist/chunk-4U55VNC7.js +0 -22
  352. package/dist/chunk-5GKJAUMX.js +0 -59
  353. package/dist/chunk-5JXFJ5AU.js +0 -26
  354. package/dist/chunk-64VNLMSG.js +0 -375
  355. package/dist/chunk-656QCX4U.js +0 -22
  356. package/dist/chunk-6GNXYAYP.js +0 -25
  357. package/dist/chunk-6PXTNCBP.js +0 -133
  358. package/dist/chunk-6X2NV665.js +0 -33
  359. package/dist/chunk-7Q2VPKCD.js +0 -181
  360. package/dist/chunk-7XJHI5H5.js +0 -709
  361. package/dist/chunk-A54HHCWW.js +0 -67
  362. package/dist/chunk-B2QHP6UF.js +0 -159
  363. package/dist/chunk-B3DP42OM.js +0 -55
  364. package/dist/chunk-BJGOSM76.js +0 -18
  365. package/dist/chunk-BJWSOQUC.js +0 -133
  366. package/dist/chunk-CJYCVNW2.js +0 -7
  367. package/dist/chunk-CM5CWO4K.js +0 -735
  368. package/dist/chunk-DEEHHLAP.js +0 -271
  369. package/dist/chunk-DPUJDOKV.js +0 -365
  370. package/dist/chunk-EJD47JHL.js +0 -1838
  371. package/dist/chunk-EJP263OP.js +0 -186
  372. package/dist/chunk-EVMUJYUD.js +0 -195
  373. package/dist/chunk-EYX4JMAU.js +0 -101
  374. package/dist/chunk-FC4IGH5Y.js +0 -18
  375. package/dist/chunk-FJYBLXV7.js +0 -89
  376. package/dist/chunk-FMUD3LDV.js +0 -19
  377. package/dist/chunk-FMYWORTP.js +0 -93
  378. package/dist/chunk-FVXLP7P3.js +0 -18
  379. package/dist/chunk-G6MHJDVT.js +0 -41
  380. package/dist/chunk-GVWEFECG.js +0 -18
  381. package/dist/chunk-HHBD4SQ6.js +0 -24
  382. package/dist/chunk-HS6FIOLP.js +0 -52
  383. package/dist/chunk-HY2SRSVM.js +0 -23
  384. package/dist/chunk-IHE6KVC3.js +0 -13
  385. package/dist/chunk-IN4M4X7P.js +0 -34
  386. package/dist/chunk-IUAAXXNO.js +0 -58
  387. package/dist/chunk-JXWNXIIZ.js +0 -219
  388. package/dist/chunk-K5NJBTE2.js +0 -18
  389. package/dist/chunk-KR6JF3BF.js +0 -14
  390. package/dist/chunk-KSTV7J2U.js +0 -112
  391. package/dist/chunk-KU3YLF6D.js +0 -106
  392. package/dist/chunk-LBEXLN6I.js +0 -91
  393. package/dist/chunk-LHZXYFBU.js +0 -94
  394. package/dist/chunk-LICYHPI3.js +0 -237
  395. package/dist/chunk-LNT64X7C.js +0 -81
  396. package/dist/chunk-LSLSG67V.js +0 -31
  397. package/dist/chunk-LVQLWRCU.js +0 -15
  398. package/dist/chunk-MYY2C5MB.js +0 -233
  399. package/dist/chunk-NKZMQV2C.js +0 -19
  400. package/dist/chunk-NTU2DXNG.js +0 -355
  401. package/dist/chunk-NXUY5XQN.js +0 -1062
  402. package/dist/chunk-NZO7M5GV.js +0 -18
  403. package/dist/chunk-OOL4KMG2.js +0 -71
  404. package/dist/chunk-OOSRUJBI.js +0 -19
  405. package/dist/chunk-PDJSUH24.js +0 -110
  406. package/dist/chunk-PTXBIDG7.js +0 -63
  407. package/dist/chunk-PVCEA4HZ.js +0 -6
  408. package/dist/chunk-QA3YCOML.js +0 -101
  409. package/dist/chunk-QFWQKS3M.js +0 -110
  410. package/dist/chunk-QS5L5YTJ.js +0 -24
  411. package/dist/chunk-QYZV2MQA.js +0 -97
  412. package/dist/chunk-RD2MID3M.js +0 -292
  413. package/dist/chunk-S3YUXDSC.js +0 -278
  414. package/dist/chunk-S7REMWW4.js +0 -21
  415. package/dist/chunk-TOM66P2P.js +0 -38
  416. package/dist/chunk-TRBGC4ZG.js +0 -112
  417. package/dist/chunk-UA5KS2PL.js +0 -26
  418. package/dist/chunk-UJCK5IW4.js +0 -187
  419. package/dist/chunk-UNYR5GLI.js +0 -23
  420. package/dist/chunk-UZXG6QSY.js +0 -58
  421. package/dist/chunk-VN5DLURA.js +0 -158
  422. package/dist/chunk-VP5TIXDK.js +0 -178
  423. package/dist/chunk-VPYBK2MG.js +0 -18
  424. package/dist/chunk-VTTA2ALZ.js +0 -16
  425. package/dist/chunk-W6GC6OKK.js +0 -16
  426. package/dist/chunk-WELIKLZF.js +0 -256
  427. package/dist/chunk-WOHX7YTH.js +0 -165
  428. package/dist/chunk-WSVMLNTO.js +0 -31
  429. package/dist/chunk-WYGD2UGN.js +0 -14
  430. package/dist/chunk-XCFC7LGF.js +0 -122
  431. package/dist/chunk-XJ2F2WO6.js +0 -8
  432. package/dist/chunk-XTEFPUSN.js +0 -23
  433. package/dist/chunk-YBLDE5CG.js +0 -42
  434. package/dist/chunk-YDGMBMYI.js +0 -25
  435. package/dist/chunk-YHYTW5QA.js +0 -20
  436. package/dist/chunk-ZCTUYGNV.js +0 -26
  437. package/dist/chunk-ZDAEGJH4.js +0 -102
  438. package/dist/chunk-ZJXSXVFP.js +0 -58
  439. package/dist/chunk-ZOWKWMD2.js +0 -18
  440. package/dist/chunk-ZUQW5VBZ.js +0 -89
@@ -1,735 +0,0 @@
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
- };