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
@@ -0,0 +1,64 @@
1
+ import { type Start } from "../../map/index.ts";
2
+ import { type Page, type Position, type World } from "../../pages/index.ts";
3
+ import { type GameDate } from "../../time/index.ts";
4
+ import { type Measures, type Roads } from "./roads.ts";
5
+ /** Where on a road a journey stopped (TRV-7): the road, its stretch by its place in the road, the ends of the stretch in the way it went, the metres done after `from`. */
6
+ export interface OnRoad {
7
+ road: string;
8
+ index: number;
9
+ from: string;
10
+ toward: string;
11
+ done: number;
12
+ }
13
+ /** A journey as state.yaml keeps it. */
14
+ export interface Journey {
15
+ /** What travels: the travellers, or the vehicle that carries them (TRV-6). */
16
+ movers: string[];
17
+ /** The characters it takes, on foot or carried: one who climbs into the cart or out of it keeps the journey (playtest 05). */
18
+ riders?: string[];
19
+ /** Where it goes; none once it arrived, while the day's hours still count. */
20
+ to?: string;
21
+ /** Off the roads, the way it goes instead of a place, and the metres left, when a distance was given (TRV-12). */
22
+ heading?: string;
23
+ left?: number;
24
+ on?: OnRoad;
25
+ /** Where in the open it stopped (TRV-12), and on which map, by the place that holds it; none for the main map (POS-8). */
26
+ at?: Position;
27
+ map?: string;
28
+ pace?: string;
29
+ /** When its last travel ended, the minutes travelled since the last rest, and the hours of travel given for them (TRV-8). */
30
+ last: GameDate;
31
+ travelled: number;
32
+ hours?: number;
33
+ }
34
+ /** The journey in state.yaml; none when there is none, or it does not read: then the next travel starts afresh. */
35
+ export declare function readJourney(root: string): Journey | undefined;
36
+ /** Writes the journey in state.yaml, or removes it. */
37
+ export declare function saveJourney(root: string, journey: Journey | undefined): void;
38
+ /** The minutes travelled since the last rest (TRV-8): none once the movers have stopped for a night's rest since the last travel. */
39
+ export declare function travelledSinceRest(journey: Journey | undefined, now: GameDate): number;
40
+ /** Whether a journey is made by these movers: the same ones, or the same characters, as when one climbed into the cart or out of it. */
41
+ export declare function sameMovers(world: World, journey: Journey, movers: Page[]): boolean;
42
+ /** The characters that movers take: those that are movers, and those a mover carries. */
43
+ export declare function ridersOf(world: World, movers: Page[]): string[];
44
+ /** The movers of a journey as pages, those that still exist. */
45
+ export declare function moversNamed(world: World, journey: Journey): Page[];
46
+ /** Where on its road a journey stopped (TRV-9), as a start: when its movers are all still right in the road; undefined otherwise. */
47
+ export declare function journeyStart(world: World, roads: Roads, journey: Journey, movers: Page[]): Start | undefined;
48
+ /** The map the movers are on (POS-8): that of the place they are in; in the open, the one their journey stopped on. Undefined for the main map. */
49
+ export declare function moversMap(world: World, journey: Journey | undefined, movers: Page[]): Page | undefined;
50
+ /**
51
+ * Where in the open a journey stopped (TRV-12), when its movers are still there: in the smallest region that covers the point, or in no place when none does;
52
+ * undefined otherwise.
53
+ */
54
+ export declare function journeyPoint(world: World, journey: Journey, movers: Page[]): Position | undefined;
55
+ /**
56
+ * Where the movers are on the map (TRV-12): the point in the open their journey stopped at; on its road, the point between the stretch's stops when both have
57
+ * a position; else the position of the place they are in. Undefined when none gives one.
58
+ */
59
+ export declare function moversPosition(world: World, roads: Roads, journey: Journey | undefined, movers: Page[]): Position | undefined;
60
+ /**
61
+ * The journey under way as status says it (TRV-10): "to Capitale, on Via del Re, 36 km past Rocca, toward Capitale; 8h of travel on day 4. To go on: travel to
62
+ * Capitale". Undefined when there is none, it arrived, or its movers left where it stopped.
63
+ */
64
+ export declare function journeyText(world: World, roads: Roads, journey: Journey | undefined, measures: Measures): string | undefined;
@@ -0,0 +1,172 @@
1
+ // A journey under way (D-258, TRV-8, TRV-9, TRV-12), kept in state.yaml under journey: what travels, where to or which way, where it stopped (on a road, or at
2
+ // a point in the open), the pace, the hours travelled since the last rest.
3
+ import { changeStateAt, readStateValues } from "../../campaign/index.js";
4
+ import { readLength } from "../../core/length.js";
5
+ import { comparableText } from "../../core/text.js";
6
+ import { pointAlong } from "../../map/index.js";
7
+ import { formatPosition, isEmptyField, locate, mapOf, pagesWithName, parsePageReference, readPosition } from "../../pages/index.js";
8
+ import { formatDuration, formatGameDate, minutesBetween, readDuration, readGameDate } from "../../time/index.js";
9
+ import { pointText, positionOf, regionAt } from "./positions.js";
10
+ import { hoursText, lengthText } from "./roads.js";
11
+ /** How long a stop must last for the hours of travel to start again (TRV-8): a night's rest. */
12
+ const restMinutes = 8 * 60;
13
+ /** The journey in state.yaml; none when there is none, or it does not read: then the next travel starts afresh. */
14
+ export function readJourney(root) {
15
+ let value;
16
+ try {
17
+ value = readStateValues(root).journey;
18
+ }
19
+ catch {
20
+ // A state.yaml that does not read is reported by validate (TIM-1); without a journey, travel starts afresh.
21
+ return undefined;
22
+ }
23
+ if (value === null || typeof value !== "object" || Array.isArray(value)) {
24
+ return undefined;
25
+ }
26
+ const fields = value;
27
+ const name = (field) => (typeof field === "string" && !isEmptyField(field) ? parsePageReference(field).name : undefined);
28
+ const text = (field) => (typeof field === "string" && !isEmptyField(field) ? field.trim() : undefined);
29
+ const movers = (Array.isArray(fields.who) ? fields.who : []).map(name).filter((mover) => mover !== undefined);
30
+ const riders = Array.isArray(fields.riders) ? fields.riders.map(name).filter((rider) => rider !== undefined) : undefined;
31
+ const last = readGameDate(fields.last);
32
+ const travelled = typeof fields.travelled === "string" ? readDuration(fields.travelled) : undefined;
33
+ const hours = typeof fields.hours === "number" && fields.hours > 0 ? fields.hours : undefined;
34
+ if (movers.length === 0 || last === undefined || travelled === undefined) {
35
+ return undefined;
36
+ }
37
+ const [road, from, toward, index] = [name(fields.road), name(fields.from), name(fields.toward), Number(fields.stretch) - 1];
38
+ const on = road === undefined || from === undefined || toward === undefined ? undefined : { road, index: Number.isInteger(index) ? index : -1, from, toward, done: readLength(fields.done) ?? 0 };
39
+ const at = readPosition(fields.at);
40
+ return { movers, riders, to: name(fields.to), heading: text(fields.heading), left: readLength(fields.left), on, at, map: name(fields.map), pace: text(fields.pace), last, travelled, hours };
41
+ }
42
+ /** Writes the journey in state.yaml, or removes it. */
43
+ export function saveJourney(root, journey) {
44
+ const link = (name) => `[[${name}]]`;
45
+ const value = journey === undefined ? undefined : {
46
+ who: journey.movers.map(link),
47
+ ...(journey.riders === undefined || sameNames(journey.riders, journey.movers) ? {} : { riders: journey.riders.map(link) }),
48
+ ...(journey.to === undefined ? {} : { to: link(journey.to) }),
49
+ ...(journey.heading === undefined ? {} : { heading: journey.heading }),
50
+ ...(journey.left === undefined ? {} : { left: `${Math.round(journey.left)} m` }),
51
+ ...(journey.on === undefined ? {} : {
52
+ road: link(journey.on.road),
53
+ stretch: journey.on.index + 1,
54
+ from: link(journey.on.from),
55
+ toward: link(journey.on.toward),
56
+ done: `${Math.round(journey.on.done)} m`,
57
+ }),
58
+ ...(journey.at === undefined ? {} : { at: formatPosition(journey.at) }),
59
+ ...(journey.map === undefined ? {} : { map: link(journey.map) }),
60
+ ...(journey.pace === undefined ? {} : { pace: journey.pace }),
61
+ last: formatGameDate(journey.last),
62
+ travelled: formatDuration(journey.travelled) || "0m",
63
+ ...(journey.hours === undefined ? {} : { hours: journey.hours }),
64
+ };
65
+ changeStateAt(root, [[["journey"], value]]);
66
+ }
67
+ /** The minutes travelled since the last rest (TRV-8): none once the movers have stopped for a night's rest since the last travel. */
68
+ export function travelledSinceRest(journey, now) {
69
+ return journey === undefined || minutesBetween(journey.last, now) >= restMinutes ? 0 : journey.travelled;
70
+ }
71
+ /** Whether a journey is made by these movers: the same ones, or the same characters, as when one climbed into the cart or out of it. */
72
+ export function sameMovers(world, journey, movers) {
73
+ return sameNames(journey.movers, movers.map((page) => page.name)) || (journey.riders !== undefined && sameNames(journey.riders, ridersOf(world, movers)));
74
+ }
75
+ /** The characters that movers take: those that are movers, and those a mover carries. */
76
+ export function ridersOf(world, movers) {
77
+ const names = new Set(movers.map((page) => comparableText(page.name)));
78
+ const moving = (page) => names.has(comparableText(page.name));
79
+ return world.pages.filter((page) => page.type === "character" && (moving(page) || locate(world, page).chain.some(moving))).map((page) => page.name);
80
+ }
81
+ /** The movers of a journey as pages, those that still exist. */
82
+ export function moversNamed(world, journey) {
83
+ return journey.movers.map((name) => pagesWithName(world, name)[0]).filter((page) => page !== undefined);
84
+ }
85
+ /** Where on its road a journey stopped (TRV-9), as a start: when its movers are all still right in the road; undefined otherwise. */
86
+ export function journeyStart(world, roads, journey, movers) {
87
+ const on = journey.on;
88
+ const road = on === undefined ? undefined : pagesWithName(world, on.road)[0];
89
+ if (on === undefined || road === undefined || !sameMovers(world, journey, movers) || !movers.every((page) => locate(world, page).chain[0] === road)) {
90
+ return undefined;
91
+ }
92
+ const same = (first, second) => comparableText(first) === comparableText(second);
93
+ const joins = (candidate) => (same(candidate.from, on.from) && same(candidate.to, on.toward)) || (same(candidate.from, on.toward) && same(candidate.to, on.from));
94
+ // The stretch by its place in the road, so that a road through the same two stops twice finds the right one; by its ends when written by hand.
95
+ const stretch = roads.stretches.find((candidate) => candidate.road === road.name && candidate.index === on.index && joins(candidate))
96
+ ?? roads.stretches.find((candidate) => candidate.road === road.name && joins(candidate));
97
+ if (stretch === undefined) {
98
+ return undefined;
99
+ }
100
+ const done = Math.min(Math.max(on.done, 0), stretch.length);
101
+ return { stretch, done: same(stretch.from, on.from) ? done : stretch.length - done };
102
+ }
103
+ /** The map the movers are on (POS-8): that of the place they are in; in the open, the one their journey stopped on. Undefined for the main map. */
104
+ export function moversMap(world, journey, movers) {
105
+ const mover = movers[0];
106
+ if (mover !== undefined && locate(world, mover).chain.length > 0) {
107
+ return mapOf(world, mover).root;
108
+ }
109
+ return journey?.map === undefined ? undefined : pagesWithName(world, journey.map)[0];
110
+ }
111
+ /**
112
+ * Where in the open a journey stopped (TRV-12), when its movers are still there: in the smallest region that covers the point, or in no place when none does;
113
+ * undefined otherwise.
114
+ */
115
+ export function journeyPoint(world, journey, movers) {
116
+ const holder = movers[0] === undefined ? undefined : locate(world, movers[0]).chain[0];
117
+ if (journey.at === undefined || !sameMovers(world, journey, movers) || !movers.every((page) => locate(world, page).chain[0] === holder)) {
118
+ return undefined;
119
+ }
120
+ return regionAt(world, journey.at, moversMap(world, journey, movers)?.path)?.page === holder ? journey.at : undefined;
121
+ }
122
+ /**
123
+ * Where the movers are on the map (TRV-12): the point in the open their journey stopped at; on its road, the point between the stretch's stops when both have
124
+ * a position; else the position of the place they are in. Undefined when none gives one.
125
+ */
126
+ export function moversPosition(world, roads, journey, movers) {
127
+ const open = journey === undefined ? undefined : journeyPoint(world, journey, movers);
128
+ const start = journey === undefined ? undefined : journeyStart(world, roads, journey, movers);
129
+ if (open !== undefined) {
130
+ return open;
131
+ }
132
+ if (start !== undefined && "stretch" in start) {
133
+ const [from, to] = [pagesWithName(world, start.stretch.from)[0], pagesWithName(world, start.stretch.to)[0]];
134
+ const [fromAt, toAt] = [from === undefined ? undefined : positionOf(world, from), to === undefined ? undefined : positionOf(world, to)];
135
+ return fromAt === undefined || toAt === undefined ? undefined : pointAlong(fromAt, toAt, start.done / start.stretch.length);
136
+ }
137
+ return movers[0] === undefined ? undefined : positionOf(world, movers[0]);
138
+ }
139
+ /**
140
+ * The journey under way as status says it (TRV-10): "to Capitale, on Via del Re, 36 km past Rocca, toward Capitale; 8h of travel on day 4. To go on: travel to
141
+ * Capitale". Undefined when there is none, it arrived, or its movers left where it stopped.
142
+ */
143
+ export function journeyText(world, roads, journey, measures) {
144
+ if (journey === undefined) {
145
+ return undefined;
146
+ }
147
+ const movers = moversNamed(world, journey);
148
+ const stopped = journey.at === undefined ? undefined : journeyPoint(world, journey, movers);
149
+ const map = moversMap(world, journey, movers)?.path;
150
+ // Arrived at a point in the open, with nowhere more to go: where they are (TRV-13).
151
+ if (journey.to === undefined && journey.heading === undefined) {
152
+ const region = stopped === undefined ? undefined : regionAt(world, stopped, map)?.page.name;
153
+ return stopped === undefined ? undefined : `stopped ${region === undefined ? "in the open" : `in ${region}`}, ${pointText(world, stopped, measures, map)}.`;
154
+ }
155
+ const onRoad = journey.on === undefined ? undefined : journeyStart(world, roads, journey, movers);
156
+ if ((journey.on !== undefined && onRoad === undefined) || (journey.at !== undefined && stopped === undefined)) {
157
+ return undefined;
158
+ }
159
+ const goal = journey.to === undefined ? `${journey.heading}${journey.left === undefined ? "" : ` for ${lengthText(journey.left, measures)} more`}` : `to ${journey.to}`;
160
+ const region = stopped === undefined ? undefined : regionAt(world, stopped, map)?.page.name;
161
+ const where = journey.on !== undefined
162
+ ? `, on ${journey.on.road}, ${lengthText(journey.on.done, measures)} past ${journey.on.from}, toward ${journey.on.toward}`
163
+ : stopped !== undefined
164
+ ? `, ${region === undefined ? "in the open" : `in ${region}`}, ${pointText(world, stopped, measures, map)}`
165
+ : "";
166
+ const call = journey.to === undefined ? `travel toward ${journey.heading}` : `travel to ${journey.to}${journey.at === undefined ? "" : ", across"}`;
167
+ return `${goal}${where}; ${hoursText(journey.travelled)} of travel since the last rest. To go on: ${call}.`;
168
+ }
169
+ function sameNames(first, second) {
170
+ const names = new Set(second.map(comparableText));
171
+ return first.length === names.size && first.every((name) => names.has(comparableText(name)));
172
+ }
@@ -0,0 +1,89 @@
1
+ import { type LogEntry } from "../../core/log.ts";
2
+ import { type Link, type Page, type World } from "../../pages/index.ts";
3
+ import type { Scene } from "../../scene/index.ts";
4
+ /** What a character knows: the pages, and the secrets by the page that writes them. */
5
+ export interface Knowledge {
6
+ /** Whose knowledge it is: the player character, the one in the foreground when there are more (VIEW-12), or another character for the character agent voicing them (VIEW-10). */
7
+ pc: Page;
8
+ pages: Set<Page>;
9
+ /** "coppa#veleno": the secrets it discovered, by the page that writes them and their name, as comparable text. */
10
+ secrets: Set<string>;
11
+ /** With more than one player character, what each of them knows (VIEW-12): the pages and secrets above are what any of them knows. */
12
+ each?: Knowledge[];
13
+ }
14
+ /** The player character: the first living character with role pc, else the first dead one; undefined before there is one. */
15
+ export declare function playerCharacter(world: World): Page | undefined;
16
+ /**
17
+ * What the player characters know (VIEW-12): with one, its knowledge; with more, what any of them knows, living or dead, with what each does, and the one in the
18
+ * foreground as whose it is. Undefined before there is one.
19
+ */
20
+ export declare function playerKnowledge(root: string, world: World, wanted?: string): Knowledge | undefined;
21
+ /** Who of the player characters knows a page, when more than one is played and only some of them do (VIEW-12); undefined otherwise. */
22
+ export declare function pageKnownBy(knowledge: Knowledge, page: Page): string[] | undefined;
23
+ /** Who of the player characters discovered a secret, by the page that writes it and its name, when more than one is played and only some of them did (VIEW-12). */
24
+ export declare function secretKnownBy(knowledge: Knowledge, page: Page, secret: string): string[] | undefined;
25
+ /**
26
+ * What a character knows (D-250, VIEW-10), the player's or another: what its knows lists, pages and the pages of its secrets; itself, the party when it is of it, and the
27
+ * creatures they derive from (D-275, D-277), the quests the party took when it is of it, what it carries, the places around it, the characters and places of
28
+ * the scenes it was in, and the places it was moved from and to, with those that hold them (D-316); the pages of the game system but its creatures, which anyone
29
+ * may read (SYS-2). Never a creature of the campaign it was not told of. As it was at its death, for a dead player character beside the living (VIEW-12): the
30
+ * place it died in, never where it was moved after, nor the scenes after.
31
+ */
32
+ export declare function knowledgeOf(root: string, world: World, pc: Page, read?: LogRead, atDeath?: boolean): Knowledge;
33
+ /** Whether the player character knows a page: one of the campaign it knows, or one of the game system but a creature (D-250). */
34
+ export declare function knowsPage(knowledge: Knowledge, page: Page): boolean;
35
+ /**
36
+ * A page's text as the player character knows it (VIEW-3): its introduction, or that of its nearest base it knows; its sections and those it shows from the bases
37
+ * it knows (INH-13), never a creature's (D-254); of the secrets, only those discovered, recorded by the page that writes them (REV-2), from any base. A secret
38
+ * without a name is never known; comments are left out (LNK-2).
39
+ */
40
+ export declare function knownText(world: World, knowledge: Knowledge, page: Page): string;
41
+ /** The secrets a page's text shows (VIEW-3) that only some of the player characters discovered, when more than one is played, each by its name and with who (VIEW-12). */
42
+ export declare function knownSecretsApart(world: World, knowledge: Knowledge, page: Page): {
43
+ secret: string;
44
+ who: string[];
45
+ }[];
46
+ /** A page's introduction as the character knows it (VIEW-3): its own, else that of its nearest base it knows; without comments. */
47
+ export declare function knownIntroduction(world: World, knowledge: Knowledge, page: Page): string;
48
+ /**
49
+ * The secrets the character discovered on pages not its own nor its bases', whose text its own page shows (VIEW-10): each by its page and its name there, with
50
+ * its text; none it cannot read.
51
+ */
52
+ export declare function discoveredSecrets(world: World, knowledge: Knowledge): {
53
+ page: string;
54
+ name: string;
55
+ text: string;
56
+ }[];
57
+ /** The scenes closed so far that a character was in, as the log keeps them (VIEW-10): with the game date, the title and the summary, the oldest first. */
58
+ export declare function scenesLivedBy(root: string, world: World, page: Page): {
59
+ date?: string;
60
+ title: string;
61
+ summary: string;
62
+ }[];
63
+ /** The player character's story as the player sees it on the dashboard (D-373): the opening text of its page, without its secrets and comments, the master's. */
64
+ export declare function playerStory(page: Page): string;
65
+ /**
66
+ * The section or secret of a page the player character knows by this name (VIEW-3): a section whole, with its subsections and the secrets in it it discovered;
67
+ * from a base, only one it knows, or a secret it discovered. Undefined when it knows none.
68
+ */
69
+ export declare function knownPart(world: World, knowledge: Knowledge, page: Page, name: string): string | undefined;
70
+ /** Whether a page's own text, not its bases', tells the character something: its introduction, or a section or secret of it the character may read (VIEW-3). */
71
+ export declare function writesKnownText(knowledge: Knowledge, page: Page): boolean;
72
+ /** The links of a character's knows (REV-1), each with its page and the secret it names, as knownLink finds them. */
73
+ export declare function knownLinks(world: World, character: Page): KnownLink[];
74
+ /** A link of knows with its page and secret (REV-1), found as knownLinks finds them. */
75
+ export interface KnownLink {
76
+ name: string;
77
+ page?: Page;
78
+ secret?: string;
79
+ }
80
+ /** One link as knows means it: its page, by a name or an alias (D-417), and the secret it names; of two pages by one name, the one that writes the secret. */
81
+ export declare function knownLink(world: World, link: Link): KnownLink;
82
+ /** The texts of a field, one or a list, without what is not text. */
83
+ export declare function textList(value: unknown): string[];
84
+ /** The log and the open scene, read once for what several characters lived. */
85
+ interface LogRead {
86
+ log: LogEntry[];
87
+ scene: Scene | undefined;
88
+ }
89
+ export {};
@@ -0,0 +1,249 @@
1
+ // What a character knows, as the player's view and a character agent's read it (D-250, VIEW-2, VIEW-3, VIEW-10): the pages it knows and the text of each as it knows it;
2
+ // with more than one player character, what any of them knows, and who (VIEW-12).
3
+ import { readLog } from "../../core/log.js";
4
+ import { comparableText } from "../../core/text.js";
5
+ import { baseChain, inheritedByBase, introductionText, isPartyMember, isPlayerCharacter, links, locate, pagesWithNameOrAlias, parsePageReference, partContent, playerCharacters, readSection, secretNames, stacksOf, systemPageNamed, textParts, textsIn, withLinksAsWords, withoutComments, } from "../../pages/index.js";
6
+ import { readOpenScene } from "./scene.js";
7
+ /** The player character: the first living character with role pc, else the first dead one; undefined before there is one. */
8
+ export function playerCharacter(world) {
9
+ const players = playerCharacters(world);
10
+ return players.find((page) => page.fields.status !== "dead") ?? players[0];
11
+ }
12
+ /**
13
+ * What the player characters know (VIEW-12): with one, its knowledge; with more, what any of them knows, living or dead, with what each does, and the one in the
14
+ * foreground as whose it is. Undefined before there is one.
15
+ */
16
+ export function playerKnowledge(root, world, wanted) {
17
+ const pc = foregroundCharacter(root, world, wanted);
18
+ if (pc === undefined) {
19
+ return undefined;
20
+ }
21
+ const players = playerCharacters(world);
22
+ if (players.length === 1) {
23
+ return knowledgeOf(root, world, pc);
24
+ }
25
+ // One read of the log for them all.
26
+ const read = { log: readLog(root), scene: readOpenScene(root).scene };
27
+ // A dead one knows what it knew at its death (D-480 (1)), while one of them lives.
28
+ const living = players.some((player) => player.fields.status !== "dead");
29
+ const each = players.map((player) => knowledgeOf(root, world, player, read, living && player.fields.status === "dead"));
30
+ return { pc, pages: new Set(each.flatMap((one) => [...one.pages])), secrets: new Set(each.flatMap((one) => [...one.secrets])), each };
31
+ }
32
+ /** Who of the player characters knows a page, when more than one is played and only some of them do (VIEW-12); undefined otherwise. */
33
+ export function pageKnownBy(knowledge, page) {
34
+ return knownApart(knowledge, (one) => knowsPage(one, page));
35
+ }
36
+ /** Who of the player characters discovered a secret, by the page that writes it and its name, when more than one is played and only some of them did (VIEW-12). */
37
+ export function secretKnownBy(knowledge, page, secret) {
38
+ return knownApart(knowledge, (one) => one.secrets.has(secretKey(page.name, secret)));
39
+ }
40
+ /**
41
+ * What a character knows (D-250, VIEW-10), the player's or another: what its knows lists, pages and the pages of its secrets; itself, the party when it is of it, and the
42
+ * creatures they derive from (D-275, D-277), the quests the party took when it is of it, what it carries, the places around it, the characters and places of
43
+ * the scenes it was in, and the places it was moved from and to, with those that hold them (D-316); the pages of the game system but its creatures, which anyone
44
+ * may read (SYS-2). Never a creature of the campaign it was not told of. As it was at its death, for a dead player character beside the living (VIEW-12): the
45
+ * place it died in, never where it was moved after, nor the scenes after.
46
+ */
47
+ export function knowledgeOf(root, world, pc, read, atDeath = false) {
48
+ const lived = read ?? { log: readLog(root), scene: readOpenScene(root).scene };
49
+ const carried = [pc, ...world.pages.filter((page) => locate(world, page).chain.includes(pc))];
50
+ // A link in knows, to a page or to one of its secrets, read with its secret (REV-1).
51
+ const known = knownLinks(world, pc);
52
+ const secrets = new Set(known.flatMap((link) => (link.secret === undefined ? [] : [secretKey(link.name, link.secret)])));
53
+ const member = isPartyMember(pc);
54
+ const pages = new Set([
55
+ pc,
56
+ // A secret discovered makes its page known, but a creature's: the secret is known, the creature's numbers stay the master's (D-254).
57
+ ...known.flatMap((link) => (link.page === undefined || (link.secret !== undefined && link.page.type === "creature") ? [] : [link.page])),
58
+ // The party, and the creatures its members derive from: the player knows a companion's stat block and the race of the character (D-275, D-277).
59
+ ...[pc, ...(member ? world.pages.filter((page) => page.type === "character" && isPartyMember(page)) : [])].flatMap((page) => [
60
+ page,
61
+ ...baseChain(world, page).filter((base) => base.type === "creature"),
62
+ ]),
63
+ // The quests the player took (D-250).
64
+ ...(member ? world.pages.filter((page) => page.type === "quest" && ["open", "done", "failed"].includes(String(page.fields.status))) : []),
65
+ ...carried.filter((page) => page !== pc),
66
+ // The kinds of the stacks it carries, as the campaign's Lembas (STK-12).
67
+ ...carried.flatMap((holder) => stacksOf(world, holder).map((stack) => stack.kind)).filter((kind) => kind.system === undefined),
68
+ ...(atDeath ? placesAtDeath(lived, world, pc) : locate(world, pc).chain),
69
+ // The places it was in, and those that hold them, as the regions it crossed (D-316).
70
+ ...livedOf(atDeath ? untilDeath(lived, pc) : lived, world, pc).flatMap((page) => (page.type === "place" ? [page, ...locate(world, page).chain] : page.type === "character" ? [page] : [])),
71
+ ]);
72
+ return { pc, pages, secrets };
73
+ }
74
+ /** Whether the player character knows a page: one of the campaign it knows, or one of the game system but a creature (D-250). */
75
+ export function knowsPage(knowledge, page) {
76
+ return knowledge.pages.has(page) || (page.system !== undefined && page.type !== "creature");
77
+ }
78
+ /**
79
+ * A page's text as the player character knows it (VIEW-3): its introduction, or that of its nearest base it knows; its sections and those it shows from the bases
80
+ * it knows (INH-13), never a creature's (D-254); of the secrets, only those discovered, recorded by the page that writes them (REV-2), from any base. A secret
81
+ * without a name is never known; comments are left out (LNK-2).
82
+ */
83
+ export function knownText(world, knowledge, page) {
84
+ const parts = [
85
+ ...partsOf(page),
86
+ ...inheritedByBase(world, page).flatMap((group) => group.parts.map((part) => ({ ...part, holder: group.base }))),
87
+ ].filter((part) => isShown(knowledge, page, part));
88
+ return inKnownWords(world, knowledge, withoutComments([knownIntroduction(world, knowledge, page), ...parts.map((part) => part.text)].filter((text) => text !== "").join("\n\n")));
89
+ }
90
+ /** The secrets a page's text shows (VIEW-3) that only some of the player characters discovered, when more than one is played, each by its name and with who (VIEW-12). */
91
+ export function knownSecretsApart(world, knowledge, page) {
92
+ const parts = [...partsOf(page), ...inheritedByBase(world, page).flatMap((group) => group.parts.map((part) => ({ ...part, holder: group.base })))];
93
+ return parts.filter((part) => isSecretText(part.text) && isShown(knowledge, page, part)).flatMap((part) => {
94
+ const who = secretKnownBy(knowledge, part.holder, part.name);
95
+ return who === undefined ? [] : [{ secret: part.name, who }];
96
+ });
97
+ }
98
+ /** A page's introduction as the character knows it (VIEW-3): its own, else that of its nearest base it knows; without comments. */
99
+ export function knownIntroduction(world, knowledge, page) {
100
+ const introduction = introductionText(page.body) || (baseChain(world, page).filter((base) => knowsPage(knowledge, base)).map((base) => introductionText(base.body)).find((text) => text !== "") ?? "");
101
+ return inKnownWords(world, knowledge, withoutComments(introduction));
102
+ }
103
+ /**
104
+ * The secrets the character discovered on pages not its own nor its bases', whose text its own page shows (VIEW-10): each by its page and its name there, with
105
+ * its text; none it cannot read.
106
+ */
107
+ export function discoveredSecrets(world, knowledge) {
108
+ const own = new Set([knowledge.pc, ...baseChain(world, knowledge.pc)]);
109
+ return knownLinks(world, knowledge.pc).flatMap((link) => {
110
+ const part = link.page === undefined || (link.secret ?? "") === "" || own.has(link.page) ? undefined : partContent(link.page.body, link.secret ?? "");
111
+ return part?.secret === true ? [{ page: link.name, name: link.secret ?? "", text: inKnownWords(world, knowledge, withoutComments(part.content)) }] : [];
112
+ });
113
+ }
114
+ /** The scenes closed so far that a character was in, as the log keeps them (VIEW-10): with the game date, the title and the summary, the oldest first. */
115
+ export function scenesLivedBy(root, world, page) {
116
+ const isSelf = (name) => pagesWithNameOrAlias(world, parsePageReference(name).name)[0] === page;
117
+ return readLog(root).filter((entry) => entry.type === "scene-closed").flatMap((entry) => {
118
+ const data = entry.data;
119
+ const present = [...textList(data.with), ...textList(data.left)].some(isSelf);
120
+ return present && typeof data.title === "string" ? [{ ...(entry.date === undefined ? {} : { date: entry.date }), title: data.title, summary: typeof data.summary === "string" ? data.summary : "" }] : [];
121
+ });
122
+ }
123
+ /** The player character's story as the player sees it on the dashboard (D-373): the opening text of its page, without its secrets and comments, the master's. */
124
+ export function playerStory(page) {
125
+ return withoutComments(introductionText(page.body));
126
+ }
127
+ /**
128
+ * The section or secret of a page the player character knows by this name (VIEW-3): a section whole, with its subsections and the secrets in it it discovered;
129
+ * from a base, only one it knows, or a secret it discovered. Undefined when it knows none.
130
+ */
131
+ export function knownPart(world, knowledge, page, name) {
132
+ const wanted = comparableText(name.trim());
133
+ for (const holder of [page, ...baseChain(world, page)]) {
134
+ const part = partsOf(holder).find((candidate) => comparableText(candidate.name) === wanted);
135
+ if (part === undefined) {
136
+ continue;
137
+ }
138
+ if (!isShown(knowledge, page, part)) {
139
+ return undefined;
140
+ }
141
+ const whole = isSecretText(part.text) ? part.text : (readSection(holder.body, part.name) ?? part.text);
142
+ const kept = isSecretText(part.text) ? [part] : partsOf({ ...holder, body: whole }).map((inner) => ({ ...inner, holder })).filter((inner) => isShown(knowledge, page, inner));
143
+ return inKnownWords(world, knowledge, withoutComments(kept.map((inner) => inner.text).join("\n\n")));
144
+ }
145
+ return undefined;
146
+ }
147
+ /** Whether a page's own text, not its bases', tells the character something: its introduction, or a section or secret of it the character may read (VIEW-3). */
148
+ export function writesKnownText(knowledge, page) {
149
+ const said = (text) => withoutComments(text ?? "").trim() !== "";
150
+ return said(introductionText(page.body)) || partsOf(page).some((part) => isShown(knowledge, page, part) && said(partContent(page.body, part.name)?.content));
151
+ }
152
+ /** The links of a character's knows (REV-1), each with its page and the secret it names, as knownLink finds them. */
153
+ export function knownLinks(world, character) {
154
+ return textsIn(character.fields.knows).flatMap(links).map((link) => knownLink(world, link));
155
+ }
156
+ /** One link as knows means it: its page, by a name or an alias (D-417), and the secret it names; of two pages by one name, the one that writes the secret. */
157
+ export function knownLink(world, link) {
158
+ const pages = pagesWithNameOrAlias(world, parsePageReference(link.page).name);
159
+ const wanted = link.section === undefined || link.section === "" ? undefined : comparableText(link.section);
160
+ for (const page of wanted === undefined ? [] : pages) {
161
+ const secret = secretNames(page.body).find((name) => comparableText(name) === wanted);
162
+ if (secret !== undefined) {
163
+ return { name: page.name, page, secret };
164
+ }
165
+ }
166
+ return { name: pages[0]?.name ?? link.page, ...(pages[0] === undefined ? {} : { page: pages[0] }), ...(link.section === undefined ? {} : { secret: link.section }) };
167
+ }
168
+ /** The texts of a field, one or a list, without what is not text. */
169
+ export function textList(value) {
170
+ return (Array.isArray(value) ? value : [value]).filter((item) => typeof item === "string");
171
+ }
172
+ /**
173
+ * The player character in the foreground (VIEW-12), whose place, map and squares the view shows: the one named; else, of the living, the one whose turn it is in
174
+ * the open scene, then one in the open scene, then the first; else the first. Undefined before there is one.
175
+ */
176
+ function foregroundCharacter(root, world, wanted) {
177
+ const players = playerCharacters(world);
178
+ if (wanted !== undefined && wanted.trim() !== "") {
179
+ const page = pagesWithNameOrAlias(world, parsePageReference(wanted).name).find(isPlayerCharacter);
180
+ if (page === undefined) {
181
+ throw new Error(`${wanted.trim()} is not a player character: give one of ${players.map((player) => player.name).join(", ") || "them, once there is one"}.`);
182
+ }
183
+ return page;
184
+ }
185
+ const living = players.filter((page) => page.fields.status !== "dead");
186
+ const { scene } = readOpenScene(root);
187
+ const named = (page, name) => name !== undefined && pagesWithNameOrAlias(world, parsePageReference(name).name)[0] === page;
188
+ return living.find((page) => named(page, scene?.turn)) ?? living.find((page) => (scene?.with ?? []).some((link) => named(page, link))) ?? living[0] ?? players[0];
189
+ }
190
+ /** A text as the character may read it (VIEW-3): a link to a page it does not know, or to none, written as its words, so that no name tells the page exists. */
191
+ function inKnownWords(world, knowledge, text) {
192
+ return withLinksAsWords(text, (link) => [...pagesWithNameOrAlias(world, link.page), systemPageNamed(world, link.page)].some((page) => page !== undefined && knowsPage(knowledge, page)));
193
+ }
194
+ /** Whether a part shows to the player character: a secret it discovered, or a section of the page or of a base it knows (D-254). */
195
+ function isShown(knowledge, page, part) {
196
+ return isSecretText(part.text) ? knowledge.secrets.has(secretKey(part.holder.name, part.name)) : part.holder === page || knowsPage(knowledge, part.holder);
197
+ }
198
+ /** The sections and secrets of a page's own text, each with the page. */
199
+ function partsOf(page) {
200
+ return textParts(page.body).map((part) => ({ ...part, holder: page }));
201
+ }
202
+ function isSecretText(text) {
203
+ return /^[ \t]{0,3}>[ \t]*\[!secret\]/i.test(text);
204
+ }
205
+ /** The names of the player characters a test holds for, when more than one is played and not all of them pass it. */
206
+ function knownApart(knowledge, knows) {
207
+ const knowers = knowledge.each?.filter(knows).map((one) => one.pc.name);
208
+ return knowers === undefined || knowers.length === knowledge.each?.length ? undefined : knowers;
209
+ }
210
+ function secretKey(page, secret) {
211
+ return `${comparableText(page)}#${comparableText(secret)}`;
212
+ }
213
+ /**
214
+ * The pages of what the player character lived, as the log keeps it: the characters and places of the scenes it was in, those closed and the open one, and where
215
+ * it was moved from and to; never one the master gave only by what the character sees of them, in any scene (D-416, VIEW-2).
216
+ */
217
+ function livedOf({ log, scene }, world, pc) {
218
+ const pageOf = (name) => pagesWithNameOrAlias(world, parsePageReference(name).name)[0];
219
+ const isPc = (name) => pageOf(name) === pc;
220
+ const closed = log.filter((entry) => entry.type === "scene-closed").map((entry) => entry.data);
221
+ const scenes = [...closed, ...(scene === undefined ? [] : [{ place: scene.place, with: scene.with, left: scene.left, unnamed: Object.keys(scene.seen ?? {}) }])];
222
+ const unnamed = new Set(scenes.flatMap((one) => textList(one.unnamed).flatMap((name) => pageOf(name) ?? [])));
223
+ const met = scenes.flatMap((one) => {
224
+ const people = [...textList(one.with), ...textList(one.left)];
225
+ return people.some(isPc) ? [...people, ...textList(one.place)] : [];
226
+ });
227
+ const moved = log.filter((entry) => entry.type === "moved" && textList(entry.data.pages).some(isPc)).flatMap((entry) => {
228
+ const from = entry.data.from !== null && typeof entry.data.from === "object" ? Object.entries(entry.data.from).filter(([name]) => isPc(name)).map(([, holder]) => holder) : [];
229
+ return [...textList(from), ...textList(entry.data.to)];
230
+ });
231
+ return [...met, ...moved].flatMap((name) => pageOf(name) ?? []).filter((page) => !unnamed.has(page));
232
+ }
233
+ /** The log up to a character's death, the last line that wrote it dead, and no open scene; the whole log when no line did, as for one written dead by hand. */
234
+ function untilDeath({ log }, page) {
235
+ const died = log.findLastIndex((entry) => {
236
+ const set = entry.data.set;
237
+ return ["page-created", "page-updated"].includes(entry.type) && comparableText(String(entry.data.page ?? "")) === comparableText(page.name) && set?.status === "dead";
238
+ });
239
+ return { log: died < 0 ? log : log.slice(0, died), scene: undefined };
240
+ }
241
+ /** Where a dead character lay when it died, and what holds it: where it was moved from by the first move after its death, else where it is. */
242
+ function placesAtDeath(read, world, page) {
243
+ const before = untilDeath(read, page).log.length;
244
+ const named = (name) => comparableText(String(name)) === comparableText(page.name);
245
+ const moved = read.log.slice(before).find((entry) => entry.type === "moved" && textList(entry.data.pages).some(named));
246
+ const from = moved?.data.from !== null && typeof moved?.data.from === "object" ? Object.entries(moved.data.from).find(([name]) => named(name))?.[1] : undefined;
247
+ const holder = typeof from === "string" ? pagesWithNameOrAlias(world, parsePageReference(from).name)[0] : undefined;
248
+ return moved === undefined ? locate(world, page).chain : holder === undefined ? [] : [holder, ...locate(world, holder).chain];
249
+ }
@@ -0,0 +1,36 @@
1
+ // The reading of the player's books apart from the chat (D-491, LIB-3): rules and config start a process of its own, `rpg --read-library`, which reads each
2
+ // book of this computer's library still to read, its PDF pages without readable text by the system's OCR, and writes its index; one at a time on a computer.
3
+ import { spawn } from "node:child_process";
4
+ import { defaultContext } from "../../core/context.js";
5
+ import { readDocument, systemPageReader } from "../../documents/index.js";
6
+ import { claimLibrary, dropUnlisted, libraryFolders, readLibrary, releaseLibrary } from "../../library/index.js";
7
+ import { libraryScope } from "./library.js";
8
+ // The argument of the command line that reads the library, as cli.ts takes it: not a command, only what rules starts.
9
+ const readLibraryArgument = "--read-library";
10
+ /** Starts the reading of the library apart, by the command line this process runs, outliving the chat: what Context.readLibrary is where a player sits. */
11
+ export function libraryRunner() {
12
+ // A process that cannot start leaves the books unread, never the server down.
13
+ return () => spawn(process.execPath, [process.argv[1] ?? "", readLibraryArgument], { detached: true, stdio: "ignore", windowsHide: true }).on("error", () => undefined).unref();
14
+ }
15
+ /**
16
+ * Reads the books of this computer's library still to read, here, unless another process does already; the player's local data folder holds their index, unless
17
+ * another is given. The text of a folder taken off the computer is dropped first, and once more at the end.
18
+ */
19
+ export async function readLibraryHere(folder = defaultContext().bookIndex) {
20
+ if (folder === undefined || !claimLibrary(folder)) {
21
+ return;
22
+ }
23
+ const ocr = systemPageReader(process.platform, process.env);
24
+ try {
25
+ // The text left by a reader stopped after its folder was taken off the computer.
26
+ dropUnlisted(folder, libraryFolders(folder));
27
+ await readLibrary(folder, () => libraryFolders(folder), libraryScope, async (path, resume) => {
28
+ const read = await readDocument(path, { ocr, pictures: false, resume });
29
+ return { parts: read.parts, unreadable: read.unreadable, recognized: read.recognized };
30
+ });
31
+ dropUnlisted(folder, libraryFolders(folder));
32
+ }
33
+ finally {
34
+ releaseLibrary(folder);
35
+ }
36
+ }