rpg-engine 0.6.6 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2326) hide show
  1. package/README.md +4 -4
  2. package/dist/adventures/index.d.ts +1 -1
  3. package/dist/adventures/index.js +1 -1
  4. package/dist/adventures/source.js +13 -13
  5. package/dist/campaign/create-campaign.js +10 -1
  6. package/dist/campaign/host-files.d.ts +2 -1
  7. package/dist/campaign/host-files.js +11 -11
  8. package/dist/campaign/index.d.ts +1 -1
  9. package/dist/campaign/index.js +1 -1
  10. package/dist/campaign/settings.d.ts +57 -64
  11. package/dist/campaign/settings.js +171 -156
  12. package/dist/cli/cli.js +28 -0
  13. package/dist/cli/command-line.d.ts +7 -0
  14. package/dist/cli/command-line.js +189 -0
  15. package/dist/commands/advance.d.ts +1 -1
  16. package/dist/commands/advance.js +7 -7
  17. package/dist/commands/ask.d.ts +2 -8
  18. package/dist/commands/ask.js +90 -56
  19. package/dist/commands/change/change.d.ts +105 -0
  20. package/dist/commands/change/change.js +864 -0
  21. package/dist/commands/change/damage.d.ts +18 -0
  22. package/dist/commands/change/damage.js +74 -0
  23. package/dist/commands/change/recipe-pace.d.ts +6 -0
  24. package/dist/commands/change/recipe-pace.js +25 -0
  25. package/dist/commands/config.d.ts +4 -4
  26. package/dist/commands/config.js +187 -127
  27. package/dist/commands/effect.d.ts +1 -1
  28. package/dist/commands/effect.js +11 -12
  29. package/dist/commands/find.d.ts +4 -4
  30. package/dist/commands/find.js +2 -2
  31. package/dist/commands/image.js +6 -6
  32. package/dist/commands/import/import.d.ts +47 -0
  33. package/dist/commands/import/import.js +390 -0
  34. package/dist/commands/import/run.d.ts +11 -0
  35. package/dist/commands/import/run.js +155 -0
  36. package/dist/commands/index.js +7 -7
  37. package/dist/commands/init.js +3 -3
  38. package/dist/commands/install.js +1 -1
  39. package/dist/commands/instructions.js +9 -6
  40. package/dist/commands/mode.d.ts +2 -2
  41. package/dist/commands/mode.js +11 -8
  42. package/dist/commands/mood.js +4 -4
  43. package/dist/commands/move.js +13 -20
  44. package/dist/commands/package.d.ts +13 -2
  45. package/dist/commands/package.js +185 -59
  46. package/dist/commands/rename.js +3 -3
  47. package/dist/commands/reveal.js +29 -18
  48. package/dist/commands/roll/roll.d.ts +67 -0
  49. package/dist/commands/roll/roll.js +432 -0
  50. package/dist/commands/roll/tables.d.ts +7 -0
  51. package/dist/commands/roll/tables.js +40 -0
  52. package/dist/commands/rules.d.ts +2 -2
  53. package/dist/commands/rules.js +3 -3
  54. package/dist/commands/save.d.ts +1 -1
  55. package/dist/commands/save.js +18 -18
  56. package/dist/commands/scene.d.ts +4 -4
  57. package/dist/commands/scene.js +31 -28
  58. package/dist/commands/shared/advance.d.ts +65 -0
  59. package/dist/commands/shared/advance.js +125 -0
  60. package/dist/commands/shared/adventures.d.ts +70 -0
  61. package/dist/commands/shared/adventures.js +411 -0
  62. package/dist/commands/shared/bonds.d.ts +9 -0
  63. package/dist/commands/shared/bonds.js +84 -0
  64. package/dist/commands/shared/checks.d.ts +17 -0
  65. package/dist/commands/shared/checks.js +130 -0
  66. package/dist/commands/shared/dice-pool.d.ts +39 -0
  67. package/dist/commands/shared/dice-pool.js +127 -0
  68. package/dist/commands/shared/effect-layer.d.ts +22 -0
  69. package/dist/commands/shared/effect-layer.js +84 -0
  70. package/dist/commands/shared/effects.d.ts +81 -0
  71. package/dist/commands/shared/effects.js +204 -0
  72. package/dist/commands/shared/environment.d.ts +16 -0
  73. package/dist/commands/shared/environment.js +24 -0
  74. package/dist/commands/shared/events.d.ts +84 -0
  75. package/dist/commands/shared/events.js +327 -0
  76. package/dist/commands/shared/examples.d.ts +18 -0
  77. package/dist/commands/shared/examples.js +72 -0
  78. package/dist/commands/shared/experience.d.ts +57 -0
  79. package/dist/commands/shared/experience.js +116 -0
  80. package/dist/commands/shared/grid-moves.d.ts +36 -0
  81. package/dist/commands/shared/grid-moves.js +100 -0
  82. package/dist/commands/shared/grids.d.ts +47 -0
  83. package/dist/commands/shared/grids.js +163 -0
  84. package/dist/commands/shared/images.d.ts +31 -0
  85. package/dist/commands/shared/images.js +89 -0
  86. package/dist/commands/shared/inputs.d.ts +9 -0
  87. package/dist/commands/shared/inputs.js +12 -0
  88. package/dist/commands/shared/journey.d.ts +64 -0
  89. package/dist/commands/shared/journey.js +172 -0
  90. package/dist/commands/shared/knowledge.d.ts +89 -0
  91. package/dist/commands/shared/knowledge.js +249 -0
  92. package/dist/commands/shared/library-reader.js +36 -0
  93. package/dist/commands/shared/library.d.ts +118 -0
  94. package/dist/commands/shared/library.js +408 -0
  95. package/dist/commands/shared/limits.d.ts +7 -0
  96. package/dist/commands/shared/limits.js +67 -0
  97. package/dist/commands/shared/loot.d.ts +16 -0
  98. package/dist/commands/shared/loot.js +36 -0
  99. package/dist/commands/shared/master-rolls.d.ts +17 -0
  100. package/dist/commands/shared/master-rolls.js +36 -0
  101. package/dist/commands/shared/mode.d.ts +29 -0
  102. package/dist/commands/shared/mode.js +132 -0
  103. package/dist/commands/shared/money.d.ts +17 -0
  104. package/dist/commands/shared/money.js +55 -0
  105. package/dist/commands/shared/moods.d.ts +22 -0
  106. package/dist/commands/shared/moods.js +32 -0
  107. package/dist/commands/shared/moves.d.ts +27 -0
  108. package/dist/commands/shared/moves.js +58 -0
  109. package/dist/commands/shared/offers.d.ts +33 -0
  110. package/dist/commands/shared/offers.js +116 -0
  111. package/dist/commands/shared/outside.d.ts +14 -0
  112. package/dist/commands/shared/outside.js +151 -0
  113. package/dist/commands/shared/packages/catalog.d.ts +47 -0
  114. package/dist/commands/shared/packages/catalog.js +143 -0
  115. package/dist/commands/shared/packages/code.d.ts +83 -0
  116. package/dist/commands/shared/packages/code.js +745 -0
  117. package/dist/commands/shared/packages/extensions.d.ts +55 -0
  118. package/dist/commands/shared/packages/extensions.js +201 -0
  119. package/dist/commands/shared/packages/hooks.d.ts +37 -0
  120. package/dist/commands/shared/packages/hooks.js +116 -0
  121. package/dist/commands/shared/packages/widgets.d.ts +96 -0
  122. package/dist/commands/shared/packages/widgets.js +425 -0
  123. package/dist/commands/shared/page-counters.d.ts +24 -0
  124. package/dist/commands/shared/page-counters.js +87 -0
  125. package/dist/commands/shared/page-words.d.ts +50 -0
  126. package/dist/commands/shared/page-words.js +225 -0
  127. package/dist/commands/shared/parts.d.ts +23 -0
  128. package/dist/commands/shared/parts.js +66 -0
  129. package/dist/commands/shared/positions.d.ts +50 -0
  130. package/dist/commands/shared/positions.js +243 -0
  131. package/dist/commands/shared/problems.d.ts +5 -0
  132. package/dist/commands/shared/problems.js +56 -0
  133. package/dist/commands/shared/progression.d.ts +70 -0
  134. package/dist/commands/shared/progression.js +211 -0
  135. package/dist/commands/shared/quests.d.ts +48 -0
  136. package/dist/commands/shared/quests.js +101 -0
  137. package/dist/commands/shared/recipes.d.ts +34 -0
  138. package/dist/commands/shared/recipes.js +116 -0
  139. package/dist/commands/shared/reminders.d.ts +25 -0
  140. package/dist/commands/shared/reminders.js +82 -0
  141. package/dist/commands/shared/roads.d.ts +97 -0
  142. package/dist/commands/shared/roads.js +346 -0
  143. package/dist/commands/shared/rules.d.ts +20 -0
  144. package/dist/commands/shared/rules.js +36 -0
  145. package/dist/commands/shared/saves.d.ts +71 -0
  146. package/dist/commands/shared/saves.js +288 -0
  147. package/dist/commands/shared/scene.d.ts +79 -0
  148. package/dist/commands/shared/scene.js +315 -0
  149. package/dist/commands/shared/sheet.d.ts +182 -0
  150. package/dist/commands/shared/sheet.js +616 -0
  151. package/dist/commands/shared/stacks.d.ts +71 -0
  152. package/dist/commands/shared/stacks.js +198 -0
  153. package/dist/commands/shared/theme.d.ts +9 -0
  154. package/dist/commands/shared/theme.js +23 -0
  155. package/dist/commands/shared/thoughts.d.ts +23 -0
  156. package/dist/commands/shared/thoughts.js +55 -0
  157. package/dist/commands/shared/thresholds.d.ts +21 -0
  158. package/dist/commands/shared/thresholds.js +63 -0
  159. package/dist/commands/shared/time.d.ts +29 -0
  160. package/dist/commands/shared/time.js +112 -0
  161. package/dist/commands/shared/turn-uses.d.ts +33 -0
  162. package/dist/commands/shared/turn-uses.js +134 -0
  163. package/dist/commands/shared/upkeep.d.ts +20 -0
  164. package/dist/commands/shared/upkeep.js +209 -0
  165. package/dist/commands/shared/voices.d.ts +5 -0
  166. package/dist/commands/shared/voices.js +13 -0
  167. package/dist/commands/shared/worked-out.d.ts +127 -0
  168. package/dist/commands/shared/worked-out.js +805 -0
  169. package/dist/commands/shared/world.d.ts +85 -0
  170. package/dist/commands/shared/world.js +309 -0
  171. package/dist/commands/show.d.ts +1 -1
  172. package/dist/commands/show.js +32 -17
  173. package/dist/commands/status.d.ts +1 -1
  174. package/dist/commands/status.js +45 -37
  175. package/dist/commands/thoughts.js +3 -3
  176. package/dist/commands/trade.js +9 -10
  177. package/dist/commands/translate.d.ts +1 -1
  178. package/dist/commands/translate.js +3 -3
  179. package/dist/commands/travel/open.d.ts +18 -0
  180. package/dist/commands/travel/open.js +46 -0
  181. package/dist/commands/travel/route.d.ts +19 -0
  182. package/dist/commands/travel/route.js +108 -0
  183. package/dist/commands/travel/travel.d.ts +49 -0
  184. package/dist/commands/travel/travel.js +483 -0
  185. package/dist/commands/validate.js +5 -5
  186. package/dist/commands/view/journal.d.ts +158 -0
  187. package/dist/commands/view/journal.js +132 -0
  188. package/dist/commands/view/map.d.ts +81 -0
  189. package/dist/commands/view/map.js +269 -0
  190. package/dist/commands/view/place.d.ts +167 -0
  191. package/dist/commands/view/place.js +406 -0
  192. package/dist/commands/view/view.d.ts +386 -0
  193. package/dist/commands/view/view.js +848 -0
  194. package/dist/commands/view/world.d.ts +98 -0
  195. package/dist/commands/view/world.js +98 -0
  196. package/dist/commands/write/here.d.ts +42 -0
  197. package/dist/commands/write/here.js +106 -0
  198. package/dist/commands/write/write.d.ts +59 -0
  199. package/dist/commands/write/write.js +1155 -0
  200. package/dist/confirm/confirm.d.ts +2 -0
  201. package/dist/confirm/confirm.js +15 -5
  202. package/dist/core/consents.d.ts +3 -2
  203. package/dist/core/consents.js +43 -4
  204. package/dist/core/context.d.ts +10 -6
  205. package/dist/core/context.js +4 -2
  206. package/dist/core/download.js +16 -5
  207. package/dist/core/files.d.ts +6 -1
  208. package/dist/core/files.js +47 -21
  209. package/dist/core/formula.d.ts +7 -2
  210. package/dist/core/formula.js +63 -66
  211. package/dist/core/instruction-parts.js +1 -1
  212. package/dist/core/mood.d.ts +0 -1
  213. package/dist/core/mood.js +3 -3
  214. package/dist/core/package-api.d.ts +11 -0
  215. package/dist/core/package-api.js +2 -1
  216. package/dist/core/package-declarations.d.ts +9 -9
  217. package/dist/core/package-declarations.js +3 -3
  218. package/dist/core/process-mark.d.ts +8 -0
  219. package/dist/core/process-mark.js +72 -0
  220. package/dist/core/registry.d.ts +5 -0
  221. package/dist/core/registry.js +10 -0
  222. package/dist/core/session-store.d.ts +0 -1
  223. package/dist/core/session-store.js +11 -14
  224. package/dist/core/store.d.ts +4 -0
  225. package/dist/core/store.js +29 -8
  226. package/dist/core/text.d.ts +4 -0
  227. package/dist/core/text.js +11 -2
  228. package/dist/core/yaml-file.js +2 -2
  229. package/dist/dashboard/acts/acts.js +147 -0
  230. package/dist/dashboard/acts/names.js +27 -0
  231. package/dist/dashboard/acts/sheet.js +100 -0
  232. package/dist/dashboard/acts/strip.js +49 -0
  233. package/dist/dashboard/api.js +9 -0
  234. package/dist/dashboard/app.js +37 -23
  235. package/dist/dashboard/asked.js +11 -2
  236. package/dist/dashboard/assets/dice/coin-crown.glb +0 -0
  237. package/dist/dashboard/assets/dice/coin-eye.glb +0 -0
  238. package/dist/dashboard/assets/dice/coin-gear.glb +0 -0
  239. package/dist/dashboard/assets/dice/coin-planet.glb +0 -0
  240. package/dist/dashboard/assets/dice/coin-rose.glb +0 -0
  241. package/dist/dashboard/assets/dice/coin-sun.glb +0 -0
  242. package/dist/dashboard/assets/dice/coin.json +1 -0
  243. package/dist/dashboard/dice/burn.js +1 -1
  244. package/dist/dashboard/dice/coin-pictures.js +176 -0
  245. package/dist/dashboard/dice/load.js +11 -5
  246. package/dist/dashboard/dice/models.js +6 -0
  247. package/dist/dashboard/dice/pool.js +12 -0
  248. package/dist/dashboard/dice/roller.js +5 -4
  249. package/dist/dashboard/dice/sets.js +71 -3
  250. package/dist/dashboard/dice/stage.js +37 -8
  251. package/dist/dashboard/dice/throw.js +26 -6
  252. package/dist/dashboard/dice/tray.js +64 -31
  253. package/dist/dashboard/faces.js +40 -0
  254. package/dist/dashboard/guide/ar.md +21 -19
  255. package/dist/dashboard/guide/cs.md +17 -15
  256. package/dist/dashboard/guide/da.md +17 -15
  257. package/dist/dashboard/guide/de.md +13 -11
  258. package/dist/dashboard/guide/el.md +22 -20
  259. package/dist/dashboard/guide/en.md +5 -3
  260. package/dist/dashboard/guide/es.md +15 -13
  261. package/dist/dashboard/guide/fi.md +19 -17
  262. package/dist/dashboard/guide/fr.md +15 -13
  263. package/dist/dashboard/guide/he.md +17 -15
  264. package/dist/dashboard/guide/hi.md +22 -20
  265. package/dist/dashboard/guide/hu.md +21 -19
  266. package/dist/dashboard/guide/is.md +20 -18
  267. package/dist/dashboard/guide/it.md +6 -4
  268. package/dist/dashboard/guide/ja.md +21 -19
  269. package/dist/dashboard/guide/ko.md +22 -20
  270. package/dist/dashboard/guide/nb.md +20 -18
  271. package/dist/dashboard/guide/nl.md +19 -17
  272. package/dist/dashboard/guide/pl.md +19 -17
  273. package/dist/dashboard/guide/pt.md +15 -13
  274. package/dist/dashboard/guide/ro.md +19 -17
  275. package/dist/dashboard/guide/ru.md +17 -15
  276. package/dist/dashboard/guide/sv.md +15 -13
  277. package/dist/dashboard/guide/tr.md +19 -17
  278. package/dist/dashboard/guide/uk.md +17 -15
  279. package/dist/dashboard/guide/zh.md +21 -19
  280. package/dist/dashboard/help/blocks.js +72 -0
  281. package/dist/dashboard/help/help.js +98 -0
  282. package/dist/dashboard/i18n/ar.json +29 -0
  283. package/dist/dashboard/i18n/cs.json +29 -0
  284. package/dist/dashboard/i18n/da.json +29 -0
  285. package/dist/dashboard/i18n/de.json +29 -0
  286. package/dist/dashboard/i18n/el.json +29 -0
  287. package/dist/dashboard/i18n/es.json +29 -0
  288. package/dist/dashboard/i18n/fi.json +29 -0
  289. package/dist/dashboard/i18n/fr.json +29 -0
  290. package/dist/dashboard/i18n/he.json +29 -0
  291. package/dist/dashboard/i18n/hi.json +29 -0
  292. package/dist/dashboard/i18n/hu.json +29 -0
  293. package/dist/dashboard/i18n/is.json +29 -0
  294. package/dist/dashboard/i18n/it.json +29 -0
  295. package/dist/dashboard/i18n/ja.json +29 -0
  296. package/dist/dashboard/i18n/ko.json +29 -0
  297. package/dist/dashboard/i18n/nb.json +29 -0
  298. package/dist/dashboard/i18n/nl.json +29 -0
  299. package/dist/dashboard/i18n/pl.json +29 -0
  300. package/dist/dashboard/i18n/pt.json +29 -0
  301. package/dist/dashboard/i18n/ro.json +29 -0
  302. package/dist/dashboard/i18n/ru.json +29 -0
  303. package/dist/dashboard/i18n/sv.json +29 -0
  304. package/dist/dashboard/i18n/tr.json +29 -0
  305. package/dist/dashboard/i18n/uk.json +29 -0
  306. package/dist/dashboard/i18n/zh.json +29 -0
  307. package/dist/dashboard/icons.js +2 -1
  308. package/dist/dashboard/journal.js +1 -1
  309. package/dist/dashboard/kit.js +6 -5
  310. package/dist/dashboard/labels.js +11 -3
  311. package/dist/dashboard/markdown.js +1 -1
  312. package/dist/dashboard/packages/ask-card.js +169 -0
  313. package/dist/dashboard/packages/package-page.js +50 -0
  314. package/dist/dashboard/packages/packages.js +834 -0
  315. package/dist/dashboard/packages/page-code.js +276 -0
  316. package/dist/dashboard/packages/widgets.js +280 -0
  317. package/dist/dashboard/party.js +1 -1
  318. package/dist/dashboard/person-panel.js +2 -13
  319. package/dist/dashboard/place/map-sheet.js +32 -0
  320. package/dist/dashboard/place/map-view.js +405 -0
  321. package/dist/dashboard/prefs.js +4 -0
  322. package/dist/dashboard/requested.js +5 -2
  323. package/dist/dashboard/rolls.js +26 -9
  324. package/dist/dashboard/scene.js +4 -4
  325. package/dist/dashboard/settings.js +77 -5
  326. package/dist/dashboard/sheet.js +3 -3
  327. package/dist/dashboard/style.css +12058 -11714
  328. package/dist/dashboard/system-style.js +84 -0
  329. package/dist/dashboard/theme.js +19 -8
  330. package/dist/dashboard/top.js +2 -2
  331. package/dist/dashboard/turns.js +2 -2
  332. package/dist/dashboard/widgets.js +1 -1
  333. package/dist/dashboard/world/calendar.js +101 -0
  334. package/dist/dashboard/world/known.js +44 -0
  335. package/dist/dashboard/world/lore.js +231 -0
  336. package/dist/dashboard/world/map.js +523 -0
  337. package/dist/dashboard/world/world.js +415 -0
  338. package/dist/dice/coins.d.ts +15 -0
  339. package/dist/dice/coins.js +17 -0
  340. package/dist/dice/evaluate.js +1 -1
  341. package/dist/dice/index.d.ts +3 -2
  342. package/dist/dice/index.js +4 -3
  343. package/dist/dice/notation.d.ts +2 -0
  344. package/dist/dice/notation.js +22 -4
  345. package/dist/documents/markup.js +2 -2
  346. package/dist/documents/read.js +29 -13
  347. package/dist/effects/effect.js +2 -5
  348. package/dist/extensions/extension.js +6 -8
  349. package/dist/extensions/index.d.ts +1 -4
  350. package/dist/extensions/index.js +1 -4
  351. package/dist/extensions/words.js +2 -1
  352. package/dist/helpers/briefs.js +148 -0
  353. package/dist/helpers/claude.js +157 -0
  354. package/dist/helpers/codex.js +174 -0
  355. package/dist/helpers/index.d.ts +7 -0
  356. package/dist/helpers/index.js +9 -0
  357. package/dist/helpers/programs.d.ts +41 -0
  358. package/dist/helpers/programs.js +280 -0
  359. package/dist/images/images.js +7 -5
  360. package/dist/images/index.d.ts +1 -1
  361. package/dist/images/index.js +1 -1
  362. package/dist/importer/index.d.ts +1 -1
  363. package/dist/importer/index.js +1 -1
  364. package/dist/importer/work.d.ts +0 -2
  365. package/dist/importer/work.js +9 -30
  366. package/dist/instructions/index.d.ts +2 -0
  367. package/dist/instructions/index.js +10 -0
  368. package/dist/languages/index.d.ts +1 -1
  369. package/dist/languages/index.js +1 -1
  370. package/dist/languages/language-pack.js +15 -3
  371. package/dist/library/books.js +29 -83
  372. package/dist/packages/engine.d.ts +4 -0
  373. package/dist/packages/engine.js +74 -0
  374. package/dist/packages/index.d.ts +3 -0
  375. package/dist/packages/index.js +4 -0
  376. package/dist/packages/npm.d.ts +36 -0
  377. package/dist/packages/npm.js +418 -0
  378. package/dist/page.d.ts +14 -11
  379. package/dist/page.js +1 -2
  380. package/dist/pages/check.js +31 -40
  381. package/dist/pages/containers.js +20 -20
  382. package/dist/pages/environment.js +15 -15
  383. package/dist/pages/index.d.ts +9 -9
  384. package/dist/pages/index.js +9 -9
  385. package/dist/pages/inheritance.d.ts +2 -1
  386. package/dist/pages/inheritance.js +24 -24
  387. package/dist/pages/load.js +7 -7
  388. package/dist/pages/maps.d.ts +20 -0
  389. package/dist/pages/maps.js +51 -1
  390. package/dist/pages/markdown.d.ts +2 -0
  391. package/dist/pages/markdown.js +110 -79
  392. package/dist/pages/page-file.d.ts +2 -1
  393. package/dist/pages/page-file.js +31 -29
  394. package/dist/pages/rename-page.d.ts +4 -1
  395. package/dist/pages/rename-page.js +7 -3
  396. package/dist/pages/stacks/entry.d.ts +45 -0
  397. package/dist/pages/stacks/entry.js +79 -0
  398. package/dist/pages/stacks/kinds.d.ts +59 -0
  399. package/dist/pages/stacks/kinds.js +163 -0
  400. package/dist/pages/stacks/writes.d.ts +22 -0
  401. package/dist/pages/stacks/writes.js +129 -0
  402. package/dist/pages/system-pages.js +15 -15
  403. package/dist/pages/world.js +25 -19
  404. package/dist/pages/write-page.js +35 -34
  405. package/dist/player-notes/index.d.ts +1 -1
  406. package/dist/player-notes/index.js +1 -1
  407. package/dist/rules/page-search.js +3 -4
  408. package/dist/rules/rule-book.js +1 -1
  409. package/dist/rules/search.js +21 -21
  410. package/dist/rules/shown.js +1 -3
  411. package/dist/saves/saves.d.ts +2 -2
  412. package/dist/saves/saves.js +15 -3
  413. package/dist/server/bell-listener.js +83 -0
  414. package/dist/server/dashboard/files.d.ts +59 -0
  415. package/dist/server/dashboard/files.js +326 -0
  416. package/dist/server/dashboard/index.d.ts +114 -0
  417. package/dist/server/dashboard/index.js +419 -0
  418. package/dist/server/dashboard/news.d.ts +39 -0
  419. package/dist/server/dashboard/news.js +390 -0
  420. package/dist/server/dashboard/player.d.ts +48 -0
  421. package/dist/server/dashboard/player.js +242 -0
  422. package/dist/server/dashboard/ports.d.ts +10 -0
  423. package/dist/server/dashboard/ports.js +15 -0
  424. package/dist/server/dashboard/writes.d.ts +58 -0
  425. package/dist/server/dashboard/writes.js +492 -0
  426. package/dist/server/mcp.d.ts +24 -0
  427. package/dist/server/mcp.js +518 -0
  428. package/dist/systems/game-system.d.ts +31 -4
  429. package/dist/systems/game-system.js +221 -103
  430. package/dist/systems/index.d.ts +1 -1
  431. package/dist/systems/index.js +1 -1
  432. package/dist/testing/index.d.ts +80 -0
  433. package/dist/testing/index.js +215 -0
  434. package/dist/testing/system-checks.d.ts +32 -0
  435. package/dist/testing/system-checks.js +160 -0
  436. package/dist/themes/contrast.d.ts +8 -0
  437. package/dist/themes/contrast.js +27 -0
  438. package/dist/themes/css.d.ts +3 -0
  439. package/dist/themes/css.js +59 -0
  440. package/dist/themes/index.d.ts +3 -0
  441. package/dist/themes/index.js +4 -0
  442. package/dist/themes/theme.d.ts +71 -0
  443. package/dist/themes/theme.js +348 -0
  444. package/dist/time/calendar.js +5 -2
  445. package/dist/triggers/trigger.js +5 -8
  446. package/instructions/dashboard-guide.md +2 -1
  447. package/instructions/play.md +1 -1
  448. package/package.json +7 -13
  449. package/systems/free/instructions/outcomes-rolled.md +3 -0
  450. package/systems/free/instructions/outcomes-told.md +4 -0
  451. package/systems/free/instructions/outcomes-tossed.md +5 -0
  452. package/systems/free/instructions/play.md +3 -1
  453. package/systems/free/system.yaml +37 -0
  454. package/systems/free/words/ar.yaml +32 -0
  455. package/systems/free/words/cs.yaml +32 -0
  456. package/systems/free/words/da.yaml +32 -0
  457. package/systems/free/words/de.yaml +32 -0
  458. package/systems/free/words/el.yaml +32 -0
  459. package/systems/free/words/es.yaml +32 -0
  460. package/systems/free/words/fi.yaml +32 -0
  461. package/systems/free/words/fr.yaml +32 -0
  462. package/systems/free/words/he.yaml +32 -0
  463. package/systems/free/words/hi.yaml +32 -0
  464. package/systems/free/words/hu.yaml +32 -0
  465. package/systems/free/words/is.yaml +32 -0
  466. package/systems/free/words/it.yaml +32 -0
  467. package/systems/free/words/ja.yaml +32 -0
  468. package/systems/free/words/ko.yaml +32 -0
  469. package/systems/free/words/nb.yaml +32 -0
  470. package/systems/free/words/nl.yaml +32 -0
  471. package/systems/free/words/pl.yaml +32 -0
  472. package/systems/free/words/pt.yaml +32 -0
  473. package/systems/free/words/ro.yaml +32 -0
  474. package/systems/free/words/ru.yaml +32 -0
  475. package/systems/free/words/sv.yaml +32 -0
  476. package/systems/free/words/tr.yaml +32 -0
  477. package/systems/free/words/uk.yaml +32 -0
  478. package/systems/free/words/zh.yaml +32 -0
  479. package/dist/bell-listener.js +0 -83
  480. package/dist/cli.js +0 -28
  481. package/dist/command-line.d.ts +0 -7
  482. package/dist/command-line.js +0 -188
  483. package/dist/commands/change.d.ts +0 -105
  484. package/dist/commands/change.js +0 -862
  485. package/dist/commands/effect-layer.d.ts +0 -22
  486. package/dist/commands/effect-layer.js +0 -84
  487. package/dist/commands/game-advance.d.ts +0 -65
  488. package/dist/commands/game-advance.js +0 -125
  489. package/dist/commands/game-adventures.d.ts +0 -70
  490. package/dist/commands/game-adventures.js +0 -418
  491. package/dist/commands/game-bonds.d.ts +0 -9
  492. package/dist/commands/game-bonds.js +0 -84
  493. package/dist/commands/game-catalog.d.ts +0 -49
  494. package/dist/commands/game-catalog.js +0 -146
  495. package/dist/commands/game-checks.d.ts +0 -17
  496. package/dist/commands/game-checks.js +0 -130
  497. package/dist/commands/game-damage.d.ts +0 -18
  498. package/dist/commands/game-damage.js +0 -74
  499. package/dist/commands/game-dice-pool.d.ts +0 -39
  500. package/dist/commands/game-dice-pool.js +0 -120
  501. package/dist/commands/game-effects.d.ts +0 -81
  502. package/dist/commands/game-effects.js +0 -204
  503. package/dist/commands/game-environment.d.ts +0 -16
  504. package/dist/commands/game-environment.js +0 -24
  505. package/dist/commands/game-events.d.ts +0 -84
  506. package/dist/commands/game-events.js +0 -329
  507. package/dist/commands/game-examples.d.ts +0 -22
  508. package/dist/commands/game-examples.js +0 -72
  509. package/dist/commands/game-experience.d.ts +0 -57
  510. package/dist/commands/game-experience.js +0 -119
  511. package/dist/commands/game-extension-list.d.ts +0 -55
  512. package/dist/commands/game-extension-list.js +0 -180
  513. package/dist/commands/game-grid-moves.d.ts +0 -36
  514. package/dist/commands/game-grid-moves.js +0 -100
  515. package/dist/commands/game-grids.d.ts +0 -52
  516. package/dist/commands/game-grids.js +0 -162
  517. package/dist/commands/game-here.d.ts +0 -40
  518. package/dist/commands/game-here.js +0 -100
  519. package/dist/commands/game-images.d.ts +0 -31
  520. package/dist/commands/game-images.js +0 -88
  521. package/dist/commands/game-import.d.ts +0 -11
  522. package/dist/commands/game-import.js +0 -154
  523. package/dist/commands/game-journey.d.ts +0 -66
  524. package/dist/commands/game-journey.js +0 -174
  525. package/dist/commands/game-knowledge.d.ts +0 -82
  526. package/dist/commands/game-knowledge.js +0 -249
  527. package/dist/commands/game-library.d.ts +0 -115
  528. package/dist/commands/game-library.js +0 -388
  529. package/dist/commands/game-limits.d.ts +0 -7
  530. package/dist/commands/game-limits.js +0 -67
  531. package/dist/commands/game-loot.d.ts +0 -16
  532. package/dist/commands/game-loot.js +0 -36
  533. package/dist/commands/game-maps.d.ts +0 -20
  534. package/dist/commands/game-maps.js +0 -51
  535. package/dist/commands/game-master-rolls.d.ts +0 -17
  536. package/dist/commands/game-master-rolls.js +0 -36
  537. package/dist/commands/game-mode.d.ts +0 -31
  538. package/dist/commands/game-mode.js +0 -130
  539. package/dist/commands/game-money.d.ts +0 -17
  540. package/dist/commands/game-money.js +0 -55
  541. package/dist/commands/game-moods.d.ts +0 -22
  542. package/dist/commands/game-moods.js +0 -32
  543. package/dist/commands/game-moves.d.ts +0 -27
  544. package/dist/commands/game-moves.js +0 -58
  545. package/dist/commands/game-open.d.ts +0 -18
  546. package/dist/commands/game-open.js +0 -47
  547. package/dist/commands/game-outside.d.ts +0 -14
  548. package/dist/commands/game-outside.js +0 -151
  549. package/dist/commands/game-package-code.d.ts +0 -87
  550. package/dist/commands/game-package-code.js +0 -648
  551. package/dist/commands/game-package-hooks.d.ts +0 -37
  552. package/dist/commands/game-package-hooks.js +0 -116
  553. package/dist/commands/game-positions.d.ts +0 -52
  554. package/dist/commands/game-positions.js +0 -244
  555. package/dist/commands/game-quests.d.ts +0 -48
  556. package/dist/commands/game-quests.js +0 -101
  557. package/dist/commands/game-recipe-pace.d.ts +0 -6
  558. package/dist/commands/game-recipe-pace.js +0 -25
  559. package/dist/commands/game-recipes.d.ts +0 -34
  560. package/dist/commands/game-recipes.js +0 -116
  561. package/dist/commands/game-reminders.d.ts +0 -25
  562. package/dist/commands/game-reminders.js +0 -82
  563. package/dist/commands/game-roads.d.ts +0 -97
  564. package/dist/commands/game-roads.js +0 -347
  565. package/dist/commands/game-rules.d.ts +0 -20
  566. package/dist/commands/game-rules.js +0 -36
  567. package/dist/commands/game-saves.d.ts +0 -71
  568. package/dist/commands/game-saves.js +0 -288
  569. package/dist/commands/game-scene.d.ts +0 -69
  570. package/dist/commands/game-scene.js +0 -287
  571. package/dist/commands/game-stacks.d.ts +0 -78
  572. package/dist/commands/game-stacks.js +0 -198
  573. package/dist/commands/game-tables.d.ts +0 -7
  574. package/dist/commands/game-tables.js +0 -40
  575. package/dist/commands/game-thoughts.d.ts +0 -25
  576. package/dist/commands/game-thoughts.js +0 -57
  577. package/dist/commands/game-thresholds.d.ts +0 -21
  578. package/dist/commands/game-thresholds.js +0 -63
  579. package/dist/commands/game-time.d.ts +0 -29
  580. package/dist/commands/game-time.js +0 -112
  581. package/dist/commands/game-turn-uses.d.ts +0 -33
  582. package/dist/commands/game-turn-uses.js +0 -137
  583. package/dist/commands/game-upkeep.d.ts +0 -20
  584. package/dist/commands/game-upkeep.js +0 -198
  585. package/dist/commands/game-view-journal.d.ts +0 -158
  586. package/dist/commands/game-view-journal.js +0 -132
  587. package/dist/commands/game-view-map.d.ts +0 -81
  588. package/dist/commands/game-view-map.js +0 -270
  589. package/dist/commands/game-view-place.d.ts +0 -167
  590. package/dist/commands/game-view-place.js +0 -406
  591. package/dist/commands/game-view-world.d.ts +0 -98
  592. package/dist/commands/game-view-world.js +0 -98
  593. package/dist/commands/game-voices.d.ts +0 -5
  594. package/dist/commands/game-voices.js +0 -13
  595. package/dist/commands/game-widgets.d.ts +0 -100
  596. package/dist/commands/game-widgets.js +0 -425
  597. package/dist/commands/game-world.d.ts +0 -96
  598. package/dist/commands/game-world.js +0 -316
  599. package/dist/commands/import.d.ts +0 -47
  600. package/dist/commands/import.js +0 -390
  601. package/dist/commands/page-counters.d.ts +0 -24
  602. package/dist/commands/page-counters.js +0 -87
  603. package/dist/commands/parts.d.ts +0 -23
  604. package/dist/commands/parts.js +0 -66
  605. package/dist/commands/problems.d.ts +0 -5
  606. package/dist/commands/problems.js +0 -55
  607. package/dist/commands/progression.d.ts +0 -70
  608. package/dist/commands/progression.js +0 -211
  609. package/dist/commands/roll.d.ts +0 -65
  610. package/dist/commands/roll.js +0 -409
  611. package/dist/commands/route.d.ts +0 -19
  612. package/dist/commands/route.js +0 -109
  613. package/dist/commands/sheet.d.ts +0 -182
  614. package/dist/commands/sheet.js +0 -616
  615. package/dist/commands/travel.d.ts +0 -49
  616. package/dist/commands/travel.js +0 -485
  617. package/dist/commands/view.d.ts +0 -382
  618. package/dist/commands/view.js +0 -844
  619. package/dist/commands/worked-out.d.ts +0 -132
  620. package/dist/commands/worked-out.js +0 -805
  621. package/dist/commands/write.d.ts +0 -59
  622. package/dist/commands/write.js +0 -1152
  623. package/dist/dashboard/act-names.js +0 -27
  624. package/dist/dashboard/act-sheet.js +0 -100
  625. package/dist/dashboard/act-strip.js +0 -49
  626. package/dist/dashboard/acts.js +0 -147
  627. package/dist/dashboard/ask-card.js +0 -169
  628. package/dist/dashboard/extension-widgets.js +0 -280
  629. package/dist/dashboard/guide-blocks.js +0 -72
  630. package/dist/dashboard/help.js +0 -98
  631. package/dist/dashboard/lore.js +0 -44
  632. package/dist/dashboard/map-sheet.js +0 -32
  633. package/dist/dashboard/package-page.js +0 -50
  634. package/dist/dashboard/packages.js +0 -834
  635. package/dist/dashboard/page-code.js +0 -248
  636. package/dist/dashboard/place-map-view.js +0 -405
  637. package/dist/dashboard/world-calendar.js +0 -101
  638. package/dist/dashboard/world-lore.js +0 -231
  639. package/dist/dashboard/world-map.js +0 -523
  640. package/dist/dashboard/world.js +0 -415
  641. package/dist/dashboard-server.d.ts +0 -47
  642. package/dist/dashboard-server.js +0 -1765
  643. package/dist/extensions/engine.d.ts +0 -4
  644. package/dist/extensions/engine.js +0 -74
  645. package/dist/extensions/packages.d.ts +0 -34
  646. package/dist/extensions/packages.js +0 -389
  647. package/dist/library-reader.js +0 -36
  648. package/dist/mcp-server.d.ts +0 -22
  649. package/dist/mcp-server.js +0 -455
  650. package/dist/page-words.d.ts +0 -50
  651. package/dist/page-words.js +0 -224
  652. package/dist/pages/stack-entry.d.ts +0 -47
  653. package/dist/pages/stack-entry.js +0 -83
  654. package/dist/pages/stack-writes.d.ts +0 -22
  655. package/dist/pages/stack-writes.js +0 -129
  656. package/dist/pages/stacks.d.ts +0 -52
  657. package/dist/pages/stacks.js +0 -168
  658. package/dist/pictures/briefs.js +0 -145
  659. package/dist/pictures/claude.js +0 -167
  660. package/dist/pictures/codex.js +0 -186
  661. package/dist/pictures/helpers.d.ts +0 -36
  662. package/dist/pictures/helpers.js +0 -266
  663. package/dist/pictures/index.d.ts +0 -7
  664. package/dist/pictures/index.js +0 -9
  665. package/dist/testing.d.ts +0 -76
  666. package/dist/testing.js +0 -197
  667. package/systems/5e/LICENSE.md +0 -41
  668. package/systems/5e/dist/dying.js +0 -260
  669. package/systems/5e/dist/index.js +0 -3
  670. package/systems/5e/dist/page-style.js +0 -634
  671. package/systems/5e/dist/page.js +0 -166
  672. package/systems/5e/dist/shown.js +0 -23
  673. package/systems/5e/images/abacus.svg +0 -1
  674. package/systems/5e/images/acid-blob.svg +0 -1
  675. package/systems/5e/images/acid-tube.svg +0 -1
  676. package/systems/5e/images/angel-outfit.svg +0 -1
  677. package/systems/5e/images/angler-fish.svg +0 -1
  678. package/systems/5e/images/angular-spider.svg +0 -1
  679. package/systems/5e/images/animal-hide.svg +0 -1
  680. package/systems/5e/images/animal-skull.svg +0 -1
  681. package/systems/5e/images/anvil.svg +0 -1
  682. package/systems/5e/images/arrow-cluster.svg +0 -1
  683. package/systems/5e/images/backpack.svg +0 -1
  684. package/systems/5e/images/bad-gnome.svg +0 -1
  685. package/systems/5e/images/badger.svg +0 -1
  686. package/systems/5e/images/bagpipes.svg +0 -1
  687. package/systems/5e/images/bandit.svg +0 -1
  688. package/systems/5e/images/barbed-spear.svg +0 -1
  689. package/systems/5e/images/barn-owl.svg +0 -1
  690. package/systems/5e/images/barrel.svg +0 -1
  691. package/systems/5e/images/basket.svg +0 -1
  692. package/systems/5e/images/basset-hound-head.svg +0 -1
  693. package/systems/5e/images/bat.svg +0 -1
  694. package/systems/5e/images/battle-axe.svg +0 -1
  695. package/systems/5e/images/bear-face.svg +0 -1
  696. package/systems/5e/images/bear-head.svg +0 -1
  697. package/systems/5e/images/beer-horn.svg +0 -1
  698. package/systems/5e/images/beetle-shell.svg +0 -1
  699. package/systems/5e/images/belt-buckles.svg +0 -1
  700. package/systems/5e/images/berry-bush.svg +0 -1
  701. package/systems/5e/images/bestial-fangs.svg +0 -1
  702. package/systems/5e/images/big-wave.svg +0 -1
  703. package/systems/5e/images/bird-scepter.svg +0 -1
  704. package/systems/5e/images/black-knight-helm.svg +0 -1
  705. package/systems/5e/images/blanket.svg +0 -1
  706. package/systems/5e/images/boar-tusks.svg +0 -1
  707. package/systems/5e/images/boar.svg +0 -1
  708. package/systems/5e/images/bone-gnawer.svg +0 -1
  709. package/systems/5e/images/book-cover.svg +0 -1
  710. package/systems/5e/images/boots.svg +0 -1
  711. package/systems/5e/images/bottle-vapors.svg +0 -1
  712. package/systems/5e/images/bow-arrow.svg +0 -1
  713. package/systems/5e/images/bowl-spiral.svg +0 -1
  714. package/systems/5e/images/bracer.svg +0 -1
  715. package/systems/5e/images/breastplate.svg +0 -1
  716. package/systems/5e/images/broadsword.svg +0 -1
  717. package/systems/5e/images/broom.svg +0 -1
  718. package/systems/5e/images/brute.svg +0 -1
  719. package/systems/5e/images/bullets.svg +0 -1
  720. package/systems/5e/images/caltrops.svg +0 -1
  721. package/systems/5e/images/camel-head.svg +0 -1
  722. package/systems/5e/images/camp-cooking-pot.svg +0 -1
  723. package/systems/5e/images/campfire.svg +0 -1
  724. package/systems/5e/images/camping-tent.svg +0 -1
  725. package/systems/5e/images/candle-flame.svg +0 -1
  726. package/systems/5e/images/candle-light.svg +0 -1
  727. package/systems/5e/images/canoe.svg +0 -1
  728. package/systems/5e/images/cape.svg +0 -1
  729. package/systems/5e/images/caravel.svg +0 -1
  730. package/systems/5e/images/card-pick.svg +0 -1
  731. package/systems/5e/images/carnivore-mouth.svg +0 -1
  732. package/systems/5e/images/cassowary-head.svg +0 -1
  733. package/systems/5e/images/cat.svg +0 -1
  734. package/systems/5e/images/centaur.svg +0 -1
  735. package/systems/5e/images/centipede.svg +0 -1
  736. package/systems/5e/images/chain-mail.svg +0 -1
  737. package/systems/5e/images/chained-arrow-heads.svg +0 -1
  738. package/systems/5e/images/charging-bull.svg +0 -1
  739. package/systems/5e/images/chariot.svg +0 -1
  740. package/systems/5e/images/chest.svg +0 -1
  741. package/systems/5e/images/chisel.svg +0 -1
  742. package/systems/5e/images/claw-hammer.svg +0 -1
  743. package/systems/5e/images/closed-barbute.svg +0 -1
  744. package/systems/5e/images/cobra.svg +0 -1
  745. package/systems/5e/images/colombian-statue.svg +0 -1
  746. package/systems/5e/images/condor-emblem.svg +0 -1
  747. package/systems/5e/images/cooking-pot.svg +0 -1
  748. package/systems/5e/images/cowled.svg +0 -1
  749. package/systems/5e/images/crab-claw.svg +0 -1
  750. package/systems/5e/images/crab.svg +0 -1
  751. package/systems/5e/images/crescent-staff.svg +0 -1
  752. package/systems/5e/images/croc-jaws.svg +0 -1
  753. package/systems/5e/images/crossbow.svg +0 -1
  754. package/systems/5e/images/crossed-chains.svg +0 -1
  755. package/systems/5e/images/crow-dive.svg +0 -1
  756. package/systems/5e/images/crowbar.svg +0 -1
  757. package/systems/5e/images/crown.svg +0 -1
  758. package/systems/5e/images/crowned-skull.svg +0 -1
  759. package/systems/5e/images/crystal-ball.svg +0 -1
  760. package/systems/5e/images/crystal-cluster.svg +0 -1
  761. package/systems/5e/images/crystal-eye.svg +0 -1
  762. package/systems/5e/images/cube.svg +0 -1
  763. package/systems/5e/images/cubes.svg +0 -1
  764. package/systems/5e/images/cultist-lorc.svg +0 -1
  765. package/systems/5e/images/cultist-skoll.svg +0 -1
  766. package/systems/5e/images/curled-tentacle.svg +0 -1
  767. package/systems/5e/images/daemon-skull.svg +0 -1
  768. package/systems/5e/images/dart.svg +0 -1
  769. package/systems/5e/images/deer-head.svg +0 -1
  770. package/systems/5e/images/desert-skull.svg +0 -1
  771. package/systems/5e/images/devil-mask.svg +0 -1
  772. package/systems/5e/images/diablo-skull.svg +0 -1
  773. package/systems/5e/images/dice-six-faces-five.svg +0 -1
  774. package/systems/5e/images/dinosaur-rex.svg +0 -1
  775. package/systems/5e/images/direwolf.svg +0 -1
  776. package/systems/5e/images/djinn.svg +0 -1
  777. package/systems/5e/images/donkey.svg +0 -1
  778. package/systems/5e/images/dragon-head-faithtoken.svg +0 -1
  779. package/systems/5e/images/dragon-head-lorc.svg +0 -1
  780. package/systems/5e/images/dragon-orb.svg +0 -1
  781. package/systems/5e/images/dragon-shield.svg +0 -1
  782. package/systems/5e/images/dragon-spiral.svg +0 -1
  783. package/systems/5e/images/drakkar.svg +0 -1
  784. package/systems/5e/images/dread-skull.svg +0 -1
  785. package/systems/5e/images/drum.svg +0 -1
  786. package/systems/5e/images/duality-mask.svg +0 -1
  787. package/systems/5e/images/dust-cloud.svg +0 -1
  788. package/systems/5e/images/dwarf-face.svg +0 -1
  789. package/systems/5e/images/dwarf-helmet.svg +0 -1
  790. package/systems/5e/images/eagle-emblem.svg +0 -1
  791. package/systems/5e/images/eagle-head.svg +0 -1
  792. package/systems/5e/images/egyptian-sphinx.svg +0 -1
  793. package/systems/5e/images/elephant-head.svg +0 -1
  794. package/systems/5e/images/elf-ear.svg +0 -1
  795. package/systems/5e/images/elf-helmet.svg +0 -1
  796. package/systems/5e/images/empty-wood-bucket-handle.svg +0 -1
  797. package/systems/5e/images/ent-mouth.svg +0 -1
  798. package/systems/5e/images/ermine.svg +0 -1
  799. package/systems/5e/images/eruption.svg +0 -1
  800. package/systems/5e/images/evil-bat.svg +0 -1
  801. package/systems/5e/images/evil-minion.svg +0 -1
  802. package/systems/5e/images/evil-tree.svg +0 -1
  803. package/systems/5e/images/evil-wings.svg +0 -1
  804. package/systems/5e/images/eye-shield.svg +0 -1
  805. package/systems/5e/images/eyestalk.svg +0 -1
  806. package/systems/5e/images/fairy-wand.svg +0 -1
  807. package/systems/5e/images/fairy.svg +0 -1
  808. package/systems/5e/images/farmer.svg +0 -1
  809. package/systems/5e/images/feather.svg +0 -1
  810. package/systems/5e/images/feathered-wing.svg +0 -1
  811. package/systems/5e/images/feline.svg +0 -1
  812. package/systems/5e/images/fire-bottle.svg +0 -1
  813. package/systems/5e/images/fire-gem.svg +0 -1
  814. package/systems/5e/images/fire-silhouette.svg +0 -1
  815. package/systems/5e/images/first-aid-kit.svg +0 -1
  816. package/systems/5e/images/fish-monster.svg +0 -1
  817. package/systems/5e/images/fishing-hook.svg +0 -1
  818. package/systems/5e/images/fishing-net.svg +0 -1
  819. package/systems/5e/images/fishing-pole.svg +0 -1
  820. package/systems/5e/images/fist.svg +0 -1
  821. package/systems/5e/images/flail.svg +0 -1
  822. package/systems/5e/images/flanged-mace.svg +0 -1
  823. package/systems/5e/images/flat-hammer.svg +0 -1
  824. package/systems/5e/images/fleshy-mass.svg +0 -1
  825. package/systems/5e/images/flint-spark.svg +0 -1
  826. package/systems/5e/images/floating-crystal.svg +0 -1
  827. package/systems/5e/images/fluffy-flame.svg +0 -1
  828. package/systems/5e/images/flute.svg +0 -1
  829. package/systems/5e/images/fly.svg +0 -1
  830. package/systems/5e/images/fox-head.svg +0 -1
  831. package/systems/5e/images/frankenstein-creature.svg +0 -1
  832. package/systems/5e/images/frog.svg +0 -1
  833. package/systems/5e/images/galleon.svg +0 -1
  834. package/systems/5e/images/gargoyle.svg +0 -1
  835. package/systems/5e/images/gauntlet.svg +0 -1
  836. package/systems/5e/images/gecko.svg +0 -1
  837. package/systems/5e/images/gem-necklace.svg +0 -1
  838. package/systems/5e/images/gem-pendant.svg +0 -1
  839. package/systems/5e/images/gems.svg +0 -1
  840. package/systems/5e/images/ghost.svg +0 -1
  841. package/systems/5e/images/giant.svg +0 -1
  842. package/systems/5e/images/gladius.svg +0 -1
  843. package/systems/5e/images/glaive.svg +0 -1
  844. package/systems/5e/images/glass-ball.svg +0 -1
  845. package/systems/5e/images/gloves.svg +0 -1
  846. package/systems/5e/images/goat.svg +0 -1
  847. package/systems/5e/images/goblin-head.svg +0 -1
  848. package/systems/5e/images/goblin.svg +0 -1
  849. package/systems/5e/images/gold-scarab.svg +0 -1
  850. package/systems/5e/images/golem-head.svg +0 -1
  851. package/systems/5e/images/gooey-daemon.svg +0 -1
  852. package/systems/5e/images/gorilla.svg +0 -1
  853. package/systems/5e/images/grain-bundle.svg +0 -1
  854. package/systems/5e/images/greek-sphinx.svg +0 -1
  855. package/systems/5e/images/griffin-symbol.svg +0 -1
  856. package/systems/5e/images/grim-reaper.svg +0 -1
  857. package/systems/5e/images/halberd.svg +0 -1
  858. package/systems/5e/images/hand-saw.svg +0 -1
  859. package/systems/5e/images/handheld-fan.svg +0 -1
  860. package/systems/5e/images/hanging-spider.svg +0 -1
  861. package/systems/5e/images/harp.svg +0 -1
  862. package/systems/5e/images/harpy.svg +0 -1
  863. package/systems/5e/images/hatchet.svg +0 -1
  864. package/systems/5e/images/hawk-emblem.svg +0 -1
  865. package/systems/5e/images/headband-knot.svg +0 -1
  866. package/systems/5e/images/health-potion.svg +0 -1
  867. package/systems/5e/images/heart-bottle.svg +0 -1
  868. package/systems/5e/images/herbs-bundle.svg +0 -1
  869. package/systems/5e/images/hole-ladder.svg +0 -1
  870. package/systems/5e/images/holy-symbol.svg +0 -1
  871. package/systems/5e/images/holy-water.svg +0 -1
  872. package/systems/5e/images/honey-jar.svg +0 -1
  873. package/systems/5e/images/hood.svg +0 -1
  874. package/systems/5e/images/hooded-assassin.svg +0 -1
  875. package/systems/5e/images/horned-reptile.svg +0 -1
  876. package/systems/5e/images/horse-head-delapouite.svg +0 -1
  877. package/systems/5e/images/horse-head-lorc.svg +0 -1
  878. package/systems/5e/images/horseshoe.svg +0 -1
  879. package/systems/5e/images/hound.svg +0 -1
  880. package/systems/5e/images/hourglass.svg +0 -1
  881. package/systems/5e/images/hunting-horn.svg +0 -1
  882. package/systems/5e/images/hydra.svg +0 -1
  883. package/systems/5e/images/hyena-head.svg +0 -1
  884. package/systems/5e/images/icicles-aura.svg +0 -1
  885. package/systems/5e/images/ifrit.svg +0 -1
  886. package/systems/5e/images/imp-laugh.svg +0 -1
  887. package/systems/5e/images/imp.svg +0 -1
  888. package/systems/5e/images/insect-jaws.svg +0 -1
  889. package/systems/5e/images/invisible-face.svg +0 -1
  890. package/systems/5e/images/jester-hat.svg +0 -1
  891. package/systems/5e/images/jug.svg +0 -1
  892. package/systems/5e/images/jumping-dog.svg +0 -1
  893. package/systems/5e/images/katana.svg +0 -1
  894. package/systems/5e/images/key-lock.svg +0 -1
  895. package/systems/5e/images/kitchen-scale.svg +0 -1
  896. package/systems/5e/images/knapsack.svg +0 -1
  897. package/systems/5e/images/kraken-tentacle.svg +0 -1
  898. package/systems/5e/images/labrador-head.svg +0 -1
  899. package/systems/5e/images/ladder.svg +0 -1
  900. package/systems/5e/images/lantern.svg +0 -1
  901. package/systems/5e/images/leather-armor.svg +0 -1
  902. package/systems/5e/images/leather-boot.svg +0 -1
  903. package/systems/5e/images/leather-vest.svg +0 -1
  904. package/systems/5e/images/light-backpack.svg +0 -1
  905. package/systems/5e/images/light-helm.svg +0 -1
  906. package/systems/5e/images/lion.svg +0 -1
  907. package/systems/5e/images/lizard-tongue.svg +0 -1
  908. package/systems/5e/images/lizardman.svg +0 -1
  909. package/systems/5e/images/locked-box.svg +0 -1
  910. package/systems/5e/images/locked-fortress.svg +0 -1
  911. package/systems/5e/images/lockpicks.svg +0 -1
  912. package/systems/5e/images/long-antennae-bug.svg +0 -1
  913. package/systems/5e/images/long-legged-spider.svg +0 -1
  914. package/systems/5e/images/lunar-wand.svg +0 -1
  915. package/systems/5e/images/lyre.svg +0 -1
  916. package/systems/5e/images/magic-lamp.svg +0 -1
  917. package/systems/5e/images/magnifying-glass.svg +0 -1
  918. package/systems/5e/images/mail-shirt.svg +0 -1
  919. package/systems/5e/images/mammoth.svg +0 -1
  920. package/systems/5e/images/manacles.svg +0 -1
  921. package/systems/5e/images/mandrill-head.svg +0 -1
  922. package/systems/5e/images/manta-ray.svg +0 -1
  923. package/systems/5e/images/marbles.svg +0 -1
  924. package/systems/5e/images/masked-spider.svg +0 -1
  925. package/systems/5e/images/meat.svg +0 -1
  926. package/systems/5e/images/medal.svg +0 -1
  927. package/systems/5e/images/medusa-head.svg +0 -1
  928. package/systems/5e/images/mermaid.svg +0 -1
  929. package/systems/5e/images/metal-golem-head.svg +0 -1
  930. package/systems/5e/images/mimic-chest.svg +0 -1
  931. package/systems/5e/images/minotaur.svg +0 -1
  932. package/systems/5e/images/mirror-mirror.svg +0 -1
  933. package/systems/5e/images/monk-face.svg +0 -1
  934. package/systems/5e/images/moon-bats.svg +0 -1
  935. package/systems/5e/images/mountain-climbing.svg +0 -1
  936. package/systems/5e/images/mucous-pillar.svg +0 -1
  937. package/systems/5e/images/mummy-head.svg +0 -1
  938. package/systems/5e/images/mushrooms-cluster.svg +0 -1
  939. package/systems/5e/images/octopus.svg +0 -1
  940. package/systems/5e/images/ogre.svg +0 -1
  941. package/systems/5e/images/oil-can.svg +0 -1
  942. package/systems/5e/images/old-lantern.svg +0 -1
  943. package/systems/5e/images/old-wagon.svg +0 -1
  944. package/systems/5e/images/oni.svg +0 -1
  945. package/systems/5e/images/orb-wand.svg +0 -1
  946. package/systems/5e/images/orc-head.svg +0 -1
  947. package/systems/5e/images/owl.svg +0 -1
  948. package/systems/5e/images/oyster-pearl.svg +0 -1
  949. package/systems/5e/images/paint-brush.svg +0 -1
  950. package/systems/5e/images/painted-pottery.svg +0 -1
  951. package/systems/5e/images/palette.svg +0 -1
  952. package/systems/5e/images/pan-flute.svg +0 -1
  953. package/systems/5e/images/paper.svg +0 -1
  954. package/systems/5e/images/pegasus.svg +0 -1
  955. package/systems/5e/images/pencil.svg +0 -1
  956. package/systems/5e/images/perfume-bottle.svg +0 -1
  957. package/systems/5e/images/person.svg +0 -1
  958. package/systems/5e/images/pilgrim-hat.svg +0 -1
  959. package/systems/5e/images/pipes.svg +0 -1
  960. package/systems/5e/images/piranha.svg +0 -1
  961. package/systems/5e/images/plain-arrow.svg +0 -1
  962. package/systems/5e/images/plain-dagger.svg +0 -1
  963. package/systems/5e/images/plesiosaurus.svg +0 -1
  964. package/systems/5e/images/pointy-hat.svg +0 -1
  965. package/systems/5e/images/poison-bottle.svg +0 -1
  966. package/systems/5e/images/polar-bear.svg +0 -1
  967. package/systems/5e/images/powder-bag.svg +0 -1
  968. package/systems/5e/images/prayer-beads.svg +0 -1
  969. package/systems/5e/images/pulley-hook.svg +0 -1
  970. package/systems/5e/images/quill-ink.svg +0 -1
  971. package/systems/5e/images/quill.svg +0 -1
  972. package/systems/5e/images/quiver.svg +0 -1
  973. package/systems/5e/images/rat.svg +0 -1
  974. package/systems/5e/images/rattlesnake.svg +0 -1
  975. package/systems/5e/images/raven.svg +0 -1
  976. package/systems/5e/images/red-carpet.svg +0 -1
  977. package/systems/5e/images/rhinoceros-horn.svg +0 -1
  978. package/systems/5e/images/ring.svg +0 -1
  979. package/systems/5e/images/ringing-bell.svg +0 -1
  980. package/systems/5e/images/robber.svg +0 -1
  981. package/systems/5e/images/robe.svg +0 -1
  982. package/systems/5e/images/robin-hood-hat.svg +0 -1
  983. package/systems/5e/images/robot-golem.svg +0 -1
  984. package/systems/5e/images/rock-golem.svg +0 -1
  985. package/systems/5e/images/rolled-cloth.svg +0 -1
  986. package/systems/5e/images/rooster.svg +0 -1
  987. package/systems/5e/images/rope-coil.svg +0 -1
  988. package/systems/5e/images/round-bottom-flask.svg +0 -1
  989. package/systems/5e/images/round-potion.svg +0 -1
  990. package/systems/5e/images/rune-stone.svg +0 -1
  991. package/systems/5e/images/saber-toothed-cat-head.svg +0 -1
  992. package/systems/5e/images/saddle.svg +0 -1
  993. package/systems/5e/images/salamander.svg +0 -1
  994. package/systems/5e/images/scale-mail.svg +0 -1
  995. package/systems/5e/images/school-of-fish.svg +0 -1
  996. package/systems/5e/images/scorpion.svg +0 -1
  997. package/systems/5e/images/scroll-unfurled.svg +0 -1
  998. package/systems/5e/images/sea-serpent.svg +0 -1
  999. package/systems/5e/images/seahorse.svg +0 -1
  1000. package/systems/5e/images/seated-mouse.svg +0 -1
  1001. package/systems/5e/images/secret-book.svg +0 -1
  1002. package/systems/5e/images/sensuousness.svg +0 -1
  1003. package/systems/5e/images/sewing-needle.svg +0 -1
  1004. package/systems/5e/images/shadow-follower.svg +0 -1
  1005. package/systems/5e/images/shambling-mound.svg +0 -1
  1006. package/systems/5e/images/shambling-zombie.svg +0 -1
  1007. package/systems/5e/images/shark-fin.svg +0 -1
  1008. package/systems/5e/images/shark-jaws.svg +0 -1
  1009. package/systems/5e/images/shield.svg +0 -1
  1010. package/systems/5e/images/shirt-button.svg +0 -1
  1011. package/systems/5e/images/sickle.svg +0 -1
  1012. package/systems/5e/images/siege-ram.svg +0 -1
  1013. package/systems/5e/images/skeleton.svg +0 -1
  1014. package/systems/5e/images/skull-staff.svg +0 -1
  1015. package/systems/5e/images/sleeping-bag.svg +0 -1
  1016. package/systems/5e/images/slime.svg +0 -1
  1017. package/systems/5e/images/sling.svg +0 -1
  1018. package/systems/5e/images/slippers.svg +0 -1
  1019. package/systems/5e/images/small-fire.svg +0 -1
  1020. package/systems/5e/images/small-fishing-sailboat.svg +0 -1
  1021. package/systems/5e/images/smoking-orb.svg +0 -1
  1022. package/systems/5e/images/snake-spiral.svg +0 -1
  1023. package/systems/5e/images/snake-tongue.svg +0 -1
  1024. package/systems/5e/images/snake-totem.svg +0 -1
  1025. package/systems/5e/images/snake.svg +0 -1
  1026. package/systems/5e/images/soap.svg +0 -1
  1027. package/systems/5e/images/spade.svg +0 -1
  1028. package/systems/5e/images/spark-spirit.svg +0 -1
  1029. package/systems/5e/images/sparkling-sabre.svg +0 -1
  1030. package/systems/5e/images/spartan.svg +0 -1
  1031. package/systems/5e/images/spectre.svg +0 -1
  1032. package/systems/5e/images/spell-book.svg +0 -1
  1033. package/systems/5e/images/sperm-whale.svg +0 -1
  1034. package/systems/5e/images/spider-alt.svg +0 -1
  1035. package/systems/5e/images/spiked-armor.svg +0 -1
  1036. package/systems/5e/images/spiked-dragon-head.svg +0 -1
  1037. package/systems/5e/images/spiked-mace.svg +0 -1
  1038. package/systems/5e/images/spiked-tail.svg +0 -1
  1039. package/systems/5e/images/spikes.svg +0 -1
  1040. package/systems/5e/images/spinning-wheel.svg +0 -1
  1041. package/systems/5e/images/spotted-mushroom.svg +0 -1
  1042. package/systems/5e/images/spy.svg +0 -1
  1043. package/systems/5e/images/spyglass.svg +0 -1
  1044. package/systems/5e/images/squid.svg +0 -1
  1045. package/systems/5e/images/stag-head.svg +0 -1
  1046. package/systems/5e/images/steam.svg +0 -1
  1047. package/systems/5e/images/steampunk-goggles.svg +0 -1
  1048. package/systems/5e/images/stone-block.svg +0 -1
  1049. package/systems/5e/images/stone-pile.svg +0 -1
  1050. package/systems/5e/images/stone-sphere.svg +0 -1
  1051. package/systems/5e/images/straight-pipe.svg +0 -1
  1052. package/systems/5e/images/sun-priest.svg +0 -1
  1053. package/systems/5e/images/swap-bag.svg +0 -1
  1054. package/systems/5e/images/thor-hammer.svg +0 -1
  1055. package/systems/5e/images/thrown-spear.svg +0 -1
  1056. package/systems/5e/images/tiara.svg +0 -1
  1057. package/systems/5e/images/tick.svg +0 -1
  1058. package/systems/5e/images/tied-scroll.svg +0 -1
  1059. package/systems/5e/images/tiger-head.svg +0 -1
  1060. package/systems/5e/images/tiger.svg +0 -1
  1061. package/systems/5e/images/tinker.svg +0 -1
  1062. package/systems/5e/images/toad-teeth.svg +0 -1
  1063. package/systems/5e/images/torch.svg +0 -1
  1064. package/systems/5e/images/tornado.svg +0 -1
  1065. package/systems/5e/images/totem.svg +0 -1
  1066. package/systems/5e/images/transparent-slime.svg +0 -1
  1067. package/systems/5e/images/trap-mask.svg +0 -1
  1068. package/systems/5e/images/treasure-map.svg +0 -1
  1069. package/systems/5e/images/tree-face.svg +0 -1
  1070. package/systems/5e/images/tribal-mask.svg +0 -1
  1071. package/systems/5e/images/tribal-pendant.svg +0 -1
  1072. package/systems/5e/images/triceratops-head.svg +0 -1
  1073. package/systems/5e/images/trident.svg +0 -1
  1074. package/systems/5e/images/triton-head.svg +0 -1
  1075. package/systems/5e/images/troglodyte.svg +0 -1
  1076. package/systems/5e/images/troll.svg +0 -1
  1077. package/systems/5e/images/turtle.svg +0 -1
  1078. package/systems/5e/images/two-handed-sword.svg +0 -1
  1079. package/systems/5e/images/unicorn.svg +0 -1
  1080. package/systems/5e/images/vampire-dracula.svg +0 -1
  1081. package/systems/5e/images/vial.svg +0 -1
  1082. package/systems/5e/images/viking-head.svg +0 -1
  1083. package/systems/5e/images/violin.svg +0 -1
  1084. package/systems/5e/images/visored-helm.svg +0 -1
  1085. package/systems/5e/images/vulture.svg +0 -1
  1086. package/systems/5e/images/war-axe.svg +0 -1
  1087. package/systems/5e/images/war-pick.svg +0 -1
  1088. package/systems/5e/images/warhammer.svg +0 -1
  1089. package/systems/5e/images/warlord-helmet.svg +0 -1
  1090. package/systems/5e/images/wasp-sting.svg +0 -1
  1091. package/systems/5e/images/water-bottle.svg +0 -1
  1092. package/systems/5e/images/waterskin.svg +0 -1
  1093. package/systems/5e/images/wavy-chains.svg +0 -1
  1094. package/systems/5e/images/wax-seal.svg +0 -1
  1095. package/systems/5e/images/werewolf.svg +0 -1
  1096. package/systems/5e/images/wheelbarrow.svg +0 -1
  1097. package/systems/5e/images/whip.svg +0 -1
  1098. package/systems/5e/images/whistle.svg +0 -1
  1099. package/systems/5e/images/wing-cloak.svg +0 -1
  1100. package/systems/5e/images/winged-scepter.svg +0 -1
  1101. package/systems/5e/images/winged-sword.svg +0 -1
  1102. package/systems/5e/images/witch-face.svg +0 -1
  1103. package/systems/5e/images/wizard-face.svg +0 -1
  1104. package/systems/5e/images/wizard-staff.svg +0 -1
  1105. package/systems/5e/images/wolf-head.svg +0 -1
  1106. package/systems/5e/images/wolf-howl.svg +0 -1
  1107. package/systems/5e/images/wolf-trap.svg +0 -1
  1108. package/systems/5e/images/woman-elf-face.svg +0 -1
  1109. package/systems/5e/images/wood-canoe.svg +0 -1
  1110. package/systems/5e/images/wood-club.svg +0 -1
  1111. package/systems/5e/images/worm-mouth.svg +0 -1
  1112. package/systems/5e/images/wyvern.svg +0 -1
  1113. package/systems/5e/instructions/adventure.md +0 -4
  1114. package/systems/5e/instructions/combat.md +0 -9
  1115. package/systems/5e/instructions/import.md +0 -1
  1116. package/systems/5e/instructions/level-up.md +0 -1
  1117. package/systems/5e/instructions/mentor-tutorial.md +0 -1
  1118. package/systems/5e/instructions/play.md +0 -7
  1119. package/systems/5e/instructions/quest-ends.md +0 -1
  1120. package/systems/5e/instructions/rest.md +0 -1
  1121. package/systems/5e/instructions/session-zero.md +0 -5
  1122. package/systems/5e/instructions/setup.md +0 -1
  1123. package/systems/5e/package.json +0 -13
  1124. package/systems/5e/rules/Adventuring.md +0 -228
  1125. package/systems/5e/rules/Beyond 1st Level.md +0 -241
  1126. package/systems/5e/rules/Combat Encounters.md +0 -103
  1127. package/systems/5e/rules/Combat.md +0 -504
  1128. package/systems/5e/rules/Conditions.md +0 -110
  1129. package/systems/5e/rules/Diseases.md +0 -41
  1130. package/systems/5e/rules/Equipment.md +0 -731
  1131. package/systems/5e/rules/Fantasy-Historical Pantheons.md +0 -112
  1132. package/systems/5e/rules/Madness.md +0 -72
  1133. package/systems/5e/rules/Magic Items.md +0 -142
  1134. package/systems/5e/rules/Monsters.md +0 -403
  1135. package/systems/5e/rules/Nonplayer Characters.md +0 -15
  1136. package/systems/5e/rules/Objects.md +0 -40
  1137. package/systems/5e/rules/Poisons.md +0 -64
  1138. package/systems/5e/rules/Races.md +0 -33
  1139. package/systems/5e/rules/Spellcasting.md +0 -225
  1140. package/systems/5e/rules/The Planes of Existence.md +0 -59
  1141. package/systems/5e/rules/Traps.md +0 -170
  1142. package/systems/5e/rules/Using Ability Scores.md +0 -394
  1143. package/systems/5e/system.yaml +0 -847
  1144. package/systems/5e/versions/srd-5.1/system.yaml +0 -2
  1145. package/systems/5e/words/ar.yaml +0 -533
  1146. package/systems/5e/words/cs.yaml +0 -533
  1147. package/systems/5e/words/da.yaml +0 -533
  1148. package/systems/5e/words/de.yaml +0 -533
  1149. package/systems/5e/words/el.yaml +0 -533
  1150. package/systems/5e/words/en.yaml +0 -20
  1151. package/systems/5e/words/es.yaml +0 -533
  1152. package/systems/5e/words/fi.yaml +0 -533
  1153. package/systems/5e/words/fr.yaml +0 -533
  1154. package/systems/5e/words/he.yaml +0 -533
  1155. package/systems/5e/words/hi.yaml +0 -533
  1156. package/systems/5e/words/hu.yaml +0 -533
  1157. package/systems/5e/words/is.yaml +0 -533
  1158. package/systems/5e/words/it.yaml +0 -575
  1159. package/systems/5e/words/ja.yaml +0 -533
  1160. package/systems/5e/words/ko.yaml +0 -533
  1161. package/systems/5e/words/nb.yaml +0 -533
  1162. package/systems/5e/words/nl.yaml +0 -533
  1163. package/systems/5e/words/pl.yaml +0 -533
  1164. package/systems/5e/words/pt.yaml +0 -533
  1165. package/systems/5e/words/ro.yaml +0 -533
  1166. package/systems/5e/words/ru.yaml +0 -533
  1167. package/systems/5e/words/sv.yaml +0 -533
  1168. package/systems/5e/words/tr.yaml +0 -533
  1169. package/systems/5e/words/uk.yaml +0 -533
  1170. package/systems/5e/words/zh.yaml +0 -533
  1171. package/systems/5e/world/creatures/Aboleth.md +0 -66
  1172. package/systems/5e/world/creatures/Acolyte.md +0 -37
  1173. package/systems/5e/world/creatures/Adult Black Dragon.md +0 -71
  1174. package/systems/5e/world/creatures/Adult Blue Dragon.md +0 -68
  1175. package/systems/5e/world/creatures/Adult Brass Dragon.md +0 -72
  1176. package/systems/5e/world/creatures/Adult Bronze Dragon.md +0 -80
  1177. package/systems/5e/world/creatures/Adult Copper Dragon.md +0 -72
  1178. package/systems/5e/world/creatures/Adult Gold Dragon.md +0 -80
  1179. package/systems/5e/world/creatures/Adult Green Dragon.md +0 -72
  1180. package/systems/5e/world/creatures/Adult Red Dragon.md +0 -68
  1181. package/systems/5e/world/creatures/Adult Silver Dragon.md +0 -76
  1182. package/systems/5e/world/creatures/Adult White Dragon.md +0 -72
  1183. package/systems/5e/world/creatures/Air Elemental.md +0 -43
  1184. package/systems/5e/world/creatures/Ancient Black Dragon.md +0 -71
  1185. package/systems/5e/world/creatures/Ancient Blue Dragon.md +0 -68
  1186. package/systems/5e/world/creatures/Ancient Brass Dragon.md +0 -77
  1187. package/systems/5e/world/creatures/Ancient Bronze Dragon.md +0 -80
  1188. package/systems/5e/world/creatures/Ancient Copper Dragon.md +0 -77
  1189. package/systems/5e/world/creatures/Ancient Gold Dragon.md +0 -80
  1190. package/systems/5e/world/creatures/Ancient Green Dragon.md +0 -72
  1191. package/systems/5e/world/creatures/Ancient Red Dragon.md +0 -68
  1192. package/systems/5e/world/creatures/Ancient Silver Dragon.md +0 -76
  1193. package/systems/5e/world/creatures/Ancient White Dragon.md +0 -72
  1194. package/systems/5e/world/creatures/Androsphinx.md +0 -83
  1195. package/systems/5e/world/creatures/Animated Armor.md +0 -39
  1196. package/systems/5e/world/creatures/Ankheg.md +0 -31
  1197. package/systems/5e/world/creatures/Ape.md +0 -32
  1198. package/systems/5e/world/creatures/Archmage.md +0 -63
  1199. package/systems/5e/world/creatures/Assassin.md +0 -48
  1200. package/systems/5e/world/creatures/Awakened Shrub.md +0 -34
  1201. package/systems/5e/world/creatures/Awakened Tree.md +0 -35
  1202. package/systems/5e/world/creatures/Axe Beak.md +0 -26
  1203. package/systems/5e/world/creatures/Azer.md +0 -40
  1204. package/systems/5e/world/creatures/Baboon.md +0 -30
  1205. package/systems/5e/world/creatures/Badger.md +0 -31
  1206. package/systems/5e/world/creatures/Balor.md +0 -55
  1207. package/systems/5e/world/creatures/Bandit Captain.md +0 -45
  1208. package/systems/5e/world/creatures/Bandit.md +0 -33
  1209. package/systems/5e/world/creatures/Barbed Devil.md +0 -52
  1210. package/systems/5e/world/creatures/Basilisk.md +0 -35
  1211. package/systems/5e/world/creatures/Bat.md +0 -34
  1212. package/systems/5e/world/creatures/Bearded Devil.md +0 -48
  1213. package/systems/5e/world/creatures/Behir.md +0 -44
  1214. package/systems/5e/world/creatures/Berserker.md +0 -33
  1215. package/systems/5e/world/creatures/Black Bear.md +0 -38
  1216. package/systems/5e/world/creatures/Black Dragon Wyrmling.md +0 -41
  1217. package/systems/5e/world/creatures/Black Pudding.md +0 -46
  1218. package/systems/5e/world/creatures/Blink Dog.md +0 -36
  1219. package/systems/5e/world/creatures/Blood Hawk.md +0 -36
  1220. package/systems/5e/world/creatures/Blue Dragon Wyrmling.md +0 -36
  1221. package/systems/5e/world/creatures/Boar.md +0 -33
  1222. package/systems/5e/world/creatures/Bone Devil.md +0 -47
  1223. package/systems/5e/world/creatures/Brass Dragon Wyrmling.md +0 -40
  1224. package/systems/5e/world/creatures/Bronze Dragon Wyrmling.md +0 -45
  1225. package/systems/5e/world/creatures/Brown Bear.md +0 -38
  1226. package/systems/5e/world/creatures/Bugbear.md +0 -39
  1227. package/systems/5e/world/creatures/Bulette.md +0 -37
  1228. package/systems/5e/world/creatures/Camel.md +0 -24
  1229. package/systems/5e/world/creatures/Cat.md +0 -31
  1230. package/systems/5e/world/creatures/Centaur.md +0 -40
  1231. package/systems/5e/world/creatures/Chain Devil.md +0 -52
  1232. package/systems/5e/world/creatures/Chimera.md +0 -41
  1233. package/systems/5e/world/creatures/Chuul.md +0 -45
  1234. package/systems/5e/world/creatures/Clay Golem.md +0 -52
  1235. package/systems/5e/world/creatures/Cloaker.md +0 -56
  1236. package/systems/5e/world/creatures/Cloud Giant.md +0 -46
  1237. package/systems/5e/world/creatures/Cockatrice.md +0 -26
  1238. package/systems/5e/world/creatures/Commoner.md +0 -27
  1239. package/systems/5e/world/creatures/Constrictor Snake.md +0 -29
  1240. package/systems/5e/world/creatures/Copper Dragon Wyrmling.md +0 -40
  1241. package/systems/5e/world/creatures/Couatl.md +0 -54
  1242. package/systems/5e/world/creatures/Crab.md +0 -33
  1243. package/systems/5e/world/creatures/Crocodile.md +0 -32
  1244. package/systems/5e/world/creatures/Cult Fanatic.md +0 -46
  1245. package/systems/5e/world/creatures/Cultist.md +0 -34
  1246. package/systems/5e/world/creatures/Darkmantle.md +0 -42
  1247. package/systems/5e/world/creatures/Death Dog.md +0 -36
  1248. package/systems/5e/world/creatures/Deep Gnome (Svirfneblin).md +0 -46
  1249. package/systems/5e/world/creatures/Deer.md +0 -24
  1250. package/systems/5e/world/creatures/Deva.md +0 -57
  1251. package/systems/5e/world/creatures/Dire Wolf.md +0 -34
  1252. package/systems/5e/world/creatures/Djinni.md +0 -50
  1253. package/systems/5e/world/creatures/Doppelganger.md +0 -45
  1254. package/systems/5e/world/creatures/Draft Horse.md +0 -24
  1255. package/systems/5e/world/creatures/Dragon Turtle.md +0 -47
  1256. package/systems/5e/world/creatures/Dragonborn.md +0 -58
  1257. package/systems/5e/world/creatures/Dretch.md +0 -39
  1258. package/systems/5e/world/creatures/Drider.md +0 -58
  1259. package/systems/5e/world/creatures/Drow Elf.md +0 -46
  1260. package/systems/5e/world/creatures/Druid (creature).md +0 -41
  1261. package/systems/5e/world/creatures/Dryad.md +0 -53
  1262. package/systems/5e/world/creatures/Duergar.md +0 -45
  1263. package/systems/5e/world/creatures/Dust Mephit.md +0 -42
  1264. package/systems/5e/world/creatures/Dwarf.md +0 -49
  1265. package/systems/5e/world/creatures/Eagle.md +0 -31
  1266. package/systems/5e/world/creatures/Earth Elemental.md +0 -44
  1267. package/systems/5e/world/creatures/Efreeti.md +0 -48
  1268. package/systems/5e/world/creatures/Elephant.md +0 -33
  1269. package/systems/5e/world/creatures/Elf.md +0 -44
  1270. package/systems/5e/world/creatures/Elk.md +0 -32
  1271. package/systems/5e/world/creatures/Erinyes.md +0 -51
  1272. package/systems/5e/world/creatures/Ettercap.md +0 -48
  1273. package/systems/5e/world/creatures/Ettin.md +0 -42
  1274. package/systems/5e/world/creatures/Fire Elemental.md +0 -43
  1275. package/systems/5e/world/creatures/Fire Giant.md +0 -35
  1276. package/systems/5e/world/creatures/Flesh Golem.md +0 -53
  1277. package/systems/5e/world/creatures/Flying Snake.md +0 -34
  1278. package/systems/5e/world/creatures/Flying Sword.md +0 -38
  1279. package/systems/5e/world/creatures/Frog.md +0 -32
  1280. package/systems/5e/world/creatures/Frost Giant.md +0 -35
  1281. package/systems/5e/world/creatures/Gargoyle.md +0 -42
  1282. package/systems/5e/world/creatures/Gelatinous Cube.md +0 -49
  1283. package/systems/5e/world/creatures/Ghast.md +0 -40
  1284. package/systems/5e/world/creatures/Ghost.md +0 -49
  1285. package/systems/5e/world/creatures/Ghoul.md +0 -31
  1286. package/systems/5e/world/creatures/Giant Ape.md +0 -32
  1287. package/systems/5e/world/creatures/Giant Badger.md +0 -37
  1288. package/systems/5e/world/creatures/Giant Bat.md +0 -34
  1289. package/systems/5e/world/creatures/Giant Boar.md +0 -33
  1290. package/systems/5e/world/creatures/Giant Centipede.md +0 -27
  1291. package/systems/5e/world/creatures/Giant Constrictor Snake.md +0 -30
  1292. package/systems/5e/world/creatures/Giant Crab.md +0 -33
  1293. package/systems/5e/world/creatures/Giant Crocodile.md +0 -38
  1294. package/systems/5e/world/creatures/Giant Eagle.md +0 -40
  1295. package/systems/5e/world/creatures/Giant Elk.md +0 -37
  1296. package/systems/5e/world/creatures/Giant Fire Beetle.md +0 -33
  1297. package/systems/5e/world/creatures/Giant Frog.md +0 -40
  1298. package/systems/5e/world/creatures/Giant Goat.md +0 -33
  1299. package/systems/5e/world/creatures/Giant Hyena.md +0 -30
  1300. package/systems/5e/world/creatures/Giant Lizard.md +0 -29
  1301. package/systems/5e/world/creatures/Giant Octopus.md +0 -41
  1302. package/systems/5e/world/creatures/Giant Owl.md +0 -38
  1303. package/systems/5e/world/creatures/Giant Poisonous Snake.md +0 -27
  1304. package/systems/5e/world/creatures/Giant Rat.md +0 -39
  1305. package/systems/5e/world/creatures/Giant Scorpion.md +0 -32
  1306. package/systems/5e/world/creatures/Giant Sea Horse.md +0 -36
  1307. package/systems/5e/world/creatures/Giant Shark.md +0 -38
  1308. package/systems/5e/world/creatures/Giant Spider.md +0 -45
  1309. package/systems/5e/world/creatures/Giant Toad.md +0 -39
  1310. package/systems/5e/world/creatures/Giant Vulture.md +0 -43
  1311. package/systems/5e/world/creatures/Giant Wasp.md +0 -25
  1312. package/systems/5e/world/creatures/Giant Weasel.md +0 -31
  1313. package/systems/5e/world/creatures/Giant Wolf Spider.md +0 -41
  1314. package/systems/5e/world/creatures/Gibbering Mouther.md +0 -41
  1315. package/systems/5e/world/creatures/Glabrezu.md +0 -48
  1316. package/systems/5e/world/creatures/Gladiator.md +0 -49
  1317. package/systems/5e/world/creatures/Gnoll.md +0 -38
  1318. package/systems/5e/world/creatures/Gnome.md +0 -37
  1319. package/systems/5e/world/creatures/Goat.md +0 -32
  1320. package/systems/5e/world/creatures/Goblin.md +0 -36
  1321. package/systems/5e/world/creatures/Gold Dragon Wyrmling.md +0 -45
  1322. package/systems/5e/world/creatures/Gorgon.md +0 -39
  1323. package/systems/5e/world/creatures/Gray Ooze.md +0 -42
  1324. package/systems/5e/world/creatures/Green Dragon Wyrmling.md +0 -42
  1325. package/systems/5e/world/creatures/Green Hag.md +0 -49
  1326. package/systems/5e/world/creatures/Grick.md +0 -39
  1327. package/systems/5e/world/creatures/Griffon.md +0 -38
  1328. package/systems/5e/world/creatures/Grimlock.md +0 -39
  1329. package/systems/5e/world/creatures/Guard.md +0 -29
  1330. package/systems/5e/world/creatures/Guardian Naga.md +0 -55
  1331. package/systems/5e/world/creatures/Gynosphinx.md +0 -72
  1332. package/systems/5e/world/creatures/Half-Elf.md +0 -40
  1333. package/systems/5e/world/creatures/Half-Orc.md +0 -44
  1334. package/systems/5e/world/creatures/Half-Red Dragon Veteran.md +0 -42
  1335. package/systems/5e/world/creatures/Halfling.md +0 -39
  1336. package/systems/5e/world/creatures/Harpy.md +0 -39
  1337. package/systems/5e/world/creatures/Hawk.md +0 -31
  1338. package/systems/5e/world/creatures/Hell Hound.md +0 -40
  1339. package/systems/5e/world/creatures/Hezrou.md +0 -45
  1340. package/systems/5e/world/creatures/High Elf.md +0 -22
  1341. package/systems/5e/world/creatures/Hill Dwarf.md +0 -16
  1342. package/systems/5e/world/creatures/Hill Giant.md +0 -33
  1343. package/systems/5e/world/creatures/Hippogriff.md +0 -37
  1344. package/systems/5e/world/creatures/Hobgoblin.md +0 -35
  1345. package/systems/5e/world/creatures/Homunculus.md +0 -35
  1346. package/systems/5e/world/creatures/Horned Devil.md +0 -49
  1347. package/systems/5e/world/creatures/Human.md +0 -29
  1348. package/systems/5e/world/creatures/Hunter Shark.md +0 -38
  1349. package/systems/5e/world/creatures/Hydra.md +0 -49
  1350. package/systems/5e/world/creatures/Hyena.md +0 -30
  1351. package/systems/5e/world/creatures/Ice Devil.md +0 -56
  1352. package/systems/5e/world/creatures/Ice Mephit.md +0 -45
  1353. package/systems/5e/world/creatures/Imp.md +0 -45
  1354. package/systems/5e/world/creatures/Invisible Stalker.md +0 -42
  1355. package/systems/5e/world/creatures/Iron Golem.md +0 -52
  1356. package/systems/5e/world/creatures/Jackal.md +0 -33
  1357. package/systems/5e/world/creatures/Killer Whale.md +0 -39
  1358. package/systems/5e/world/creatures/Knight.md +0 -48
  1359. package/systems/5e/world/creatures/Kobold.md +0 -37
  1360. package/systems/5e/world/creatures/Kraken.md +0 -70
  1361. package/systems/5e/world/creatures/Lamia.md +0 -46
  1362. package/systems/5e/world/creatures/Lemure.md +0 -37
  1363. package/systems/5e/world/creatures/Lich.md +0 -84
  1364. package/systems/5e/world/creatures/Lightfoot Halfling.md +0 -18
  1365. package/systems/5e/world/creatures/Lion.md +0 -42
  1366. package/systems/5e/world/creatures/Lizard.md +0 -26
  1367. package/systems/5e/world/creatures/Lizardfolk.md +0 -45
  1368. package/systems/5e/world/creatures/Mage.md +0 -47
  1369. package/systems/5e/world/creatures/Magma Mephit.md +0 -45
  1370. package/systems/5e/world/creatures/Magmin.md +0 -37
  1371. package/systems/5e/world/creatures/Mammoth.md +0 -35
  1372. package/systems/5e/world/creatures/Manticore.md +0 -42
  1373. package/systems/5e/world/creatures/Marilith.md +0 -56
  1374. package/systems/5e/world/creatures/Mastiff.md +0 -32
  1375. package/systems/5e/world/creatures/Medusa.md +0 -46
  1376. package/systems/5e/world/creatures/Merfolk.md +0 -32
  1377. package/systems/5e/world/creatures/Merrow.md +0 -42
  1378. package/systems/5e/world/creatures/Mimic.md +0 -46
  1379. package/systems/5e/world/creatures/Minotaur Skeleton.md +0 -38
  1380. package/systems/5e/world/creatures/Minotaur.md +0 -42
  1381. package/systems/5e/world/creatures/Mule.md +0 -32
  1382. package/systems/5e/world/creatures/Mummy Lord.md +0 -83
  1383. package/systems/5e/world/creatures/Mummy.md +0 -38
  1384. package/systems/5e/world/creatures/Nalfeshnee.md +0 -49
  1385. package/systems/5e/world/creatures/Night Hag.md +0 -50
  1386. package/systems/5e/world/creatures/Nightmare.md +0 -39
  1387. package/systems/5e/world/creatures/Noble.md +0 -36
  1388. package/systems/5e/world/creatures/Ochre Jelly.md +0 -42
  1389. package/systems/5e/world/creatures/Octopus.md +0 -41
  1390. package/systems/5e/world/creatures/Ogre Zombie.md +0 -34
  1391. package/systems/5e/world/creatures/Ogre.md +0 -30
  1392. package/systems/5e/world/creatures/Oni.md +0 -53
  1393. package/systems/5e/world/creatures/Orc.md +0 -36
  1394. package/systems/5e/world/creatures/Otyugh.md +0 -42
  1395. package/systems/5e/world/creatures/Owl.md +0 -35
  1396. package/systems/5e/world/creatures/Owlbear.md +0 -38
  1397. package/systems/5e/world/creatures/Panther.md +0 -37
  1398. package/systems/5e/world/creatures/Pegasus.md +0 -28
  1399. package/systems/5e/world/creatures/Phase Spider.md +0 -41
  1400. package/systems/5e/world/creatures/Pit Fiend.md +0 -61
  1401. package/systems/5e/world/creatures/Planetar.md +0 -56
  1402. package/systems/5e/world/creatures/Plesiosaurus.md +0 -32
  1403. package/systems/5e/world/creatures/Poisonous Snake.md +0 -26
  1404. package/systems/5e/world/creatures/Polar Bear.md +0 -38
  1405. package/systems/5e/world/creatures/Pony.md +0 -24
  1406. package/systems/5e/world/creatures/Priest.md +0 -47
  1407. package/systems/5e/world/creatures/Pseudodragon.md +0 -44
  1408. package/systems/5e/world/creatures/Purple Worm.md +0 -42
  1409. package/systems/5e/world/creatures/Quasit.md +0 -44
  1410. package/systems/5e/world/creatures/Quipper.md +0 -36
  1411. package/systems/5e/world/creatures/Rakshasa.md +0 -45
  1412. package/systems/5e/world/creatures/Rat.md +0 -30
  1413. package/systems/5e/world/creatures/Raven.md +0 -31
  1414. package/systems/5e/world/creatures/Red Dragon Wyrmling.md +0 -36
  1415. package/systems/5e/world/creatures/Reef Shark.md +0 -38
  1416. package/systems/5e/world/creatures/Remorhaz.md +0 -39
  1417. package/systems/5e/world/creatures/Rhinoceros.md +0 -30
  1418. package/systems/5e/world/creatures/Riding Horse.md +0 -24
  1419. package/systems/5e/world/creatures/Roc.md +0 -39
  1420. package/systems/5e/world/creatures/Rock Gnome.md +0 -27
  1421. package/systems/5e/world/creatures/Roper.md +0 -48
  1422. package/systems/5e/world/creatures/Rug of Smothering.md +0 -38
  1423. package/systems/5e/world/creatures/Rust Monster.md +0 -39
  1424. package/systems/5e/world/creatures/Saber-Toothed Tiger.md +0 -36
  1425. package/systems/5e/world/creatures/Sahuagin.md +0 -49
  1426. package/systems/5e/world/creatures/Salamander.md +0 -44
  1427. package/systems/5e/world/creatures/Satyr.md +0 -38
  1428. package/systems/5e/world/creatures/Scorpion.md +0 -26
  1429. package/systems/5e/world/creatures/Scout.md +0 -40
  1430. package/systems/5e/world/creatures/Sea Hag.md +0 -46
  1431. package/systems/5e/world/creatures/Sea Horse.md +0 -25
  1432. package/systems/5e/world/creatures/Shadow.md +0 -45
  1433. package/systems/5e/world/creatures/Shambling Mound.md +0 -42
  1434. package/systems/5e/world/creatures/Shield Guardian.md +0 -49
  1435. package/systems/5e/world/creatures/Shrieker.md +0 -31
  1436. package/systems/5e/world/creatures/Silver Dragon Wyrmling.md +0 -39
  1437. package/systems/5e/world/creatures/Skeleton.md +0 -33
  1438. package/systems/5e/world/creatures/Solar.md +0 -77
  1439. package/systems/5e/world/creatures/Specter.md +0 -38
  1440. package/systems/5e/world/creatures/Spider.md +0 -38
  1441. package/systems/5e/world/creatures/Spirit Naga.md +0 -50
  1442. package/systems/5e/world/creatures/Sprite.md +0 -37
  1443. package/systems/5e/world/creatures/Spy.md +0 -42
  1444. package/systems/5e/world/creatures/Steam Mephit.md +0 -40
  1445. package/systems/5e/world/creatures/Stirge.md +0 -29
  1446. package/systems/5e/world/creatures/Stone Giant.md +0 -45
  1447. package/systems/5e/world/creatures/Stone Golem.md +0 -46
  1448. package/systems/5e/world/creatures/Storm Giant.md +0 -51
  1449. package/systems/5e/world/creatures/Succubus-Incubus.md +0 -50
  1450. package/systems/5e/world/creatures/Swarm of Bats.md +0 -39
  1451. package/systems/5e/world/creatures/Swarm of Insects.md +0 -52
  1452. package/systems/5e/world/creatures/Swarm of Poisonous Snakes.md +0 -33
  1453. package/systems/5e/world/creatures/Swarm of Quippers.md +0 -39
  1454. package/systems/5e/world/creatures/Swarm of Rats.md +0 -35
  1455. package/systems/5e/world/creatures/Swarm of Ravens.md +0 -33
  1456. package/systems/5e/world/creatures/Tarrasque.md +0 -78
  1457. package/systems/5e/world/creatures/Thug.md +0 -40
  1458. package/systems/5e/world/creatures/Tiefling.md +0 -40
  1459. package/systems/5e/world/creatures/Tiger.md +0 -37
  1460. package/systems/5e/world/creatures/Treant.md +0 -45
  1461. package/systems/5e/world/creatures/Tribal Warrior.md +0 -33
  1462. package/systems/5e/world/creatures/Triceratops.md +0 -33
  1463. package/systems/5e/world/creatures/Troll.md +0 -42
  1464. package/systems/5e/world/creatures/Tyrannosaurus Rex.md +0 -32
  1465. package/systems/5e/world/creatures/Unicorn.md +0 -71
  1466. package/systems/5e/world/creatures/Vampire Spawn.md +0 -55
  1467. package/systems/5e/world/creatures/Vampire.md +0 -93
  1468. package/systems/5e/world/creatures/Veteran.md +0 -38
  1469. package/systems/5e/world/creatures/Violet Fungus.md +0 -34
  1470. package/systems/5e/world/creatures/Vrock.md +0 -49
  1471. package/systems/5e/world/creatures/Vulture.md +0 -34
  1472. package/systems/5e/world/creatures/Warhorse Skeleton.md +0 -29
  1473. package/systems/5e/world/creatures/Warhorse.md +0 -29
  1474. package/systems/5e/world/creatures/Water Elemental.md +0 -47
  1475. package/systems/5e/world/creatures/Weasel.md +0 -30
  1476. package/systems/5e/world/creatures/Werebear.md +0 -45
  1477. package/systems/5e/world/creatures/Wereboar.md +0 -45
  1478. package/systems/5e/world/creatures/Wererat.md +0 -45
  1479. package/systems/5e/world/creatures/Weretiger.md +0 -51
  1480. package/systems/5e/world/creatures/Werewolf.md +0 -45
  1481. package/systems/5e/world/creatures/White Dragon Wyrmling.md +0 -37
  1482. package/systems/5e/world/creatures/Wight.md +0 -47
  1483. package/systems/5e/world/creatures/Will-o'-Wisp.md +0 -47
  1484. package/systems/5e/world/creatures/Winter Wolf.md +0 -44
  1485. package/systems/5e/world/creatures/Wolf.md +0 -34
  1486. package/systems/5e/world/creatures/Worg.md +0 -35
  1487. package/systems/5e/world/creatures/Wraith.md +0 -41
  1488. package/systems/5e/world/creatures/Wyvern.md +0 -37
  1489. package/systems/5e/world/creatures/Xorn.md +0 -48
  1490. package/systems/5e/world/creatures/Young Black Dragon.md +0 -47
  1491. package/systems/5e/world/creatures/Young Blue Dragon.md +0 -42
  1492. package/systems/5e/world/creatures/Young Brass Dragon.md +0 -46
  1493. package/systems/5e/world/creatures/Young Bronze Dragon.md +0 -51
  1494. package/systems/5e/world/creatures/Young Copper Dragon.md +0 -46
  1495. package/systems/5e/world/creatures/Young Gold Dragon.md +0 -51
  1496. package/systems/5e/world/creatures/Young Green Dragon.md +0 -48
  1497. package/systems/5e/world/creatures/Young Red Dragon.md +0 -42
  1498. package/systems/5e/world/creatures/Young Silver Dragon.md +0 -45
  1499. package/systems/5e/world/creatures/Young White Dragon.md +0 -48
  1500. package/systems/5e/world/creatures/Zombie.md +0 -34
  1501. package/systems/5e/world/items/Abacus.md +0 -6
  1502. package/systems/5e/world/items/Acid.md +0 -9
  1503. package/systems/5e/world/items/Adamantine Armor.md +0 -7
  1504. package/systems/5e/world/items/Alchemist's Fire.md +0 -9
  1505. package/systems/5e/world/items/Alchemist's Supplies.md +0 -8
  1506. package/systems/5e/world/items/Ammunition, +1, +2, or +3.md +0 -7
  1507. package/systems/5e/world/items/Amulet of Health.md +0 -9
  1508. package/systems/5e/world/items/Amulet of Proof against Detection and Location.md +0 -8
  1509. package/systems/5e/world/items/Amulet of the Planes.md +0 -8
  1510. package/systems/5e/world/items/Amulet.md +0 -8
  1511. package/systems/5e/world/items/Animated Shield.md +0 -8
  1512. package/systems/5e/world/items/Antitoxin.md +0 -8
  1513. package/systems/5e/world/items/Apparatus of the Crab.md +0 -38
  1514. package/systems/5e/world/items/Armor of Invulnerability.md +0 -9
  1515. package/systems/5e/world/items/Armor of Resistance.md +0 -16
  1516. package/systems/5e/world/items/Armor of Vulnerability.md +0 -10
  1517. package/systems/5e/world/items/Armor, +1, +2, or +3.md +0 -7
  1518. package/systems/5e/world/items/Arrow of Slaying.md +0 -11
  1519. package/systems/5e/world/items/Arrow-Catching Shield.md +0 -8
  1520. package/systems/5e/world/items/Arrows.md +0 -8
  1521. package/systems/5e/world/items/Backpack.md +0 -6
  1522. package/systems/5e/world/items/Bag of Beans.md +0 -26
  1523. package/systems/5e/world/items/Bag of Devouring.md +0 -13
  1524. package/systems/5e/world/items/Bag of Holding.md +0 -13
  1525. package/systems/5e/world/items/Bag of Tricks.md +0 -52
  1526. package/systems/5e/world/items/Bagpipes.md +0 -8
  1527. package/systems/5e/world/items/Ball Bearings.md +0 -9
  1528. package/systems/5e/world/items/Barding.md +0 -8
  1529. package/systems/5e/world/items/Barrel.md +0 -6
  1530. package/systems/5e/world/items/Basic Poison.md +0 -8
  1531. package/systems/5e/world/items/Basket.md +0 -6
  1532. package/systems/5e/world/items/Battleaxe.md +0 -11
  1533. package/systems/5e/world/items/Bead of Force.md +0 -11
  1534. package/systems/5e/world/items/Bedroll.md +0 -6
  1535. package/systems/5e/world/items/Bell.md +0 -5
  1536. package/systems/5e/world/items/Belt of Dwarvenkind.md +0 -19
  1537. package/systems/5e/world/items/Belt of Giant Strength.md +0 -18
  1538. package/systems/5e/world/items/Berserker Axe.md +0 -12
  1539. package/systems/5e/world/items/Bit and Bridle.md +0 -6
  1540. package/systems/5e/world/items/Blanket.md +0 -6
  1541. package/systems/5e/world/items/Block and Tackle.md +0 -8
  1542. package/systems/5e/world/items/Blowgun Needles.md +0 -8
  1543. package/systems/5e/world/items/Blowgun.md +0 -11
  1544. package/systems/5e/world/items/Book.md +0 -8
  1545. package/systems/5e/world/items/Boots of Elvenkind.md +0 -7
  1546. package/systems/5e/world/items/Boots of Levitation.md +0 -8
  1547. package/systems/5e/world/items/Boots of Speed.md +0 -10
  1548. package/systems/5e/world/items/Boots of Striding and Springing.md +0 -8
  1549. package/systems/5e/world/items/Boots of the Winterlands.md +0 -13
  1550. package/systems/5e/world/items/Bowl of Commanding Water Elementals.md +0 -9
  1551. package/systems/5e/world/items/Bracers of Archery.md +0 -8
  1552. package/systems/5e/world/items/Bracers of Defense.md +0 -8
  1553. package/systems/5e/world/items/Brazier of Commanding Fire Elementals.md +0 -9
  1554. package/systems/5e/world/items/Breastplate.md +0 -10
  1555. package/systems/5e/world/items/Brewer's Supplies.md +0 -8
  1556. package/systems/5e/world/items/Brooch of Shielding.md +0 -9
  1557. package/systems/5e/world/items/Broom of Flying.md +0 -9
  1558. package/systems/5e/world/items/Bucket.md +0 -6
  1559. package/systems/5e/world/items/Bullseye Lantern.md +0 -9
  1560. package/systems/5e/world/items/Burglar's Pack.md +0 -9
  1561. package/systems/5e/world/items/Calligrapher's Supplies.md +0 -8
  1562. package/systems/5e/world/items/Caltrops.md +0 -9
  1563. package/systems/5e/world/items/Candle of Invocation.md +0 -26
  1564. package/systems/5e/world/items/Candle.md +0 -7
  1565. package/systems/5e/world/items/Cape of the Mountebank.md +0 -9
  1566. package/systems/5e/world/items/Carpenter's Tools.md +0 -8
  1567. package/systems/5e/world/items/Carpet of Flying.md +0 -18
  1568. package/systems/5e/world/items/Carriage.md +0 -6
  1569. package/systems/5e/world/items/Cart.md +0 -6
  1570. package/systems/5e/world/items/Cartographer's Tools.md +0 -8
  1571. package/systems/5e/world/items/Censer of Controlling Air Elementals.md +0 -9
  1572. package/systems/5e/world/items/Chain Mail.md +0 -13
  1573. package/systems/5e/world/items/Chain Shirt.md +0 -10
  1574. package/systems/5e/world/items/Chain.md +0 -10
  1575. package/systems/5e/world/items/Chalk.md +0 -6
  1576. package/systems/5e/world/items/Chariot.md +0 -6
  1577. package/systems/5e/world/items/Chest.md +0 -6
  1578. package/systems/5e/world/items/Chime of Opening.md +0 -9
  1579. package/systems/5e/world/items/Circlet of Blasting.md +0 -7
  1580. package/systems/5e/world/items/Climber's Kit.md +0 -8
  1581. package/systems/5e/world/items/Cloak of Arachnida.md +0 -15
  1582. package/systems/5e/world/items/Cloak of Displacement.md +0 -8
  1583. package/systems/5e/world/items/Cloak of Elvenkind.md +0 -8
  1584. package/systems/5e/world/items/Cloak of Protection.md +0 -10
  1585. package/systems/5e/world/items/Cloak of the Bat.md +0 -10
  1586. package/systems/5e/world/items/Cloak of the Manta Ray.md +0 -7
  1587. package/systems/5e/world/items/Club.md +0 -11
  1588. package/systems/5e/world/items/Cobbler's Tools.md +0 -8
  1589. package/systems/5e/world/items/Common Clothes.md +0 -7
  1590. package/systems/5e/world/items/Component Pouch.md +0 -8
  1591. package/systems/5e/world/items/Cook's Utensils.md +0 -8
  1592. package/systems/5e/world/items/Costume Clothes.md +0 -7
  1593. package/systems/5e/world/items/Crossbow Bolt Case.md +0 -9
  1594. package/systems/5e/world/items/Crossbow Bolts.md +0 -8
  1595. package/systems/5e/world/items/Crowbar.md +0 -8
  1596. package/systems/5e/world/items/Crystal Ball.md +0 -16
  1597. package/systems/5e/world/items/Crystal.md +0 -8
  1598. package/systems/5e/world/items/Cube of Force.md +0 -34
  1599. package/systems/5e/world/items/Cubic Gate.md +0 -12
  1600. package/systems/5e/world/items/Dagger of Venom.md +0 -9
  1601. package/systems/5e/world/items/Dagger.md +0 -11
  1602. package/systems/5e/world/items/Dancing Sword.md +0 -12
  1603. package/systems/5e/world/items/Dart.md +0 -11
  1604. package/systems/5e/world/items/Decanter of Endless Water.md +0 -13
  1605. package/systems/5e/world/items/Deck of Illusions.md +0 -49
  1606. package/systems/5e/world/items/Deck of Many Things.md +0 -114
  1607. package/systems/5e/world/items/Defender.md +0 -10
  1608. package/systems/5e/world/items/Demon Armor.md +0 -10
  1609. package/systems/5e/world/items/Dice Set.md +0 -7
  1610. package/systems/5e/world/items/Dimensional Shackles.md +0 -9
  1611. package/systems/5e/world/items/Diplomat's Pack.md +0 -9
  1612. package/systems/5e/world/items/Disguise Kit.md +0 -8
  1613. package/systems/5e/world/items/Dragon Scale Mail.md +0 -20
  1614. package/systems/5e/world/items/Dragon Slayer.md +0 -9
  1615. package/systems/5e/world/items/Drum.md +0 -8
  1616. package/systems/5e/world/items/Dulcimer.md +0 -8
  1617. package/systems/5e/world/items/Dungeoneer's Pack.md +0 -9
  1618. package/systems/5e/world/items/Dust of Disappearance.md +0 -7
  1619. package/systems/5e/world/items/Dust of Dryness.md +0 -11
  1620. package/systems/5e/world/items/Dust of Sneezing and Choking.md +0 -9
  1621. package/systems/5e/world/items/Dwarven Plate.md +0 -7
  1622. package/systems/5e/world/items/Dwarven Thrower.md +0 -8
  1623. package/systems/5e/world/items/Efficient Quiver.md +0 -9
  1624. package/systems/5e/world/items/Efreeti Bottle.md +0 -15
  1625. package/systems/5e/world/items/Elemental Gem.md +0 -14
  1626. package/systems/5e/world/items/Elven Chain.md +0 -7
  1627. package/systems/5e/world/items/Emblem.md +0 -7
  1628. package/systems/5e/world/items/Entertainer's Pack.md +0 -9
  1629. package/systems/5e/world/items/Eversmoking Bottle.md +0 -9
  1630. package/systems/5e/world/items/Exotic Saddle.md +0 -8
  1631. package/systems/5e/world/items/Explorer's Pack.md +0 -9
  1632. package/systems/5e/world/items/Eyes of Charming.md +0 -8
  1633. package/systems/5e/world/items/Eyes of Minute Seeing.md +0 -7
  1634. package/systems/5e/world/items/Eyes of the Eagle.md +0 -8
  1635. package/systems/5e/world/items/Feather Token.md +0 -27
  1636. package/systems/5e/world/items/Feed.md +0 -7
  1637. package/systems/5e/world/items/Figurine of Wondrous Power.md +0 -53
  1638. package/systems/5e/world/items/Fine Clothes.md +0 -7
  1639. package/systems/5e/world/items/Fishing Tackle.md +0 -8
  1640. package/systems/5e/world/items/Flail.md +0 -10
  1641. package/systems/5e/world/items/Flame Tongue.md +0 -8
  1642. package/systems/5e/world/items/Flask or Tankard.md +0 -6
  1643. package/systems/5e/world/items/Flute.md +0 -8
  1644. package/systems/5e/world/items/Folding Boat.md +0 -15
  1645. package/systems/5e/world/items/Forgery Kit.md +0 -8
  1646. package/systems/5e/world/items/Frost Brand.md +0 -13
  1647. package/systems/5e/world/items/Galley.md +0 -6
  1648. package/systems/5e/world/items/Gauntlets of Ogre Power.md +0 -9
  1649. package/systems/5e/world/items/Gem of Brightness.md +0 -14
  1650. package/systems/5e/world/items/Gem of Seeing.md +0 -11
  1651. package/systems/5e/world/items/Giant Slayer.md +0 -9
  1652. package/systems/5e/world/items/Glaive.md +0 -11
  1653. package/systems/5e/world/items/Glamoured Studded Leather.md +0 -7
  1654. package/systems/5e/world/items/Glass Bottle.md +0 -7
  1655. package/systems/5e/world/items/Glassblower's Tools.md +0 -8
  1656. package/systems/5e/world/items/Gloves of Missile Snaring.md +0 -8
  1657. package/systems/5e/world/items/Gloves of Swimming and Climbing.md +0 -8
  1658. package/systems/5e/world/items/Goggles of Night.md +0 -7
  1659. package/systems/5e/world/items/Grappling Hook.md +0 -6
  1660. package/systems/5e/world/items/Greataxe.md +0 -11
  1661. package/systems/5e/world/items/Greatclub.md +0 -11
  1662. package/systems/5e/world/items/Greatsword.md +0 -11
  1663. package/systems/5e/world/items/Halberd.md +0 -11
  1664. package/systems/5e/world/items/Half Plate Armor.md +0 -12
  1665. package/systems/5e/world/items/Hammer of Thunderbolts.md +0 -12
  1666. package/systems/5e/world/items/Hammer.md +0 -6
  1667. package/systems/5e/world/items/Hand Crossbow.md +0 -12
  1668. package/systems/5e/world/items/Handaxe.md +0 -11
  1669. package/systems/5e/world/items/Handy Haversack.md +0 -15
  1670. package/systems/5e/world/items/Hat of Disguise.md +0 -8
  1671. package/systems/5e/world/items/Headband of Intellect.md +0 -9
  1672. package/systems/5e/world/items/Healer's Kit.md +0 -9
  1673. package/systems/5e/world/items/Heavy Crossbow.md +0 -12
  1674. package/systems/5e/world/items/Helm of Brilliance.md +0 -17
  1675. package/systems/5e/world/items/Helm of Comprehending Languages.md +0 -7
  1676. package/systems/5e/world/items/Helm of Telepathy.md +0 -10
  1677. package/systems/5e/world/items/Helm of Teleportation.md +0 -9
  1678. package/systems/5e/world/items/Hempen Rope.md +0 -10
  1679. package/systems/5e/world/items/Herbalism Kit.md +0 -8
  1680. package/systems/5e/world/items/Hide Armor.md +0 -11
  1681. package/systems/5e/world/items/Holy Avenger.md +0 -10
  1682. package/systems/5e/world/items/Holy Water.md +0 -11
  1683. package/systems/5e/world/items/Hooded Lantern.md +0 -9
  1684. package/systems/5e/world/items/Horn of Blasting.md +0 -9
  1685. package/systems/5e/world/items/Horn of Valhalla.md +0 -18
  1686. package/systems/5e/world/items/Horn.md +0 -8
  1687. package/systems/5e/world/items/Horseshoes of Speed.md +0 -7
  1688. package/systems/5e/world/items/Horseshoes of a Zephyr.md +0 -7
  1689. package/systems/5e/world/items/Hourglass.md +0 -6
  1690. package/systems/5e/world/items/Hunting Trap.md +0 -8
  1691. package/systems/5e/world/items/Immovable Rod.md +0 -7
  1692. package/systems/5e/world/items/Ink Pen.md +0 -5
  1693. package/systems/5e/world/items/Ink.md +0 -6
  1694. package/systems/5e/world/items/Instant Fortress.md +0 -13
  1695. package/systems/5e/world/items/Ioun Stone.md +0 -48
  1696. package/systems/5e/world/items/Iron Bands of Binding.md +0 -13
  1697. package/systems/5e/world/items/Iron Flask.md +0 -34
  1698. package/systems/5e/world/items/Iron Pot.md +0 -7
  1699. package/systems/5e/world/items/Iron Spikes.md +0 -8
  1700. package/systems/5e/world/items/Javelin of Lightning.md +0 -9
  1701. package/systems/5e/world/items/Javelin.md +0 -11
  1702. package/systems/5e/world/items/Jeweler's Tools.md +0 -8
  1703. package/systems/5e/world/items/Jug or Pitcher.md +0 -6
  1704. package/systems/5e/world/items/Keelboat.md +0 -8
  1705. package/systems/5e/world/items/Ladder.md +0 -8
  1706. package/systems/5e/world/items/Lamp.md +0 -8
  1707. package/systems/5e/world/items/Lance.md +0 -13
  1708. package/systems/5e/world/items/Lantern of Revealing.md +0 -7
  1709. package/systems/5e/world/items/Leather Armor.md +0 -11
  1710. package/systems/5e/world/items/Leatherworker's Tools.md +0 -8
  1711. package/systems/5e/world/items/Light Crossbow.md +0 -12
  1712. package/systems/5e/world/items/Light Hammer.md +0 -11
  1713. package/systems/5e/world/items/Lock.md +0 -8
  1714. package/systems/5e/world/items/Longbow.md +0 -11
  1715. package/systems/5e/world/items/Longship.md +0 -6
  1716. package/systems/5e/world/items/Longsword.md +0 -11
  1717. package/systems/5e/world/items/Luck Blade.md +0 -12
  1718. package/systems/5e/world/items/Lute.md +0 -8
  1719. package/systems/5e/world/items/Lyre.md +0 -8
  1720. package/systems/5e/world/items/Mace of Disruption.md +0 -10
  1721. package/systems/5e/world/items/Mace of Smiting.md +0 -9
  1722. package/systems/5e/world/items/Mace of Terror.md +0 -11
  1723. package/systems/5e/world/items/Mace.md +0 -10
  1724. package/systems/5e/world/items/Magnifying Glass.md +0 -7
  1725. package/systems/5e/world/items/Manacles.md +0 -8
  1726. package/systems/5e/world/items/Mantle of Spell Resistance.md +0 -8
  1727. package/systems/5e/world/items/Manual of Bodily Health.md +0 -7
  1728. package/systems/5e/world/items/Manual of Gainful Exercise.md +0 -7
  1729. package/systems/5e/world/items/Manual of Golems.md +0 -18
  1730. package/systems/5e/world/items/Manual of Quickness of Action.md +0 -7
  1731. package/systems/5e/world/items/Map or Scroll Case.md +0 -9
  1732. package/systems/5e/world/items/Marvelous Pigments.md +0 -15
  1733. package/systems/5e/world/items/Mason's Tools.md +0 -8
  1734. package/systems/5e/world/items/Maul.md +0 -11
  1735. package/systems/5e/world/items/Medallion of Thoughts.md +0 -9
  1736. package/systems/5e/world/items/Merchant's Scale.md +0 -9
  1737. package/systems/5e/world/items/Mess Kit.md +0 -8
  1738. package/systems/5e/world/items/Military Saddle.md +0 -8
  1739. package/systems/5e/world/items/Miner's Pick.md +0 -7
  1740. package/systems/5e/world/items/Mirror of Life Trapping.md +0 -19
  1741. package/systems/5e/world/items/Mithral Armor.md +0 -7
  1742. package/systems/5e/world/items/Morningstar.md +0 -10
  1743. package/systems/5e/world/items/Navigator's Tools.md +0 -8
  1744. package/systems/5e/world/items/Necklace of Adaptation.md +0 -8
  1745. package/systems/5e/world/items/Necklace of Fireballs.md +0 -9
  1746. package/systems/5e/world/items/Necklace of Prayer Beads.md +0 -19
  1747. package/systems/5e/world/items/Net.md +0 -13
  1748. package/systems/5e/world/items/Nine Lives Stealer.md +0 -10
  1749. package/systems/5e/world/items/Oathbow.md +0 -12
  1750. package/systems/5e/world/items/Oil of Etherealness.md +0 -7
  1751. package/systems/5e/world/items/Oil of Sharpness.md +0 -7
  1752. package/systems/5e/world/items/Oil of Slipperiness.md +0 -9
  1753. package/systems/5e/world/items/Oil.md +0 -9
  1754. package/systems/5e/world/items/Orb of Dragonkind.md +0 -33
  1755. package/systems/5e/world/items/Orb.md +0 -8
  1756. package/systems/5e/world/items/Pack Saddle.md +0 -8
  1757. package/systems/5e/world/items/Padded Armor.md +0 -12
  1758. package/systems/5e/world/items/Painter's Supplies.md +0 -8
  1759. package/systems/5e/world/items/Pan Flute.md +0 -8
  1760. package/systems/5e/world/items/Paper.md +0 -6
  1761. package/systems/5e/world/items/Parchment.md +0 -6
  1762. package/systems/5e/world/items/Pearl of Power.md +0 -8
  1763. package/systems/5e/world/items/Perfume.md +0 -6
  1764. package/systems/5e/world/items/Periapt of Health.md +0 -7
  1765. package/systems/5e/world/items/Periapt of Proof against Poison.md +0 -7
  1766. package/systems/5e/world/items/Periapt of Wound Closure.md +0 -8
  1767. package/systems/5e/world/items/Philter of Love.md +0 -7
  1768. package/systems/5e/world/items/Pike.md +0 -11
  1769. package/systems/5e/world/items/Pipes of Haunting.md +0 -7
  1770. package/systems/5e/world/items/Pipes of the Sewers.md +0 -12
  1771. package/systems/5e/world/items/Piton.md +0 -6
  1772. package/systems/5e/world/items/Plate Armor of Etherealness.md +0 -8
  1773. package/systems/5e/world/items/Plate Armor.md +0 -14
  1774. package/systems/5e/world/items/Playing Card Set.md +0 -7
  1775. package/systems/5e/world/items/Poisoner's Kit.md +0 -8
  1776. package/systems/5e/world/items/Pole.md +0 -8
  1777. package/systems/5e/world/items/Portable Hole.md +0 -16
  1778. package/systems/5e/world/items/Portable Ram.md +0 -9
  1779. package/systems/5e/world/items/Potion of Animal Friendship.md +0 -7
  1780. package/systems/5e/world/items/Potion of Clairvoyance.md +0 -7
  1781. package/systems/5e/world/items/Potion of Climbing.md +0 -7
  1782. package/systems/5e/world/items/Potion of Diminution.md +0 -7
  1783. package/systems/5e/world/items/Potion of Flying.md +0 -7
  1784. package/systems/5e/world/items/Potion of Gaseous Form.md +0 -7
  1785. package/systems/5e/world/items/Potion of Giant Strength.md +0 -17
  1786. package/systems/5e/world/items/Potion of Growth.md +0 -7
  1787. package/systems/5e/world/items/Potion of Healing.md +0 -20
  1788. package/systems/5e/world/items/Potion of Heroism.md +0 -7
  1789. package/systems/5e/world/items/Potion of Invisibility.md +0 -7
  1790. package/systems/5e/world/items/Potion of Mind Reading.md +0 -7
  1791. package/systems/5e/world/items/Potion of Poison.md +0 -9
  1792. package/systems/5e/world/items/Potion of Resistance.md +0 -15
  1793. package/systems/5e/world/items/Potion of Speed.md +0 -7
  1794. package/systems/5e/world/items/Potion of Water Breathing.md +0 -7
  1795. package/systems/5e/world/items/Potter's Tools.md +0 -8
  1796. package/systems/5e/world/items/Pouch.md +0 -8
  1797. package/systems/5e/world/items/Priest's Pack.md +0 -9
  1798. package/systems/5e/world/items/Quarterstaff.md +0 -11
  1799. package/systems/5e/world/items/Quiver.md +0 -8
  1800. package/systems/5e/world/items/Rapier.md +0 -11
  1801. package/systems/5e/world/items/Rations.md +0 -9
  1802. package/systems/5e/world/items/Reliquary.md +0 -8
  1803. package/systems/5e/world/items/Restorative Ointment.md +0 -9
  1804. package/systems/5e/world/items/Riding Saddle.md +0 -8
  1805. package/systems/5e/world/items/Ring Mail.md +0 -11
  1806. package/systems/5e/world/items/Ring of Animal Influence.md +0 -12
  1807. package/systems/5e/world/items/Ring of Djinni Summoning.md +0 -12
  1808. package/systems/5e/world/items/Ring of Elemental Command.md +0 -43
  1809. package/systems/5e/world/items/Ring of Evasion.md +0 -9
  1810. package/systems/5e/world/items/Ring of Feather Falling.md +0 -8
  1811. package/systems/5e/world/items/Ring of Free Action.md +0 -8
  1812. package/systems/5e/world/items/Ring of Invisibility.md +0 -8
  1813. package/systems/5e/world/items/Ring of Jumping.md +0 -8
  1814. package/systems/5e/world/items/Ring of Mind Shielding.md +0 -12
  1815. package/systems/5e/world/items/Ring of Protection.md +0 -10
  1816. package/systems/5e/world/items/Ring of Regeneration.md +0 -8
  1817. package/systems/5e/world/items/Ring of Resistance.md +0 -21
  1818. package/systems/5e/world/items/Ring of Shooting Stars.md +0 -28
  1819. package/systems/5e/world/items/Ring of Spell Storing.md +0 -12
  1820. package/systems/5e/world/items/Ring of Spell Turning.md +0 -8
  1821. package/systems/5e/world/items/Ring of Swimming.md +0 -7
  1822. package/systems/5e/world/items/Ring of Telekinesis.md +0 -8
  1823. package/systems/5e/world/items/Ring of Three Wishes.md +0 -7
  1824. package/systems/5e/world/items/Ring of Warmth.md +0 -9
  1825. package/systems/5e/world/items/Ring of Water Walking.md +0 -7
  1826. package/systems/5e/world/items/Ring of X-ray Vision.md +0 -10
  1827. package/systems/5e/world/items/Ring of the Ram.md +0 -11
  1828. package/systems/5e/world/items/Robe of Eyes.md +0 -16
  1829. package/systems/5e/world/items/Robe of Scintillating Colors.md +0 -9
  1830. package/systems/5e/world/items/Robe of Stars.md +0 -12
  1831. package/systems/5e/world/items/Robe of Useful Items.md +0 -34
  1832. package/systems/5e/world/items/Robe of the Archmagi.md +0 -16
  1833. package/systems/5e/world/items/Robes.md +0 -6
  1834. package/systems/5e/world/items/Rod of Absorption.md +0 -14
  1835. package/systems/5e/world/items/Rod of Alertness.md +0 -16
  1836. package/systems/5e/world/items/Rod of Lordly Might.md +0 -28
  1837. package/systems/5e/world/items/Rod of Rulership.md +0 -8
  1838. package/systems/5e/world/items/Rod of Security.md +0 -11
  1839. package/systems/5e/world/items/Rod.md +0 -8
  1840. package/systems/5e/world/items/Rope of Climbing.md +0 -11
  1841. package/systems/5e/world/items/Rope of Entanglement.md +0 -11
  1842. package/systems/5e/world/items/Rowboat.md +0 -8
  1843. package/systems/5e/world/items/Sack.md +0 -6
  1844. package/systems/5e/world/items/Saddlebags.md +0 -6
  1845. package/systems/5e/world/items/Sailing Ship.md +0 -6
  1846. package/systems/5e/world/items/Scale Mail.md +0 -11
  1847. package/systems/5e/world/items/Scarab of Protection.md +0 -12
  1848. package/systems/5e/world/items/Scholar's Pack.md +0 -9
  1849. package/systems/5e/world/items/Scimitar of Speed.md +0 -8
  1850. package/systems/5e/world/items/Scimitar.md +0 -11
  1851. package/systems/5e/world/items/Sealing Wax.md +0 -5
  1852. package/systems/5e/world/items/Shawm.md +0 -8
  1853. package/systems/5e/world/items/Shield of Missile Attraction.md +0 -11
  1854. package/systems/5e/world/items/Shield, +1, +2, or +3.md +0 -7
  1855. package/systems/5e/world/items/Shield.md +0 -10
  1856. package/systems/5e/world/items/Shortbow.md +0 -11
  1857. package/systems/5e/world/items/Shortsword.md +0 -11
  1858. package/systems/5e/world/items/Shovel.md +0 -6
  1859. package/systems/5e/world/items/Sickle.md +0 -11
  1860. package/systems/5e/world/items/Signal Whistle.md +0 -5
  1861. package/systems/5e/world/items/Signet Ring.md +0 -5
  1862. package/systems/5e/world/items/Silk Rope.md +0 -10
  1863. package/systems/5e/world/items/Sled.md +0 -6
  1864. package/systems/5e/world/items/Sledgehammer.md +0 -7
  1865. package/systems/5e/world/items/Sling Bullets.md +0 -8
  1866. package/systems/5e/world/items/Sling.md +0 -10
  1867. package/systems/5e/world/items/Slippers of Spider Climbing.md +0 -8
  1868. package/systems/5e/world/items/Smith's Tools.md +0 -8
  1869. package/systems/5e/world/items/Soap.md +0 -5
  1870. package/systems/5e/world/items/Sovereign Glue.md +0 -9
  1871. package/systems/5e/world/items/Spear.md +0 -11
  1872. package/systems/5e/world/items/Spell Scroll.md +0 -28
  1873. package/systems/5e/world/items/Spellbook.md +0 -8
  1874. package/systems/5e/world/items/Spellguard Shield.md +0 -8
  1875. package/systems/5e/world/items/Sphere of Annihilation.md +0 -21
  1876. package/systems/5e/world/items/Splint Armor.md +0 -14
  1877. package/systems/5e/world/items/Sprig of Mistletoe.md +0 -7
  1878. package/systems/5e/world/items/Spyglass.md +0 -8
  1879. package/systems/5e/world/items/Staff of Charming.md +0 -12
  1880. package/systems/5e/world/items/Staff of Fire.md +0 -14
  1881. package/systems/5e/world/items/Staff of Frost.md +0 -14
  1882. package/systems/5e/world/items/Staff of Healing.md +0 -11
  1883. package/systems/5e/world/items/Staff of Power.md +0 -28
  1884. package/systems/5e/world/items/Staff of Striking.md +0 -11
  1885. package/systems/5e/world/items/Staff of Swarming Insects.md +0 -13
  1886. package/systems/5e/world/items/Staff of Thunder and Lightning.md +0 -18
  1887. package/systems/5e/world/items/Staff of Withering.md +0 -11
  1888. package/systems/5e/world/items/Staff of the Magi.md +0 -28
  1889. package/systems/5e/world/items/Staff of the Python.md +0 -12
  1890. package/systems/5e/world/items/Staff of the Woodlands.md +0 -17
  1891. package/systems/5e/world/items/Staff.md +0 -8
  1892. package/systems/5e/world/items/Steel Mirror.md +0 -7
  1893. package/systems/5e/world/items/Stone of Controlling Earth Elementals.md +0 -7
  1894. package/systems/5e/world/items/Stone of Good Luck.md +0 -12
  1895. package/systems/5e/world/items/Studded Leather Armor.md +0 -11
  1896. package/systems/5e/world/items/Sun Blade.md +0 -12
  1897. package/systems/5e/world/items/Sword of Life Stealing.md +0 -8
  1898. package/systems/5e/world/items/Sword of Sharpness.md +0 -12
  1899. package/systems/5e/world/items/Sword of Wounding.md +0 -10
  1900. package/systems/5e/world/items/Talisman of Pure Good.md +0 -13
  1901. package/systems/5e/world/items/Talisman of Ultimate Evil.md +0 -13
  1902. package/systems/5e/world/items/Talisman of the Sphere.md +0 -8
  1903. package/systems/5e/world/items/Thieves' Tools.md +0 -8
  1904. package/systems/5e/world/items/Tinderbox.md +0 -8
  1905. package/systems/5e/world/items/Tinker's Tools.md +0 -8
  1906. package/systems/5e/world/items/Tome of Clear Thought.md +0 -7
  1907. package/systems/5e/world/items/Tome of Leadership and Influence.md +0 -7
  1908. package/systems/5e/world/items/Tome of Understanding.md +0 -7
  1909. package/systems/5e/world/items/Torch.md +0 -8
  1910. package/systems/5e/world/items/Totem.md +0 -7
  1911. package/systems/5e/world/items/Traveler's Clothes.md +0 -7
  1912. package/systems/5e/world/items/Trident of Fish Command.md +0 -9
  1913. package/systems/5e/world/items/Trident.md +0 -11
  1914. package/systems/5e/world/items/Two-Person Tent.md +0 -9
  1915. package/systems/5e/world/items/Unarmed Strike.md +0 -8
  1916. package/systems/5e/world/items/Universal Solvent.md +0 -7
  1917. package/systems/5e/world/items/Vial.md +0 -5
  1918. package/systems/5e/world/items/Vicious Weapon.md +0 -7
  1919. package/systems/5e/world/items/Viol.md +0 -8
  1920. package/systems/5e/world/items/Vorpal Sword.md +0 -10
  1921. package/systems/5e/world/items/Wagon.md +0 -6
  1922. package/systems/5e/world/items/Wand of Binding.md +0 -13
  1923. package/systems/5e/world/items/Wand of Enemy Detection.md +0 -11
  1924. package/systems/5e/world/items/Wand of Fear.md +0 -13
  1925. package/systems/5e/world/items/Wand of Fireballs.md +0 -11
  1926. package/systems/5e/world/items/Wand of Lightning Bolts.md +0 -11
  1927. package/systems/5e/world/items/Wand of Magic Detection.md +0 -8
  1928. package/systems/5e/world/items/Wand of Magic Missiles.md +0 -10
  1929. package/systems/5e/world/items/Wand of Paralysis.md +0 -11
  1930. package/systems/5e/world/items/Wand of Polymorph.md +0 -11
  1931. package/systems/5e/world/items/Wand of Secrets.md +0 -8
  1932. package/systems/5e/world/items/Wand of Web.md +0 -11
  1933. package/systems/5e/world/items/Wand of Wonder.md +0 -40
  1934. package/systems/5e/world/items/Wand of the War Mage, +1, +2, or +3.md +0 -8
  1935. package/systems/5e/world/items/Wand.md +0 -8
  1936. package/systems/5e/world/items/War Pick.md +0 -10
  1937. package/systems/5e/world/items/Warhammer.md +0 -11
  1938. package/systems/5e/world/items/Warship.md +0 -6
  1939. package/systems/5e/world/items/Waterskin.md +0 -6
  1940. package/systems/5e/world/items/Weapon, +1, +2, or +3.md +0 -7
  1941. package/systems/5e/world/items/Weaver's Tools.md +0 -8
  1942. package/systems/5e/world/items/Well of Many Worlds.md +0 -9
  1943. package/systems/5e/world/items/Whetstone.md +0 -6
  1944. package/systems/5e/world/items/Whip.md +0 -11
  1945. package/systems/5e/world/items/Wind Fan.md +0 -7
  1946. package/systems/5e/world/items/Winged Boots.md +0 -10
  1947. package/systems/5e/world/items/Wings of Flying.md +0 -8
  1948. package/systems/5e/world/items/Woodcarver's Tools.md +0 -8
  1949. package/systems/5e/world/items/Wooden Staff.md +0 -8
  1950. package/systems/5e/world/items/Yew Wand.md +0 -8
  1951. package/systems/5e/world/topics/Acid Arrow.md +0 -14
  1952. package/systems/5e/world/topics/Acid Splash.md +0 -14
  1953. package/systems/5e/world/topics/Acolyte (background).md +0 -103
  1954. package/systems/5e/world/topics/Aid.md +0 -14
  1955. package/systems/5e/world/topics/Alarm.md +0 -17
  1956. package/systems/5e/world/topics/Alter Self.md +0 -19
  1957. package/systems/5e/world/topics/Animal Friendship.md +0 -14
  1958. package/systems/5e/world/topics/Animal Messenger.md +0 -17
  1959. package/systems/5e/world/topics/Animal Shapes.md +0 -17
  1960. package/systems/5e/world/topics/Animate Dead.md +0 -18
  1961. package/systems/5e/world/topics/Animate Objects.md +0 -31
  1962. package/systems/5e/world/topics/Antilife Shell.md +0 -17
  1963. package/systems/5e/world/topics/Antimagic Field.md +0 -31
  1964. package/systems/5e/world/topics/Antipathy-Sympathy.md +0 -23
  1965. package/systems/5e/world/topics/Arcane Eye.md +0 -17
  1966. package/systems/5e/world/topics/Arcane Hand.md +0 -27
  1967. package/systems/5e/world/topics/Arcane Lock.md +0 -14
  1968. package/systems/5e/world/topics/Arcane Sword.md +0 -15
  1969. package/systems/5e/world/topics/Arcanist's Magic Aura.md +0 -18
  1970. package/systems/5e/world/topics/Astral Projection.md +0 -22
  1971. package/systems/5e/world/topics/Augury.md +0 -22
  1972. package/systems/5e/world/topics/Awaken.md +0 -14
  1973. package/systems/5e/world/topics/Bane.md +0 -15
  1974. package/systems/5e/world/topics/Banishment.md +0 -19
  1975. package/systems/5e/world/topics/Barbarian.md +0 -123
  1976. package/systems/5e/world/topics/Bard Spells.md +0 -147
  1977. package/systems/5e/world/topics/Bard.md +0 -139
  1978. package/systems/5e/world/topics/Barkskin.md +0 -13
  1979. package/systems/5e/world/topics/Beacon of Hope.md +0 -13
  1980. package/systems/5e/world/topics/Bestow Curse.md +0 -22
  1981. package/systems/5e/world/topics/Black Tentacles.md +0 -17
  1982. package/systems/5e/world/topics/Blade Barrier.md +0 -15
  1983. package/systems/5e/world/topics/Bless.md +0 -15
  1984. package/systems/5e/world/topics/Blight.md +0 -18
  1985. package/systems/5e/world/topics/Blindness-Deafness.md +0 -15
  1986. package/systems/5e/world/topics/Blink.md +0 -14
  1987. package/systems/5e/world/topics/Blur.md +0 -13
  1988. package/systems/5e/world/topics/Branding Smite.md +0 -15
  1989. package/systems/5e/world/topics/Burning Hands.md +0 -16
  1990. package/systems/5e/world/topics/Call Lightning.md +0 -19
  1991. package/systems/5e/world/topics/Calm Emotions.md +0 -17
  1992. package/systems/5e/world/topics/Chain Lightning.md +0 -16
  1993. package/systems/5e/world/topics/Champion.md +0 -24
  1994. package/systems/5e/world/topics/Charm Person.md +0 -14
  1995. package/systems/5e/world/topics/Chill Touch.md +0 -16
  1996. package/systems/5e/world/topics/Circle of Death.md +0 -14
  1997. package/systems/5e/world/topics/Circle of the Land.md +0 -96
  1998. package/systems/5e/world/topics/Clairvoyance.md +0 -17
  1999. package/systems/5e/world/topics/Cleric Spells.md +0 -140
  2000. package/systems/5e/world/topics/Cleric.md +0 -141
  2001. package/systems/5e/world/topics/Clone.md +0 -14
  2002. package/systems/5e/world/topics/Cloudkill.md +0 -19
  2003. package/systems/5e/world/topics/College of Lore.md +0 -23
  2004. package/systems/5e/world/topics/Color Spray.md +0 -16
  2005. package/systems/5e/world/topics/Command.md +0 -26
  2006. package/systems/5e/world/topics/Commune with Nature.md +0 -23
  2007. package/systems/5e/world/topics/Commune.md +0 -17
  2008. package/systems/5e/world/topics/Comprehend Languages.md +0 -15
  2009. package/systems/5e/world/topics/Compulsion.md +0 -15
  2010. package/systems/5e/world/topics/Cone of Cold.md +0 -16
  2011. package/systems/5e/world/topics/Confusion.md +0 -26
  2012. package/systems/5e/world/topics/Conjure Animals.md +0 -26
  2013. package/systems/5e/world/topics/Conjure Celestial.md +0 -19
  2014. package/systems/5e/world/topics/Conjure Elemental.md +0 -21
  2015. package/systems/5e/world/topics/Conjure Fey.md +0 -21
  2016. package/systems/5e/world/topics/Conjure Minor Elementals.md +0 -26
  2017. package/systems/5e/world/topics/Conjure Woodland Beings.md +0 -26
  2018. package/systems/5e/world/topics/Contact Other Plane.md +0 -15
  2019. package/systems/5e/world/topics/Contagion.md +0 -28
  2020. package/systems/5e/world/topics/Contingency.md +0 -16
  2021. package/systems/5e/world/topics/Continual Flame.md +0 -12
  2022. package/systems/5e/world/topics/Control Water.md +0 -29
  2023. package/systems/5e/world/topics/Control Weather.md +0 -48
  2024. package/systems/5e/world/topics/Counterspell.md +0 -14
  2025. package/systems/5e/world/topics/Create Food and Water.md +0 -12
  2026. package/systems/5e/world/topics/Create Undead.md +0 -18
  2027. package/systems/5e/world/topics/Create or Destroy Water.md +0 -18
  2028. package/systems/5e/world/topics/Creation.md +0 -26
  2029. package/systems/5e/world/topics/Cure Wounds.md +0 -14
  2030. package/systems/5e/world/topics/Dancing Lights.md +0 -15
  2031. package/systems/5e/world/topics/Darkness.md +0 -17
  2032. package/systems/5e/world/topics/Darkvision.md +0 -12
  2033. package/systems/5e/world/topics/Daylight.md +0 -16
  2034. package/systems/5e/world/topics/Death Ward.md +0 -16
  2035. package/systems/5e/world/topics/Delayed Blast Fireball.md +0 -21
  2036. package/systems/5e/world/topics/Demiplane.md +0 -14
  2037. package/systems/5e/world/topics/Detect Evil and Good.md +0 -15
  2038. package/systems/5e/world/topics/Detect Magic.md +0 -16
  2039. package/systems/5e/world/topics/Detect Poison and Disease.md +0 -16
  2040. package/systems/5e/world/topics/Detect Thoughts.md +0 -21
  2041. package/systems/5e/world/topics/Dimension Door.md +0 -16
  2042. package/systems/5e/world/topics/Disguise Self.md +0 -16
  2043. package/systems/5e/world/topics/Disintegrate.md +0 -20
  2044. package/systems/5e/world/topics/Dispel Evil and Good.md +0 -19
  2045. package/systems/5e/world/topics/Dispel Magic.md +0 -14
  2046. package/systems/5e/world/topics/Divination.md +0 -17
  2047. package/systems/5e/world/topics/Divine Favor.md +0 -13
  2048. package/systems/5e/world/topics/Divine Word.md +0 -19
  2049. package/systems/5e/world/topics/Dominate Beast.md +0 -21
  2050. package/systems/5e/world/topics/Dominate Monster.md +0 -21
  2051. package/systems/5e/world/topics/Dominate Person.md +0 -21
  2052. package/systems/5e/world/topics/Draconic Bloodline.md +0 -43
  2053. package/systems/5e/world/topics/Dream.md +0 -18
  2054. package/systems/5e/world/topics/Druid Spells.md +0 -140
  2055. package/systems/5e/world/topics/Druid.md +0 -146
  2056. package/systems/5e/world/topics/Druidcraft.md +0 -17
  2057. package/systems/5e/world/topics/Earthquake.md +0 -25
  2058. package/systems/5e/world/topics/Eldritch Blast.md +0 -14
  2059. package/systems/5e/world/topics/Enhance Ability.md +0 -27
  2060. package/systems/5e/world/topics/Enlarge-Reduce.md +0 -20
  2061. package/systems/5e/world/topics/Entangle.md +0 -17
  2062. package/systems/5e/world/topics/Enthrall.md +0 -12
  2063. package/systems/5e/world/topics/Etherealness.md +0 -22
  2064. package/systems/5e/world/topics/Expeditious Retreat.md +0 -13
  2065. package/systems/5e/world/topics/Eyebite.md +0 -19
  2066. package/systems/5e/world/topics/Fabricate.md +0 -16
  2067. package/systems/5e/world/topics/Faerie Fire.md +0 -15
  2068. package/systems/5e/world/topics/Faithful Hound.md +0 -16
  2069. package/systems/5e/world/topics/False Life.md +0 -14
  2070. package/systems/5e/world/topics/Fear.md +0 -15
  2071. package/systems/5e/world/topics/Feather Fall.md +0 -12
  2072. package/systems/5e/world/topics/Feeblemind.md +0 -18
  2073. package/systems/5e/world/topics/Fighter.md +0 -109
  2074. package/systems/5e/world/topics/Find Familiar.md +0 -25
  2075. package/systems/5e/world/topics/Find Steed.md +0 -20
  2076. package/systems/5e/world/topics/Find Traps.md +0 -14
  2077. package/systems/5e/world/topics/Find the Path.md +0 -15
  2078. package/systems/5e/world/topics/Finger of Death.md +0 -14
  2079. package/systems/5e/world/topics/Fire Bolt.md +0 -14
  2080. package/systems/5e/world/topics/Fire Shield.md +0 -16
  2081. package/systems/5e/world/topics/Fire Storm.md +0 -14
  2082. package/systems/5e/world/topics/Fireball.md +0 -16
  2083. package/systems/5e/world/topics/Flame Blade.md +0 -19
  2084. package/systems/5e/world/topics/Flame Strike.md +0 -14
  2085. package/systems/5e/world/topics/Flaming Sphere.md +0 -19
  2086. package/systems/5e/world/topics/Flesh to Stone.md +0 -19
  2087. package/systems/5e/world/topics/Floating Disk.md +0 -17
  2088. package/systems/5e/world/topics/Fly.md +0 -15
  2089. package/systems/5e/world/topics/Fog Cloud.md +0 -15
  2090. package/systems/5e/world/topics/Forbiddance.md +0 -19
  2091. package/systems/5e/world/topics/Forcecage.md +0 -22
  2092. package/systems/5e/world/topics/Foresight.md +0 -14
  2093. package/systems/5e/world/topics/Freedom of Movement.md +0 -14
  2094. package/systems/5e/world/topics/Freezing Sphere.md +0 -18
  2095. package/systems/5e/world/topics/Gaseous Form.md +0 -17
  2096. package/systems/5e/world/topics/Gate.md +0 -19
  2097. package/systems/5e/world/topics/Geas.md +0 -18
  2098. package/systems/5e/world/topics/Gentle Repose.md +0 -15
  2099. package/systems/5e/world/topics/Giant Insect.md +0 -19
  2100. package/systems/5e/world/topics/Glibness.md +0 -12
  2101. package/systems/5e/world/topics/Globe of Invulnerability.md +0 -17
  2102. package/systems/5e/world/topics/Glyph of Warding.md +0 -26
  2103. package/systems/5e/world/topics/Goodberry.md +0 -14
  2104. package/systems/5e/world/topics/Grappler.md +0 -17
  2105. package/systems/5e/world/topics/Grease.md +0 -14
  2106. package/systems/5e/world/topics/Greater Invisibility.md +0 -13
  2107. package/systems/5e/world/topics/Greater Restoration.md +0 -17
  2108. package/systems/5e/world/topics/Guardian of Faith.md +0 -14
  2109. package/systems/5e/world/topics/Guards and Wards.md +0 -34
  2110. package/systems/5e/world/topics/Guidance.md +0 -13
  2111. package/systems/5e/world/topics/Guiding Bolt.md +0 -14
  2112. package/systems/5e/world/topics/Gust of Wind.md +0 -19
  2113. package/systems/5e/world/topics/Hallow.md +0 -36
  2114. package/systems/5e/world/topics/Hallucinatory Terrain.md +0 -14
  2115. package/systems/5e/world/topics/Harm.md +0 -12
  2116. package/systems/5e/world/topics/Haste.md +0 -15
  2117. package/systems/5e/world/topics/Heal.md +0 -14
  2118. package/systems/5e/world/topics/Healing Word.md +0 -14
  2119. package/systems/5e/world/topics/Heat Metal.md +0 -17
  2120. package/systems/5e/world/topics/Hellish Rebuke.md +0 -14
  2121. package/systems/5e/world/topics/Heroes' Feast.md +0 -14
  2122. package/systems/5e/world/topics/Heroism.md +0 -15
  2123. package/systems/5e/world/topics/Hideous Laughter.md +0 -15
  2124. package/systems/5e/world/topics/Hold Monster.md +0 -15
  2125. package/systems/5e/world/topics/Hold Person.md +0 -15
  2126. package/systems/5e/world/topics/Holy Aura.md +0 -13
  2127. package/systems/5e/world/topics/Hunter's Mark.md +0 -15
  2128. package/systems/5e/world/topics/Hunter.md +0 -41
  2129. package/systems/5e/world/topics/Hypnotic Pattern.md +0 -15
  2130. package/systems/5e/world/topics/Ice Storm.md +0 -16
  2131. package/systems/5e/world/topics/Identify.md +0 -15
  2132. package/systems/5e/world/topics/Illusory Script.md +0 -19
  2133. package/systems/5e/world/topics/Imprisonment.md +0 -38
  2134. package/systems/5e/world/topics/Incendiary Cloud.md +0 -17
  2135. package/systems/5e/world/topics/Inflict Wounds.md +0 -14
  2136. package/systems/5e/world/topics/Insect Plague.md +0 -17
  2137. package/systems/5e/world/topics/Instant Summons.md +0 -19
  2138. package/systems/5e/world/topics/Invisibility.md +0 -15
  2139. package/systems/5e/world/topics/Irresistible Dance.md +0 -15
  2140. package/systems/5e/world/topics/Jump.md +0 -12
  2141. package/systems/5e/world/topics/Knock.md +0 -18
  2142. package/systems/5e/world/topics/Legend Lore.md +0 -14
  2143. package/systems/5e/world/topics/Lesser Restoration.md +0 -12
  2144. package/systems/5e/world/topics/Levitate.md +0 -17
  2145. package/systems/5e/world/topics/Life Domain.md +0 -38
  2146. package/systems/5e/world/topics/Light.md +0 -14
  2147. package/systems/5e/world/topics/Lightning Bolt.md +0 -16
  2148. package/systems/5e/world/topics/Locate Animals or Plants.md +0 -13
  2149. package/systems/5e/world/topics/Locate Creature.md +0 -17
  2150. package/systems/5e/world/topics/Locate Object.md +0 -17
  2151. package/systems/5e/world/topics/Longstrider.md +0 -14
  2152. package/systems/5e/world/topics/Mage Armor.md +0 -12
  2153. package/systems/5e/world/topics/Mage Hand.md +0 -16
  2154. package/systems/5e/world/topics/Magic Circle.md +0 -22
  2155. package/systems/5e/world/topics/Magic Jar.md +0 -24
  2156. package/systems/5e/world/topics/Magic Missile.md +0 -14
  2157. package/systems/5e/world/topics/Magic Mouth.md +0 -17
  2158. package/systems/5e/world/topics/Magic Weapon.md +0 -15
  2159. package/systems/5e/world/topics/Magnificent Mansion.md +0 -16
  2160. package/systems/5e/world/topics/Major Image.md +0 -19
  2161. package/systems/5e/world/topics/Mass Cure Wounds.md +0 -14
  2162. package/systems/5e/world/topics/Mass Heal.md +0 -12
  2163. package/systems/5e/world/topics/Mass Healing Word.md +0 -14
  2164. package/systems/5e/world/topics/Mass Suggestion.md +0 -20
  2165. package/systems/5e/world/topics/Maze.md +0 -17
  2166. package/systems/5e/world/topics/Meld into Stone.md +0 -17
  2167. package/systems/5e/world/topics/Mending.md +0 -14
  2168. package/systems/5e/world/topics/Message.md +0 -14
  2169. package/systems/5e/world/topics/Meteor Swarm.md +0 -14
  2170. package/systems/5e/world/topics/Mind Blank.md +0 -12
  2171. package/systems/5e/world/topics/Minor Illusion.md +0 -18
  2172. package/systems/5e/world/topics/Mirage Arcane.md +0 -18
  2173. package/systems/5e/world/topics/Mirror Image.md +0 -20
  2174. package/systems/5e/world/topics/Mislead.md +0 -17
  2175. package/systems/5e/world/topics/Misty Step.md +0 -12
  2176. package/systems/5e/world/topics/Modify Memory.md +0 -23
  2177. package/systems/5e/world/topics/Monk.md +0 -153
  2178. package/systems/5e/world/topics/Moonbeam.md +0 -21
  2179. package/systems/5e/world/topics/Move Earth.md +0 -21
  2180. package/systems/5e/world/topics/Nondetection.md +0 -12
  2181. package/systems/5e/world/topics/Oath of Devotion.md +0 -62
  2182. package/systems/5e/world/topics/Paladin Spells.md +0 -51
  2183. package/systems/5e/world/topics/Paladin.md +0 -173
  2184. package/systems/5e/world/topics/Pass without Trace.md +0 -13
  2185. package/systems/5e/world/topics/Passwall.md +0 -14
  2186. package/systems/5e/world/topics/Path of the Berserker.md +0 -21
  2187. package/systems/5e/world/topics/Phantasmal Killer.md +0 -15
  2188. package/systems/5e/world/topics/Phantom Steed.md +0 -15
  2189. package/systems/5e/world/topics/Planar Ally.md +0 -22
  2190. package/systems/5e/world/topics/Planar Binding.md +0 -16
  2191. package/systems/5e/world/topics/Plane Shift.md +0 -16
  2192. package/systems/5e/world/topics/Plant Growth.md +0 -18
  2193. package/systems/5e/world/topics/Poison Spray.md +0 -14
  2194. package/systems/5e/world/topics/Polymorph.md +0 -21
  2195. package/systems/5e/world/topics/Power Word Kill.md +0 -12
  2196. package/systems/5e/world/topics/Power Word Stun.md +0 -14
  2197. package/systems/5e/world/topics/Prayer of Healing.md +0 -14
  2198. package/systems/5e/world/topics/Prestidigitation.md +0 -21
  2199. package/systems/5e/world/topics/Prismatic Spray.md +0 -28
  2200. package/systems/5e/world/topics/Prismatic Wall.md +0 -34
  2201. package/systems/5e/world/topics/Private Sanctum.md +0 -25
  2202. package/systems/5e/world/topics/Produce Flame.md +0 -16
  2203. package/systems/5e/world/topics/Programmed Illusion.md +0 -18
  2204. package/systems/5e/world/topics/Project Image.md +0 -19
  2205. package/systems/5e/world/topics/Protection from Energy.md +0 -13
  2206. package/systems/5e/world/topics/Protection from Evil and Good.md +0 -15
  2207. package/systems/5e/world/topics/Protection from Poison.md +0 -14
  2208. package/systems/5e/world/topics/Purify Food and Drink.md +0 -13
  2209. package/systems/5e/world/topics/Raise Dead.md +0 -18
  2210. package/systems/5e/world/topics/Ranger Spells.md +0 -57
  2211. package/systems/5e/world/topics/Ranger.md +0 -162
  2212. package/systems/5e/world/topics/Ray of Enfeeblement.md +0 -15
  2213. package/systems/5e/world/topics/Ray of Frost.md +0 -14
  2214. package/systems/5e/world/topics/Regenerate.md +0 -14
  2215. package/systems/5e/world/topics/Reincarnate.md +0 -33
  2216. package/systems/5e/world/topics/Remove Curse.md +0 -12
  2217. package/systems/5e/world/topics/Resilient Sphere.md +0 -19
  2218. package/systems/5e/world/topics/Resistance.md +0 -13
  2219. package/systems/5e/world/topics/Resurrection.md +0 -20
  2220. package/systems/5e/world/topics/Reverse Gravity.md +0 -17
  2221. package/systems/5e/world/topics/Revivify.md +0 -12
  2222. package/systems/5e/world/topics/Rogue.md +0 -114
  2223. package/systems/5e/world/topics/Rope Trick.md +0 -18
  2224. package/systems/5e/world/topics/Sacred Flame.md +0 -14
  2225. package/systems/5e/world/topics/Sanctuary.md +0 -14
  2226. package/systems/5e/world/topics/School of Evocation.md +0 -24
  2227. package/systems/5e/world/topics/Scorching Ray.md +0 -16
  2228. package/systems/5e/world/topics/Scrying.md +0 -31
  2229. package/systems/5e/world/topics/Secret Chest.md +0 -16
  2230. package/systems/5e/world/topics/See Invisibility.md +0 -12
  2231. package/systems/5e/world/topics/Seeming.md +0 -18
  2232. package/systems/5e/world/topics/Sending.md +0 -14
  2233. package/systems/5e/world/topics/Sequester.md +0 -16
  2234. package/systems/5e/world/topics/Shapechange.md +0 -23
  2235. package/systems/5e/world/topics/Shatter.md +0 -16
  2236. package/systems/5e/world/topics/Shield (spell).md +0 -13
  2237. package/systems/5e/world/topics/Shield of Faith.md +0 -13
  2238. package/systems/5e/world/topics/Shillelagh.md +0 -12
  2239. package/systems/5e/world/topics/Shocking Grasp.md +0 -14
  2240. package/systems/5e/world/topics/Silence.md +0 -14
  2241. package/systems/5e/world/topics/Silent Image.md +0 -17
  2242. package/systems/5e/world/topics/Simulacrum.md +0 -18
  2243. package/systems/5e/world/topics/Sleep.md +0 -18
  2244. package/systems/5e/world/topics/Sleet Storm.md +0 -17
  2245. package/systems/5e/world/topics/Slow.md +0 -19
  2246. package/systems/5e/world/topics/Sorcerer Spells.md +0 -155
  2247. package/systems/5e/world/topics/Sorcerer.md +0 -166
  2248. package/systems/5e/world/topics/Spare the Dying.md +0 -12
  2249. package/systems/5e/world/topics/Speak with Animals.md +0 -13
  2250. package/systems/5e/world/topics/Speak with Dead.md +0 -14
  2251. package/systems/5e/world/topics/Speak with Plants.md +0 -20
  2252. package/systems/5e/world/topics/Spider Climb.md +0 -13
  2253. package/systems/5e/world/topics/Spike Growth.md +0 -15
  2254. package/systems/5e/world/topics/Spirit Guardians.md +0 -17
  2255. package/systems/5e/world/topics/Spiritual Weapon.md +0 -18
  2256. package/systems/5e/world/topics/Stinking Cloud.md +0 -17
  2257. package/systems/5e/world/topics/Stone Shape.md +0 -12
  2258. package/systems/5e/world/topics/Stoneskin.md +0 -13
  2259. package/systems/5e/world/topics/Storm of Vengeance.md +0 -23
  2260. package/systems/5e/world/topics/Suggestion.md +0 -19
  2261. package/systems/5e/world/topics/Sunbeam.md +0 -17
  2262. package/systems/5e/world/topics/Sunburst.md +0 -16
  2263. package/systems/5e/world/topics/Symbol.md +0 -36
  2264. package/systems/5e/world/topics/Telekinesis.md +0 -23
  2265. package/systems/5e/world/topics/Telepathic Bond.md +0 -15
  2266. package/systems/5e/world/topics/Teleport.md +0 -38
  2267. package/systems/5e/world/topics/Teleportation Circle.md +0 -16
  2268. package/systems/5e/world/topics/Thaumaturgy.md +0 -21
  2269. package/systems/5e/world/topics/The Fiend.md +0 -47
  2270. package/systems/5e/world/topics/Thief.md +0 -24
  2271. package/systems/5e/world/topics/Thunderwave.md +0 -16
  2272. package/systems/5e/world/topics/Time Stop.md +0 -14
  2273. package/systems/5e/world/topics/Tiny Hut.md +0 -17
  2274. package/systems/5e/world/topics/Tongues.md +0 -12
  2275. package/systems/5e/world/topics/Transport via Plants.md +0 -12
  2276. package/systems/5e/world/topics/Tree Stride.md +0 -15
  2277. package/systems/5e/world/topics/True Polymorph.md +0 -29
  2278. package/systems/5e/world/topics/True Resurrection.md +0 -16
  2279. package/systems/5e/world/topics/True Seeing.md +0 -12
  2280. package/systems/5e/world/topics/True Strike.md +0 -13
  2281. package/systems/5e/world/topics/Unseen Servant.md +0 -17
  2282. package/systems/5e/world/topics/Vampiric Touch.md +0 -15
  2283. package/systems/5e/world/topics/Vicious Mockery.md +0 -14
  2284. package/systems/5e/world/topics/Wall of Fire.md +0 -19
  2285. package/systems/5e/world/topics/Wall of Force.md +0 -15
  2286. package/systems/5e/world/topics/Wall of Ice.md +0 -19
  2287. package/systems/5e/world/topics/Wall of Stone.md +0 -23
  2288. package/systems/5e/world/topics/Wall of Thorns.md +0 -19
  2289. package/systems/5e/world/topics/Warding Bond.md +0 -14
  2290. package/systems/5e/world/topics/Warlock Spells.md +0 -99
  2291. package/systems/5e/world/topics/Warlock.md +0 -283
  2292. package/systems/5e/world/topics/Water Breathing.md +0 -13
  2293. package/systems/5e/world/topics/Water Walk.md +0 -15
  2294. package/systems/5e/world/topics/Way of the Open Hand.md +0 -25
  2295. package/systems/5e/world/topics/Web.md +0 -21
  2296. package/systems/5e/world/topics/Weird.md +0 -13
  2297. package/systems/5e/world/topics/Wind Walk.md +0 -14
  2298. package/systems/5e/world/topics/Wind Wall.md +0 -17
  2299. package/systems/5e/world/topics/Wish.md +0 -26
  2300. package/systems/5e/world/topics/Wizard Spells.md +0 -239
  2301. package/systems/5e/world/topics/Wizard.md +0 -141
  2302. package/systems/5e/world/topics/Word of Recall.md +0 -14
  2303. package/systems/5e/world/topics/Zone of Truth.md +0 -14
  2304. /package/dist/{cli.d.ts → cli/cli.d.ts} +0 -0
  2305. /package/dist/{library-reader.d.ts → commands/shared/library-reader.d.ts} +0 -0
  2306. /package/dist/commands/{notes.d.ts → shared/notes.d.ts} +0 -0
  2307. /package/dist/commands/{notes.js → shared/notes.js} +0 -0
  2308. /package/dist/dashboard/{guide-markdown.js → help/markdown.js} +0 -0
  2309. /package/dist/dashboard/{pack-card.js → packages/card.js} +0 -0
  2310. /package/dist/dashboard/{people.js → packages/people.js} +0 -0
  2311. /package/dist/dashboard/{place-map.js → place/map.js} +0 -0
  2312. /package/dist/dashboard/{calendar.js → world/days.js} +0 -0
  2313. /package/dist/{pictures → helpers}/briefs.d.ts +0 -0
  2314. /package/dist/{pictures → helpers}/chosen.d.ts +0 -0
  2315. /package/dist/{pictures → helpers}/chosen.js +0 -0
  2316. /package/dist/{pictures → helpers}/claude.d.ts +0 -0
  2317. /package/dist/{pictures → helpers}/codex.d.ts +0 -0
  2318. /package/dist/{pictures → helpers}/stop.d.ts +0 -0
  2319. /package/dist/{pictures → helpers}/stop.js +0 -0
  2320. /package/dist/{pictures → helpers}/svg.d.ts +0 -0
  2321. /package/dist/{pictures → helpers}/svg.js +0 -0
  2322. /package/dist/{extensions → packages}/tarball.d.ts +0 -0
  2323. /package/dist/{extensions → packages}/tarball.js +0 -0
  2324. /package/dist/{bell-listener.d.ts → server/bell-listener.d.ts} +0 -0
  2325. /package/dist/{player-acts.d.ts → server/player-acts.d.ts} +0 -0
  2326. /package/dist/{player-acts.js → server/player-acts.js} +0 -0
@@ -1,280 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "preact/jsx-runtime";
2
- // The widgets of the campaign's extensions (D-502), drawn with the page's own parts: a chip in the top, cards in the table's column and at the end of a page.
3
- // What they show comes from the server, in the campaign's language, checked; the page writes their values in its own language, isolated right to left.
4
- import { createContext } from "preact";
5
- import { useContext, useEffect, useRef } from "preact/hooks";
6
- import { sectionAddress } from "./address.js";
7
- import { CardHead } from "./card.js";
8
- import { iconPath } from "./icons.js";
9
- import { cardsIn, codeOfModule, ExtensionRoot, figureSize, ModulesContext, pagePropsOf, usePageModule, useWidgetData } from "./page-code.js";
10
- import { sideOf, Token } from "./party.js";
11
- import { PeopleContext } from "./people.js";
12
- import { isolated, numberText, pageDirection, t } from "./text.js";
13
- /** The widgets of the campaign's extensions, as last read: every part of the page that holds some takes its own from here. */
14
- export const WidgetsContext = createContext([]);
15
- /** The widget whose parts are drawn here, with its page module and data, for a count its extension draws as a figure (D-510); where it stands. */
16
- export const OwnerContext = createContext(undefined);
17
- // The section of the page each widget's page is.
18
- const pageSections = { scene: "scene", sheet: "party", world: "world", journal: "journal" };
19
- // The card a chip in the top has just led to, which brings itself into view as it is drawn.
20
- let wanted;
21
- /** The chips of the widgets in the top, after the time: each its icon and its few words, its whole sentence in its tip and for a screen reader. */
22
- export function WidgetChips() {
23
- const widgets = useContext(WidgetsContext);
24
- return (_jsx(_Fragment, { children: inPlace(widgets, "top").filter((widget) => widget.shows !== undefined).map((widget) => _jsx(WidgetChip, { widget: widget, card: cardOf(widgets, widget) }, widget.id)) }));
25
- }
26
- /**
27
- * The cards of the widgets that stand in this place, or at the end of this page, in their order; in a page, then the cards its packages' page code puts there
28
- * (D-511), given whose sheet it is and what the page shows. Nothing where none does.
29
- */
30
- export function WidgetCards({ place, page, who, view }) {
31
- const widgets = inPlace(useContext(WidgetsContext), place, page).filter((widget) => widget.shows?.parts !== undefined || widget.shows?.note !== undefined);
32
- const own = place === "page" && page !== undefined ? _jsx(PackageCards, { page: page, who: who, view: view }) : null;
33
- if (widgets.length === 0) {
34
- return own;
35
- }
36
- return (_jsxs(_Fragment, { children: [_jsx("div", { class: `widget-cards on-${place}`, children: widgets.map((widget) => _jsx(WidgetCard, { widget: widget }, widget.id)) }), own] }));
37
- }
38
- /** The cards the page code of the campaign's packages puts in a page (D-511), the system's first, each package's in their order. */
39
- function PackageCards({ page, who, view }) {
40
- const modules = useContext(ModulesContext);
41
- return modules.length === 0 ? null : _jsx("div", { class: "widget-cards on-page package-cards", children: modules.map((module) => _jsx(ModuleCards, { module: module, page: page, who: who, view: view }, module.package)) });
42
- }
43
- /** One package's cards in a page, once its module came; one that did not load says so in a card of its own, with its error. */
44
- function ModuleCards({ module, page, who, view }) {
45
- const owner = codeOfModule(module);
46
- const loaded = usePageModule(owner);
47
- const cards = cardsIn(loaded, page);
48
- if (cards instanceof Error) {
49
- const id = titleId(`${module.package}.broken`);
50
- return (_jsxs("section", { class: "card widget-card package-card", "aria-labelledby": id, children: [_jsx(CardHead, { icon: iconPath("packages"), title: _jsx("h3", { id: id, children: module.package }) }), _jsx("div", { class: "card-body widget-body", children: _jsx(ExtensionRoot, { widget: owner, loaded: cards, kind: "ext-body", draw: () => null }) })] }));
51
- }
52
- return _jsx(_Fragment, { children: cards.map(([name, card]) => _jsx(ModuleCard, { module: module, name: name, card: card, page: page, who: who, view: view }, name)) });
53
- }
54
- /** One card of a package's page code, with the data of the widget it names for who, once it comes (D-514). */
55
- function ModuleCard({ module, name, card, page, who, view }) {
56
- const owner = codeOfModule(module);
57
- const loaded = usePageModule(owner);
58
- const data = useWidgetData(module.package, card.widget, who, useContext(WidgetsContext));
59
- const id = titleId(`${module.package}.${name}`);
60
- const Drawing = card.draw;
61
- return (_jsxs("section", { class: "card widget-card package-card", "aria-labelledby": id, children: [_jsx(CardHead, { icon: card.icon ?? iconPath("packages"), title: _jsx("h3", { id: id, children: card.title }) }), _jsx("div", { class: "card-body widget-body", children: _jsx(ExtensionRoot, { widget: owner, loaded: loaded, kind: "ext-body", draw: () => _jsx(Drawing, { ...pagePropsOf(owner), name: name, page: page, ...(who === undefined ? {} : { who }), ...(view === undefined ? {} : { view }), ...(data === undefined ? {} : { data }) }) }) })] }));
62
- }
63
- /** A widget's title as a chip names it: with what it says whole, Weather: scattered rain, 10–15 °C. */
64
- export function widgetSaid(widget) {
65
- const says = widget.shows?.says;
66
- return says === undefined ? widget.title : t("{title}: {says}", { title: widget.title, says: textOf(says) });
67
- }
68
- /** A widget's text as one string, its values written in the page's language: for a tip or a name. */
69
- export function textOf(text) {
70
- return typeof text === "string" ? text : text.text.replace(/\{(\w+)\}/g, (whole, name) => (name in text.values ? isolated(valueOf(text.values[name])) : whole));
71
- }
72
- /** The widgets of a place, of a page for a card in one, in their order; one turned off is in none. */
73
- function inPlace(widgets, place, page) {
74
- return widgets.filter((widget) => widget.place === place && (page === undefined || widget.page === page)).sort((first, second) => first.order - second.order);
75
- }
76
- /** The card of the same extension a chip leads to: the first in a page, where the address reaches it. */
77
- function cardOf(widgets, chip) {
78
- return inPlace(widgets, "page").find((widget) => widget.extension === chip.extension && widget.shows !== undefined);
79
- }
80
- function WidgetChip({ widget, card }) {
81
- const shows = widget.shows;
82
- const icon = shows?.icon ?? widget.icon;
83
- const said = widgetSaid(widget);
84
- const loaded = usePageModule(widget);
85
- // Its lead's figure in place of its icon, when its page code draws one (D-510): the frame, the words, the tip and the name stay the page's.
86
- const lead = shows?.parts?.find((part) => "lead" in part && part.figure !== undefined);
87
- // Named by its whole sentence, which its tip shows too: the tip's drawing would add itself to a name made of its words.
88
- const inside = (_jsxs(_Fragment, { children: [lead?.figure !== undefined && widget.module !== undefined
89
- ? _jsx(Figure, { owner: { widget, loaded, data: shows?.data, place: "top" }, name: lead.figure, part: lead })
90
- : icon !== undefined && _jsx(Drawn, { path: icon, kind: "icon" }), _jsx("span", { class: "num", children: shows?.chip === undefined ? widget.title : _jsx(Text, { text: shows.chip }) })] }));
91
- // A chip leads to its extension's card where one stands in a page; else it only says.
92
- return card?.page === undefined
93
- ? _jsx("span", { class: "status-chip widget-chip tip-below", role: "img", "aria-label": said, "data-tip": said, children: inside })
94
- : (_jsx("a", { class: "status-chip widget-chip tip-below", href: sectionAddress(pageSections[card.page]), "aria-label": said, "data-tip": said, onClick: (event) => toCard(event, card.id), children: inside }));
95
- }
96
- /** A chip's click: to its card at once when the page shows it, else to its page, where the card brings itself into view. */
97
- function toCard(event, id) {
98
- const title = document.getElementById(titleId(id));
99
- if (title === null) {
100
- wanted = id;
101
- return;
102
- }
103
- event.preventDefault();
104
- bringTitle(title);
105
- }
106
- /** A card's title in view, the focus on it. */
107
- function bringTitle(title) {
108
- const reduced = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
109
- title.scrollIntoView({ block: "center", behavior: reduced ? "auto" : "smooth" });
110
- title.focus({ preventScroll: true });
111
- }
112
- /** The id of a widget card's title. */
113
- function titleId(id) {
114
- return `widget-${id.replace(/[^a-z0-9-]/gi, "-")}`;
115
- }
116
- function WidgetCard({ widget }) {
117
- const id = titleId(widget.id);
118
- const title = useRef(null);
119
- const shows = widget.shows;
120
- const loaded = usePageModule(widget);
121
- const place = widget.place === "page" ? "page" : "side";
122
- // Led here by its chip from another page.
123
- useEffect(() => {
124
- if (wanted === widget.id && title.current !== null) {
125
- wanted = undefined;
126
- bringTitle(title.current);
127
- }
128
- }, []);
129
- return (_jsxs("section", { class: "card widget-card", "aria-labelledby": id, children: [_jsx(CardHead, { icon: shows?.icon ?? widget.icon ?? iconPath("packages"), title: _jsx("h3", { id: id, ref: title, tabIndex: -1, children: widget.title }), ...(shows?.note === undefined ? {} : { note: _jsx(Text, { text: shows.note }) }) }), shows?.parts !== undefined && shows.parts.length > 0 && (_jsx(OwnerContext.Provider, { value: { widget, loaded, data: shows.data, place }, children: _jsx("div", { class: "card-body widget-body", children: shows.parts.map((part, index) => _jsx(Part, { part: part }, index)) }) }))] }));
130
- }
131
- /** Who acts in a card (D-509, D-510): their portrait as the page draws it, the party and those at the place known by name; their name and what they do. */
132
- export function Who({ who, does }) {
133
- const person = useContext(PeopleContext).find((one) => one.name === who) ?? { name: who, role: "other" };
134
- const side = sideOf(person.role);
135
- return (_jsxs("div", { class: "who-acts", children: [_jsx(Token, { member: person, ...(side === undefined ? {} : { side }) }), _jsxs("p", { class: "who-acts-words", dir: "auto", children: [_jsx("b", { class: "who-acts-name", children: who }), does !== undefined && (_jsx("span", { class: "who-acts-does", children: _jsx(Text, { text: does }) }))] })] }));
136
- }
137
- /** A part of a widget's card, as the page draws its own. */
138
- export function Part({ part }) {
139
- const owner = useContext(OwnerContext);
140
- if ("who" in part) {
141
- return _jsx(Who, { who: part.who, does: part.does });
142
- }
143
- if ("lead" in part && part.figure !== undefined && owner?.widget.module !== undefined) {
144
- // Drawn by its extension's page code over its words and value, which stay the page's (D-510): the figure in place of its icon.
145
- return (_jsxs("div", { class: "widget-lead figured", children: [_jsx(Figure, { owner: owner, name: part.figure, part: part }), _jsx("span", { class: "widget-lead-words", dir: "auto", children: _jsx(Text, { text: part.lead }) }), part.value !== undefined && _jsx(Value, { value: part.value, kind: "widget-lead-value" })] }));
146
- }
147
- if ("lead" in part) {
148
- return (_jsxs("div", { class: "widget-lead", children: [part.icon !== undefined && _jsx(Drawn, { path: part.icon, kind: "widget-lead-icon" }), _jsx("span", { class: "widget-lead-words", dir: "auto", children: _jsx(Text, { text: part.lead }) }), part.value !== undefined && _jsx(Value, { value: part.value, kind: "widget-lead-value" })] }));
149
- }
150
- if ("text" in part) {
151
- return (_jsx("p", { class: "widget-text", dir: "auto", children: _jsx(Text, { text: part.text }) }));
152
- }
153
- if ("facts" in part) {
154
- return (_jsx("ul", { class: "chips", children: part.facts.map((fact, index) => (_jsx("li", { dir: "auto", children: _jsx(Text, { text: fact }) }, index))) }));
155
- }
156
- if ("values" in part) {
157
- return (_jsx("div", { class: "line", children: part.values.map((one, index) => (_jsxs("span", { class: "line-value", children: [_jsx("span", { class: "label", children: _jsx(Text, { text: one.label }) }), _jsx(Value, { value: one.value })] }, index))) }));
158
- }
159
- if ("track" in part) {
160
- return _jsx(Track, { track: part.track });
161
- }
162
- if ("rows" in part) {
163
- return (_jsx("div", { class: "rows widget-rows", children: part.rows.map((row, index) => (_jsxs("div", { class: "row row-number", children: [_jsx("span", { class: "label", dir: "auto", children: _jsx(Text, { text: row.label }) }), _jsx("span", { class: "changing", children: row.value === undefined ? null : _jsx(Value, { value: row.value }) }), row.note !== undefined && (_jsx("span", { class: "beside", dir: "auto", children: _jsx(Text, { text: row.note }) }))] }, index))) }));
164
- }
165
- if ("table" in part) {
166
- return (_jsx("div", { class: "widget-table", children: _jsxs("table", { children: [_jsx("thead", { children: _jsx("tr", { children: part.table.head.map((cell, index) => (_jsx("th", { scope: "col", children: _jsx(Text, { text: cell }) }, index))) }) }), _jsx("tbody", { children: part.table.rows.map((row, index) => (_jsx("tr", { children: row.map((cell, at) => (_jsx("td", { children: _jsx(Value, { value: cell }) }, at))) }, index))) })] }) }));
167
- }
168
- return _jsx("img", { class: "widget-image", src: `/images/ext/${encodeURIComponent(part.image.extension)}/${encodeURIComponent(part.image.file)}?v=${part.image.version}`, alt: textOf(part.alt), loading: "lazy" });
169
- }
170
- /**
171
- * A count as marks, or a bar, with its label; a screen reader hears the label once, in the count's name, with its value in words (D-507). Marks are pips, or
172
- * tall steps of a progress with their count under them; good ones circles, bad ones squares; after those lit, the held, the marked and the coming. In a card
173
- * of a question, its place there, and what changed since the card's last look, for its marks to move.
174
- */
175
- export function Track({ track, place, change }) {
176
- // Without a figure, its marks drawn here: a plain count needs nothing of the page around it.
177
- return track.figure === undefined ? Marks({ track, place, change }) : _jsx(Figured, { track: track, figure: track.figure, place: place, change: change });
178
- }
179
- /**
180
- * A count its package draws as a figure (D-510), where its page code runs: the page keeps its name, in words for a screen reader, and its count in figures
181
- * under it; elsewhere its marks.
182
- */
183
- function Figured({ track, figure, place, change }) {
184
- const owner = useContext(OwnerContext);
185
- if (owner?.widget.module === undefined) {
186
- return _jsx(Marks, { track: track, place: place, change: change });
187
- }
188
- const { label, named, kind } = trackWords(track, place);
189
- return (_jsxs("div", { class: `${kind} figured`, children: [_jsx("span", { class: "track-figure", role: "img", "aria-label": named, children: _jsx(Figure, { owner: owner, name: figure, part: { track } }) }), _jsxs("span", { class: "track-count figure-count", "aria-hidden": "true", children: [_jsx("span", { dir: "auto", children: label }), " ", _jsx("span", { class: "num", children: `${numberText(track.value + (track.held ?? 0))}/${numberText(track.max)}` })] })] }));
190
- }
191
- /** A count's words: its label, its name for a screen reader with the marks held, failed and coming, its value in words, and its classes. */
192
- function trackWords(track, place) {
193
- const label = textOf(track.label);
194
- const said = t("{value} of {max}", { value: track.value, max: track.max });
195
- const kind = [place === undefined ? "widget-track" : `ask-track track-${place}`, track.tone ?? ""].filter((name) => name !== "").join(" ");
196
- const more = [
197
- track.held === undefined || track.held === 0 ? "" : t("held: {count}", { count: track.held }),
198
- track.marked === undefined || track.marked === 0 ? "" : t("failed: {count}", { count: track.marked }),
199
- track.coming === undefined || track.coming === 0 ? "" : t("this roll: {count}", { count: track.coming }),
200
- ].filter((part) => part !== "");
201
- return { label, said, more, named: [`${label}: ${said}`, ...more].join(", "), kind };
202
- }
203
- /** A count as marks, or a bar, with its label. */
204
- function Marks({ track, place, change }) {
205
- const { label, said, more, named, kind } = trackWords(track, place);
206
- const steps = track.look === "steps";
207
- const marks = track.look !== "bar" && track.max <= (steps ? mostSteps : mostPips);
208
- return (_jsxs("div", { class: kind, children: [_jsx("span", { class: "widget-track-label", dir: "auto", "aria-hidden": "true", children: label }), marks
209
- ? (_jsx("span", { class: ["pips", steps ? "steps" : "", track.tone ?? ""].filter((name) => name !== "").join(" "), role: "img", "aria-label": named, children: Array.from({ length: track.max }, (_, index) => _jsx(Mark, { index: index, track: track, change: change }, index)) }))
210
- : (_jsxs("span", { class: "bar-line", children: [_jsx("span", { class: "bar", role: "meter", "aria-label": label, "aria-valuemin": 0, "aria-valuemax": track.max, "aria-valuenow": track.value, "aria-valuetext": more.length === 0 ? said : [said, ...more].join(", "), children: _jsx("span", { class: "fill", style: { "--fill": String(track.value / track.max) } }) }), _jsx("span", { class: "num", "aria-hidden": "true", children: `${numberText(track.value)}/${numberText(track.max)}` })] })), marks && steps && _jsx("span", { class: "track-count num", "aria-hidden": "true", children: `${numberText(track.value + (track.held ?? 0))}/${numberText(track.max)}` })] }));
211
- }
212
- /** A figure of an extension, given what it drew before once what it draws changes, for it to move from one to the other. */
213
- export function Figure({ owner, name, part }) {
214
- const looks = useRef();
215
- const said = JSON.stringify([part, owner.data]);
216
- // The data it drew before, once what it draws changes: in a card of a roll that is once the dice land, as the card changes only then.
217
- if (looks.current?.said !== said) {
218
- looks.current = { said, data: owner.data, ...(looks.current === undefined ? {} : { before: looks.current.data }) };
219
- }
220
- const before = looks.current.before;
221
- const size = figureSize(owner.widget, name);
222
- return (_jsx(ExtensionRoot, { widget: owner.widget, loaded: owner.loaded, kind: `ext-figure at-${owner.place}`, size: size, draw: (module) => {
223
- const Drawing = module.figures?.[name];
224
- if (Drawing === undefined) {
225
- throw new Error(`its page module has no figure ${name}`);
226
- }
227
- return _jsx(Drawing, { ...pagePropsOf(owner.widget), name: name, data: owner.data, ...(before === undefined ? {} : { before }), part: part, place: owner.place, size: size });
228
- } }));
229
- }
230
- // How many marks a count draws at most, as pips or as steps; past that, a bar.
231
- const mostPips = 10;
232
- const mostSteps = 12;
233
- /** One mark of a count: lit, held, marked or coming, by where it falls after the value; lit or gone out just now, its step in the order they move. */
234
- function Mark({ index, track, change }) {
235
- const held = track.value + (track.held ?? 0);
236
- const marked = held + (track.marked ?? 0);
237
- const state = index < track.value ? "on" : index < held ? "held" : index < marked ? "marked" : index < marked + (track.coming ?? 0) ? "coming" : "";
238
- const lit = change?.lit.indexOf(index) ?? -1;
239
- const out = change?.out.indexOf(index) ?? -1;
240
- const moves = lit >= 0 ? "lit" : out >= 0 ? "out" : change?.marked.includes(index) === true ? "struck" : "";
241
- const step = Math.max(lit, out, 0);
242
- return _jsx("span", { class: ["pip", state, moves].filter((name) => name !== "").join(" "), style: moves === "" ? undefined : { "--step": String(step) } });
243
- }
244
- /** Words of an extension, its values written in the page's language, each set apart. */
245
- export function Text({ text }) {
246
- if (typeof text === "string") {
247
- return _jsx(_Fragment, { children: text });
248
- }
249
- const pieces = text.text.split(/(\{\w+\})/).filter((piece) => piece !== "").map((piece, index) => {
250
- const name = /^\{(\w+)\}$/.exec(piece)?.[1];
251
- return name !== undefined && name in text.values ? _jsx(Value, { value: text.values[name] }, index) : piece;
252
- });
253
- return _jsx(_Fragment, { children: pieces });
254
- }
255
- /** A value: a number or a range with its unit, as the page's language writes them, set apart; a word as it is. */
256
- export function Value({ value, kind }) {
257
- return typeof value === "string"
258
- ? _jsx("span", { class: kind, dir: "auto", children: value })
259
- : _jsx("bdi", { class: kind === undefined ? "num" : `num ${kind}`, dir: pageDirection() === "rtl" ? "ltr" : undefined, children: valueOf(value) });
260
- }
261
- /** A value as one string in the page's language: 12 km, 10–15 °C. */
262
- function valueOf(value) {
263
- if (typeof value === "string") {
264
- return value;
265
- }
266
- if (typeof value === "number") {
267
- return numberText(value);
268
- }
269
- const unit = value.unit === undefined || value.unit === "" ? "" : ` ${value.unit}`;
270
- return "number" in value ? `${numberText(value.number)}${unit}` : `${rangeText(value.from, value.to)}${unit}`;
271
- }
272
- /** Two numbers as a range, as the page's language writes it: 10–15, −5 – 0. */
273
- function rangeText(from, to) {
274
- const format = new Intl.NumberFormat(document.documentElement.lang || "en", { numberingSystem: "latn", useGrouping: false, maximumFractionDigits: 2 });
275
- return typeof format.formatRange === "function" ? format.formatRange(from, to) : `${numberText(from)}–${numberText(to)}`;
276
- }
277
- /** An extension's icon, drawn as the page strokes its own. */
278
- export function Drawn({ path, kind }) {
279
- return (_jsx("svg", { class: kind, viewBox: "0 0 24 24", "aria-hidden": "true", children: _jsx("path", { d: path }) }));
280
- }
@@ -1,72 +0,0 @@
1
- // The markdown the guide is written in (D-413), read into blocks: headings, with an icon in a comment after them (<!-- icon: dice -->); paragraphs, lists,
2
- // tables, quotes, code. guide-markdown.tsx draws them.
3
- /** The blocks of a markdown text; its comments, but a heading's icon, left out. */
4
- export function markdownBlocks(text) {
5
- const lines = text.replace(/\r\n/g, "\n").replace(/<!--(?!\s*icon:)[\s\S]*?-->/g, "").split("\n");
6
- const blocks = [];
7
- let index = 0;
8
- // The lines from here on that go together: each the next, while it is one.
9
- const run = (belongs) => {
10
- const taken = [];
11
- while (index < lines.length && belongs(lines[index])) {
12
- taken.push(lines[index]);
13
- index += 1;
14
- }
15
- return taken;
16
- };
17
- while (index < lines.length) {
18
- const line = lines[index];
19
- const heading = /^(#{1,6})\s+(.*?)\s*(?:<!--\s*icon:\s*([\w-]+)\s*-->)?\s*$/.exec(line);
20
- if (line.trim() === "") {
21
- index += 1;
22
- }
23
- else if (heading !== null) {
24
- blocks.push({ kind: "heading", level: heading[1].length, text: heading[2], ...(heading[3] === undefined ? {} : { icon: heading[3] }) });
25
- index += 1;
26
- }
27
- else if (line.startsWith("```")) {
28
- index += 1;
29
- const code = run((one) => !one.startsWith("```"));
30
- index += 1;
31
- blocks.push({ kind: "code", text: code.join("\n") });
32
- }
33
- else if (/^-{3,}\s*$/.test(line)) {
34
- blocks.push({ kind: "rule" });
35
- index += 1;
36
- }
37
- else if (line.startsWith("|")) {
38
- const [head = [], , ...rows] = run((one) => one.startsWith("|")).map(cells);
39
- blocks.push({ kind: "table", head, rows });
40
- }
41
- else if (line.startsWith(">")) {
42
- blocks.push({ kind: "quote", blocks: markdownBlocks(run((one) => one.startsWith(">")).map((one) => one.replace(/^> ?/, "")).join("\n")) });
43
- }
44
- else if (listItem(line) !== undefined) {
45
- const ordered = listItem(line)?.ordered ?? false;
46
- const items = run((one) => one.trim() !== "" && (listItem(one)?.ordered === ordered || (listItem(one) === undefined && /^\s/.test(one))));
47
- blocks.push({ kind: "list", ordered, items: items.reduce((all, one) => (listItem(one) === undefined ? [...all.slice(0, -1), `${all.at(-1) ?? ""} ${one.trim()}`] : [...all, listItem(one)?.text ?? ""]), []) });
48
- }
49
- else {
50
- const paragraph = run((one) => one.trim() !== "" && !/^(#{1,6}\s|```|>|\|)/.test(one) && listItem(one) === undefined);
51
- blocks.push({ kind: "paragraph", text: paragraph.map((one) => one.trim()).join(" ") });
52
- }
53
- }
54
- return blocks;
55
- }
56
- /** A heading's anchor as GitHub makes it: 2.4 Connect your AI, 24-connect-your-ai. */
57
- export function anchorOf(heading) {
58
- return heading.trim().toLowerCase().replace(/[^\p{L}\p{N}\s_-]/gu, "").replace(/\s/g, "-");
59
- }
60
- /** A line's text without its marks, as a card's preview says it. */
61
- export function plainText(text) {
62
- return text.replace(/\[([^\]]+)\]\([^)]+\)/g, "$1").replace(/\*\*|\*|`/g, "");
63
- }
64
- /** A list item's mark and text: - text, or 1. text; undefined for another line. */
65
- function listItem(line) {
66
- const item = /^([-*]|\d+\.)\s+(.*)$/.exec(line);
67
- return item === null ? undefined : { ordered: /\d/.test(item[1]), text: item[2] };
68
- }
69
- /** A table row's cells: | a | b |, a and b. */
70
- function cells(line) {
71
- return line.trim().replace(/^\|/, "").replace(/\|$/, "").split("|").map((cell) => cell.trim());
72
- }
@@ -1,98 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "preact/jsx-runtime";
2
- // Help (D-409, D-413): the complete guide, in the page's language, as its markdown file has it (guide/<code>.md): what it is, an index of chips, and each of
3
- // its parts a card that folds, the first two open. Its anchors are the English guide's, so that a link finds its heading in every language. At its end, how to
4
- // tell us what went wrong: the page's own words, so that the guide's translations stay as they are.
5
- import { useEffect, useMemo, useState } from "preact/hooks";
6
- import { CardHead, CardHeader } from "./card.js";
7
- import { anchorOf, markdownBlocks, plainText } from "./guide-blocks.js";
8
- import { Blocks, Inline } from "./guide-markdown.js";
9
- import { Icon, iconPath, isIconName } from "./icons.js";
10
- import { PageHead } from "./pages.js";
11
- import { pageLanguageOf, t } from "./text.js";
12
- /** How to play with RPG Engine: the guide, from installing it to the campaign's folder. */
13
- export function Help() {
14
- const language = pageLanguageOf(document.documentElement.lang);
15
- const guide = useGuide(language);
16
- const [open, setOpen] = useState(() => new Set([0, 1]));
17
- const [sought, setSought] = useState();
18
- const { lead, parts, anchors } = useMemo(() => guideParts(guide.own, guide.english), [guide]);
19
- const toggle = (index, event) => {
20
- event.preventDefault();
21
- setOpen((before) => new Set(before.has(index) ? [...before].filter((one) => one !== index) : [...before, index]));
22
- };
23
- // A chip of the index, or a link to a heading, opens its card and brings the heading into sight.
24
- const go = (anchor) => {
25
- const index = parts.findIndex((part) => [part.heading, ...part.blocks].some((block) => anchors.get(block) === anchor));
26
- if (index >= 0) {
27
- setOpen((before) => new Set([...before, index]));
28
- setSought(anchor);
29
- }
30
- };
31
- useEffect(() => {
32
- if (sought === undefined) {
33
- return;
34
- }
35
- const target = document.getElementById(sought);
36
- setSought(undefined);
37
- if (target === null) {
38
- return;
39
- }
40
- // Under the top, drawn together down the page, as tall as the style sheet says; the focus where the eye goes.
41
- const above = Number.parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--top-space")) + 16;
42
- const to = target.getBoundingClientRect().top + window.scrollY - above;
43
- window.scrollTo({ top: to, behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth" });
44
- const focused = target instanceof HTMLDetailsElement ? target.querySelector("summary") : target;
45
- if (focused !== null && focused.tagName !== "SUMMARY") {
46
- focused.tabIndex = -1;
47
- }
48
- focused?.focus({ preventScroll: true });
49
- }, [sought]);
50
- return (_jsxs("section", { class: "page-stack help", "aria-labelledby": "help-title", children: [_jsx(PageHead, { section: "help", id: "help-title" }), _jsx("div", { class: "help-lead", children: _jsx(Blocks, { blocks: lead, anchors: anchors, go: go }) }), _jsx("nav", { class: "help-index", "aria-label": t("Contents"), children: parts.map((part) => (_jsxs("button", { type: "button", class: "help-chip", onClick: () => go(anchors.get(part.heading) ?? ""), children: [_jsx(Icon, { name: iconOf(part.heading) }), _jsx(Inline, { text: part.heading.text, go: go })] }, part.heading.text))) }), _jsx("div", { class: "help-cards", children: parts.map((part, index) => (_jsxs("details", { id: anchors.get(part.heading), class: "group help-card", open: open.has(index), children: [_jsx(CardHeader, { icon: iconPath(iconOf(part.heading)), title: _jsx("h3", { children: part.heading.text }), preview: plainText(part.blocks.find((block) => block.kind === "paragraph")?.text ?? ""), open: open.has(index), onToggle: (event) => toggle(index, event) }), _jsx("div", { class: "guide", children: _jsx(Blocks, { blocks: part.blocks, anchors: anchors, go: go }) })] }, part.heading.text))) }), _jsx(ReportCard, {})] }));
51
- }
52
- /** Where the issues of RPG Engine are reported, as its README says. */
53
- export const issuesLink = "https://github.com/stefanocaronia/rpg-engine/issues";
54
- /** The invitation to report what went wrong, said to one who may never have seen GitHub: what to write there, and that it is a public page. */
55
- export function ReportCard() {
56
- return (_jsxs("section", { class: "card help-report", "aria-labelledby": "help-report-title", children: [_jsx(CardHead, { icon: iconPath("chat"), title: _jsx("h3", { id: "help-report-title", children: t("Tell us") }) }), _jsxs("div", { class: "card-body", children: [_jsx("p", { children: t("Something doesn't work, confuses you or could be better? Tell us what you did, what you expected and what happened: every report helps.") }), _jsx("p", { class: "help-report-note", children: t("GitHub is the site where RPG Engine is made: you write there with a free account, as in a forum, and anyone can read it.") }), _jsxs("a", { class: "about-link", href: issuesLink, target: "_blank", rel: "noreferrer", children: [_jsx(Icon, { name: "github" }), t("Open a report on GitHub")] })] })] }));
57
- }
58
- /** The guide in a language, and in English for its anchors; empty until they are read. */
59
- function useGuide(language) {
60
- const [guide, setGuide] = useState({ own: "", english: "" });
61
- useEffect(() => {
62
- let current = true;
63
- const read = (code) => fetch(`/guide/${code}.md`).then((response) => (response.ok ? response.text() : "")).catch(() => "");
64
- void Promise.all([read("en"), language === "en" ? Promise.resolve(undefined) : read(language)]).then(([english, own]) => {
65
- if (current) {
66
- setGuide({ own: own === undefined || own === "" ? english : own, english });
67
- }
68
- });
69
- return () => {
70
- current = false;
71
- };
72
- }, [language]);
73
- return guide;
74
- }
75
- /** The guide's lead, the lines before its first part, its title aside; its parts; and each heading's anchor, the English one at its place. */
76
- function guideParts(own, english) {
77
- const blocks = markdownBlocks(own);
78
- const headings = blocks.filter((block) => block.kind === "heading");
79
- const englishHeadings = markdownBlocks(english).filter((block) => block.kind === "heading");
80
- const sameShape = headings.length === englishHeadings.length && headings.every((heading, index) => heading.level === englishHeadings[index]?.level);
81
- const anchors = new Map(headings.map((heading, index) => [heading, anchorOf((sameShape ? englishHeadings[index] : heading)?.text ?? heading.text)]));
82
- const first = blocks.findIndex((block) => block.kind === "heading" && block.level === 2);
83
- const lead = (first < 0 ? blocks : blocks.slice(0, first)).filter((block) => !(block.kind === "heading" && block.level === 1));
84
- const parts = [];
85
- for (const block of first < 0 ? [] : blocks.slice(first)) {
86
- if (block.kind === "heading" && block.level === 2) {
87
- parts.push({ heading: block, blocks: [] });
88
- }
89
- else {
90
- parts.at(-1)?.blocks.push(block);
91
- }
92
- }
93
- return { lead, parts, anchors };
94
- }
95
- /** A part's icon, as its heading names it; a book when it names none the page has. */
96
- function iconOf(heading) {
97
- return heading.icon !== undefined && isIconName(heading.icon) ? heading.icon : "help";
98
- }
@@ -1,44 +0,0 @@
1
- import { foldedText } from "./text.js";
2
- /** The groups of the lore, in the order the list shows them: people, places, factions, creatures, items, tales and events, then the rest. */
3
- const loreGroups = ["people", "places", "factions", "creatures", "items", "tales", "other"];
4
- /** The group a page belongs to, by its type. */
5
- export function loreGroupOf(entry) {
6
- const groups = { character: "people", place: "places", faction: "factions", creature: "creatures", item: "items", event: "tales", topic: "tales" };
7
- return groups[entry.type] ?? "other";
8
- }
9
- /** The pages a search finds, every word of it in their name, their opening or the places that hold them, without minding case or accents; in a group, or all. */
10
- export function foundLore(entries, search, group) {
11
- const words = foldedText(search).split(/\s+/).filter((word) => word !== "");
12
- return entries.filter((entry) => {
13
- const text = foldedText([entry.name, entry.summary, ...(entry.within ?? [])].join(" "));
14
- return (group === undefined || loreGroupOf(entry) === group) && words.every((word) => text.includes(word));
15
- });
16
- }
17
- /** Whether a player character knows a page, with more than one: all of them do unless it says who (VIEW-12). */
18
- export function knownTo(entry, name) {
19
- return entry.knownBy === undefined || entry.knownBy.includes(name);
20
- }
21
- /** The pages in their groups, in the groups' order, each group as the list gives it; the empty groups left out. */
22
- export function groupedLore(entries) {
23
- return loreGroups.map((group) => ({ group, entries: entries.filter((entry) => loreGroupOf(entry) === group) })).filter((part) => part.entries.length > 0);
24
- }
25
- /** The page a link of a text names: [[Page]], [[Page|words]], [[Page#Part]], [[folder/Page.md|words]] all name Page. */
26
- export function linkedName(target) {
27
- return target.split("#")[0].split("/").at(-1)?.replace(/\.md$/i, "").trim() ?? "";
28
- }
29
- /** The looks of documents: each kind the page draws, and the words of the document field that name it. */
30
- const documentLooks = {
31
- letter: ["letter", "message", "missive", "invitation", "envelope"],
32
- note: ["note", "receipt", "list", "ticket"],
33
- notice: ["notice", "poster", "bounty", "proclamation", "decree", "sign", "placard"],
34
- page: ["page", "book", "tome", "leaf", "chapter", "prayer"],
35
- diary: ["diary", "journal", "logbook", "log"],
36
- map: ["map", "chart", "plan"],
37
- scroll: ["scroll"],
38
- inscription: ["inscription", "carving", "epitaph", "tablet", "stone"],
39
- };
40
- /** The look of a document by what it is, as letter or notice; plain for one the page does not know. */
41
- export function documentLook(document) {
42
- const word = document.trim().toLowerCase();
43
- return Object.entries(documentLooks).find(([, words]) => words.includes(word))?.[0] ?? "plain";
44
- }
@@ -1,32 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "preact/jsx-runtime";
2
- // Where the player's character goes when the master asks (D-332, ASK-11): the map of the place over the whole page, its squares at least 44 px, those the
3
- // character can still reach in gold; a square touched is chosen, then sent. A square can also be written, such as E4, from the keyboard.
4
- import { useEffect, useRef, useState } from "preact/hooks";
5
- import { Icon } from "./icons.js";
6
- import { PlaceMap } from "./place-map-view.js";
7
- import { isStandable, squareOf } from "./place-map.js";
8
- import { t } from "./text.js";
9
- export function MapSheet({ map, place, question, onPick, onClose }) {
10
- const [selected, setSelected] = useState();
11
- const [typed, setTyped] = useState("");
12
- const dialog = useRef(null);
13
- const written = typed.trim().toUpperCase();
14
- const chosen = written !== "" ? written : selected;
15
- const square = chosen === undefined ? undefined : squareOf(chosen);
16
- const standable = square !== undefined && isStandable(map, square);
17
- // A modal dialog lies over everything on the page, the bars and the dice too, and closes with Escape by itself.
18
- useEffect(() => {
19
- dialog.current?.showModal();
20
- }, []);
21
- const pick = (name) => {
22
- setSelected(name);
23
- setTyped("");
24
- };
25
- const send = (event) => {
26
- event.preventDefault();
27
- if (chosen !== undefined && standable) {
28
- onPick(chosen);
29
- }
30
- };
31
- return (_jsxs("dialog", { ref: dialog, class: "map-sheet", "aria-labelledby": "map-sheet-title", onClose: onClose, children: [_jsxs("header", { class: "map-sheet-head", children: [_jsx("h2", { id: "map-sheet-title", children: question }), _jsx("button", { type: "button", class: "icon-button tip-left", "aria-label": t("Close"), "data-tip": t("Close"), onClick: () => dialog.current?.close(), children: _jsx(Icon, { name: "close" }) })] }), _jsx("div", { class: "map-sheet-body", children: _jsx(PlaceMap, { map: map, place: place, picking: { selected: written === "" ? selected : undefined, onSelect: pick } }) }), _jsxs("form", { class: "map-sheet-bar", onSubmit: send, children: [_jsx("input", { type: "text", value: typed, maxLength: 5, placeholder: selected ?? "E4", "aria-label": t("The square, such as E4"), onInput: (event) => setTyped(event.currentTarget.value) }), _jsx("button", { type: "submit", class: "map-sheet-go", disabled: !standable, children: chosen === undefined ? t("Touch a square") : standable ? t("Move to {square}", { square: chosen }) : t("{square}: no one stands there", { square: chosen }) })] })] }));
32
- }
@@ -1,50 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "preact/jsx-runtime";
2
- // A package's own pages (D-511): at #/pkg/<package>/<name>, the page's head with its title and icon, its whole inside drawn by the package's page code; and the
3
- // links to them in the package's row of Packages, by their titles.
4
- import { useContext, useEffect, useRef } from "preact/hooks";
5
- import { sectionAddress } from "./address.js";
6
- import { Drawn, WidgetsContext } from "./extension-widgets.js";
7
- import { Icon } from "./icons.js";
8
- import { codeOfModule, ExtensionRoot, ModulesContext, ownPageIn, pagePropsOf, usePageModule, useWidgetData } from "./page-code.js";
9
- // Whether the player moved in the page since it loaded: a package's page opened then takes the focus to its title.
10
- let moved = false;
11
- if (typeof window !== "undefined") {
12
- window.addEventListener("hashchange", () => {
13
- moved = true;
14
- }, { once: true });
15
- }
16
- /**
17
- * A package's page by its package and name, once its module came; the focus on its title as it opens. Nothing while its module comes or has no such page;
18
- * a module that did not load says so in the page, with its error and whose it is.
19
- */
20
- export function PackagePage({ name, page }) {
21
- const module = useContext(ModulesContext).find((one) => one.package === name);
22
- const owner = module === undefined ? undefined : codeOfModule(module);
23
- const loaded = usePageModule(owner);
24
- const title = useRef(null);
25
- const found = page === undefined ? undefined : ownPageIn(loaded, page);
26
- const own = found instanceof Error ? undefined : found;
27
- const data = useWidgetData(module?.package ?? "", own?.widget, undefined, useContext(WidgetsContext));
28
- // Opened from the page, as by a tab or a menu, the focus goes to its title; loaded by its address, the focus stays at the page's start, as any page's,
29
- // and its title has no ring.
30
- useEffect(() => {
31
- if (moved) {
32
- title.current?.focus({ preventScroll: true });
33
- }
34
- }, [own === undefined, name, page]);
35
- if (owner === undefined || page === undefined || found === undefined) {
36
- return null;
37
- }
38
- const Drawing = own?.draw;
39
- return (_jsxs("section", { class: "page-stack package-page", "aria-labelledby": "package-page-title", children: [_jsxs("div", { class: "page-head", children: [_jsx("span", { class: "page-mark", children: own?.icon === undefined ? _jsx(Icon, { name: "packages" }) : _jsx(Drawn, { path: own.icon, kind: "icon" }) }), _jsx("h2", { id: "package-page-title", ref: title, tabIndex: -1, dir: "auto", children: own?.title ?? page })] }), _jsx(ExtensionRoot, { widget: owner, loaded: loaded, kind: "ext-page", draw: () => (Drawing === undefined ? null : _jsx(Drawing, { ...pagePropsOf(owner), name: page, ...(data === undefined ? {} : { data }) })) })] }));
40
- }
41
- /** The links to a package's own pages, by their titles, after the meta of its row in Packages; nothing for a package without any. */
42
- export function OwnPageLinks({ name }) {
43
- const module = useContext(ModulesContext).find((one) => one.package === name);
44
- return module === undefined ? null : _jsx(ModulePageLinks, { module: module });
45
- }
46
- function ModulePageLinks({ module }) {
47
- const loaded = usePageModule(codeOfModule(module));
48
- const pages = loaded === undefined || loaded instanceof Error ? [] : Object.entries(loaded.pages ?? {});
49
- return (_jsx(_Fragment, { children: pages.map(([page, own]) => (_jsxs("span", { children: [_jsx("span", { class: "package-report-gap", children: " · " }), _jsx("a", { class: "package-report", href: sectionAddress("pkg", module.package, page), dir: "auto", children: own.title })] }, page))) }));
50
- }