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,616 @@
1
+ // The character sheet of the game system (D-204, D-207, DAT-2): its groups as show gives them, the fields a character still lacks, and the names a list takes (SYS-8).
2
+ import { listItemNames, numberOf } from "../../core/formula.js";
3
+ import { comparableText, valueNamed } from "../../core/text.js";
4
+ import { readCounter } from "../../counters/index.js";
5
+ import { baseChain, carriedWeight, containerFieldOf, declaredKind, entryKind, entryPage, inheritedFields, isEmptyField, isStandardField, linksIn, readEntry, stackName, stacksOf, textsIn, validHoldersOf, weightUnit, } from "../../pages/index.js";
6
+ import { fieldName } from "../../progression/index.js";
7
+ import { effectiveFields } from "./effect-layer.js";
8
+ import { experienceOf, experienceText, levelNeed } from "./experience.js";
9
+ import { givenItems, progressionOf } from "./progression.js";
10
+ import { carriedIn, counterLimits, formulaValue, hasSheet, isUse, itemLines, itemList, signedText, workedFields, workedLine, workedMaximum, workedParts } from "./worked-out.js";
11
+ /** The sheet of the game system as status gives it before there is a player character (DAT-2); undefined when the system has none. */
12
+ export function sheetSummary(system) {
13
+ if (system.sheet.length === 0) {
14
+ return undefined;
15
+ }
16
+ const entries = system.sheet.flatMap((group) => group.entries);
17
+ const workedOut = system.sheet.flatMap((group) => {
18
+ const fields = entryFields(group.entries);
19
+ // A group the system works out whole, but for what is written only when it applies, is named as a group, such as Saving Throws.
20
+ const required = entryFields(group.entries.filter((entry) => !entry.optional));
21
+ const whole = required.length > 0 && required.every((field) => isWorkedOut(system, field));
22
+ return whole ? [group.name] : fields.filter((field) => isWorkedOut(system, field));
23
+ });
24
+ const onSheet = sheetFields(system);
25
+ const lineOnly = system.statusLine.map((entry) => entry.field).filter((field) => !isWorkedOut(system, field) && !onSheet.has(comparableText(field)));
26
+ return {
27
+ system: system.name,
28
+ written: remindedFields(system),
29
+ // A use is written full by the engine (DAT-9): no one writes it by hand.
30
+ whenTheyApply: [...entries.filter((entry) => entry.optional).flatMap((entry) => entryFields([entry]).filter((field) => !isWorkedOut(system, field) && !isSystemUse(system, field))), ...lineOnly],
31
+ workedOut,
32
+ // "save-proficiencies (str, dex, con…)": a few names whole, many by the first two, as the system writes them.
33
+ lists: Object.entries({ ...system.values, ...system.sheetValues }).filter(([field]) => onSheet.has(comparableText(field))).map(([field, names]) => `${field} (${names.length <= 6 ? names.join(", ") : `such as ${names.slice(0, 2).join(", ")}`})`),
34
+ };
35
+ }
36
+ /**
37
+ * The fields of the system's character sheet that a page lacks (DAT-2): a player character's, or a companion's that does not derive from a creature; none for other
38
+ * pages. Those written only when they apply are never missing (D-206), nor those the system works out (FOR-7).
39
+ */
40
+ export function missingSheetFields(system, world, page) {
41
+ if (system === undefined || !hasSheet(world, page)) {
42
+ return [];
43
+ }
44
+ const fields = new Set(Object.entries(effectiveFields(world, page)).filter(([, value]) => !isEmptyField(value)).map(([field]) => comparableText(field)));
45
+ return remindedFields(system).filter((field) => !fields.has(comparableText(field)));
46
+ }
47
+ /**
48
+ * What write says once when a character joins the party (DAT-2): the fields its sheet still lacks, then the system's notes on the groups of the sheet, such as
49
+ * that the personality is the player's (D-206).
50
+ */
51
+ export function joiningNotes(system, world, page) {
52
+ if (system === undefined || !hasSheet(world, page)) {
53
+ return [];
54
+ }
55
+ const missing = missingSheetFields(system, world, page);
56
+ const lacks = missing.length === 0 ? [] : [`${page.name}'s sheet of the system ${system.name} still lacks, by these names: ${missing.join(", ")}.`];
57
+ return [...lacks, ...system.sheet.flatMap((group) => (group.note === undefined ? [] : [`${group.name}: ${group.note}`]))];
58
+ }
59
+ /**
60
+ * The sheet of a player character or a companion as data, a group for each that has a value, as the character reads it, effects and formulas included (DAT-2).
61
+ * None for other pages, which show their fields as written, with where each comes from.
62
+ */
63
+ export function sheetData(world, system, page) {
64
+ if (system === undefined || !hasSheet(world, page)) {
65
+ return [];
66
+ }
67
+ const fields = effectiveFields(world, page);
68
+ const marks = markCounts(world, system, fields);
69
+ return system.sheet.flatMap((group) => {
70
+ // The group of what a character carries (D-431): its purse and the other values, then a row for each thing, stack or text, with what each item holds below it.
71
+ if (group.entries.some((entry) => comparableText(entry.field) === "inventory")) {
72
+ const values = group.entries.filter((entry) => comparableText(entry.field) !== "inventory").flatMap((entry) => {
73
+ const value = valueNamed(fields, entry.field);
74
+ const most = Object.entries(system.bonds).find(([list]) => comparableText(list) === comparableText(entry.field))?.[1].most;
75
+ return isEmptyField(value) ? [] : [{ ...sheetValue(world, fields, entry.field, value), ...(most === undefined ? {} : { most }) }];
76
+ });
77
+ const items = carriedRows(world, page, { equipped: equippedPages(world, page), bonds: bondedPages(world, system, page) });
78
+ const load = loadValue(world, system, page, fields);
79
+ const shown = [...values, ...(load === undefined ? [] : [load])];
80
+ return shown.length + items.length === 0 ? [] : [{ name: group.name, ...iconOf(group), values: shown, ...(items.length === 0 ? {} : { items }) }];
81
+ }
82
+ const list = itemGroupList(world, group);
83
+ // A group of what the items of one list give is shown item by item, as the attacks of the weapons equipped (PRO-5).
84
+ if (list !== undefined) {
85
+ const items = itemLines(world, fields, list, entryFields(group.entries)).map((item) => ({
86
+ item: item.item,
87
+ values: item.values.map((value) => sheetValue(world, fields, value.field, value.value)),
88
+ }));
89
+ return items.length === 0 ? [] : [{ name: group.name, ...iconOf(group), values: [], items }];
90
+ }
91
+ const progression = progressionOf(world, fields);
92
+ const values = groupEntries(world, system, group, fields).flatMap((entry) => {
93
+ const value = valueNamed(fields, entry.field);
94
+ const given = givenItems(progression, entry.field);
95
+ if (given.length > 0) {
96
+ return [givenValue(world, entry.field, value, given)];
97
+ }
98
+ const beside = besideValue(world, fields, entry);
99
+ const roll = sheetRoll(world, system, fields, entry);
100
+ const progress = experienceProgress(world, fields, entry.field);
101
+ const need = experienceNeed(world, fields, entry.field);
102
+ return isEmptyField(value) ? [] : [{
103
+ ...sheetValue(world, fields, entry.field, value),
104
+ marks: marks.get(comparableText(entry.field)) ?? 0,
105
+ ...(beside === undefined ? {} : { beside }),
106
+ ...(beside === undefined || entry.beside === undefined ? {} : { besideField: entry.beside }),
107
+ ...(roll === undefined ? {} : { roll }),
108
+ ...(progress === undefined ? {} : { progress }),
109
+ ...(need === undefined ? {} : { levelNeed: need }),
110
+ }];
111
+ });
112
+ return values.length === 0 ? [] : [{ name: group.name, ...iconOf(group), values }];
113
+ });
114
+ }
115
+ /**
116
+ * The icon on the token of one of the party (D-414): the system's for the first item of its field that has one, by its name or by a page it derives from, as a
117
+ * class of the campaign built on the system's; none when the system gives none.
118
+ */
119
+ export function tokenIcon(world, system, page) {
120
+ const rule = system?.tokenIcons;
121
+ const value = rule === undefined ? undefined : valueNamed(effectiveFields(world, page), rule.field);
122
+ if (rule === undefined || isEmptyField(value)) {
123
+ return undefined;
124
+ }
125
+ const iconOf = (name) => Object.entries(rule.icons).find(([key]) => comparableText(key) === comparableText(name))?.[1];
126
+ const item = (name) => world.pages.find((candidate) => comparableText(candidate.name) === comparableText(name));
127
+ return listItemNames(value).flatMap((name) => {
128
+ const own = item(name);
129
+ return [name, ...(own === undefined ? [] : baseChain(world, own).map((base) => base.name))];
130
+ }).map(iconOf).find((icon) => icon !== undefined);
131
+ }
132
+ /**
133
+ * The line under a character's name on the dashboard (D-288): the system's headline, each field in braces as the sheet shows it and a list as the names of its
134
+ * items, as Level 3 Cleric, in the campaign's language when the system has its words (D-403); none when the system has none, or when its fields are all empty.
135
+ */
136
+ export function sheetHeadline(world, system, page, words) {
137
+ const headline = words?.headline ?? system?.sheetHeadline;
138
+ if (headline === undefined || !hasSheet(world, page)) {
139
+ return undefined;
140
+ }
141
+ const fields = effectiveFields(world, page);
142
+ const shown = (field) => {
143
+ const value = valueNamed(fields, field);
144
+ const said = (name) => words?.words[name] ?? name;
145
+ return isEmptyField(value) ? "" : declaredKind(world, field) === "list" ? listItemNames(value).map(said).join(" / ") : said(valueText(world, field, value));
146
+ };
147
+ const named = [...headline.matchAll(/\{([^{}]+)\}/g)].map((match) => shown(match[1]));
148
+ if (named.every((text) => text === "")) {
149
+ return undefined;
150
+ }
151
+ // Its parts between commas, each kept with the comma before it unless it names fields all empty: "{calling}, rank {level}" without a calling is rank 3.
152
+ const parts = headline.split(/(\s*[,;،、,]\s*)/);
153
+ const kept = parts.flatMap((part, at) => {
154
+ const fields = [...part.matchAll(/\{([^{}]+)\}/g)].map((match) => shown(match[1]));
155
+ return at % 2 === 1 || (fields.length > 0 && fields.every((text) => text === "")) ? [] : [{ text: part.replace(/\{([^{}]+)\}/g, (_, field) => shown(field)), before: parts[at - 1] ?? "" }];
156
+ });
157
+ return kept.map((part, at) => (at === 0 ? part.text : `${part.before}${part.text}`)).join("").replace(/\s+/g, " ").trim();
158
+ }
159
+ /**
160
+ * The stat block of a companion who keeps no sheet, as the creature it derives from writes it (D-275): one group named after the creature, with the fields the
161
+ * game system declares, in the order the creature writes them, as the companion reads them, and beside a field what the sheet shows beside it, such as str-mod
162
+ * by str. None for a page that derives from no creature.
163
+ */
164
+ export function statBlock(world, system, page) {
165
+ const creature = baseChain(world, page).find((base) => base.type === "creature");
166
+ if (system === undefined || creature === undefined) {
167
+ return [];
168
+ }
169
+ const fields = effectiveFields(world, page);
170
+ const besides = new Map(system.sheet.flatMap((group) => group.entries).flatMap((entry) => (entry.beside === undefined ? [] : [[comparableText(entry.field), entry.beside]])));
171
+ // From the creature at the root of the chain to the companion: the order of the stat block, then what the companion adds.
172
+ const names = [...new Set([...baseChain(world, page)].reverse().concat(page).flatMap((holder) => Object.keys(holder.fields)))];
173
+ const values = names.flatMap((field) => {
174
+ const value = valueNamed(fields, field);
175
+ if (declaredKind(world, field) === undefined || isStandardField(page.type, field) || isEmptyField(value)) {
176
+ return [];
177
+ }
178
+ const besideField = besides.get(comparableText(field));
179
+ const besideValue = besideField === undefined ? undefined : valueNamed(fields, besideField);
180
+ const beside = besideField === undefined || isEmptyField(besideValue) ? undefined : valueText(world, besideField, besideValue);
181
+ return [{ ...sheetValue(world, fields, field, value), ...(beside === undefined ? {} : { beside }) }];
182
+ });
183
+ return values.length === 0 ? [] : [{ name: creature.name, values }];
184
+ }
185
+ /** "Abilities: str 14 (+2) · dex 12 (+1)…": the sheet as the chat gives it, a line for each group. */
186
+ export function sheetText(groups) {
187
+ return groups.map((group) => {
188
+ const values = group.values.map((value) => `${value.field} ${value.text}${value.marks === 0 ? "" : ` ${"●".repeat(value.marks)}`}${value.beside === undefined ? "" : ` (${value.beside})`}`);
189
+ const items = (group.items ?? []).map((item) => {
190
+ const text = `${item.item}${item.values.map((value) => value.text).filter((text) => text !== "").map((text) => ` ${text}`).join(",")}${item.equipped === true ? " (equipped)" : ""}`;
191
+ return (item.depth ?? 0) > 0 ? `${"› ".repeat(item.depth ?? 0)}${text}` : text;
192
+ });
193
+ return `${group.name}: ${[...values, ...items].join(" · ")}`;
194
+ });
195
+ }
196
+ /** The sheet of a player character or a companion as the chat gives it (DAT-2): sheetData as text. */
197
+ export function sheetLines(world, system, page) {
198
+ return sheetText(sheetData(world, system, page));
199
+ }
200
+ /**
201
+ * A group of a character's sheet, by the name the system gives it, with how each value is made (FOR-8): "insight +5: wis-mod +3, proficiency +2, Insight in
202
+ * skill-proficiencies", for show Page#Group. Undefined when the system's sheet has no group by that name.
203
+ */
204
+ export function sheetGroup(world, system, page, name) {
205
+ const group = system === undefined || !hasSheet(world, page) ? undefined : system.sheet.find((candidate) => comparableText(candidate.name) === comparableText(name.trim()));
206
+ if (system === undefined || group === undefined) {
207
+ return undefined;
208
+ }
209
+ const fields = effectiveFields(world, page);
210
+ const list = itemGroupList(world, group);
211
+ if (list !== undefined) {
212
+ const items = itemLines(world, fields, list, entryFields(group.entries), true);
213
+ const lines = items.map((item) => `${item.item}: ${item.values.map((value) => workedLine(world, value)).join("; ")}`);
214
+ const empty = `${page.name} has nothing in ${group.name} yet: the pages of the items in its ${list} give it, as ${entryFields(group.entries).join(" and ")}.`;
215
+ return { name: group.name, lines: lines.length === 0 ? [empty] : lines };
216
+ }
217
+ const worked = workedFields(world, fields, true);
218
+ const lines = groupEntries(world, system, group, fields).flatMap((entry) => {
219
+ const value = valueNamed(fields, entry.field);
220
+ const computed = worked.find((candidate) => comparableText(candidate.field) === comparableText(entry.field));
221
+ if (computed !== undefined) {
222
+ return [workedLine(world, computed)];
223
+ }
224
+ const given = givenItems(progressionOf(world, fields), entry.field);
225
+ if (given.length > 0) {
226
+ return [`${entry.field} ${givenValue(world, entry.field, value, given).text}`];
227
+ }
228
+ if (isEmptyField(value)) {
229
+ return [];
230
+ }
231
+ const maximum = readCounter(value) === undefined ? undefined : workedMaximum(world, fields, entry.field);
232
+ const parts = maximum === undefined ? "" : workedParts(world, maximum.reads);
233
+ return [`${entry.field} ${valueText(world, entry.field, value)}${besideText(world, fields, entry)}${parts === "" ? "" : `: the maximum from ${parts}`}`];
234
+ });
235
+ return { name: group.name, lines: lines.length === 0 ? [`${page.name} has nothing in ${group.name} yet.`] : lines };
236
+ }
237
+ /** The names of the groups of a character's sheet, for a message; none for a page that shows no sheet. */
238
+ export function sheetGroupNames(world, system, page) {
239
+ return system === undefined || !hasSheet(world, page) ? [] : system.sheet.map((group) => group.name);
240
+ }
241
+ /**
242
+ * The fields the sheet of a character shows (DAT-2), those the rows of its classes give included (PRO-4), and what the items of its lists give (PRO-5), which
243
+ * show leaves out of the fields as written; none for a page that shows no sheet.
244
+ */
245
+ export function sheetFieldNames(world, system, page) {
246
+ if (system === undefined || !hasSheet(world, page)) {
247
+ return [];
248
+ }
249
+ const fields = effectiveFields(world, page);
250
+ const shown = entryFields(system.sheet.flatMap((group) => groupEntries(world, system, group, fields)));
251
+ // What the items of a list the sheet shows give is part of the values that read it, as an armor's armor-class in ac (PRO-5).
252
+ const given = Object.entries(system.itemFormulas).filter(([list]) => shown.some((field) => comparableText(field) === comparableText(list)) || comparableText(list) === comparableText(system.progression?.list ?? "")).flatMap(([, names]) => names);
253
+ return [...shown, ...given.filter((field) => !shown.some((other) => comparableText(other) === comparableText(field)))];
254
+ }
255
+ /**
256
+ * Refuses items given to a list that the game system does not take, with the names it takes, and links in place of its names (SYS-8); and text with commas for a
257
+ * list the system declares without names, which would be one item, as "simple weapons, martial weapons".
258
+ */
259
+ export function checkListValues(system, lists, onSheet = false) {
260
+ for (const [field, value] of Object.entries(lists)) {
261
+ // A map where a list goes, as {"[[Fighter]]": 1}, would read as nothing: the sheet would come out at level 0 (D-246).
262
+ if (system !== undefined && isListField(system, field) && value !== null && typeof value === "object" && !Array.isArray(value)) {
263
+ const example = Object.entries(value).map(([key, number]) => `${key} ${String(number)}`).join(", ");
264
+ throw new Error(`${field} is a list in the system ${system.name}: give it as one, such as ${field}=[${example}]. Nothing changed.`);
265
+ }
266
+ if (system !== undefined && isOpenList(system, field) && isCommaText(value)) {
267
+ throw new Error(`${field} is a list in the system ${system.name}: write its names apart, as ${field}=[${String(value)}]. Nothing changed.`);
268
+ }
269
+ const wrong = wrongValues(system, field, value, onSheet);
270
+ const links = allowedValues(system, field, onSheet) === undefined ? [] : (Array.isArray(value) ? value : [value]).filter((item) => /\[\[/.test(String(item)));
271
+ if (system !== undefined && wrong.length > 0) {
272
+ throw new Error(`${wrongText(system, field, wrong, onSheet)} Nothing changed.`);
273
+ }
274
+ if (links.length > 0) {
275
+ throw new Error(`${field} takes the system's names, not links: ${listItemNames(links).join(", ")}. Nothing changed.`);
276
+ }
277
+ }
278
+ }
279
+ /**
280
+ * The lists written on the campaign's pages with names the game system does not take, or as text with commas, which reads as one name (SYS-8), such as one
281
+ * written by hand.
282
+ */
283
+ export function listValueProblems(world, system) {
284
+ if (system === undefined) {
285
+ return [];
286
+ }
287
+ return world.pages.filter((page) => page.system === undefined).flatMap((page) => {
288
+ const sheet = hasSheet(world, page);
289
+ return Object.entries(page.fields).flatMap(([field, value]) => {
290
+ if (isOpenList(system, field) && isCommaText(value)) {
291
+ return [{ path: page.path, message: `${field} on ${page.name} is text with commas, read as one name: a list is written [a, b].`, fix: `write ${page.name}, set ${field}=[${String(value)}]` }];
292
+ }
293
+ const wrong = wrongValues(system, field, value, sheet);
294
+ return wrong.length === 0 ? [] : [{ path: page.path, message: `On ${page.name}: ${wrongText(system, field, wrong, sheet)}`, fix: `write ${page.name}, remove ${field}=${wrong[0]}, then add the right name` }];
295
+ });
296
+ });
297
+ }
298
+ /** A character's load when it is over its limit, as status says it under the rigor «rules» or «simulation» (LOAD-3): "load 230 / 210 lb, over the limit"; undefined otherwise. */
299
+ export function overLoad(world, system, page) {
300
+ if (system?.load === undefined || !hasSheet(world, page)) {
301
+ return undefined;
302
+ }
303
+ const fields = effectiveFields(world, page);
304
+ const load = carriedIn(fields) ?? carriedWeight(world, system.load, page);
305
+ const limit = formulaValue(world, fields, system.load.limit);
306
+ const value = loadValue(world, system, page, fields);
307
+ return limit === undefined || load <= limit || value === undefined ? undefined : `load ${value.text}, over the limit`;
308
+ }
309
+ /** For an item created without a weight, its own or its base's, when the system counts loads: the AI estimates one (LOAD-1). */
310
+ export function weightlessNote(system, world, page) {
311
+ if (system?.load === undefined || page.type !== "item" || valueNamed(inheritedFields(world, page), system.load.field) !== undefined) {
312
+ return [];
313
+ }
314
+ const unit = weightUnit(world, system.load.field) ?? "lb";
315
+ return [`${page.name} has no ${system.load.field}, so it adds nothing to a load: if it weighs, estimate it from things like it, such as set ${system.load.field}="2 ${unit}".`];
316
+ }
317
+ /**
318
+ * A field's value as a counter, with the limits the field writes or the system works out (FOR-6): 18/24, or momentum 4 from -6; undefined for a number that is
319
+ * no counter, such as str 14, and for any other value.
320
+ */
321
+ export function counterOf(world, fields, field, value) {
322
+ const kind = declaredKind(world, field);
323
+ const read = readCounter(value);
324
+ const limits = counterLimits(world, fields, field);
325
+ // A field the system declares as anything else is never one, as a challenge rating of 1/4.
326
+ const counted = kind === "counter" || (kind === undefined && (read?.max !== undefined || limits.min !== undefined || limits.max !== undefined));
327
+ return read === undefined || !counted ? undefined : { ...limits, ...read };
328
+ }
329
+ /** The experience between the points of the character's level and those of the next, for the field that counts it (PRO-6); none at the last level. */
330
+ export function experienceProgress(world, fields, field) {
331
+ if (comparableText(field) !== comparableText(world.system?.progression?.experience?.field ?? "")) {
332
+ return undefined;
333
+ }
334
+ const experience = experienceOf(world, fields);
335
+ return experience?.next === undefined ? undefined : { value: experience.points, from: experience.least ?? 0, to: experience.next.points };
336
+ }
337
+ /** What the points of the field that counts the experience say of the levels (PRO-6); none for another field, or at the last level. */
338
+ export function experienceNeed(world, fields, field) {
339
+ const experience = comparableText(field) === comparableText(world.system?.progression?.experience?.field ?? "") ? experienceOf(world, fields) : undefined;
340
+ return experience === undefined ? undefined : levelNeed(experience);
341
+ }
342
+ /**
343
+ * What the master is told as a roll of the player character recalls what they know, as History, by the fields the system declares (sheet-knowledge): its
344
+ * outcome said as knowledge, never as an episode of their past the player did not tell (Elena's tests of 28 October, where a high roll brought one).
345
+ */
346
+ export function knowledgeNote(system, fields) {
347
+ const knowledge = new Set((system?.sheetKnowledge ?? []).map(comparableText));
348
+ return fields.some((field) => knowledge.has(comparableText(field)))
349
+ ? "What it reveals is what the world shows or their trade knows, said as knowledge: an episode of their past the player has not told is a question to them."
350
+ : undefined;
351
+ }
352
+ /** A group's icon, as the data of the sheet carries it: none when the system gives none. */
353
+ function iconOf(group) {
354
+ return group.icon === undefined ? {} : { icon: group.icon };
355
+ }
356
+ /** Text with commas outside links and parentheses, as "simple weapons, martial weapons": several names that a list holds apart. */
357
+ function isCommaText(value) {
358
+ return typeof value === "string" && value.replace(/\[\[[^\]]*\]\]/g, "").replace(/\([^)]*\)/g, "").includes(",");
359
+ }
360
+ /** A field the system declares as a list, such as classes. */
361
+ function isListField(system, field) {
362
+ return Object.entries(system.fields).some(([name, kind]) => kind === "list" && comparableText(name) === comparableText(field));
363
+ }
364
+ /** A list the system declares without the names it takes, which are checked by name, as weapon-proficiencies (SYS-8). */
365
+ function isOpenList(system, field) {
366
+ return allowedValues(system, field, false) === undefined && Object.entries(system.fields).some(([name, kind]) => kind === "list" && comparableText(name) === comparableText(field));
367
+ }
368
+ /** How many marks each computed field earns (D-217, DAT-2): one for each list of the system's marks that it reads with its item, where that item changes it. */
369
+ function markCounts(world, system, fields) {
370
+ const marking = new Set(system.marks.map(comparableText));
371
+ if (marking.size === 0) {
372
+ return new Map();
373
+ }
374
+ return new Map(workedFields(world, fields, true).map((worked) => [
375
+ comparableText(worked.field),
376
+ // Each list once, though a formula may read it twice, as a skill read for its proficiency and for half of it.
377
+ new Set(worked.reads.flatMap((read) => ("item" in read && read.value === 1 && marking.has(comparableText(read.list)) ? [comparableText(read.list)] : []))).size,
378
+ ]));
379
+ }
380
+ /** The fields of the sheet a character writes and status reminds until they are (DAT-2): neither worked out by the system nor written only when they apply (D-206). */
381
+ function remindedFields(system) {
382
+ return system.sheet.flatMap((group) => group.entries).filter((entry) => !entry.optional).flatMap((entry) => entryFields([entry]).filter((field) => !isWorkedOut(system, field)));
383
+ }
384
+ /** Whether the system gives a field as a use with its limits, which write puts on a character full when it has it (DAT-9), as hit dice and spell slots. */
385
+ function isSystemUse(system, field) {
386
+ const counted = Object.keys(system.formulas.counters).some((name) => comparableText(name) === comparableText(field));
387
+ return counted && system.uses.some((name) => name.endsWith("*") ? comparableText(field).startsWith(comparableText(name.slice(0, -1))) : comparableText(name) === comparableText(field));
388
+ }
389
+ function isWorkedOut(system, field) {
390
+ const progression = system.progression;
391
+ const given = [...(progression === undefined ? [] : [fieldName(progression.features)]), ...Object.values(system.itemFormulas).flat()];
392
+ return [...system.formulas.computed.map(([name]) => name), ...given].some((name) => comparableText(name) === comparableText(field));
393
+ }
394
+ /**
395
+ * The entries of a group: those the system lists, and in the group of the features those the rows of the character's classes give, in order (PRO-4), then the
396
+ * uses it has that no other group shows, such as channel-divinity (DAT-9).
397
+ */
398
+ function groupEntries(world, system, group, fields) {
399
+ const features = system.progression === undefined ? undefined : fieldName(system.progression.features);
400
+ if (features === undefined || !group.entries.some((entry) => comparableText(entry.field) === comparableText(features))) {
401
+ return group.entries;
402
+ }
403
+ const listed = new Set(entryFields(system.sheet.flatMap((other) => other.entries)).map(comparableText));
404
+ const rows = (progressionOf(world, fields)?.values ?? []).map((value) => value.field).filter((field) => !listed.has(comparableText(field)));
405
+ const uses = Object.keys(world.system?.formulas?.counters ?? {}).filter((field) => isUse(world, field) && !listed.has(comparableText(field)) && !rows.some((row) => comparableText(row) === comparableText(field)) && !isEmptyField(valueNamed(fields, field)));
406
+ return [...group.entries, ...[...rows, ...uses].map((field) => ({ field, optional: true }))];
407
+ }
408
+ /**
409
+ * What a holder carries, as rows of the sheet (D-431): a stack with its count (STK-1), an item with a story of its own, 1, and below it what it holds, one level deeper, and
410
+ * text as written; marked when equipped. Pages that are elsewhere, or not items, are left out.
411
+ */
412
+ function carriedRows(world, holder, marks, depth = 0, seen = new Set()) {
413
+ const field = containerFieldOf(holder.type);
414
+ const stacks = stacksOf(world, holder);
415
+ const shown = new Set();
416
+ const row = (item, count, page) => {
417
+ const bonds = page === undefined ? undefined : marks.bonds.get(page);
418
+ return {
419
+ item,
420
+ ...(page === undefined ? {} : { page: page.name }),
421
+ values: [{ field: "quantity", text: count, marks: 0 }],
422
+ ...(depth === 0 ? {} : { depth, inside: holder.name }),
423
+ ...(page !== undefined && marks.equipped.includes(page) ? { equipped: true } : {}),
424
+ ...(bonds === undefined ? {} : { bonds }),
425
+ };
426
+ };
427
+ return (field === undefined ? [] : textsIn(holder.fields[field])).flatMap((entry) => {
428
+ const counted = entryKind(world, entry);
429
+ const stack = counted === undefined ? undefined : stacks.find((candidate) => candidate.kind === counted.kind);
430
+ if (stack !== undefined) {
431
+ // Two entries of a kind are one stack, shown once (STK-3).
432
+ const first = !shown.has(stack.kind);
433
+ shown.add(stack.kind);
434
+ return first ? [row(stackName(stack), quantity(stack.count), stack.kind)] : [];
435
+ }
436
+ const read = readEntry(entry);
437
+ if (read.shape === "text") {
438
+ return [row(entry.trim(), "")];
439
+ }
440
+ const page = entryPage(world, read.page);
441
+ if (page === undefined || page.type !== "item" || seen.has(page) || validHoldersOf(world, page)[0] !== holder) {
442
+ return [];
443
+ }
444
+ seen.add(page);
445
+ return [row(page.name, "", page), ...carriedRows(world, page, marks, depth + 1, seen)];
446
+ });
447
+ }
448
+ /** What a character carries weighs, against its limit, as the sheet shows it (D-432, LOAD-2): "23 / 210 lb", in the system's unit; none when the system counts no load. */
449
+ function loadValue(world, system, page, fields) {
450
+ if (system.load === undefined) {
451
+ return undefined;
452
+ }
453
+ const load = carriedIn(fields) ?? carriedWeight(world, system.load, page);
454
+ // Empty hands, no line: a character who carries nothing has no Equipment to show.
455
+ if (load === 0) {
456
+ return undefined;
457
+ }
458
+ // The limit is the system's formula, which reads the size's factor as the system says (LOAD-4).
459
+ const limit = formulaValue(world, fields, system.load.limit);
460
+ const unit = weightUnit(world, system.load.field);
461
+ const text = `${weightText(load)}${limit === undefined ? "" : ` / ${weightText(limit)}`}${unit === undefined ? "" : ` ${unit}`}`;
462
+ const stage = system.load.stages?.findLast((one) => (formulaValue(world, fields, one.formula) ?? 0) > 0)?.name;
463
+ const shown = { value: Math.round(load * 10) / 10, ...(limit === undefined ? {} : { limit: Math.round(limit * 10) / 10 }), ...(stage === undefined ? {} : { stage }) };
464
+ return { field: "load", text, marks: 0, load: shown };
465
+ }
466
+ /** A weight as the sheet writes it: whole, or with one decimal. */
467
+ function weightText(weight) {
468
+ return String(Math.round(weight * 10) / 10);
469
+ }
470
+ /** How many there are, as the sheet shows it: blank for one, which goes without saying (Stefano, 14 October). */
471
+ function quantity(count) {
472
+ return count === 1 ? "" : String(count);
473
+ }
474
+ /** The pages a character has in each list of bonds of the system, items or kinds, each with the lists it is in, as the attuned (BND-1). */
475
+ function bondedPages(world, system, page) {
476
+ const bonded = new Map();
477
+ for (const list of Object.keys(system.bonds)) {
478
+ for (const name of linksIn(valueNamed(page.fields, list))) {
479
+ const found = entryPage(world, name);
480
+ if (found !== undefined) {
481
+ bonded.set(found, [...(bonded.get(found) ?? []), list]);
482
+ }
483
+ }
484
+ }
485
+ return bonded;
486
+ }
487
+ /** The pages a character has equipped, items or kinds (CON-12, STK-11). */
488
+ function equippedPages(world, page) {
489
+ return linksIn(page.fields.equipped).flatMap((name) => entryPage(world, name) ?? []);
490
+ }
491
+ /** The list whose items' formulas give every field of a group, as equipped for the attacks; undefined for any other group (PRO-5). */
492
+ function itemGroupList(world, group) {
493
+ const lists = [...new Set(entryFields(group.entries).map((field) => itemList(world, field)))];
494
+ return lists.length === 1 ? lists[0] : undefined;
495
+ }
496
+ /** Every field the sheet shows, as names are compared. */
497
+ function sheetFields(system) {
498
+ return new Set(entryFields(system.sheet.flatMap((group) => group.entries)).map(comparableText));
499
+ }
500
+ function entryFields(entries) {
501
+ return entries.flatMap((entry) => (entry.beside === undefined ? [entry.field] : [entry.field, entry.beside]));
502
+ }
503
+ /** A value of the sheet as data, without marks or what is beside it: its kind, its text, a counter with its limits and the names of a list. */
504
+ function sheetValue(world, fields, field, value) {
505
+ const kind = declaredKind(world, field);
506
+ const counter = counterOf(world, fields, field, value);
507
+ const items = Array.isArray(value) ? value.map((item) => linkText(String(item).trim())) : undefined;
508
+ return { field, ...(kind === undefined ? {} : { kind }), text: valueText(world, field, value), ...(counter === undefined ? {} : { counter }), ...(items === undefined ? {} : { items }), marks: 0 };
509
+ }
510
+ /**
511
+ * The free roll of an entry of the sheet (D-280): the dice the system rolls its number with, or the number beside it, as str-mod by str; none for a text. Other
512
+ * dice when the system's formula says so, as Stealth with disadvantage in heavy armor (D-445).
513
+ */
514
+ function sheetRoll(world, system, fields, entry) {
515
+ for (const field of [entry.field, entry.beside].filter((candidate) => candidate !== undefined)) {
516
+ const usual = Object.entries(system.sheetDice).find(([listed]) => comparableText(listed) === comparableText(field))?.[1];
517
+ const odds = usual === undefined ? undefined : oddsOf(world, system, fields, field);
518
+ const better = (odds?.better.length ?? 0) > 0;
519
+ const worse = (odds?.worse.length ?? 0) > 0;
520
+ const dice = better === worse ? usual : better ? system.sheetOdds?.better : system.sheetOdds?.worse;
521
+ const number = dice === undefined ? undefined : numberOf(valueNamed(fields, field));
522
+ if (dice !== undefined && number !== undefined) {
523
+ const sides = dice.split("+").flatMap((term) => {
524
+ const [count, faces] = term.split("d");
525
+ return Array.from({ length: count === "" ? 1 : Number(count) }, () => Number.parseInt(faces, 10));
526
+ });
527
+ const why = odds === undefined ? undefined : { better: odds.better.flatMap((entry) => entry.why ?? []), worse: odds.worse.flatMap((entry) => entry.why ?? []) };
528
+ const shownWhy = why === undefined || why.better.length + why.worse.length === 0 ? {} : { odds: { better: [...new Set(why.better)], worse: [...new Set(why.worse)] } };
529
+ return { notation: number === 0 ? dice : `${dice}${number > 0 ? "+" : "-"}${Math.abs(number)}`, dice: sides, modifier: number, ...shownWhy };
530
+ }
531
+ }
532
+ return undefined;
533
+ }
534
+ /**
535
+ * What makes a field's roll better and what makes it worse, by the system's formulas above 0 (D-445): its entries of each, which cancel out when both have one;
536
+ * undefined when the system has no odds.
537
+ */
538
+ function oddsOf(world, system, fields, field) {
539
+ const odds = system.sheetOdds;
540
+ if (odds === undefined) {
541
+ return undefined;
542
+ }
543
+ const when = odds.when.filter((entry) => entry.fields.some((listed) => comparableText(listed) === comparableText(field)));
544
+ const above = (formula) => formula !== undefined && (formulaValue(world, fields, formula) ?? 0) > 0;
545
+ return { better: when.filter((entry) => above(entry.better)), worse: when.filter((entry) => above(entry.worse)) };
546
+ }
547
+ /** A list with what the parts of the character add to it (PRO-7): the names written, then those given, apart and not counted with it. */
548
+ function givenValue(world, field, value, given) {
549
+ const kind = declaredKind(world, field);
550
+ const written = listItemNames(value).filter((name) => !given.some((item) => comparableText(item.name) === comparableText(name)));
551
+ const always = { from: [...new Set(given.map((item) => item.page.name))], items: given.map((item) => item.name) };
552
+ return { field, ...(kind === undefined ? {} : { kind }), text: listWithGiven(world, field, written, always), items: written.map(linkText), always, marks: 0 };
553
+ }
554
+ /** " (+2)": the field shown beside an entry, such as str-mod by str, when it has a value. */
555
+ function besideText(world, fields, entry) {
556
+ const beside = besideValue(world, fields, entry);
557
+ return beside === undefined ? "" : ` (${beside})`;
558
+ }
559
+ /** "+2": the field shown beside an entry, such as str-mod by str, when it has a value; beside the points, how many the next level needs, or the level they reach (PRO-6). */
560
+ function besideValue(world, fields, entry) {
561
+ const experience = comparableText(entry.field) === comparableText(world.system?.progression?.experience?.field ?? "") ? experienceOf(world, fields) : undefined;
562
+ const text = experience === undefined ? undefined : experienceText(experience);
563
+ if (text !== undefined) {
564
+ return text;
565
+ }
566
+ const value = entry.beside === undefined ? undefined : valueNamed(fields, entry.beside);
567
+ return entry.beside === undefined || isEmptyField(value) ? undefined : valueText(world, entry.beside, value);
568
+ }
569
+ /** "Healing Word, Guiding Bolt; always, from Life Domain: Bless, Cure Wounds": a list with what the parts add to it, apart and not counted with it (PRO-7). */
570
+ function listWithGiven(world, field, written, always) {
571
+ const given = `always, from ${always.from.join(" and ")}: ${always.items.join(", ")}`;
572
+ return written.length === 0 ? given : `${valueText(world, field, written)}; ${given}`;
573
+ }
574
+ /** A value as the sheet shows it: a modifier with its sign (FOR-8), the items of a list one after the other. */
575
+ function valueText(world, field, value) {
576
+ if (typeof value === "number") {
577
+ return signedText(world, field, value);
578
+ }
579
+ // Items with commas of their own are told apart by semicolons.
580
+ if (Array.isArray(value)) {
581
+ const items = value.map((item) => linkText(String(item).trim()));
582
+ return items.join(items.some((item) => item.includes(",")) ? "; " : ", ");
583
+ }
584
+ return typeof value === "object" && value !== null ? JSON.stringify(value) : linkText(String(value).trim());
585
+ }
586
+ /** "Cleric 3" for "[[Cleric]] 3": a sheet reads as on paper, with the name or label of a link. */
587
+ function linkText(text) {
588
+ return text.replace(/\[\[(?:[^\]|]*\|)?([^\]|]+)\]\]/g, "$1");
589
+ }
590
+ /** The items of a list that the game system does not take, by the names they are read as (SYS-8); none for a field without values. */
591
+ function wrongValues(system, field, value, onSheet) {
592
+ const allowed = allowedValues(system, field, onSheet);
593
+ // A text with closed names, as an alignment, is one name whole, commas and all.
594
+ const names = isTextField(system, field) ? (isEmptyField(value) ? [] : [String(value).trim()]) : listItemNames(value);
595
+ return allowed === undefined ? [] : names.filter((name) => !allowed.some((item) => comparableText(item) === comparableText(name)));
596
+ }
597
+ /** A field the system declares as text, such as alignment. */
598
+ function isTextField(system, field) {
599
+ return Object.entries(system?.fields ?? {}).some(([name, kind]) => kind === "text" && comparableText(name) === comparableText(field));
600
+ }
601
+ /** The names a list field takes in the game system (SYS-8), and on a page that keeps the sheet those it closes there (D-435); undefined for a field without values. */
602
+ function allowedValues(system, field, onSheet) {
603
+ const named = (values) => Object.entries(values).find(([name]) => comparableText(name) === comparableText(field))?.[1];
604
+ return named(system?.values ?? {}) ?? (onSheet ? named(system?.sheetValues ?? {}) : undefined);
605
+ }
606
+ /** "Stealthh is not one of the names skill-proficiencies takes in the system 5e: Acrobatics, …": with how to write a list, when a name holds a comma. */
607
+ function wrongText(system, field, wrong, onSheet) {
608
+ const allowed = allowedValues(system, field, onSheet) ?? [];
609
+ // A sheet's list the campaign may widen, as a language of its own world (D-435).
610
+ const own = Object.keys(system.sheetValues).some((name) => comparableText(name) === comparableText(field))
611
+ ? ` A name of the campaign's own world joins them with config values "${field}: [${wrong[0] ?? ""}]".`
612
+ : "";
613
+ const list = wrong.some((name) => /[,;]/.test(name)) ? " A list is written [a, b]." : "";
614
+ const names = wrong.map((name) => `"${name}"`).join(", ");
615
+ return `${names} ${wrong.length === 1 ? "is not one of the names" : "are not names"} ${field} takes in the system ${system.name}: ${allowed.join(", ")}.${list}${own}`;
616
+ }