rpg-engine 0.2.1 → 0.4.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 (1139) hide show
  1. package/README.md +3 -3
  2. package/dist/adventures/index.d.ts +3 -0
  3. package/dist/adventures/index.js +5 -0
  4. package/dist/adventures/manifest.d.ts +39 -0
  5. package/dist/adventures/manifest.js +89 -0
  6. package/dist/adventures/placement.d.ts +4 -0
  7. package/dist/adventures/placement.js +14 -0
  8. package/dist/adventures/source.d.ts +21 -0
  9. package/dist/adventures/source.js +108 -0
  10. package/dist/bell-listener.d.ts +9 -0
  11. package/dist/bell-listener.js +83 -0
  12. package/dist/campaign/create-campaign.d.ts +3 -2
  13. package/dist/campaign/create-campaign.js +5 -5
  14. package/dist/campaign/host-files.d.ts +23 -6
  15. package/dist/campaign/host-files.js +130 -40
  16. package/dist/campaign/index.d.ts +2 -2
  17. package/dist/campaign/index.js +2 -2
  18. package/dist/campaign/settings.d.ts +43 -3
  19. package/dist/campaign/settings.js +58 -14
  20. package/dist/cli.js +10 -1
  21. package/dist/command-line.js +26 -3
  22. package/dist/commands/advance.js +6 -2
  23. package/dist/commands/ask.d.ts +11 -4
  24. package/dist/commands/ask.js +249 -23
  25. package/dist/commands/change.d.ts +29 -0
  26. package/dist/commands/change.js +260 -41
  27. package/dist/commands/config.d.ts +6 -3
  28. package/dist/commands/config.js +217 -83
  29. package/dist/commands/effect.js +38 -9
  30. package/dist/commands/game-advance.d.ts +11 -2
  31. package/dist/commands/game-advance.js +22 -7
  32. package/dist/commands/game-adventures.d.ts +70 -0
  33. package/dist/commands/game-adventures.js +418 -0
  34. package/dist/commands/game-bonds.d.ts +9 -0
  35. package/dist/commands/game-bonds.js +84 -0
  36. package/dist/commands/game-catalog.d.ts +36 -0
  37. package/dist/commands/game-catalog.js +122 -0
  38. package/dist/commands/game-checks.d.ts +17 -0
  39. package/dist/commands/game-checks.js +128 -0
  40. package/dist/commands/game-damage.d.ts +18 -0
  41. package/dist/commands/game-damage.js +74 -0
  42. package/dist/commands/game-effects.d.ts +5 -0
  43. package/dist/commands/game-effects.js +2 -2
  44. package/dist/commands/game-events.js +8 -4
  45. package/dist/commands/game-experience.js +2 -2
  46. package/dist/commands/game-extensions.d.ts +8 -1
  47. package/dist/commands/game-extensions.js +8 -3
  48. package/dist/commands/game-grid-moves.d.ts +4 -1
  49. package/dist/commands/game-grid-moves.js +8 -2
  50. package/dist/commands/game-hit-dice.d.ts +39 -0
  51. package/dist/commands/game-hit-dice.js +120 -0
  52. package/dist/commands/game-import.d.ts +11 -0
  53. package/dist/commands/game-import.js +154 -0
  54. package/dist/commands/game-journey.d.ts +6 -2
  55. package/dist/commands/game-journey.js +17 -6
  56. package/dist/commands/game-knowledge.d.ts +56 -6
  57. package/dist/commands/game-knowledge.js +152 -23
  58. package/dist/commands/game-library.d.ts +112 -0
  59. package/dist/commands/game-library.js +388 -0
  60. package/dist/commands/game-limits.d.ts +7 -0
  61. package/dist/commands/game-limits.js +67 -0
  62. package/dist/commands/game-master-rolls.d.ts +15 -0
  63. package/dist/commands/game-master-rolls.js +34 -0
  64. package/dist/commands/game-mode.js +5 -4
  65. package/dist/commands/game-moves.d.ts +14 -1
  66. package/dist/commands/game-moves.js +24 -9
  67. package/dist/commands/game-recipe-pace.d.ts +6 -0
  68. package/dist/commands/game-recipe-pace.js +25 -0
  69. package/dist/commands/game-recipes.js +10 -3
  70. package/dist/commands/game-reminders.d.ts +3 -3
  71. package/dist/commands/game-reminders.js +10 -5
  72. package/dist/commands/game-roads.d.ts +11 -4
  73. package/dist/commands/game-roads.js +89 -26
  74. package/dist/commands/game-saves.d.ts +12 -0
  75. package/dist/commands/game-saves.js +44 -5
  76. package/dist/commands/game-scene.js +3 -1
  77. package/dist/commands/game-stacks.d.ts +78 -0
  78. package/dist/commands/game-stacks.js +198 -0
  79. package/dist/commands/game-system-code.d.ts +25 -0
  80. package/dist/commands/game-system-code.js +172 -0
  81. package/dist/commands/game-tables.d.ts +7 -0
  82. package/dist/commands/game-tables.js +40 -0
  83. package/dist/commands/game-thoughts.d.ts +25 -0
  84. package/dist/commands/game-thoughts.js +57 -0
  85. package/dist/commands/game-turn-uses.d.ts +33 -0
  86. package/dist/commands/game-turn-uses.js +137 -0
  87. package/dist/commands/game-upkeep.d.ts +20 -0
  88. package/dist/commands/game-upkeep.js +190 -0
  89. package/dist/commands/game-view-journal.d.ts +14 -1
  90. package/dist/commands/game-view-journal.js +5 -2
  91. package/dist/commands/game-view-map.d.ts +3 -0
  92. package/dist/commands/game-view-map.js +5 -1
  93. package/dist/commands/game-view-place.d.ts +22 -3
  94. package/dist/commands/game-view-place.js +61 -24
  95. package/dist/commands/game-view-world.d.ts +98 -0
  96. package/dist/commands/game-view-world.js +98 -0
  97. package/dist/commands/game-voices.d.ts +5 -0
  98. package/dist/commands/game-voices.js +13 -0
  99. package/dist/commands/game-widgets.d.ts +66 -0
  100. package/dist/commands/game-widgets.js +274 -0
  101. package/dist/commands/game-world.d.ts +8 -1
  102. package/dist/commands/game-world.js +23 -3
  103. package/dist/commands/image.js +2 -3
  104. package/dist/commands/import.d.ts +47 -0
  105. package/dist/commands/import.js +390 -0
  106. package/dist/commands/index.js +6 -0
  107. package/dist/commands/init.js +2 -2
  108. package/dist/commands/install.js +2 -1
  109. package/dist/commands/instructions.js +26 -1
  110. package/dist/commands/mode.js +3 -1
  111. package/dist/commands/move.d.ts +2 -0
  112. package/dist/commands/move.js +86 -12
  113. package/dist/commands/package.d.ts +57 -3
  114. package/dist/commands/package.js +308 -51
  115. package/dist/commands/parts.d.ts +3 -0
  116. package/dist/commands/parts.js +5 -0
  117. package/dist/commands/problems.js +6 -0
  118. package/dist/commands/rename.js +3 -0
  119. package/dist/commands/reveal.js +12 -7
  120. package/dist/commands/roll.d.ts +6 -0
  121. package/dist/commands/roll.js +95 -24
  122. package/dist/commands/route.js +4 -5
  123. package/dist/commands/rules.d.ts +3 -0
  124. package/dist/commands/rules.js +38 -6
  125. package/dist/commands/save.d.ts +1 -1
  126. package/dist/commands/save.js +2 -2
  127. package/dist/commands/scene.d.ts +10 -1
  128. package/dist/commands/scene.js +146 -29
  129. package/dist/commands/sheet.d.ts +47 -6
  130. package/dist/commands/sheet.js +179 -33
  131. package/dist/commands/show.d.ts +33 -0
  132. package/dist/commands/show.js +19 -2
  133. package/dist/commands/status.d.ts +9 -3
  134. package/dist/commands/status.js +59 -17
  135. package/dist/commands/thoughts.d.ts +11 -0
  136. package/dist/commands/thoughts.js +54 -0
  137. package/dist/commands/trade.d.ts +17 -0
  138. package/dist/commands/trade.js +273 -0
  139. package/dist/commands/travel.d.ts +2 -0
  140. package/dist/commands/travel.js +40 -14
  141. package/dist/commands/validate.js +2 -1
  142. package/dist/commands/view.d.ts +99 -2
  143. package/dist/commands/view.js +273 -57
  144. package/dist/commands/worked-out.d.ts +16 -0
  145. package/dist/commands/worked-out.js +108 -13
  146. package/dist/commands/write.d.ts +1 -0
  147. package/dist/commands/write.js +93 -21
  148. package/dist/confirm/confirm.d.ts +35 -0
  149. package/dist/confirm/confirm.js +94 -0
  150. package/dist/confirm/index.d.ts +1 -0
  151. package/dist/confirm/index.js +3 -0
  152. package/dist/core/archive-paths.d.ts +8 -0
  153. package/dist/core/archive-paths.js +39 -0
  154. package/dist/core/context.d.ts +127 -5
  155. package/dist/core/context.js +4 -3
  156. package/dist/core/download.d.ts +2 -0
  157. package/dist/core/download.js +31 -0
  158. package/dist/core/field-kind.d.ts +4 -3
  159. package/dist/core/field-kind.js +4 -3
  160. package/dist/core/files.d.ts +10 -0
  161. package/dist/core/files.js +58 -2
  162. package/dist/core/formula.d.ts +3 -1
  163. package/dist/core/formula.js +13 -2
  164. package/dist/core/progression-rule.d.ts +2 -0
  165. package/dist/core/version.d.ts +2 -0
  166. package/dist/core/version.js +7 -0
  167. package/dist/dashboard/act-names.js +27 -0
  168. package/dist/dashboard/act-sheet.js +100 -0
  169. package/dist/dashboard/act-strip.js +49 -0
  170. package/dist/dashboard/acts.js +140 -0
  171. package/dist/dashboard/address.js +16 -12
  172. package/dist/dashboard/api.js +140 -10
  173. package/dist/dashboard/app.js +370 -41
  174. package/dist/dashboard/asked.js +297 -19
  175. package/dist/dashboard/calendar.js +56 -0
  176. package/dist/dashboard/card.js +13 -12
  177. package/dist/dashboard/coins.js +13 -0
  178. package/dist/dashboard/death-save.js +67 -0
  179. package/dist/dashboard/dice/pool.js +22 -0
  180. package/dist/dashboard/dice/roller.js +1 -1
  181. package/dist/dashboard/dice/stage.js +12 -4
  182. package/dist/dashboard/dice/tray.js +28 -15
  183. package/dist/dashboard/dying.js +46 -0
  184. package/dist/dashboard/extension-widgets.js +160 -0
  185. package/dist/dashboard/game-words.js +33 -4
  186. package/dist/dashboard/guide/ar.md +105 -100
  187. package/dist/dashboard/guide/cs.md +111 -106
  188. package/dist/dashboard/guide/da.md +95 -90
  189. package/dist/dashboard/guide/de.md +93 -88
  190. package/dist/dashboard/guide/el.md +110 -105
  191. package/dist/dashboard/guide/en.md +21 -16
  192. package/dist/dashboard/guide/es.md +79 -74
  193. package/dist/dashboard/guide/fi.md +99 -94
  194. package/dist/dashboard/guide/fr.md +83 -78
  195. package/dist/dashboard/guide/he.md +109 -104
  196. package/dist/dashboard/guide/hi.md +103 -98
  197. package/dist/dashboard/guide/hu.md +113 -108
  198. package/dist/dashboard/guide/is.md +102 -97
  199. package/dist/dashboard/guide/it.md +22 -17
  200. package/dist/dashboard/guide/ja.md +108 -103
  201. package/dist/dashboard/guide/ko.md +113 -108
  202. package/dist/dashboard/guide/nb.md +95 -90
  203. package/dist/dashboard/guide/nl.md +89 -84
  204. package/dist/dashboard/guide/pl.md +104 -99
  205. package/dist/dashboard/guide/pt.md +82 -77
  206. package/dist/dashboard/guide/ro.md +113 -108
  207. package/dist/dashboard/guide/ru.md +109 -104
  208. package/dist/dashboard/guide/sv.md +96 -91
  209. package/dist/dashboard/guide/tr.md +102 -97
  210. package/dist/dashboard/guide/uk.md +113 -108
  211. package/dist/dashboard/guide/zh.md +110 -105
  212. package/dist/dashboard/guide-markdown.js +4 -0
  213. package/dist/dashboard/help.js +4 -5
  214. package/dist/dashboard/i18n/ar.json +367 -16
  215. package/dist/dashboard/i18n/cs.json +367 -16
  216. package/dist/dashboard/i18n/da.json +367 -16
  217. package/dist/dashboard/i18n/de.json +367 -16
  218. package/dist/dashboard/i18n/el.json +367 -16
  219. package/dist/dashboard/i18n/es.json +367 -16
  220. package/dist/dashboard/i18n/fi.json +367 -16
  221. package/dist/dashboard/i18n/fr.json +367 -16
  222. package/dist/dashboard/i18n/he.json +367 -16
  223. package/dist/dashboard/i18n/hi.json +367 -16
  224. package/dist/dashboard/i18n/hu.json +367 -16
  225. package/dist/dashboard/i18n/is.json +367 -16
  226. package/dist/dashboard/i18n/it.json +369 -18
  227. package/dist/dashboard/i18n/ja.json +367 -16
  228. package/dist/dashboard/i18n/ko.json +367 -16
  229. package/dist/dashboard/i18n/nb.json +367 -16
  230. package/dist/dashboard/i18n/nl.json +367 -16
  231. package/dist/dashboard/i18n/pl.json +367 -16
  232. package/dist/dashboard/i18n/pt.json +367 -16
  233. package/dist/dashboard/i18n/ro.json +367 -16
  234. package/dist/dashboard/i18n/ru.json +367 -16
  235. package/dist/dashboard/i18n/sv.json +367 -16
  236. package/dist/dashboard/i18n/tr.json +367 -16
  237. package/dist/dashboard/i18n/uk.json +367 -16
  238. package/dist/dashboard/i18n/zh.json +367 -16
  239. package/dist/dashboard/icons.js +38 -4
  240. package/dist/dashboard/journal.js +203 -49
  241. package/dist/dashboard/labels.js +45 -4
  242. package/dist/dashboard/languages.js +2 -2
  243. package/dist/dashboard/layout.js +35 -0
  244. package/dist/dashboard/lore.js +44 -0
  245. package/dist/dashboard/markdown.js +136 -30
  246. package/dist/dashboard/master.js +2 -2
  247. package/dist/dashboard/notes.js +5 -5
  248. package/dist/dashboard/notices.js +24 -4
  249. package/dist/dashboard/packages.js +678 -0
  250. package/dist/dashboard/pages.js +0 -8
  251. package/dist/dashboard/party.js +17 -4
  252. package/dist/dashboard/place-map-view.js +47 -9
  253. package/dist/dashboard/rolls.js +35 -93
  254. package/dist/dashboard/save-outcome.js +42 -0
  255. package/dist/dashboard/saves.js +14 -11
  256. package/dist/dashboard/scene.js +114 -20
  257. package/dist/dashboard/settings.js +71 -13
  258. package/dist/dashboard/setup.js +4 -4
  259. package/dist/dashboard/sheet.js +123 -19
  260. package/dist/dashboard/spend.js +115 -0
  261. package/dist/dashboard/status.js +22 -10
  262. package/dist/dashboard/story.js +6 -6
  263. package/dist/dashboard/style.css +8047 -3468
  264. package/dist/dashboard/table.js +145 -0
  265. package/dist/dashboard/tabs.js +34 -0
  266. package/dist/dashboard/text.js +19 -1
  267. package/dist/dashboard/top.js +91 -31
  268. package/dist/dashboard/turns.js +150 -0
  269. package/dist/dashboard/widgets.js +21 -14
  270. package/dist/dashboard/world-calendar.js +101 -0
  271. package/dist/dashboard/world-lore.js +231 -0
  272. package/dist/dashboard/world.js +87 -29
  273. package/dist/dashboard-server.d.ts +10 -1
  274. package/dist/dashboard-server.js +738 -26
  275. package/dist/dice/index.d.ts +2 -0
  276. package/dist/dice/index.js +3 -1
  277. package/dist/dice/oracle.d.ts +19 -0
  278. package/dist/dice/oracle.js +22 -0
  279. package/dist/dice/tables.d.ts +29 -0
  280. package/dist/dice/tables.js +123 -0
  281. package/dist/documents/index.d.ts +2 -0
  282. package/dist/documents/index.js +5 -0
  283. package/dist/documents/markup.d.ts +10 -0
  284. package/dist/documents/markup.js +124 -0
  285. package/dist/documents/ocr.d.ts +9 -0
  286. package/dist/documents/ocr.js +101 -0
  287. package/dist/documents/png.d.ts +9 -0
  288. package/dist/documents/png.js +75 -0
  289. package/dist/documents/read.d.ts +54 -0
  290. package/dist/documents/read.js +375 -0
  291. package/dist/extensions/api.d.ts +91 -9
  292. package/dist/extensions/extension.d.ts +28 -2
  293. package/dist/extensions/extension.js +49 -11
  294. package/dist/extensions/index.d.ts +5 -3
  295. package/dist/extensions/index.js +4 -2
  296. package/dist/extensions/packages.d.ts +13 -4
  297. package/dist/extensions/packages.js +114 -16
  298. package/dist/extensions/tarball.d.ts +6 -0
  299. package/dist/extensions/tarball.js +87 -0
  300. package/dist/extensions/words.d.ts +13 -0
  301. package/dist/extensions/words.js +42 -0
  302. package/dist/importer/index.d.ts +1 -0
  303. package/dist/importer/index.js +3 -0
  304. package/dist/importer/work.d.ts +132 -0
  305. package/dist/importer/work.js +306 -0
  306. package/dist/index.d.ts +3 -1
  307. package/dist/instructions/index.d.ts +7 -0
  308. package/dist/instructions/index.js +10 -0
  309. package/dist/languages/index.d.ts +1 -0
  310. package/dist/languages/index.js +3 -0
  311. package/dist/languages/language-pack.d.ts +32 -0
  312. package/dist/languages/language-pack.js +86 -0
  313. package/dist/library/books.d.ts +76 -0
  314. package/dist/library/books.js +378 -0
  315. package/dist/library/folders.d.ts +11 -0
  316. package/dist/library/folders.js +70 -0
  317. package/dist/library/index.d.ts +3 -0
  318. package/dist/library/index.js +5 -0
  319. package/dist/library/language.d.ts +2 -0
  320. package/dist/library/language.js +40 -0
  321. package/dist/library-reader.d.ts +7 -0
  322. package/dist/library-reader.js +36 -0
  323. package/dist/mcp-server.js +90 -7
  324. package/dist/money/index.d.ts +1 -1
  325. package/dist/money/index.js +1 -1
  326. package/dist/money/money.d.ts +6 -0
  327. package/dist/money/money.js +11 -0
  328. package/dist/page-words.js +4 -1
  329. package/dist/pages/check.d.ts +5 -0
  330. package/dist/pages/check.js +111 -5
  331. package/dist/pages/containers.d.ts +19 -1
  332. package/dist/pages/containers.js +50 -7
  333. package/dist/pages/index.d.ts +8 -5
  334. package/dist/pages/index.js +8 -5
  335. package/dist/pages/load.d.ts +11 -0
  336. package/dist/pages/load.js +69 -0
  337. package/dist/pages/markdown.d.ts +15 -0
  338. package/dist/pages/markdown.js +54 -3
  339. package/dist/pages/page-file.d.ts +2 -0
  340. package/dist/pages/page-file.js +28 -5
  341. package/dist/pages/rename-page.js +3 -2
  342. package/dist/pages/stack-entry.d.ts +47 -0
  343. package/dist/pages/stack-entry.js +83 -0
  344. package/dist/pages/stack-writes.d.ts +22 -0
  345. package/dist/pages/stack-writes.js +128 -0
  346. package/dist/pages/stacks.d.ts +52 -0
  347. package/dist/pages/stacks.js +168 -0
  348. package/dist/pages/standard-fields.js +1 -1
  349. package/dist/pages/system-pages.d.ts +5 -2
  350. package/dist/pages/system-pages.js +11 -5
  351. package/dist/pages/world.d.ts +29 -3
  352. package/dist/pages/world.js +66 -12
  353. package/dist/pages/write-page.js +15 -6
  354. package/dist/pictures/chosen.d.ts +5 -1
  355. package/dist/pictures/chosen.js +12 -3
  356. package/dist/pictures/claude.d.ts +3 -1
  357. package/dist/pictures/claude.js +38 -0
  358. package/dist/pictures/codex.d.ts +3 -1
  359. package/dist/pictures/codex.js +32 -0
  360. package/dist/pictures/helpers.d.ts +10 -0
  361. package/dist/pictures/helpers.js +53 -6
  362. package/dist/pictures/index.d.ts +5 -4
  363. package/dist/pictures/index.js +5 -4
  364. package/dist/pictures/stop.d.ts +2 -0
  365. package/dist/pictures/stop.js +18 -0
  366. package/dist/player-acts.d.ts +27 -0
  367. package/dist/player-acts.js +56 -0
  368. package/dist/rules/index.d.ts +1 -0
  369. package/dist/rules/index.js +3 -1
  370. package/dist/rules/page-search.d.ts +36 -0
  371. package/dist/rules/page-search.js +216 -0
  372. package/dist/rules/search.d.ts +7 -0
  373. package/dist/rules/search.js +2 -2
  374. package/dist/scene/scene.d.ts +2 -0
  375. package/dist/scene/scene.js +1 -0
  376. package/dist/systems/game-system.d.ts +161 -4
  377. package/dist/systems/game-system.js +237 -34
  378. package/dist/systems/index.d.ts +3 -1
  379. package/dist/systems/index.js +3 -1
  380. package/dist/systems/system-code.d.ts +97 -0
  381. package/dist/systems/system-code.js +62 -0
  382. package/dist/systems/system-folders.d.ts +11 -0
  383. package/dist/systems/system-folders.js +11 -0
  384. package/dist/systems/words.d.ts +2 -0
  385. package/dist/systems/words.js +3 -3
  386. package/instructions/author.md +1 -1
  387. package/instructions/buttons-physical-dice.md +1 -1
  388. package/instructions/buttons.md +1 -1
  389. package/instructions/character.md +15 -0
  390. package/instructions/combat.md +3 -1
  391. package/instructions/core.md +5 -5
  392. package/instructions/dashboard.md +4 -4
  393. package/instructions/import.md +14 -0
  394. package/instructions/mentor-hints.md +1 -1
  395. package/instructions/party.md +11 -0
  396. package/instructions/play.md +6 -6
  397. package/instructions/session-zero.md +1 -1
  398. package/instructions/setup.md +1 -1
  399. package/instructions/voices-always.md +1 -0
  400. package/instructions/voices-important.md +1 -0
  401. package/instructions/voices.md +14 -0
  402. package/package.json +7 -3
  403. package/systems/5e/LICENSE.md +1 -1
  404. package/systems/5e/dist/dying.js +193 -0
  405. package/systems/5e/dist/index.js +3 -0
  406. package/systems/5e/images/abacus.svg +1 -0
  407. package/systems/5e/images/acid-tube.svg +1 -0
  408. package/systems/5e/images/animal-hide.svg +1 -0
  409. package/systems/5e/images/anvil.svg +1 -0
  410. package/systems/5e/images/arrow-cluster.svg +1 -0
  411. package/systems/5e/images/backpack.svg +1 -0
  412. package/systems/5e/images/bagpipes.svg +1 -0
  413. package/systems/5e/images/barbed-spear.svg +1 -0
  414. package/systems/5e/images/barrel.svg +1 -0
  415. package/systems/5e/images/basket.svg +1 -0
  416. package/systems/5e/images/battle-axe.svg +1 -0
  417. package/systems/5e/images/beer-horn.svg +1 -0
  418. package/systems/5e/images/belt-buckles.svg +1 -0
  419. package/systems/5e/images/bird-scepter.svg +1 -0
  420. package/systems/5e/images/blanket.svg +1 -0
  421. package/systems/5e/images/book-cover.svg +1 -0
  422. package/systems/5e/images/boots.svg +1 -0
  423. package/systems/5e/images/bottle-vapors.svg +1 -0
  424. package/systems/5e/images/bow-arrow.svg +1 -0
  425. package/systems/5e/images/bowl-spiral.svg +1 -0
  426. package/systems/5e/images/bracer.svg +1 -0
  427. package/systems/5e/images/broadsword.svg +1 -0
  428. package/systems/5e/images/broom.svg +1 -0
  429. package/systems/5e/images/bullets.svg +1 -0
  430. package/systems/5e/images/caltrops.svg +1 -0
  431. package/systems/5e/images/camp-cooking-pot.svg +1 -0
  432. package/systems/5e/images/campfire.svg +1 -0
  433. package/systems/5e/images/camping-tent.svg +1 -0
  434. package/systems/5e/images/candle-flame.svg +1 -0
  435. package/systems/5e/images/candle-light.svg +1 -0
  436. package/systems/5e/images/canoe.svg +1 -0
  437. package/systems/5e/images/cape.svg +1 -0
  438. package/systems/5e/images/caravel.svg +1 -0
  439. package/systems/5e/images/card-pick.svg +1 -0
  440. package/systems/5e/images/chain-mail.svg +1 -0
  441. package/systems/5e/images/chained-arrow-heads.svg +1 -0
  442. package/systems/5e/images/chariot.svg +1 -0
  443. package/systems/5e/images/chest.svg +1 -0
  444. package/systems/5e/images/chisel.svg +1 -0
  445. package/systems/5e/images/claw-hammer.svg +1 -0
  446. package/systems/5e/images/colombian-statue.svg +1 -0
  447. package/systems/5e/images/cooking-pot.svg +1 -0
  448. package/systems/5e/images/crescent-staff.svg +1 -0
  449. package/systems/5e/images/crossbow.svg +1 -0
  450. package/systems/5e/images/crossed-chains.svg +1 -0
  451. package/systems/5e/images/crowbar.svg +1 -0
  452. package/systems/5e/images/crystal-ball.svg +1 -0
  453. package/systems/5e/images/crystal-cluster.svg +1 -0
  454. package/systems/5e/images/crystal-eye.svg +1 -0
  455. package/systems/5e/images/cubes.svg +1 -0
  456. package/systems/5e/images/dart.svg +1 -0
  457. package/systems/5e/images/dice-six-faces-five.svg +1 -0
  458. package/systems/5e/images/dragon-orb.svg +1 -0
  459. package/systems/5e/images/drakkar.svg +1 -0
  460. package/systems/5e/images/drum.svg +1 -0
  461. package/systems/5e/images/empty-wood-bucket-handle.svg +1 -0
  462. package/systems/5e/images/eye-shield.svg +1 -0
  463. package/systems/5e/images/fairy-wand.svg +1 -0
  464. package/systems/5e/images/feather.svg +1 -0
  465. package/systems/5e/images/feathered-wing.svg +1 -0
  466. package/systems/5e/images/fire-bottle.svg +1 -0
  467. package/systems/5e/images/fire-gem.svg +1 -0
  468. package/systems/5e/images/first-aid-kit.svg +1 -0
  469. package/systems/5e/images/fishing-hook.svg +1 -0
  470. package/systems/5e/images/fishing-net.svg +1 -0
  471. package/systems/5e/images/fishing-pole.svg +1 -0
  472. package/systems/5e/images/fist.svg +1 -0
  473. package/systems/5e/images/flail.svg +1 -0
  474. package/systems/5e/images/flanged-mace.svg +1 -0
  475. package/systems/5e/images/flat-hammer.svg +1 -0
  476. package/systems/5e/images/flint-spark.svg +1 -0
  477. package/systems/5e/images/floating-crystal.svg +1 -0
  478. package/systems/5e/images/flute.svg +1 -0
  479. package/systems/5e/images/galleon.svg +1 -0
  480. package/systems/5e/images/gauntlet.svg +1 -0
  481. package/systems/5e/images/gem-necklace.svg +1 -0
  482. package/systems/5e/images/gem-pendant.svg +1 -0
  483. package/systems/5e/images/gems.svg +1 -0
  484. package/systems/5e/images/gladius.svg +1 -0
  485. package/systems/5e/images/glaive.svg +1 -0
  486. package/systems/5e/images/glass-ball.svg +1 -0
  487. package/systems/5e/images/gloves.svg +1 -0
  488. package/systems/5e/images/gold-scarab.svg +1 -0
  489. package/systems/5e/images/grain-bundle.svg +1 -0
  490. package/systems/5e/images/halberd.svg +1 -0
  491. package/systems/5e/images/hand-saw.svg +1 -0
  492. package/systems/5e/images/handheld-fan.svg +1 -0
  493. package/systems/5e/images/harp.svg +1 -0
  494. package/systems/5e/images/hatchet.svg +1 -0
  495. package/systems/5e/images/headband-knot.svg +1 -0
  496. package/systems/5e/images/health-potion.svg +1 -0
  497. package/systems/5e/images/heart-bottle.svg +1 -0
  498. package/systems/5e/images/herbs-bundle.svg +1 -0
  499. package/systems/5e/images/hole-ladder.svg +1 -0
  500. package/systems/5e/images/holy-symbol.svg +1 -0
  501. package/systems/5e/images/holy-water.svg +1 -0
  502. package/systems/5e/images/honey-jar.svg +1 -0
  503. package/systems/5e/images/hood.svg +1 -0
  504. package/systems/5e/images/horseshoe.svg +1 -0
  505. package/systems/5e/images/hourglass.svg +1 -0
  506. package/systems/5e/images/hunting-horn.svg +1 -0
  507. package/systems/5e/images/jester-hat.svg +1 -0
  508. package/systems/5e/images/jug.svg +1 -0
  509. package/systems/5e/images/katana.svg +1 -0
  510. package/systems/5e/images/key-lock.svg +1 -0
  511. package/systems/5e/images/kitchen-scale.svg +1 -0
  512. package/systems/5e/images/knapsack.svg +1 -0
  513. package/systems/5e/images/ladder.svg +1 -0
  514. package/systems/5e/images/lantern.svg +1 -0
  515. package/systems/5e/images/leather-armor.svg +1 -0
  516. package/systems/5e/images/leather-boot.svg +1 -0
  517. package/systems/5e/images/leather-vest.svg +1 -0
  518. package/systems/5e/images/light-backpack.svg +1 -0
  519. package/systems/5e/images/light-helm.svg +1 -0
  520. package/systems/5e/images/locked-box.svg +1 -0
  521. package/systems/5e/images/locked-fortress.svg +1 -0
  522. package/systems/5e/images/lockpicks.svg +1 -0
  523. package/systems/5e/images/lunar-wand.svg +1 -0
  524. package/systems/5e/images/lyre.svg +1 -0
  525. package/systems/5e/images/magic-lamp.svg +1 -0
  526. package/systems/5e/images/magnifying-glass.svg +1 -0
  527. package/systems/5e/images/mail-shirt.svg +1 -0
  528. package/systems/5e/images/manacles.svg +1 -0
  529. package/systems/5e/images/marbles.svg +1 -0
  530. package/systems/5e/images/meat.svg +1 -0
  531. package/systems/5e/images/medal.svg +1 -0
  532. package/systems/5e/images/mirror-mirror.svg +1 -0
  533. package/systems/5e/images/mountain-climbing.svg +1 -0
  534. package/systems/5e/images/oil-can.svg +1 -0
  535. package/systems/5e/images/old-lantern.svg +1 -0
  536. package/systems/5e/images/old-wagon.svg +1 -0
  537. package/systems/5e/images/orb-wand.svg +1 -0
  538. package/systems/5e/images/oyster-pearl.svg +1 -0
  539. package/systems/5e/images/paint-brush.svg +1 -0
  540. package/systems/5e/images/painted-pottery.svg +1 -0
  541. package/systems/5e/images/palette.svg +1 -0
  542. package/systems/5e/images/paper.svg +1 -0
  543. package/systems/5e/images/pencil.svg +1 -0
  544. package/systems/5e/images/perfume-bottle.svg +1 -0
  545. package/systems/5e/images/pilgrim-hat.svg +1 -0
  546. package/systems/5e/images/pipes.svg +1 -0
  547. package/systems/5e/images/plain-arrow.svg +1 -0
  548. package/systems/5e/images/plain-dagger.svg +1 -0
  549. package/systems/5e/images/poison-bottle.svg +1 -0
  550. package/systems/5e/images/powder-bag.svg +1 -0
  551. package/systems/5e/images/prayer-beads.svg +1 -0
  552. package/systems/5e/images/pulley-hook.svg +1 -0
  553. package/systems/5e/images/quill-ink.svg +1 -0
  554. package/systems/5e/images/quill.svg +1 -0
  555. package/systems/5e/images/quiver.svg +1 -0
  556. package/systems/5e/images/red-carpet.svg +1 -0
  557. package/systems/5e/images/ring.svg +1 -0
  558. package/systems/5e/images/ringing-bell.svg +1 -0
  559. package/systems/5e/images/robe.svg +1 -0
  560. package/systems/5e/images/rope-coil.svg +1 -0
  561. package/systems/5e/images/round-bottom-flask.svg +1 -0
  562. package/systems/5e/images/round-potion.svg +1 -0
  563. package/systems/5e/images/rune-stone.svg +1 -0
  564. package/systems/5e/images/saddle.svg +1 -0
  565. package/systems/5e/images/scale-mail.svg +1 -0
  566. package/systems/5e/images/scroll-unfurled.svg +1 -0
  567. package/systems/5e/images/secret-book.svg +1 -0
  568. package/systems/5e/images/sewing-needle.svg +1 -0
  569. package/systems/5e/images/shield.svg +1 -0
  570. package/systems/5e/images/shirt-button.svg +1 -0
  571. package/systems/5e/images/sickle.svg +1 -0
  572. package/systems/5e/images/siege-ram.svg +1 -0
  573. package/systems/5e/images/skull-staff.svg +1 -0
  574. package/systems/5e/images/sleeping-bag.svg +1 -0
  575. package/systems/5e/images/sling.svg +1 -0
  576. package/systems/5e/images/slippers.svg +1 -0
  577. package/systems/5e/images/small-fishing-sailboat.svg +1 -0
  578. package/systems/5e/images/smoking-orb.svg +1 -0
  579. package/systems/5e/images/soap.svg +1 -0
  580. package/systems/5e/images/spade.svg +1 -0
  581. package/systems/5e/images/sparkling-sabre.svg +1 -0
  582. package/systems/5e/images/spell-book.svg +1 -0
  583. package/systems/5e/images/spiked-armor.svg +1 -0
  584. package/systems/5e/images/spiked-mace.svg +1 -0
  585. package/systems/5e/images/spikes.svg +1 -0
  586. package/systems/5e/images/spinning-wheel.svg +1 -0
  587. package/systems/5e/images/spyglass.svg +1 -0
  588. package/systems/5e/images/steampunk-goggles.svg +1 -0
  589. package/systems/5e/images/stone-block.svg +1 -0
  590. package/systems/5e/images/stone-pile.svg +1 -0
  591. package/systems/5e/images/stone-sphere.svg +1 -0
  592. package/systems/5e/images/straight-pipe.svg +1 -0
  593. package/systems/5e/images/swap-bag.svg +1 -0
  594. package/systems/5e/images/thor-hammer.svg +1 -0
  595. package/systems/5e/images/thrown-spear.svg +1 -0
  596. package/systems/5e/images/tiara.svg +1 -0
  597. package/systems/5e/images/tied-scroll.svg +1 -0
  598. package/systems/5e/images/tinker.svg +1 -0
  599. package/systems/5e/images/torch.svg +1 -0
  600. package/systems/5e/images/totem.svg +1 -0
  601. package/systems/5e/images/trap-mask.svg +1 -0
  602. package/systems/5e/images/treasure-map.svg +1 -0
  603. package/systems/5e/images/tribal-pendant.svg +1 -0
  604. package/systems/5e/images/trident.svg +1 -0
  605. package/systems/5e/images/two-handed-sword.svg +1 -0
  606. package/systems/5e/images/vial.svg +1 -0
  607. package/systems/5e/images/violin.svg +1 -0
  608. package/systems/5e/images/war-axe.svg +1 -0
  609. package/systems/5e/images/war-pick.svg +1 -0
  610. package/systems/5e/images/warhammer.svg +1 -0
  611. package/systems/5e/images/water-bottle.svg +1 -0
  612. package/systems/5e/images/waterskin.svg +1 -0
  613. package/systems/5e/images/wavy-chains.svg +1 -0
  614. package/systems/5e/images/wax-seal.svg +1 -0
  615. package/systems/5e/images/wheelbarrow.svg +1 -0
  616. package/systems/5e/images/whip.svg +1 -0
  617. package/systems/5e/images/whistle.svg +1 -0
  618. package/systems/5e/images/wing-cloak.svg +1 -0
  619. package/systems/5e/images/winged-scepter.svg +1 -0
  620. package/systems/5e/images/wizard-staff.svg +1 -0
  621. package/systems/5e/images/wolf-trap.svg +1 -0
  622. package/systems/5e/images/wood-canoe.svg +1 -0
  623. package/systems/5e/images/wood-club.svg +1 -0
  624. package/systems/5e/instructions/import.md +1 -0
  625. package/systems/5e/instructions/play.md +6 -0
  626. package/systems/5e/instructions/session-zero.md +1 -1
  627. package/systems/5e/package.json +11 -0
  628. package/systems/5e/system.yaml +231 -31
  629. package/systems/5e/words/ar.yaml +74 -0
  630. package/systems/5e/words/cs.yaml +74 -0
  631. package/systems/5e/words/da.yaml +74 -0
  632. package/systems/5e/words/de.yaml +74 -0
  633. package/systems/5e/words/el.yaml +74 -0
  634. package/systems/5e/words/en.yaml +20 -0
  635. package/systems/5e/words/es.yaml +74 -0
  636. package/systems/5e/words/fi.yaml +74 -0
  637. package/systems/5e/words/fr.yaml +74 -0
  638. package/systems/5e/words/he.yaml +74 -0
  639. package/systems/5e/words/hi.yaml +74 -0
  640. package/systems/5e/words/hu.yaml +74 -0
  641. package/systems/5e/words/is.yaml +74 -0
  642. package/systems/5e/words/it.yaml +84 -1
  643. package/systems/5e/words/ja.yaml +74 -0
  644. package/systems/5e/words/ko.yaml +74 -0
  645. package/systems/5e/words/nb.yaml +74 -0
  646. package/systems/5e/words/nl.yaml +74 -0
  647. package/systems/5e/words/pl.yaml +74 -0
  648. package/systems/5e/words/pt.yaml +74 -0
  649. package/systems/5e/words/ro.yaml +74 -0
  650. package/systems/5e/words/ru.yaml +74 -0
  651. package/systems/5e/words/sv.yaml +74 -0
  652. package/systems/5e/words/tr.yaml +74 -0
  653. package/systems/5e/words/uk.yaml +74 -0
  654. package/systems/5e/words/zh.yaml +74 -0
  655. package/systems/5e/world/creatures/Aboleth.md +1 -0
  656. package/systems/5e/world/creatures/Adult Black Dragon.md +2 -0
  657. package/systems/5e/world/creatures/Adult Blue Dragon.md +2 -0
  658. package/systems/5e/world/creatures/Adult Brass Dragon.md +2 -0
  659. package/systems/5e/world/creatures/Adult Bronze Dragon.md +2 -0
  660. package/systems/5e/world/creatures/Adult Copper Dragon.md +2 -0
  661. package/systems/5e/world/creatures/Adult Gold Dragon.md +2 -0
  662. package/systems/5e/world/creatures/Adult Green Dragon.md +2 -0
  663. package/systems/5e/world/creatures/Adult Red Dragon.md +2 -0
  664. package/systems/5e/world/creatures/Adult Silver Dragon.md +2 -0
  665. package/systems/5e/world/creatures/Adult White Dragon.md +2 -0
  666. package/systems/5e/world/creatures/Ancient Black Dragon.md +2 -0
  667. package/systems/5e/world/creatures/Ancient Blue Dragon.md +2 -0
  668. package/systems/5e/world/creatures/Ancient Brass Dragon.md +2 -0
  669. package/systems/5e/world/creatures/Ancient Bronze Dragon.md +2 -0
  670. package/systems/5e/world/creatures/Ancient Copper Dragon.md +2 -0
  671. package/systems/5e/world/creatures/Ancient Gold Dragon.md +2 -0
  672. package/systems/5e/world/creatures/Ancient Green Dragon.md +2 -0
  673. package/systems/5e/world/creatures/Ancient Red Dragon.md +2 -0
  674. package/systems/5e/world/creatures/Ancient Silver Dragon.md +2 -0
  675. package/systems/5e/world/creatures/Ancient White Dragon.md +2 -0
  676. package/systems/5e/world/creatures/Androsphinx.md +1 -0
  677. package/systems/5e/world/creatures/Dwarf.md +1 -0
  678. package/systems/5e/world/creatures/Gynosphinx.md +1 -0
  679. package/systems/5e/world/creatures/Kraken.md +1 -0
  680. package/systems/5e/world/creatures/Lich.md +2 -0
  681. package/systems/5e/world/creatures/Mummy Lord.md +1 -0
  682. package/systems/5e/world/creatures/Solar.md +1 -0
  683. package/systems/5e/world/creatures/Tarrasque.md +2 -0
  684. package/systems/5e/world/creatures/Unicorn.md +1 -0
  685. package/systems/5e/world/creatures/Vampire.md +2 -0
  686. package/systems/5e/world/items/Abacus.md +1 -0
  687. package/systems/5e/world/items/Acid.md +1 -0
  688. package/systems/5e/world/items/Adamantine Armor.md +1 -0
  689. package/systems/5e/world/items/Alchemist's Fire.md +1 -0
  690. package/systems/5e/world/items/Alchemist's Supplies.md +1 -0
  691. package/systems/5e/world/items/Ammunition, +1, +2, or +3.md +1 -0
  692. package/systems/5e/world/items/Amulet of Health.md +2 -0
  693. package/systems/5e/world/items/Amulet of Proof against Detection and Location.md +1 -0
  694. package/systems/5e/world/items/Amulet of the Planes.md +1 -0
  695. package/systems/5e/world/items/Amulet.md +1 -0
  696. package/systems/5e/world/items/Animated Shield.md +1 -0
  697. package/systems/5e/world/items/Antitoxin.md +1 -0
  698. package/systems/5e/world/items/Apparatus of the Crab.md +1 -0
  699. package/systems/5e/world/items/Armor of Invulnerability.md +2 -0
  700. package/systems/5e/world/items/Armor of Resistance.md +1 -0
  701. package/systems/5e/world/items/Armor of Vulnerability.md +1 -0
  702. package/systems/5e/world/items/Armor, +1, +2, or +3.md +1 -0
  703. package/systems/5e/world/items/Arrow of Slaying.md +1 -0
  704. package/systems/5e/world/items/Arrow-Catching Shield.md +1 -0
  705. package/systems/5e/world/items/Arrows.md +2 -0
  706. package/systems/5e/world/items/Backpack.md +1 -0
  707. package/systems/5e/world/items/Bag of Beans.md +1 -0
  708. package/systems/5e/world/items/Bag of Devouring.md +1 -0
  709. package/systems/5e/world/items/Bag of Holding.md +3 -0
  710. package/systems/5e/world/items/Bag of Tricks.md +1 -0
  711. package/systems/5e/world/items/Bagpipes.md +1 -0
  712. package/systems/5e/world/items/Ball Bearings.md +1 -0
  713. package/systems/5e/world/items/Barding.md +1 -0
  714. package/systems/5e/world/items/Barrel.md +1 -0
  715. package/systems/5e/world/items/Basic Poison.md +1 -0
  716. package/systems/5e/world/items/Basket.md +1 -0
  717. package/systems/5e/world/items/Battleaxe.md +1 -0
  718. package/systems/5e/world/items/Bead of Force.md +1 -0
  719. package/systems/5e/world/items/Bedroll.md +1 -0
  720. package/systems/5e/world/items/Bell.md +1 -0
  721. package/systems/5e/world/items/Belt of Dwarvenkind.md +1 -0
  722. package/systems/5e/world/items/Belt of Giant Strength.md +1 -0
  723. package/systems/5e/world/items/Berserker Axe.md +1 -0
  724. package/systems/5e/world/items/Bit and Bridle.md +1 -0
  725. package/systems/5e/world/items/Blanket.md +1 -0
  726. package/systems/5e/world/items/Block and Tackle.md +1 -0
  727. package/systems/5e/world/items/Blowgun Needles.md +2 -0
  728. package/systems/5e/world/items/Blowgun.md +1 -0
  729. package/systems/5e/world/items/Book.md +1 -0
  730. package/systems/5e/world/items/Boots of Elvenkind.md +1 -0
  731. package/systems/5e/world/items/Boots of Levitation.md +1 -0
  732. package/systems/5e/world/items/Boots of Speed.md +1 -0
  733. package/systems/5e/world/items/Boots of Striding and Springing.md +1 -0
  734. package/systems/5e/world/items/Boots of the Winterlands.md +2 -0
  735. package/systems/5e/world/items/Bowl of Commanding Water Elementals.md +1 -0
  736. package/systems/5e/world/items/Bracers of Archery.md +1 -0
  737. package/systems/5e/world/items/Bracers of Defense.md +1 -0
  738. package/systems/5e/world/items/Brazier of Commanding Fire Elementals.md +1 -0
  739. package/systems/5e/world/items/Breastplate.md +1 -0
  740. package/systems/5e/world/items/Brewer's Supplies.md +1 -0
  741. package/systems/5e/world/items/Brooch of Shielding.md +2 -0
  742. package/systems/5e/world/items/Broom of Flying.md +1 -0
  743. package/systems/5e/world/items/Bucket.md +1 -0
  744. package/systems/5e/world/items/Bullseye Lantern.md +1 -0
  745. package/systems/5e/world/items/Burglar's Pack.md +3 -0
  746. package/systems/5e/world/items/Calligrapher's Supplies.md +1 -0
  747. package/systems/5e/world/items/Caltrops.md +1 -0
  748. package/systems/5e/world/items/Candle of Invocation.md +1 -0
  749. package/systems/5e/world/items/Candle.md +1 -0
  750. package/systems/5e/world/items/Cape of the Mountebank.md +1 -0
  751. package/systems/5e/world/items/Carpenter's Tools.md +1 -0
  752. package/systems/5e/world/items/Carpet of Flying.md +1 -0
  753. package/systems/5e/world/items/Carriage.md +1 -0
  754. package/systems/5e/world/items/Cart.md +1 -0
  755. package/systems/5e/world/items/Cartographer's Tools.md +1 -0
  756. package/systems/5e/world/items/Censer of Controlling Air Elementals.md +1 -0
  757. package/systems/5e/world/items/Chain Mail.md +2 -0
  758. package/systems/5e/world/items/Chain Shirt.md +1 -0
  759. package/systems/5e/world/items/Chain.md +1 -0
  760. package/systems/5e/world/items/Chalk.md +1 -0
  761. package/systems/5e/world/items/Chariot.md +1 -0
  762. package/systems/5e/world/items/Chest.md +1 -0
  763. package/systems/5e/world/items/Chime of Opening.md +1 -0
  764. package/systems/5e/world/items/Circlet of Blasting.md +1 -0
  765. package/systems/5e/world/items/Climber's Kit.md +1 -0
  766. package/systems/5e/world/items/Cloak of Arachnida.md +2 -0
  767. package/systems/5e/world/items/Cloak of Displacement.md +1 -0
  768. package/systems/5e/world/items/Cloak of Elvenkind.md +1 -0
  769. package/systems/5e/world/items/Cloak of Protection.md +3 -0
  770. package/systems/5e/world/items/Cloak of the Bat.md +1 -0
  771. package/systems/5e/world/items/Cloak of the Manta Ray.md +1 -0
  772. package/systems/5e/world/items/Club.md +1 -0
  773. package/systems/5e/world/items/Cobbler's Tools.md +1 -0
  774. package/systems/5e/world/items/Common Clothes.md +1 -0
  775. package/systems/5e/world/items/Component Pouch.md +1 -0
  776. package/systems/5e/world/items/Cook's Utensils.md +1 -0
  777. package/systems/5e/world/items/Costume Clothes.md +1 -0
  778. package/systems/5e/world/items/Crossbow Bolt Case.md +1 -0
  779. package/systems/5e/world/items/Crossbow Bolts.md +2 -0
  780. package/systems/5e/world/items/Crowbar.md +1 -0
  781. package/systems/5e/world/items/Crystal Ball.md +1 -0
  782. package/systems/5e/world/items/Crystal.md +1 -0
  783. package/systems/5e/world/items/Cube of Force.md +2 -0
  784. package/systems/5e/world/items/Cubic Gate.md +2 -0
  785. package/systems/5e/world/items/Dagger of Venom.md +1 -0
  786. package/systems/5e/world/items/Dagger.md +1 -0
  787. package/systems/5e/world/items/Dancing Sword.md +1 -0
  788. package/systems/5e/world/items/Dart.md +1 -0
  789. package/systems/5e/world/items/Decanter of Endless Water.md +1 -0
  790. package/systems/5e/world/items/Deck of Illusions.md +1 -0
  791. package/systems/5e/world/items/Deck of Many Things.md +1 -0
  792. package/systems/5e/world/items/Defender.md +1 -0
  793. package/systems/5e/world/items/Demon Armor.md +1 -0
  794. package/systems/5e/world/items/Dice Set.md +1 -0
  795. package/systems/5e/world/items/Dimensional Shackles.md +1 -0
  796. package/systems/5e/world/items/Diplomat's Pack.md +3 -0
  797. package/systems/5e/world/items/Disguise Kit.md +1 -0
  798. package/systems/5e/world/items/Dragon Scale Mail.md +1 -0
  799. package/systems/5e/world/items/Dragon Slayer.md +1 -0
  800. package/systems/5e/world/items/Drum.md +1 -0
  801. package/systems/5e/world/items/Dulcimer.md +1 -0
  802. package/systems/5e/world/items/Dungeoneer's Pack.md +3 -0
  803. package/systems/5e/world/items/Dust of Disappearance.md +1 -0
  804. package/systems/5e/world/items/Dust of Dryness.md +1 -0
  805. package/systems/5e/world/items/Dust of Sneezing and Choking.md +1 -0
  806. package/systems/5e/world/items/Dwarven Plate.md +1 -0
  807. package/systems/5e/world/items/Dwarven Thrower.md +1 -0
  808. package/systems/5e/world/items/Efficient Quiver.md +1 -0
  809. package/systems/5e/world/items/Efreeti Bottle.md +1 -0
  810. package/systems/5e/world/items/Elemental Gem.md +1 -0
  811. package/systems/5e/world/items/Elven Chain.md +1 -0
  812. package/systems/5e/world/items/Emblem.md +1 -0
  813. package/systems/5e/world/items/Entertainer's Pack.md +3 -0
  814. package/systems/5e/world/items/Eversmoking Bottle.md +1 -0
  815. package/systems/5e/world/items/Exotic Saddle.md +1 -0
  816. package/systems/5e/world/items/Explorer's Pack.md +3 -0
  817. package/systems/5e/world/items/Eyes of Charming.md +1 -0
  818. package/systems/5e/world/items/Eyes of Minute Seeing.md +1 -0
  819. package/systems/5e/world/items/Eyes of the Eagle.md +1 -0
  820. package/systems/5e/world/items/Feather Token.md +1 -0
  821. package/systems/5e/world/items/Feed.md +1 -0
  822. package/systems/5e/world/items/Figurine of Wondrous Power.md +1 -0
  823. package/systems/5e/world/items/Fine Clothes.md +1 -0
  824. package/systems/5e/world/items/Fishing Tackle.md +1 -0
  825. package/systems/5e/world/items/Flail.md +1 -0
  826. package/systems/5e/world/items/Flame Tongue.md +1 -0
  827. package/systems/5e/world/items/Flask or Tankard.md +1 -0
  828. package/systems/5e/world/items/Flute.md +1 -0
  829. package/systems/5e/world/items/Folding Boat.md +1 -0
  830. package/systems/5e/world/items/Forgery Kit.md +1 -0
  831. package/systems/5e/world/items/Frost Brand.md +2 -0
  832. package/systems/5e/world/items/Galley.md +1 -0
  833. package/systems/5e/world/items/Gauntlets of Ogre Power.md +2 -0
  834. package/systems/5e/world/items/Gem of Brightness.md +2 -0
  835. package/systems/5e/world/items/Gem of Seeing.md +2 -0
  836. package/systems/5e/world/items/Giant Slayer.md +1 -0
  837. package/systems/5e/world/items/Glaive.md +1 -0
  838. package/systems/5e/world/items/Glamoured Studded Leather.md +1 -0
  839. package/systems/5e/world/items/Glass Bottle.md +1 -0
  840. package/systems/5e/world/items/Glassblower's Tools.md +1 -0
  841. package/systems/5e/world/items/Gloves of Missile Snaring.md +1 -0
  842. package/systems/5e/world/items/Gloves of Swimming and Climbing.md +1 -0
  843. package/systems/5e/world/items/Goggles of Night.md +1 -0
  844. package/systems/5e/world/items/Grappling Hook.md +1 -0
  845. package/systems/5e/world/items/Greataxe.md +1 -0
  846. package/systems/5e/world/items/Greatclub.md +1 -0
  847. package/systems/5e/world/items/Greatsword.md +1 -0
  848. package/systems/5e/world/items/Halberd.md +1 -0
  849. package/systems/5e/world/items/Half Plate Armor.md +1 -0
  850. package/systems/5e/world/items/Hammer of Thunderbolts.md +2 -0
  851. package/systems/5e/world/items/Hammer.md +1 -0
  852. package/systems/5e/world/items/Hand Crossbow.md +1 -0
  853. package/systems/5e/world/items/Handaxe.md +1 -0
  854. package/systems/5e/world/items/Handy Haversack.md +3 -0
  855. package/systems/5e/world/items/Hat of Disguise.md +1 -0
  856. package/systems/5e/world/items/Headband of Intellect.md +2 -0
  857. package/systems/5e/world/items/Healer's Kit.md +1 -0
  858. package/systems/5e/world/items/Heavy Crossbow.md +1 -0
  859. package/systems/5e/world/items/Helm of Brilliance.md +1 -0
  860. package/systems/5e/world/items/Helm of Comprehending Languages.md +1 -0
  861. package/systems/5e/world/items/Helm of Telepathy.md +1 -0
  862. package/systems/5e/world/items/Helm of Teleportation.md +2 -0
  863. package/systems/5e/world/items/Hempen Rope.md +1 -0
  864. package/systems/5e/world/items/Herbalism Kit.md +1 -0
  865. package/systems/5e/world/items/Hide Armor.md +1 -0
  866. package/systems/5e/world/items/Holy Avenger.md +1 -0
  867. package/systems/5e/world/items/Holy Water.md +1 -0
  868. package/systems/5e/world/items/Hooded Lantern.md +1 -0
  869. package/systems/5e/world/items/Horn of Blasting.md +1 -0
  870. package/systems/5e/world/items/Horn of Valhalla.md +1 -0
  871. package/systems/5e/world/items/Horn.md +1 -0
  872. package/systems/5e/world/items/Horseshoes of Speed.md +1 -0
  873. package/systems/5e/world/items/Horseshoes of a Zephyr.md +1 -0
  874. package/systems/5e/world/items/Hourglass.md +1 -0
  875. package/systems/5e/world/items/Hunting Trap.md +1 -0
  876. package/systems/5e/world/items/Immovable Rod.md +1 -0
  877. package/systems/5e/world/items/Ink Pen.md +1 -0
  878. package/systems/5e/world/items/Ink.md +1 -0
  879. package/systems/5e/world/items/Instant Fortress.md +1 -0
  880. package/systems/5e/world/items/Ioun Stone.md +1 -0
  881. package/systems/5e/world/items/Iron Bands of Binding.md +1 -0
  882. package/systems/5e/world/items/Iron Flask.md +1 -0
  883. package/systems/5e/world/items/Iron Pot.md +1 -0
  884. package/systems/5e/world/items/Iron Spikes.md +2 -0
  885. package/systems/5e/world/items/Javelin of Lightning.md +1 -0
  886. package/systems/5e/world/items/Javelin.md +1 -0
  887. package/systems/5e/world/items/Jeweler's Tools.md +1 -0
  888. package/systems/5e/world/items/Jug or Pitcher.md +1 -0
  889. package/systems/5e/world/items/Keelboat.md +1 -0
  890. package/systems/5e/world/items/Ladder.md +1 -0
  891. package/systems/5e/world/items/Lamp.md +1 -0
  892. package/systems/5e/world/items/Lance.md +1 -0
  893. package/systems/5e/world/items/Lantern of Revealing.md +1 -0
  894. package/systems/5e/world/items/Leather Armor.md +1 -0
  895. package/systems/5e/world/items/Leatherworker's Tools.md +1 -0
  896. package/systems/5e/world/items/Light Crossbow.md +1 -0
  897. package/systems/5e/world/items/Light Hammer.md +1 -0
  898. package/systems/5e/world/items/Lock.md +1 -0
  899. package/systems/5e/world/items/Longbow.md +1 -0
  900. package/systems/5e/world/items/Longship.md +1 -0
  901. package/systems/5e/world/items/Longsword.md +1 -0
  902. package/systems/5e/world/items/Luck Blade.md +1 -0
  903. package/systems/5e/world/items/Lute.md +1 -0
  904. package/systems/5e/world/items/Lyre.md +1 -0
  905. package/systems/5e/world/items/Mace of Disruption.md +1 -0
  906. package/systems/5e/world/items/Mace of Smiting.md +1 -0
  907. package/systems/5e/world/items/Mace of Terror.md +2 -0
  908. package/systems/5e/world/items/Mace.md +1 -0
  909. package/systems/5e/world/items/Magnifying Glass.md +1 -0
  910. package/systems/5e/world/items/Manacles.md +1 -0
  911. package/systems/5e/world/items/Mantle of Spell Resistance.md +1 -0
  912. package/systems/5e/world/items/Manual of Bodily Health.md +1 -0
  913. package/systems/5e/world/items/Manual of Gainful Exercise.md +1 -0
  914. package/systems/5e/world/items/Manual of Golems.md +1 -0
  915. package/systems/5e/world/items/Manual of Quickness of Action.md +1 -0
  916. package/systems/5e/world/items/Map or Scroll Case.md +1 -0
  917. package/systems/5e/world/items/Marvelous Pigments.md +1 -0
  918. package/systems/5e/world/items/Mason's Tools.md +1 -0
  919. package/systems/5e/world/items/Maul.md +1 -0
  920. package/systems/5e/world/items/Medallion of Thoughts.md +2 -0
  921. package/systems/5e/world/items/Merchant's Scale.md +1 -0
  922. package/systems/5e/world/items/Mess Kit.md +1 -0
  923. package/systems/5e/world/items/Military Saddle.md +1 -0
  924. package/systems/5e/world/items/Miner's Pick.md +1 -0
  925. package/systems/5e/world/items/Mirror of Life Trapping.md +1 -0
  926. package/systems/5e/world/items/Mithral Armor.md +1 -0
  927. package/systems/5e/world/items/Morningstar.md +1 -0
  928. package/systems/5e/world/items/Navigator's Tools.md +1 -0
  929. package/systems/5e/world/items/Necklace of Adaptation.md +1 -0
  930. package/systems/5e/world/items/Necklace of Fireballs.md +1 -0
  931. package/systems/5e/world/items/Necklace of Prayer Beads.md +1 -0
  932. package/systems/5e/world/items/Net.md +1 -0
  933. package/systems/5e/world/items/Nine Lives Stealer.md +1 -0
  934. package/systems/5e/world/items/Oathbow.md +1 -0
  935. package/systems/5e/world/items/Oil of Etherealness.md +1 -0
  936. package/systems/5e/world/items/Oil of Sharpness.md +1 -0
  937. package/systems/5e/world/items/Oil of Slipperiness.md +1 -0
  938. package/systems/5e/world/items/Oil.md +1 -0
  939. package/systems/5e/world/items/Orb of Dragonkind.md +2 -0
  940. package/systems/5e/world/items/Orb.md +1 -0
  941. package/systems/5e/world/items/Pack Saddle.md +1 -0
  942. package/systems/5e/world/items/Padded Armor.md +1 -0
  943. package/systems/5e/world/items/Painter's Supplies.md +1 -0
  944. package/systems/5e/world/items/Pan Flute.md +1 -0
  945. package/systems/5e/world/items/Paper.md +1 -0
  946. package/systems/5e/world/items/Parchment.md +1 -0
  947. package/systems/5e/world/items/Pearl of Power.md +1 -0
  948. package/systems/5e/world/items/Perfume.md +1 -0
  949. package/systems/5e/world/items/Periapt of Health.md +1 -0
  950. package/systems/5e/world/items/Periapt of Proof against Poison.md +1 -0
  951. package/systems/5e/world/items/Periapt of Wound Closure.md +1 -0
  952. package/systems/5e/world/items/Philter of Love.md +1 -0
  953. package/systems/5e/world/items/Pike.md +1 -0
  954. package/systems/5e/world/items/Pipes of Haunting.md +1 -0
  955. package/systems/5e/world/items/Pipes of the Sewers.md +1 -0
  956. package/systems/5e/world/items/Piton.md +1 -0
  957. package/systems/5e/world/items/Plate Armor of Etherealness.md +1 -0
  958. package/systems/5e/world/items/Plate Armor.md +2 -0
  959. package/systems/5e/world/items/Playing Card Set.md +1 -0
  960. package/systems/5e/world/items/Poisoner's Kit.md +1 -0
  961. package/systems/5e/world/items/Pole.md +1 -0
  962. package/systems/5e/world/items/Portable Hole.md +2 -0
  963. package/systems/5e/world/items/Portable Ram.md +1 -0
  964. package/systems/5e/world/items/Potion of Animal Friendship.md +1 -0
  965. package/systems/5e/world/items/Potion of Clairvoyance.md +1 -0
  966. package/systems/5e/world/items/Potion of Climbing.md +1 -0
  967. package/systems/5e/world/items/Potion of Diminution.md +1 -0
  968. package/systems/5e/world/items/Potion of Flying.md +1 -0
  969. package/systems/5e/world/items/Potion of Gaseous Form.md +1 -0
  970. package/systems/5e/world/items/Potion of Giant Strength.md +1 -0
  971. package/systems/5e/world/items/Potion of Growth.md +1 -0
  972. package/systems/5e/world/items/Potion of Healing.md +1 -0
  973. package/systems/5e/world/items/Potion of Heroism.md +1 -0
  974. package/systems/5e/world/items/Potion of Invisibility.md +1 -0
  975. package/systems/5e/world/items/Potion of Mind Reading.md +1 -0
  976. package/systems/5e/world/items/Potion of Poison.md +1 -0
  977. package/systems/5e/world/items/Potion of Resistance.md +1 -0
  978. package/systems/5e/world/items/Potion of Speed.md +1 -0
  979. package/systems/5e/world/items/Potion of Water Breathing.md +1 -0
  980. package/systems/5e/world/items/Potter's Tools.md +1 -0
  981. package/systems/5e/world/items/Pouch.md +1 -0
  982. package/systems/5e/world/items/Priest's Pack.md +3 -0
  983. package/systems/5e/world/items/Quarterstaff.md +1 -0
  984. package/systems/5e/world/items/Quiver.md +1 -0
  985. package/systems/5e/world/items/Rapier.md +1 -0
  986. package/systems/5e/world/items/Rations.md +1 -0
  987. package/systems/5e/world/items/Reliquary.md +1 -0
  988. package/systems/5e/world/items/Restorative Ointment.md +1 -0
  989. package/systems/5e/world/items/Riding Saddle.md +1 -0
  990. package/systems/5e/world/items/Ring Mail.md +1 -0
  991. package/systems/5e/world/items/Ring of Animal Influence.md +2 -0
  992. package/systems/5e/world/items/Ring of Djinni Summoning.md +1 -0
  993. package/systems/5e/world/items/Ring of Elemental Command.md +2 -0
  994. package/systems/5e/world/items/Ring of Evasion.md +2 -0
  995. package/systems/5e/world/items/Ring of Feather Falling.md +1 -0
  996. package/systems/5e/world/items/Ring of Free Action.md +1 -0
  997. package/systems/5e/world/items/Ring of Invisibility.md +1 -0
  998. package/systems/5e/world/items/Ring of Jumping.md +1 -0
  999. package/systems/5e/world/items/Ring of Mind Shielding.md +1 -0
  1000. package/systems/5e/world/items/Ring of Protection.md +3 -0
  1001. package/systems/5e/world/items/Ring of Regeneration.md +1 -0
  1002. package/systems/5e/world/items/Ring of Resistance.md +1 -0
  1003. package/systems/5e/world/items/Ring of Shooting Stars.md +2 -0
  1004. package/systems/5e/world/items/Ring of Spell Storing.md +1 -0
  1005. package/systems/5e/world/items/Ring of Spell Turning.md +1 -0
  1006. package/systems/5e/world/items/Ring of Swimming.md +1 -0
  1007. package/systems/5e/world/items/Ring of Telekinesis.md +1 -0
  1008. package/systems/5e/world/items/Ring of Three Wishes.md +1 -0
  1009. package/systems/5e/world/items/Ring of Warmth.md +2 -0
  1010. package/systems/5e/world/items/Ring of Water Walking.md +1 -0
  1011. package/systems/5e/world/items/Ring of X-ray Vision.md +1 -0
  1012. package/systems/5e/world/items/Ring of the Ram.md +2 -0
  1013. package/systems/5e/world/items/Robe of Eyes.md +1 -0
  1014. package/systems/5e/world/items/Robe of Scintillating Colors.md +2 -0
  1015. package/systems/5e/world/items/Robe of Stars.md +1 -0
  1016. package/systems/5e/world/items/Robe of Useful Items.md +1 -0
  1017. package/systems/5e/world/items/Robe of the Archmagi.md +3 -0
  1018. package/systems/5e/world/items/Robes.md +1 -0
  1019. package/systems/5e/world/items/Rod of Absorption.md +1 -0
  1020. package/systems/5e/world/items/Rod of Alertness.md +1 -0
  1021. package/systems/5e/world/items/Rod of Lordly Might.md +1 -0
  1022. package/systems/5e/world/items/Rod of Rulership.md +1 -0
  1023. package/systems/5e/world/items/Rod of Security.md +1 -0
  1024. package/systems/5e/world/items/Rod.md +1 -0
  1025. package/systems/5e/world/items/Rope of Climbing.md +1 -0
  1026. package/systems/5e/world/items/Rope of Entanglement.md +1 -0
  1027. package/systems/5e/world/items/Rowboat.md +1 -0
  1028. package/systems/5e/world/items/Sack.md +1 -0
  1029. package/systems/5e/world/items/Saddlebags.md +1 -0
  1030. package/systems/5e/world/items/Sailing Ship.md +1 -0
  1031. package/systems/5e/world/items/Scale Mail.md +1 -0
  1032. package/systems/5e/world/items/Scarab of Protection.md +2 -0
  1033. package/systems/5e/world/items/Scholar's Pack.md +3 -0
  1034. package/systems/5e/world/items/Scimitar of Speed.md +1 -0
  1035. package/systems/5e/world/items/Scimitar.md +1 -0
  1036. package/systems/5e/world/items/Sealing Wax.md +1 -0
  1037. package/systems/5e/world/items/Shawm.md +1 -0
  1038. package/systems/5e/world/items/Shield of Missile Attraction.md +2 -0
  1039. package/systems/5e/world/items/Shield, +1, +2, or +3.md +1 -0
  1040. package/systems/5e/world/items/Shield.md +1 -0
  1041. package/systems/5e/world/items/Shortbow.md +1 -0
  1042. package/systems/5e/world/items/Shortsword.md +1 -0
  1043. package/systems/5e/world/items/Shovel.md +1 -0
  1044. package/systems/5e/world/items/Sickle.md +1 -0
  1045. package/systems/5e/world/items/Signal Whistle.md +1 -0
  1046. package/systems/5e/world/items/Signet Ring.md +1 -0
  1047. package/systems/5e/world/items/Silk Rope.md +1 -0
  1048. package/systems/5e/world/items/Sled.md +1 -0
  1049. package/systems/5e/world/items/Sledgehammer.md +1 -0
  1050. package/systems/5e/world/items/Sling Bullets.md +2 -0
  1051. package/systems/5e/world/items/Sling.md +1 -0
  1052. package/systems/5e/world/items/Slippers of Spider Climbing.md +1 -0
  1053. package/systems/5e/world/items/Smith's Tools.md +1 -0
  1054. package/systems/5e/world/items/Soap.md +1 -0
  1055. package/systems/5e/world/items/Sovereign Glue.md +1 -0
  1056. package/systems/5e/world/items/Spear.md +1 -0
  1057. package/systems/5e/world/items/Spell Scroll.md +1 -0
  1058. package/systems/5e/world/items/Spellbook.md +1 -0
  1059. package/systems/5e/world/items/Spellguard Shield.md +1 -0
  1060. package/systems/5e/world/items/Sphere of Annihilation.md +1 -0
  1061. package/systems/5e/world/items/Splint Armor.md +2 -0
  1062. package/systems/5e/world/items/Sprig of Mistletoe.md +1 -0
  1063. package/systems/5e/world/items/Spyglass.md +1 -0
  1064. package/systems/5e/world/items/Staff of Charming.md +1 -0
  1065. package/systems/5e/world/items/Staff of Fire.md +3 -0
  1066. package/systems/5e/world/items/Staff of Frost.md +3 -0
  1067. package/systems/5e/world/items/Staff of Healing.md +2 -0
  1068. package/systems/5e/world/items/Staff of Power.md +5 -0
  1069. package/systems/5e/world/items/Staff of Striking.md +2 -0
  1070. package/systems/5e/world/items/Staff of Swarming Insects.md +2 -0
  1071. package/systems/5e/world/items/Staff of Thunder and Lightning.md +1 -0
  1072. package/systems/5e/world/items/Staff of Withering.md +2 -0
  1073. package/systems/5e/world/items/Staff of the Magi.md +3 -0
  1074. package/systems/5e/world/items/Staff of the Python.md +1 -0
  1075. package/systems/5e/world/items/Staff of the Woodlands.md +2 -0
  1076. package/systems/5e/world/items/Staff.md +1 -0
  1077. package/systems/5e/world/items/Steel Mirror.md +1 -0
  1078. package/systems/5e/world/items/Stone of Controlling Earth Elementals.md +1 -0
  1079. package/systems/5e/world/items/Stone of Good Luck.md +4 -0
  1080. package/systems/5e/world/items/Studded Leather Armor.md +1 -0
  1081. package/systems/5e/world/items/Sun Blade.md +1 -0
  1082. package/systems/5e/world/items/Sword of Life Stealing.md +1 -0
  1083. package/systems/5e/world/items/Sword of Sharpness.md +1 -0
  1084. package/systems/5e/world/items/Sword of Wounding.md +1 -0
  1085. package/systems/5e/world/items/Talisman of Pure Good.md +2 -0
  1086. package/systems/5e/world/items/Talisman of Ultimate Evil.md +2 -0
  1087. package/systems/5e/world/items/Talisman of the Sphere.md +1 -0
  1088. package/systems/5e/world/items/Thieves' Tools.md +1 -0
  1089. package/systems/5e/world/items/Tinderbox.md +1 -0
  1090. package/systems/5e/world/items/Tinker's Tools.md +1 -0
  1091. package/systems/5e/world/items/Tome of Clear Thought.md +1 -0
  1092. package/systems/5e/world/items/Tome of Leadership and Influence.md +1 -0
  1093. package/systems/5e/world/items/Tome of Understanding.md +1 -0
  1094. package/systems/5e/world/items/Torch.md +1 -0
  1095. package/systems/5e/world/items/Totem.md +1 -0
  1096. package/systems/5e/world/items/Traveler's Clothes.md +1 -0
  1097. package/systems/5e/world/items/Trident of Fish Command.md +2 -0
  1098. package/systems/5e/world/items/Trident.md +1 -0
  1099. package/systems/5e/world/items/Two-Person Tent.md +1 -0
  1100. package/systems/5e/world/items/Unarmed Strike.md +1 -0
  1101. package/systems/5e/world/items/Universal Solvent.md +1 -0
  1102. package/systems/5e/world/items/Vial.md +1 -0
  1103. package/systems/5e/world/items/Vicious Weapon.md +1 -0
  1104. package/systems/5e/world/items/Viol.md +1 -0
  1105. package/systems/5e/world/items/Vorpal Sword.md +1 -0
  1106. package/systems/5e/world/items/Wagon.md +1 -0
  1107. package/systems/5e/world/items/Wand of Binding.md +2 -0
  1108. package/systems/5e/world/items/Wand of Enemy Detection.md +2 -0
  1109. package/systems/5e/world/items/Wand of Fear.md +2 -0
  1110. package/systems/5e/world/items/Wand of Fireballs.md +2 -0
  1111. package/systems/5e/world/items/Wand of Lightning Bolts.md +2 -0
  1112. package/systems/5e/world/items/Wand of Magic Detection.md +2 -0
  1113. package/systems/5e/world/items/Wand of Magic Missiles.md +2 -0
  1114. package/systems/5e/world/items/Wand of Paralysis.md +2 -0
  1115. package/systems/5e/world/items/Wand of Polymorph.md +2 -0
  1116. package/systems/5e/world/items/Wand of Secrets.md +2 -0
  1117. package/systems/5e/world/items/Wand of Web.md +2 -0
  1118. package/systems/5e/world/items/Wand of Wonder.md +2 -0
  1119. package/systems/5e/world/items/Wand of the War Mage, +1, +2, or +3.md +1 -0
  1120. package/systems/5e/world/items/Wand.md +1 -0
  1121. package/systems/5e/world/items/War Pick.md +1 -0
  1122. package/systems/5e/world/items/Warhammer.md +1 -0
  1123. package/systems/5e/world/items/Warship.md +1 -0
  1124. package/systems/5e/world/items/Waterskin.md +1 -0
  1125. package/systems/5e/world/items/Weapon, +1, +2, or +3.md +1 -0
  1126. package/systems/5e/world/items/Weaver's Tools.md +1 -0
  1127. package/systems/5e/world/items/Well of Many Worlds.md +1 -0
  1128. package/systems/5e/world/items/Whetstone.md +1 -0
  1129. package/systems/5e/world/items/Whip.md +1 -0
  1130. package/systems/5e/world/items/Wind Fan.md +1 -0
  1131. package/systems/5e/world/items/Winged Boots.md +1 -0
  1132. package/systems/5e/world/items/Wings of Flying.md +1 -0
  1133. package/systems/5e/world/items/Woodcarver's Tools.md +1 -0
  1134. package/systems/5e/world/items/Wooden Staff.md +1 -0
  1135. package/systems/5e/world/items/Yew Wand.md +1 -0
  1136. package/systems/free/instructions/play.md +5 -0
  1137. package/systems/free/instructions/session-zero.md +1 -0
  1138. package/systems/free/system.yaml +12 -0
  1139. package/dist/dashboard/combat.js +0 -72
@@ -1,25 +1,28 @@
1
1
  import { join } from "node:path";
2
2
  import { parse, stringify } from "yaml";
3
3
  import { z } from "zod";
4
- import { changeListSetting, changeListSettingToNone, changeMapSetting, changeOtherSetting, changeSetting, checkSettingName, clearSetting, companionWays, diceWays, difficulties, lethalities, listSettingNames, mapSettingNames, mentorWays, pictureWays, preparations, proseWays, readCampaignData, readSettings, readTextSetting, requireCampaign, rigors, saveModes, settingMeaning, settingNames, setupSettingNames, storyWays, styleTextLengths, unitSystems, } from "../campaign/index.js";
4
+ import { changeListSetting, changeListSettingToNone, changeMapSetting, changeOtherSetting, changeSetting, checkSettingName, clearSetting, companionWays, diceWays, difficulties, efforts, entrySettingNames, lethalities, listSettingNames, mapSettingNames, masterRollWays, mentorWays, pictureWays, preparations, proseWays, readCampaignData, readSettings, readTextSetting, refreshHostFiles, requireCampaign, rigors, saveModes, settingMeaning, settingNames, setupSettingNames, storyWays, styleTextLengths, unitSystems, voiceWays, writeEffortFiles, } from "../campaign/index.js";
5
5
  import { appendLogEntry } from "../core/log.js";
6
6
  import { defineCommand } from "../core/registry.js";
7
7
  import { comparableText } from "../core/text.js";
8
8
  import { getVersion } from "../core/version.js";
9
9
  import { readYamlValues } from "../core/yaml-file.js";
10
+ import { hostInstructions } from "../instructions/index.js";
10
11
  import { coinList, readAmount, readCoins } from "../money/index.js";
11
12
  import { declaredKind } from "../pages/index.js";
12
13
  import { claudeSays, codexSays } from "../pictures/index.js";
13
14
  import { campaignDataNames, findCampaignSystem, findSystem, installedSystems, systemFileName } from "../systems/index.js";
14
15
  import { readCalendar, readCalendarStart } from "../time/index.js";
16
+ import { libraryAdditions, libraryRemovals, libraryShown, startLibraryReading } from "./game-library.js";
15
17
  import { campaignNote } from "./game-mode.js";
16
18
  import { campaignCoins, coinsShown } from "./game-money.js";
17
19
  import { readOpenScene } from "./game-scene.js";
18
20
  import { campaignCalendar, newDatedLogEntry } from "./game-time.js";
19
- import { campaignSystem, campaignWorld, installedSystemName, systemSetting, systemSettingValue, valuesText } from "./game-world.js";
21
+ import { checkWidgetSpots } from "./game-widgets.js";
22
+ import { campaignSystem, campaignWorld, countedByGame, installedSystemName, systemSetting, systemSettingValue, valuesText } from "./game-world.js";
20
23
  import { mentorPart, stylePart } from "./parts.js";
21
24
  // A use whose maximum reads what gives it, in quotes for its commas (CAM-1).
22
- const counterExample = 'superiority-dice: {max: "4 * has(features, Combat Superiority)", refill: short rest}';
25
+ const counterExample = 'bulwark-dice: {max: "4 * has(features, Bulwark)", refill: short rest}';
23
26
  export const config = defineCommand({
24
27
  name: "config",
25
28
  description: "Show or change the campaign settings. "
@@ -28,8 +31,11 @@ export const config = defineCommand({
28
31
  + "system: one of the installed game systems, listed while it is missing. difficulty, how hard the world plays: story, easy, normal, hard, brutal. "
29
32
  + "lethality, what a fall means: narrative (the character never dies), epic (only when it matters), dice (the dice decide). "
30
33
  + "saves, when the game may go back: permadeath (never, only to the start, the campaign starting over), checkpoint (to the last end of a scene, once the player character dies), free (to any save, and saves when the player asks). "
31
- + "rigor, how closely travel, fatigue, food, spell components and the like follow the rules: smooth (you gloss over them), rules (as written), simulation (beyond them). "
34
+ + "rigor, how closely travel, fatigue, food and the like follow the rules: smooth (you gloss over them), rules (as written), simulation (beyond them). "
32
35
  + "dice, who rolls the player character's dice: digital (rpg) or physical (the player, who tells you the values). units: metric or imperial. "
36
+ + "master-rolls, your rolls for foes and NPCs: behind the screen (roll hides them, unset too: tell only the outcome) or in view; the party's are always shown. "
37
+ + "voices, who voices the characters where your app has subagents: master (you, always), auto (a subagent at key moments, as you choose), "
38
+ + "important (always a subagent for the companions and the characters with kind main), always (always a subagent); unset, auto. "
33
39
  + "companions: none, made with the player or made by the master in session zero, or met in play. "
34
40
  + "Without a written world: premise (the genre, the tone and a few elements of the world, in the player's words) and preparation (on the fly or all at the start). "
35
41
  + "lines (what never appears in the game) and veils (what happens only off screen) change with add and remove, or value none when the player wants none; when the player signals stop, add that content to lines. "
@@ -40,7 +46,11 @@ export const config = defineCommand({
40
46
  + "style (the player's own words on how you write); none takes away an author or a style. "
41
47
  + "table: what you promise the player about how you play, in the words you said. "
42
48
  + "precedents: each ruling you made without the text, the name of the rule in the system's language first, then what you said, such as 'Poisoned: …'. "
49
+ + "library: the player's own books, folders or files by their full path, which rules searches after the system: added once to this computer, with the player's yes "
50
+ + "in a window of their computer, then turned on in each campaign with add and off with remove; remove with computer takes one off this computer; "
51
+ + "text, or PDFs whose text can be selected, read best: a scan is read from its pictures, on Windows only, slowly. "
43
52
  + 'coins, for a game with money whose system does not give them: each coin with its value in the smallest coin, other names after a slash, "rare" for a coin never given as change; totals count in the first. '
53
+ + "widgets: where the dashboard shows the extensions' widgets, which the player arranges in its Settings, such as value 'weather.today: side' (top, side, scene, sheet, world, journal or off); remove gives one back its extension's place. "
44
54
  + "The game system may add settings, such as advancement for 5e: config lists them with what each value means. "
45
55
  + "fields, tables, computed, counters and recipes add to the game system what it lacks, or change it as a house rule: the value gives entries by name, written as in system.yaml, "
46
56
  + "each replacing the system's one of that name (a recipe adds to the system's); remove takes their names. status-line adds fields to the player character's line. "
@@ -53,89 +63,167 @@ export const config = defineCommand({
53
63
  value: z.string().optional().describe("new value of the setting"),
54
64
  add: z.array(z.string()).optional().describe(`items to add to a list setting (${listSettingNames.join(", ")}), repeatable`),
55
65
  remove: z.array(z.string()).optional().describe(`items to remove from a list setting (${listSettingNames.join(", ")}), repeatable`),
66
+ computer: z.boolean().optional().describe("with library and remove: off this computer too, out of every campaign, its books' text deleted"),
56
67
  }),
57
68
  run(input, context) {
58
- const root = requireCampaign(context.folder);
59
- const listChange = input.add !== undefined || input.remove !== undefined;
60
- const own = input.setting === undefined ? undefined : systemSetting(root, context, input.setting);
61
- // A setting the game system adds, with one of its values (DAT-10).
62
- if (own !== undefined) {
63
- return systemSettingResult(root, context, own, input);
69
+ if (input.computer !== undefined && (input.setting?.trim() !== "library" || input.remove === undefined)) {
70
+ throw new Error("computer goes only with setting library and remove: it takes those folders off this computer. Nothing changed.");
64
71
  }
65
- if (input.setting !== undefined && !settingNames.includes(input.setting.trim())) {
66
- const added = (campaignSystem(root, context)?.settings ?? []).map((setting) => setting.name);
67
- throw new Error(`There is no setting "${input.setting}". The settings are: ${[...settingNames, ...added].join(", ")}.`);
72
+ // What the library holds is checked, and an addition allowed by the player, before it is written (LIB-1).
73
+ if (input.setting?.trim() === "library" && (input.add !== undefined || input.remove !== undefined)) {
74
+ return changeLibrary(input, context);
68
75
  }
69
- if (input.add !== undefined && input.setting !== undefined && mapSettingNames.includes(checkSettingName(input.setting))) {
70
- throw new Error(`"${input.setting}" takes entries by name as the value, such as setting counters, value '${counterExample}'; remove takes their names.`);
71
- }
72
- if (listChange && (input.setting === undefined || (input.value !== undefined && !mapSettingNames.includes(checkSettingName(input.setting))))) {
73
- throw new Error('Give add or remove with a list setting and no value, such as setting lines, add "spiders".');
74
- }
75
- const shown = input.setting === undefined ? settingNames : [checkSettingName(input.setting)];
76
- const mapped = input.setting !== undefined && mapSettingNames.includes(checkSettingName(input.setting));
77
- let replaced = [];
78
- // What the campaign adds to its game system, checked with the system before it is written (CAM-1, CAM-3).
79
- if (mapped && input.setting !== undefined && (input.value !== undefined || input.remove !== undefined)) {
80
- const change = { set: input.value === undefined ? undefined : entriesOf(input.setting, input.value), remove: input.remove };
81
- checkAdditions(root, context, input.setting, change);
82
- replaced = replacedEntries(root, context, input.setting, Object.keys(change.set ?? {}));
83
- if (changeMapSetting(root, input.setting, change)) {
84
- appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: input.setting, value: input.value, remove: input.remove }));
85
- }
86
- }
87
- else if (input.setting !== undefined && listChange && changeListSetting(root, input.setting, { add: input.add, remove: input.remove })) {
88
- appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: input.setting, add: input.add, remove: input.remove }));
89
- }
90
- else if (input.setting !== undefined && input.value?.trim().toLowerCase() === "none" && listSettingNames.includes(checkSettingName(input.setting))) {
91
- // A list answered with none still answers the setup (MOD-3).
92
- if (changeListSettingToNone(root, input.setting)) {
93
- appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: input.setting, value: "none" }));
94
- }
95
- }
96
- else if (input.setting !== undefined && input.value?.trim().toLowerCase() === "none" && freeSettingNames.includes(checkSettingName(input.setting))) {
97
- if (clearSetting(root, input.setting)) {
98
- appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: input.setting, value: "none" }));
99
- }
100
- }
101
- else if (input.setting !== undefined && input.value !== undefined && changeSetting(root, input.setting, settingValue(root, input.setting, input.value, context))) {
102
- appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: input.setting, value: input.value }));
103
- }
104
- // New months may leave the day the story starts on without its month (TIM-8): said at once, not at the next date.
105
- if (input.setting?.trim() === "calendar" && input.value !== undefined) {
106
- replaced = [...replaced, ...campaignCalendar(root, context).problems.map((problem) => `${problem.message.replace(/\.$/, "")}: ${problem.fix ?? "fix it"}.`)];
107
- }
108
- const settings = readSettings(root);
109
- // Listed all together, what the campaign adds to its system only when it adds something.
110
- const added = (name) => campaignDataNames.includes(name);
111
- const listed = input.setting === undefined ? shown.filter((name) => !(added(name) || name === "calendar") || settings[name] !== undefined) : shown;
112
- const system = input.setting === undefined ? (campaignSystem(root, context)?.settings ?? []) : [];
113
- // The master's own change of the mentor brings its part, once in the chat; the player's comes with the news of the dashboard (D-347).
114
- const changed = input.value !== undefined && context.actor !== "player" ? input.setting?.trim() : undefined;
115
- // And of how the master writes, the parts as they are now (D-395).
116
- const style = styleSettingNames.includes(changed ?? "") ? stylePart(root, context) : "";
117
- // An author or the player's words taken away: what holds now, as the dashboard's news says it.
118
- const cleared = changed !== undefined && input.value?.trim().toLowerCase() === "none" ? wordsOf(changed)?.cleared : undefined;
119
- const part = changed === "mentor"
120
- ? mentorPart(root, context, settings.mentor)
121
- : [cleared === undefined ? "" : `${cleared.charAt(0).toUpperCase()}${cleared.slice(1)}.`, style].filter((text) => text !== "").join("\n\n");
122
- return {
123
- settings: { ...Object.fromEntries(listed.map((name) => [name, shownValue(root, context, settings, name)])), ...Object.fromEntries(system.map((setting) => [setting.name, systemShownValue(root, setting)])) },
124
- note: campaignNote(root, context),
125
- replaced,
126
- part,
127
- };
76
+ return configure(input, context);
128
77
  },
129
78
  format(result) {
130
79
  const lines = Object.entries(result.settings).map(([name, value]) => `${name}: ${formatValue(value)}`);
131
80
  return [[...lines, ...result.replaced].join("\n"), result.note, result.part ?? ""].filter((block) => block !== "").join("\n\n");
132
81
  },
133
82
  });
83
+ /**
84
+ * The library changed (LIB-1, LIB-3): additions as full paths, added to this computer first, from the chat with the player's yes; removals by any spelling of
85
+ * their path, off this computer too with computer; then the new books read apart.
86
+ */
87
+ async function changeLibrary(input, context) {
88
+ const root = requireCampaign(context.folder);
89
+ const add = input.add === undefined ? undefined : await libraryAdditions(root, context, input.add);
90
+ const remove = input.remove === undefined ? undefined : libraryRemovals(root, context, input.remove, input.computer === true);
91
+ // Taken off the computer only: the campaign did not use it.
92
+ const result = configure(add === undefined && remove?.length === 0 ? { setting: "library" } : { ...input, add, remove }, context);
93
+ startLibraryReading(context);
94
+ return result;
95
+ }
96
+ function configure(input, context) {
97
+ const root = requireCampaign(context.folder);
98
+ const listChange = input.add !== undefined || input.remove !== undefined;
99
+ const own = input.setting === undefined ? undefined : systemSetting(root, context, input.setting);
100
+ // A setting the game system adds, with one of its values (DAT-10).
101
+ if (own !== undefined) {
102
+ return systemSettingResult(root, context, own, input);
103
+ }
104
+ if (input.setting !== undefined && !settingNames.includes(input.setting.trim())) {
105
+ const added = (campaignSystem(root, context)?.settings ?? []).map((setting) => setting.name);
106
+ throw new Error(`There is no setting "${input.setting}". The settings are: ${[...settingNames, ...added].join(", ")}.`);
107
+ }
108
+ if (input.add !== undefined && input.setting !== undefined && entrySettingNames.includes(checkSettingName(input.setting))) {
109
+ throw new Error(`"${input.setting}" takes entries by name as the value, such as setting counters, value '${counterExample}'; remove takes their names.`);
110
+ }
111
+ if (listChange && (input.setting === undefined || (input.value !== undefined && !entrySettingNames.includes(checkSettingName(input.setting))))) {
112
+ throw new Error('Give add or remove with a list setting and no value, such as setting lines, add "spiders".');
113
+ }
114
+ // The master's effort is the player's to choose, in their terminal or on the dashboard, never the master's own (D-462).
115
+ if (input.setting?.trim() === "effort" && input.value !== undefined && context.terminal !== true && context.actor !== "player") {
116
+ throw new Error("effort is the player's to choose, never yours: tell them they can set it on the dashboard's Settings, or in their terminal with rpg config effort and low, medium, high or app. Nothing changed.");
117
+ }
118
+ // app, or none, takes the effort away: each app keeps its own again (D-462).
119
+ if (input.setting?.trim() === "effort" && ["app", "none"].includes(input.value?.trim().toLowerCase() ?? "")) {
120
+ if (clearSetting(root, "effort")) {
121
+ appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: "effort", value: "app" }));
122
+ }
123
+ const unwritten = writeEffortFiles(root, context.platform, true);
124
+ return { settings: { effort: shownValue(root, context, readSettings(root), "effort") }, note: "", replaced: ["Taken away for Claude Code and Codex: from the next chat each keeps its own.", ...unwritten], part: "" };
125
+ }
126
+ const shown = input.setting === undefined ? settingNames : [checkSettingName(input.setting)];
127
+ const mapped = input.setting !== undefined && mapSettingNames.includes(checkSettingName(input.setting));
128
+ let replaced = [];
129
+ // Where the dashboard shows the extensions' widgets, checked against them before it is written (D-502); the master hears nothing of it: it is the page's.
130
+ if (input.setting?.trim() === "widgets" && (input.value !== undefined || input.remove !== undefined)) {
131
+ const set = input.value === undefined ? undefined : entriesOf("widgets", input.value);
132
+ checkWidgetSpots(root, context, set ?? {});
133
+ if (changeMapSetting(root, "widgets", { set, remove: input.remove })) {
134
+ appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: "widgets", value: input.value, remove: input.remove }));
135
+ }
136
+ }
137
+ else if (mapped && input.setting !== undefined && (input.value !== undefined || input.remove !== undefined)) {
138
+ // What the campaign adds to its game system, checked with the system before it is written (CAM-1, CAM-3).
139
+ const change = { set: input.value === undefined ? undefined : entriesOf(input.setting, input.value), remove: input.remove };
140
+ checkAdditions(root, context, input.setting, change);
141
+ replaced = replacedEntries(root, context, input.setting, Object.keys(change.set ?? {}));
142
+ if (changeMapSetting(root, input.setting, change)) {
143
+ appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: input.setting, value: input.value, remove: input.remove }));
144
+ }
145
+ }
146
+ else if (input.setting !== undefined && listChange && changeListSetting(root, input.setting, { add: input.add, remove: input.remove })) {
147
+ appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: input.setting, add: input.add, remove: input.remove }));
148
+ }
149
+ else if (input.setting !== undefined && input.value?.trim().toLowerCase() === "none" && listSettingNames.includes(checkSettingName(input.setting))) {
150
+ // A list answered with none still answers the setup (MOD-3).
151
+ if (changeListSettingToNone(root, input.setting)) {
152
+ appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: input.setting, value: "none" }));
153
+ }
154
+ }
155
+ else if (input.setting !== undefined && input.value?.trim().toLowerCase() === "none" && freeSettingNames.includes(checkSettingName(input.setting))) {
156
+ if (clearSetting(root, input.setting)) {
157
+ appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: input.setting, value: "none" }));
158
+ }
159
+ }
160
+ else if (input.setting !== undefined && input.value !== undefined && changeSetting(root, input.setting, settingValue(root, input.setting, input.value, context))) {
161
+ appendLogEntry(root, newDatedLogEntry(root, context, "config-changed", "public", { setting: input.setting, value: input.value }));
162
+ }
163
+ // The effort written where each app reads it in the campaign's folder (D-462).
164
+ if (input.setting?.trim() === "effort" && input.value !== undefined) {
165
+ const unwritten = writeEffortFiles(root, context.platform);
166
+ replaced = [
167
+ ...replaced,
168
+ "Written for Claude Code and Codex: it applies from the next chat; in Codex only in a folder it trusts; an effort picked in the app for one chat wins there.",
169
+ ...unwritten,
170
+ ];
171
+ }
172
+ // The character agent written or taken away at once, not when the server starts again (D-490).
173
+ if (input.setting?.trim() === "voices" && input.value !== undefined) {
174
+ refreshHostFiles(root, hostInstructions(), context.platform);
175
+ replaced = [...replaced, "Claude Code finds the character agent, or finds it gone, from the next chat."];
176
+ }
177
+ // New months may leave the day the story starts on without its month (TIM-8): said at once, not at the next date.
178
+ if (input.setting?.trim() === "calendar" && input.value !== undefined) {
179
+ replaced = [...replaced, ...campaignCalendar(root, context).problems.map((problem) => `${problem.message.replace(/\.$/, "")}: ${problem.fix ?? "fix it"}.`)];
180
+ }
181
+ const settings = readSettings(root);
182
+ // Listed all together, what the campaign adds to its system only when it adds something.
183
+ const added = (name) => campaignDataNames.includes(name);
184
+ const listed = input.setting === undefined ? shown.filter((name) => !(added(name) || name === "calendar" || name === "widgets") || settings[name] !== undefined) : shown;
185
+ const system = input.setting === undefined ? (campaignSystem(root, context)?.settings ?? []) : [];
186
+ // The master's own change of the mentor brings its part, once in the chat; the player's comes with the news of the dashboard (D-347).
187
+ const changed = input.value !== undefined && context.actor !== "player" ? input.setting?.trim() : undefined;
188
+ // And of how the master writes, the parts as they are now (D-395).
189
+ const style = styleSettingNames.includes(changed ?? "") ? stylePart(root, context) : "";
190
+ // An author or the player's words taken away: what holds now, as the dashboard's news says it.
191
+ const cleared = changed !== undefined && input.value?.trim().toLowerCase() === "none" ? wordsOf(changed)?.cleared : undefined;
192
+ const part = changed === "mentor"
193
+ ? mentorPart(root, context, settings.mentor)
194
+ : [cleared === undefined ? "" : `${cleared.charAt(0).toUpperCase()}${cleared.slice(1)}.`, style].filter((text) => text !== "").join("\n\n");
195
+ return {
196
+ settings: { ...Object.fromEntries(listed.map((name) => [name, shownValue(root, context, settings, name)])), ...Object.fromEntries(system.map((setting) => [setting.name, systemShownValue(root, setting)])) },
197
+ note: campaignNote(root, context),
198
+ replaced,
199
+ part,
200
+ };
201
+ }
134
202
  // The settings of free words the player may leave unset again, with the value none, and all those of how the master writes (D-395).
135
203
  const freeSettingNames = ["author", "style", "calendar"];
136
204
  const styleSettingNames = ["prose", "story", "author", "style"];
137
205
  /** The settings the player changes on the dashboard (D-341): how the game plays for them; the master's own, as house rules, coins and precedents, stay in the chat. */
138
- export const playerSettingNames = ["difficulty", "lethality", "saves", "rigor", "mentor", "learned", "prose", "story", "author", "style", "dice", "units", "pictures", "lines", "veils", "language"];
206
+ export const playerSettingNames = [
207
+ "difficulty",
208
+ "lethality",
209
+ "saves",
210
+ "rigor",
211
+ "mentor",
212
+ "learned",
213
+ "prose",
214
+ "story",
215
+ "author",
216
+ "style",
217
+ "dice",
218
+ "master-rolls",
219
+ "units",
220
+ "voices",
221
+ "pictures",
222
+ "effort",
223
+ "lines",
224
+ "veils",
225
+ "language",
226
+ ];
139
227
  // What each of the player's settings is, and what its values mean to the player, in their words rather than the master's.
140
228
  const playerWords = {
141
229
  difficulty: {
@@ -156,7 +244,7 @@ const playerWords = {
156
244
  means: { permadeath: "never: what happens stays; only starting the campaign over", checkpoint: "if your character dies: back to the end of the last scene", free: "back to any save, and a save whenever you ask" },
157
245
  },
158
246
  rigor: {
159
- about: "how closely food, light, fatigue, spell components and the like follow the rules",
247
+ about: "how closely food, light, fatigue and the like follow the rules",
160
248
  values: rigors,
161
249
  means: {
162
250
  smooth: "only when the story turns on them",
@@ -211,12 +299,35 @@ const playerWords = {
211
299
  cleared: "their own words on how you write no longer hold",
212
300
  },
213
301
  dice: { about: "who rolls your character's dice", values: diceWays, means: { digital: "the engine rolls them", physical: "you roll your own and tell the values" } },
302
+ "master-rolls": {
303
+ about: "the master's rolls for foes and the characters you meet; yours and your companions' are always in view",
304
+ values: masterRollWays,
305
+ means: { "behind the screen": "hidden: the master tells you only what comes of them", "in view": "shown among the rolls, beside yours" },
306
+ unset: "behind the screen",
307
+ },
214
308
  units: { about: "the units of the story", values: unitSystems, means: { metric: "metres and kilometres", imperial: "feet and miles" } },
309
+ voices: {
310
+ about: "who speaks for the characters you meet",
311
+ values: voiceWays,
312
+ means: {
313
+ master: "the master, always",
314
+ auto: "at key moments, as the master chooses, the character themselves, knowing only what they know, where your AI app can",
315
+ important: "always the character themselves for your companions and the main characters, the others only at key moments: slower answers, and more of your plan",
316
+ always: "always the character themselves, for everyone: much slower answers, and much more of your plan",
317
+ },
318
+ unset: "auto",
319
+ },
215
320
  pictures: {
216
321
  about: "the pictures of places, quests and those you meet, made on this computer",
217
322
  values: pictureWays,
218
323
  means: { none: "no pictures", "on request": "those you ask for", "new elements": "one for each new place and quest, and for each one you meet" },
219
324
  },
325
+ effort: {
326
+ about: "how much the master thinks before each answer, from the next chat",
327
+ values: [...efforts, "app"],
328
+ means: { low: "quicker answers, a little less thought", medium: "the usual balance", high: "slower answers, more thought", app: "your AI app decides, as it does in any chat" },
329
+ unset: "app",
330
+ },
220
331
  lines: { about: "what never appears in the game" },
221
332
  veils: { about: "what happens only off screen, without details" },
222
333
  language: { about: "the language the master plays in, and the page's too when it is translated" },
@@ -242,11 +353,11 @@ const setupWords = {
242
353
  };
243
354
  // The setup's questions, in the order the player meets them on the dashboard: how well they know the game, how it plays, how it is rolled, who comes along,
244
355
  // then the limits.
245
- const setupOrder = ["mentor", "difficulty", "lethality", "saves", "rigor", "dice", "units", "companions", "preparation"];
356
+ const setupOrder = ["mentor", "difficulty", "lethality", "saves", "rigor", "dice", "master-rolls", "units", "companions", "preparation"];
246
357
  // The mentor as the setup asks it (D-347): how well the player knows the game, each answer a way of the mentor, from the newest player's.
247
358
  const mentorAnswers = { tutorial: "never played it", hints: "a little", off: "I know it" };
248
359
  // The values the game suggests in the setup, as the design has them by default (D-370): never chosen for the player.
249
- const suggestedValues = { saves: "checkpoint", rigor: "smooth", preparation: "on the fly" };
360
+ const suggestedValues = { saves: "checkpoint", rigor: "smooth", "master-rolls": "behind the screen", preparation: "on the fly" };
250
361
  // The lethality the difficulty suggests (D-141).
251
362
  const suggestedLethality = { story: "narrative", easy: "epic" };
252
363
  /**
@@ -260,13 +371,19 @@ export function setupQuestions(root, context, writtenWorld) {
260
371
  return setting === undefined ? [] : [setting];
261
372
  };
262
373
  const system = (campaignSystem(root, context)?.settings ?? []).map((setting) => setting.name);
263
- const difficulty = readSettings(root).difficulty;
374
+ const settings = readSettings(root);
375
+ const difficulty = settings.difficulty;
264
376
  const suggested = { ...suggestedValues, ...(difficulty === undefined ? {} : { lethality: suggestedLethality[difficulty] ?? "dice" }) };
265
377
  return [...setupOrder.filter((name) => name !== "preparation" || !writtenWorld), ...system, "lines", "veils"].flatMap(named).map((question) => ({
266
- ...(question.name === "mentor" ? mentorQuestion(question) : question),
378
+ ...(question.name === "mentor" ? mentorQuestion(question) : unsetUnanswered(question, settings)),
267
379
  ...(suggested[question.name] === undefined ? {} : { suggested: suggested[question.name] }),
268
380
  }));
269
381
  }
382
+ /** A question whose value is only the one shown while it is unset, as master-rolls behind the screen (D-287): still unanswered in the setup. */
383
+ function unsetUnanswered(question, settings) {
384
+ const { value, ...unanswered } = question;
385
+ return value !== undefined && wordsOf(question.name)?.unset === value && settings[question.name] === undefined ? unanswered : question;
386
+ }
270
387
  /** The mentor as the setup asks it (D-347): how well the player knows the game, never played it first. */
271
388
  function mentorQuestion(question) {
272
389
  const order = Object.keys(mentorAnswers);
@@ -349,13 +466,17 @@ export function playerChangeNews(root, context, before, after) {
349
466
  if (after.value === before.value) {
350
467
  return [];
351
468
  }
469
+ // The master's effort is no rule of play: it changes how the next chat thinks, never this one (D-462).
470
+ if (after.name === "effort") {
471
+ return [`The player set how much you think to ${after.value ?? "their app's own"} on the dashboard: it applies from their next chat; nothing to do now.`];
472
+ }
352
473
  // How the master writes comes with its parts as they are now, on a line of their own: the same for each of them the player changed (D-395).
353
474
  const style = styleSettingNames.includes(after.name) ? stylePart(root, context) : "";
354
475
  if (after.value === undefined) {
355
476
  const cleared = wordsOf(after.name)?.cleared;
356
477
  return cleared === undefined ? [] : [`The player took ${after.name} away on the dashboard: ${cleared}. Play by it from now on.`, ...(style === "" ? [] : [style])];
357
478
  }
358
- const meaning = settingMeaning(after.name, after.value) ?? systemSetting(root, context, after.name)?.values.find((one) => one.value === after.value)?.means;
479
+ const meaning = settingMeaning(after.name, after.value, countedByGame(campaignSystem(root, context))) ?? systemSetting(root, context, after.name)?.values.find((one) => one.value === after.value)?.means;
359
480
  const value = after.most === undefined ? after.value : `"${after.value}"`;
360
481
  const author = after.name === "prose" && readSettings(root).author !== undefined ? " An author is written: theirs takes its place until the player takes it away." : "";
361
482
  // The mentor's new part comes with it, once in the chat (D-347).
@@ -403,19 +524,32 @@ function systemShownValue(root, setting) {
403
524
  }
404
525
  /** A setting as config shows it: a list or entries by name, none when missing; the coins and the system as they read (MON-7, D-173); difficulty and rigor with what they mean (D-263). */
405
526
  function shownValue(root, context, settings, name) {
406
- const meaning = settingMeaning(name, settings[name]);
527
+ const meaning = settingMeaning(name, settings[name], countedByGame(campaignSystem(root, context)));
407
528
  if (meaning !== undefined) {
408
529
  return `${String(settings[name])}: ${meaning}`;
409
530
  }
531
+ // The library with what is read of each entry, and what is skipped (LIB-5).
532
+ if (name === "library") {
533
+ return libraryShown(root, context);
534
+ }
410
535
  // Lines and veils not yet answered are missing: [] is the answer none (MOD-3).
411
536
  if (listSettingNames.includes(name)) {
412
537
  return settings[name] ?? (setupSettingNames.includes(name) ? undefined : []);
413
538
  }
414
- if (mapSettingNames.includes(name)) {
539
+ if (entrySettingNames.includes(name)) {
415
540
  return settings[name] ?? {};
416
541
  }
417
542
  // How the master writes, unset: the core's own ways, never missing (D-395).
418
- const own = { prose: "plain (as your instructions write)", story: "situations (as your instructions write)", author: "(none)", style: "(none)" };
543
+ // And the master's effort, unset: each app's own, the player's to choose (D-462); who voices the characters, unset: auto (D-490); the master's rolls, behind the screen (D-287).
544
+ const own = {
545
+ prose: "plain (as your instructions write)",
546
+ story: "situations (as your instructions write)",
547
+ author: "(none)",
548
+ style: "(none)",
549
+ effort: "(the app's own: the player's to choose)",
550
+ voices: "auto (a subagent at key moments, as you choose, where the app has them)",
551
+ "master-rolls": "behind the screen (unset: roll hides your rolls for foes and NPCs)",
552
+ };
419
553
  if (settings[name] === undefined && Object.hasOwn(own, name)) {
420
554
  return own[name];
421
555
  }
@@ -487,7 +621,7 @@ function formatValue(value) {
487
621
  }
488
622
  return value === undefined ? "(missing)" : String(value);
489
623
  }
490
- /** The entries given to a setting that holds them, read as YAML, such as "superiority-dice: {max: 4, refill: short rest}" (CAM-1). */
624
+ /** The entries given to a setting that holds them, read as YAML, such as "bulwark-dice: {max: 4, refill: short rest}" (CAM-1). */
491
625
  function entriesOf(setting, text) {
492
626
  const value = yamlValue(text, "the entries", "name: value");
493
627
  if (value === null || typeof value !== "object" || Array.isArray(value)) {
@@ -1,21 +1,23 @@
1
1
  import { z } from "zod";
2
2
  import { requireCampaign } from "../campaign/index.js";
3
- import { numberOf } from "../core/formula.js";
3
+ import { factorOf, numberOf } from "../core/formula.js";
4
4
  import { appendLogEntry } from "../core/log.js";
5
5
  import { defineCommand } from "../core/registry.js";
6
6
  import { comparableText, sameName, valueNamed } from "../core/text.js";
7
7
  import { readCounter } from "../counters/index.js";
8
8
  import { effectNamed, formatEffect, formatEnd, isSceneDuration, readEffect, readRounds, withEffect } from "../effects/index.js";
9
- import { concernsPlayer, declaredKind, environmentAt, isDeclaredUncounted, isNeverInherited, isStandardField, parsePageReference, readFieldValue } from "../pages/index.js";
9
+ import { concernsPlayer, declaredKind, environmentAt, isDeclaredUncounted, isKind, isNeverInherited, isStandardField, parsePageReference, readFieldValue, textsIn } from "../pages/index.js";
10
10
  import { addDuration, formatGameDate, readDuration } from "../time/index.js";
11
11
  import { effectGiving, effectiveFields, effectsOf, valuesChanged, withEffects } from "./effect-layer.js";
12
12
  import { checkEffectsReadable, endEffects, keptBy, saveEffects } from "./game-effects.js";
13
13
  import { keepingConditionNote, secondKeptNote } from "./game-reminders.js";
14
14
  import { houseRules, ruleBlock, ruleTitled } from "./game-rules.js";
15
15
  import { checkNotSystemPage, pageOrCopy, readOpenScene } from "./game-scene.js";
16
+ import { allSaid, systemEffectAdded } from "./game-system-code.js";
16
17
  import { newDatedLogEntry, presentDate } from "./game-time.js";
18
+ import { burning, burnOne } from "./game-upkeep.js";
17
19
  import { campaignSystem, campaignWorld, missingSystemHint, occasionsOf } from "./game-world.js";
18
- import { computedField, counterLimits, effectBonuses, itemSource, maximumSources } from "./worked-out.js";
20
+ import { aloneNote, computedField, counterLimits, directBonuses, itemSource, maximumSources } from "./worked-out.js";
19
21
  const actions = ["add", "end"];
20
22
  // Values arrive as field=value strings from a command line, or as an object through MCP.
21
23
  const fieldValues = z.union([z.array(z.string()), z.record(z.string(), z.unknown())]);
@@ -56,6 +58,13 @@ export const effect = defineCommand({
56
58
  throw new Error(`Give the page and the effect's name, such as page Ennio, name Benedizione${input.action === "end" ? "; or only by, to end every effect someone keeps alive" : ""}.`);
57
59
  }
58
60
  const found = pageOrCopy(world, open, input.page, (page) => `effects are on the whole page, such as page ${page}`);
61
+ // An effect goes on one thing, never on a kind counted in stacks (STK-5).
62
+ if (found.copy === undefined && isKind(world, found.page)) {
63
+ const kind = found.page.name;
64
+ throw new Error(`${kind} is a kind, counted in stacks: an effect goes on one thing, an item of the campaign derived from it. Take one from its stack, change <who has it>, ${kind}, spend 1; `
65
+ + `create it, write "<name>", type item, set item=[[${kind}]]; then move, page "<name>", to <who has it>. What lasts a short while on a few pieces, as a poison's `
66
+ + `minute on some arrows, is an effect on who holds them. Nothing changed.`);
67
+ }
59
68
  checkNotSystemPage(world, open, found.page);
60
69
  const holder = { page: found.page, copy: found.copy !== undefined };
61
70
  checkEffectsReadable(holder.page);
@@ -91,7 +100,11 @@ export const effect = defineCommand({
91
100
  const keeper = input.by === undefined ? undefined : keeperLink(world, open.scene, input.by);
92
101
  const system = campaignSystem(root, context);
93
102
  checkNotCounter(system, holder.page, name);
94
- const added = { name, ...(keeper === undefined ? {} : { by: keeper }), values, ...withEnd(root, open.scene, input.for, input.until, system, inScene(open.scene, holder), missingSystemHint(world)) };
103
+ checkNotImmune(world, system, holder.page, name);
104
+ // Something that burns, as a torch, spends one of what the holder carries and lasts as long as it burns, unless told otherwise (UPK-3).
105
+ const lit = holder.copy ? undefined : burning(system, world, holder.page, name);
106
+ const lasting = input.for ?? (input.until === undefined ? lit?.lasts : undefined);
107
+ const added = { name, ...(keeper === undefined ? {} : { by: keeper }), values, ...withEnd(root, open.scene, lasting, input.until, system, inScene(open.scene, holder), missingSystemHint(world)) };
95
108
  checkLine(added);
96
109
  const replaced = effectNamed(current, name);
97
110
  const effects = withEffect(current, added);
@@ -101,7 +114,10 @@ export const effect = defineCommand({
101
114
  const notes = [...addNotes(world, holder.page, current, added, open.scene, system), ...conditionNote(root, system, name), ...roundsNote(input.for, added.end, system), ...keeping];
102
115
  saveEffects(root, context, world, holder, effects);
103
116
  appendLogEntry(root, newDatedLogEntry(root, context, "effect-added", visibility, { page: holder.page.name, copy: holder.copy ? true : undefined, effect: formatEffect(added), why }));
104
- const instead = replaced === undefined ? [] : [`It takes the place of ${formatEffect(replaced)}.`];
117
+ const burnt = lit === undefined ? [] : [burnOne(root, context, holder.page.name, lit.kind)].filter((note) => note !== "");
118
+ // One dying made stable, as by a companion's Medicine: its death saves end (DIE-6).
119
+ const stable = holder.copy ? [] : allSaid(systemEffectAdded(root, context, { page: holder.page.name, effect: name }));
120
+ const instead = [...(replaced === undefined ? [] : [`It takes the place of ${formatEffect(replaced)}.`]), ...burnt, ...stable];
105
121
  return { action: "add", page: holder.page.name, effect: added.name, end: added.end === undefined ? undefined : formatEnd(added.end), values: changed, ended: [], notes: [...instead, ...notes] };
106
122
  },
107
123
  format(result) {
@@ -138,6 +154,15 @@ function checkNotCounter(system, page, name) {
138
154
  throw new Error(`${field} is a counter of the system ${system.name}, kept on the page: change it, such as page ${page.name}, field ${field}, by 1. Nothing changed.`);
139
155
  }
140
156
  }
157
+ /** Refuses a condition of the system that the page's list of immunities names, as poisoned on a zombie (D-454, EFF-17); before anything is written. */
158
+ function checkNotImmune(world, system, page, name) {
159
+ const condition = (system?.conditions ?? []).find((candidate) => comparableText(candidate) === comparableText(name));
160
+ const list = system?.immune;
161
+ const immune = condition !== undefined && list !== undefined && textsIn(valueNamed(effectiveFields(world, page), list)).some((item) => comparableText(item) === comparableText(condition));
162
+ if (immune) {
163
+ throw new Error(`${page.name} is immune to ${condition}, in its ${list}: it does not take it. Nothing changed.`);
164
+ }
165
+ }
141
166
  /** Whether the holder of an effect is in the open scene: a copy in it, or a character it is with. */
142
167
  function inScene(scene, holder) {
143
168
  return scene !== undefined && (holder.copy || scene.with.some((link) => comparableText(parsePageReference(link).name) === comparableText(holder.page.name)));
@@ -265,22 +290,26 @@ function checkValue(world, page, fields, field, text) {
265
290
  throw new Error(`${computed.name} on ${page.name} is ${String(computed.value)} for everyone, a fixed value of the game data (system ${world.system?.name ?? ""} or campaign.yaml): an effect cannot change it. Nothing changed.`);
266
291
  }
267
292
  // What an item of a list gives, as a shield's armor-class-bonus, changes with an effect on the item, through what its formula reads of it (PRO-5).
268
- const source = computed === undefined || effectBonuses(world, computed.from).length > 0 ? undefined : itemSource(world, fields, computed.name);
293
+ const source = computed === undefined || directBonuses(world, computed).length > 0 ? undefined : itemSource(world, fields, computed.name);
269
294
  if (computed !== undefined && source !== undefined) {
270
295
  const through = source.own.length === 0 ? "" : `, through ${source.own.join(" or ")}, such as effect add, page ${source.item}, set ${source.own[0]}=1`;
271
296
  throw new Error(`${computed.name} on ${page.name} is what ${source.item} in its ${source.list} gives, by the formula of its page: an effect on ${source.item} changes it${through}. Nothing changed.`);
272
297
  }
273
298
  if (computed !== undefined) {
274
299
  // A bonus field of the page first, which is what an effect is for; else a field the page writes.
275
- const from = [...effectBonuses(world, computed.from), ...computed.from.filter((name) => computedField(world, name, fields) === undefined)];
276
- throw new Error(`${computed.name} on ${page.name} is worked out by the system ${world.system?.name ?? ""} from ${computed.from.join(", ")}: give the effect one of the fields it comes from instead, such as ${from[0] ?? computed.from[0]}. Nothing changed.`);
300
+ const from = [...directBonuses(world, computed), ...computed.from.filter((name) => computedField(world, name, fields) === undefined)];
301
+ throw new Error(`${computed.name} on ${page.name} is worked out by the system ${world.system?.name ?? ""} from ${computed.from.join(", ")}: give the effect one of the fields it comes from instead, such as ${from[0] ?? computed.from[0]}${aloneNote(world, computed.name, directBonuses(world, computed))}. Nothing changed.`);
302
+ }
303
+ // A factor is what the effect multiplies by: 2, 0.5, 1/2 or ½ (FOR-5).
304
+ if (declaredKind(world, field) === "factor" && factorOf(text) === undefined) {
305
+ throw new Error(`${field} on ${page.name} is a factor: give what the effect multiplies by, such as ${field}=2 or ${field}=1/2, not "${text}". Nothing changed.`);
277
306
  }
278
307
  // A bonus is what the effect adds, with its sign or without (FOR-5).
279
308
  if (declaredKind(world, field) === "bonus" && numberOf(text) === undefined) {
280
309
  throw new Error(`${field} on ${page.name} is a bonus: give what the effect adds, such as ${field}=1, not "${text}". Nothing changed.`);
281
310
  }
282
311
  // A field the game system declares as a number takes a number; a counter stays a counter (SYS-8, EFF-3).
283
- if (["number", "modifier"].includes(declaredKind(world, field) ?? "") && typeof value !== "number" && !(declaredKind(world, field) === "modifier" && numberOf(text) !== undefined)) {
312
+ if (["number", "at-least", "modifier"].includes(declaredKind(world, field) ?? "") && typeof value !== "number" && !(declaredKind(world, field) === "modifier" && numberOf(text) !== undefined)) {
284
313
  throw new Error(`${field} on ${page.name} is a number, ${String(current ?? "none")}: give the value it reads while the effect lasts, such as ${field}=${exampleValue(current, text)}, not "${text}". Nothing changed.`);
285
314
  }
286
315
  // The maximum of a counter the system works out comes from what the formula reads, as hp from hp-base (FOR-6, FOR-7).
@@ -28,14 +28,20 @@ export interface TimePassed {
28
28
  newDays: number;
29
29
  clocks: string[];
30
30
  newDayPart: string;
31
+ /** The companion whose diary is due on a new day, and how (DIA-2). */
32
+ diary?: string;
33
+ /** What the party used up at each midnight passed, under the rigor «rules» (UPK-1, UPK-2). */
34
+ upkeep?: string[];
31
35
  /** The day of the calendar reached, when the campaign has one (TIM-8): 15 April, spring. */
32
36
  calendar?: string;
33
37
  /** What the campaign's extensions said of the time passed, such as the weather of a new morning (D-436). */
34
38
  extensionLines?: string[];
39
+ /** What cannot be true together now, not yet told in the chat (CHK-3). */
40
+ checks?: string[];
35
41
  }
36
42
  /**
37
43
  * Lets `wanted` minutes pass from `now` (TIM-5), stopping at the first planned event whose date comes (TIM-6): writes the new date and a public line with `why`,
38
- * ends the effects whose time came (EFF-8), and says the clocks to move on a new day (EVT-8).
44
+ * ends the effects whose time came (EFF-8), and says the clocks to move on a new day (EVT-8) and whose diary is due (DIA-2).
39
45
  */
40
46
  export declare function passTime(root: string, context: Context, world: World, now: GameDate, wanted: number, why: string | undefined, requested: string): TimePassed;
41
47
  /**
@@ -52,5 +58,8 @@ export declare function unreadNotes(world: World): {
52
58
  export declare function calendarText(root: string, context: Context, date: GameDate): string | undefined;
53
59
  /** The first events after `date`: all those at the same moment. */
54
60
  export declare function nextAfter(events: DatedEvent[], date: GameDate): string | undefined;
55
- /** "Ettore: light: dark (Cripta)": what holds around the player character, for rules that count the hours spent there (ENV-5); undefined when nothing does. */
61
+ /**
62
+ * "Ettore: light: dark (Cripta)": what holds around the player characters, once for each place of the living (VIEW-12), for rules that count the hours spent
63
+ * there (ENV-5); undefined when nothing does.
64
+ */
56
65
  export declare function aroundLead(world: World): string | undefined;