rpg-engine 0.6.6 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/adventures/index.d.ts +1 -1
- package/dist/adventures/index.js +1 -1
- package/dist/adventures/source.js +13 -13
- package/dist/campaign/create-campaign.js +10 -1
- package/dist/campaign/host-files.d.ts +2 -1
- package/dist/campaign/host-files.js +11 -11
- package/dist/campaign/index.d.ts +1 -1
- package/dist/campaign/index.js +1 -1
- package/dist/campaign/settings.d.ts +57 -64
- package/dist/campaign/settings.js +171 -156
- package/dist/cli/cli.js +28 -0
- package/dist/cli/command-line.d.ts +7 -0
- package/dist/cli/command-line.js +189 -0
- package/dist/commands/advance.d.ts +1 -1
- package/dist/commands/advance.js +7 -7
- package/dist/commands/ask.d.ts +2 -8
- package/dist/commands/ask.js +90 -56
- package/dist/commands/change/change.d.ts +105 -0
- package/dist/commands/change/change.js +864 -0
- package/dist/commands/change/damage.d.ts +18 -0
- package/dist/commands/change/damage.js +74 -0
- package/dist/commands/change/recipe-pace.d.ts +6 -0
- package/dist/commands/change/recipe-pace.js +25 -0
- package/dist/commands/config.d.ts +4 -4
- package/dist/commands/config.js +187 -127
- package/dist/commands/effect.d.ts +1 -1
- package/dist/commands/effect.js +11 -12
- package/dist/commands/find.d.ts +4 -4
- package/dist/commands/find.js +2 -2
- package/dist/commands/image.js +6 -6
- package/dist/commands/import/import.d.ts +47 -0
- package/dist/commands/import/import.js +390 -0
- package/dist/commands/import/run.d.ts +11 -0
- package/dist/commands/import/run.js +155 -0
- package/dist/commands/index.js +7 -7
- package/dist/commands/init.js +3 -3
- package/dist/commands/install.js +1 -1
- package/dist/commands/instructions.js +9 -6
- package/dist/commands/mode.d.ts +2 -2
- package/dist/commands/mode.js +11 -8
- package/dist/commands/mood.js +4 -4
- package/dist/commands/move.js +13 -20
- package/dist/commands/package.d.ts +13 -2
- package/dist/commands/package.js +185 -59
- package/dist/commands/rename.js +3 -3
- package/dist/commands/reveal.js +29 -18
- package/dist/commands/roll/roll.d.ts +67 -0
- package/dist/commands/roll/roll.js +432 -0
- package/dist/commands/roll/tables.d.ts +7 -0
- package/dist/commands/roll/tables.js +40 -0
- package/dist/commands/rules.d.ts +2 -2
- package/dist/commands/rules.js +3 -3
- package/dist/commands/save.d.ts +1 -1
- package/dist/commands/save.js +18 -18
- package/dist/commands/scene.d.ts +4 -4
- package/dist/commands/scene.js +31 -28
- package/dist/commands/shared/advance.d.ts +65 -0
- package/dist/commands/shared/advance.js +125 -0
- package/dist/commands/shared/adventures.d.ts +70 -0
- package/dist/commands/shared/adventures.js +411 -0
- package/dist/commands/shared/bonds.d.ts +9 -0
- package/dist/commands/shared/bonds.js +84 -0
- package/dist/commands/shared/checks.d.ts +17 -0
- package/dist/commands/shared/checks.js +130 -0
- package/dist/commands/shared/dice-pool.d.ts +39 -0
- package/dist/commands/shared/dice-pool.js +127 -0
- package/dist/commands/shared/effect-layer.d.ts +22 -0
- package/dist/commands/shared/effect-layer.js +84 -0
- package/dist/commands/shared/effects.d.ts +81 -0
- package/dist/commands/shared/effects.js +204 -0
- package/dist/commands/shared/environment.d.ts +16 -0
- package/dist/commands/shared/environment.js +24 -0
- package/dist/commands/shared/events.d.ts +84 -0
- package/dist/commands/shared/events.js +327 -0
- package/dist/commands/shared/examples.d.ts +18 -0
- package/dist/commands/shared/examples.js +72 -0
- package/dist/commands/shared/experience.d.ts +57 -0
- package/dist/commands/shared/experience.js +116 -0
- package/dist/commands/shared/grid-moves.d.ts +36 -0
- package/dist/commands/shared/grid-moves.js +100 -0
- package/dist/commands/shared/grids.d.ts +47 -0
- package/dist/commands/shared/grids.js +163 -0
- package/dist/commands/shared/images.d.ts +31 -0
- package/dist/commands/shared/images.js +89 -0
- package/dist/commands/shared/inputs.d.ts +9 -0
- package/dist/commands/shared/inputs.js +12 -0
- package/dist/commands/shared/journey.d.ts +64 -0
- package/dist/commands/shared/journey.js +172 -0
- package/dist/commands/shared/knowledge.d.ts +89 -0
- package/dist/commands/shared/knowledge.js +249 -0
- package/dist/commands/shared/library-reader.js +36 -0
- package/dist/commands/shared/library.d.ts +118 -0
- package/dist/commands/shared/library.js +408 -0
- package/dist/commands/shared/limits.d.ts +7 -0
- package/dist/commands/shared/limits.js +67 -0
- package/dist/commands/shared/loot.d.ts +16 -0
- package/dist/commands/shared/loot.js +36 -0
- package/dist/commands/shared/master-rolls.d.ts +17 -0
- package/dist/commands/shared/master-rolls.js +36 -0
- package/dist/commands/shared/mode.d.ts +29 -0
- package/dist/commands/shared/mode.js +132 -0
- package/dist/commands/shared/money.d.ts +17 -0
- package/dist/commands/shared/money.js +55 -0
- package/dist/commands/shared/moods.d.ts +22 -0
- package/dist/commands/shared/moods.js +32 -0
- package/dist/commands/shared/moves.d.ts +27 -0
- package/dist/commands/shared/moves.js +58 -0
- package/dist/commands/shared/offers.d.ts +33 -0
- package/dist/commands/shared/offers.js +116 -0
- package/dist/commands/shared/outside.d.ts +14 -0
- package/dist/commands/shared/outside.js +151 -0
- package/dist/commands/shared/packages/catalog.d.ts +47 -0
- package/dist/commands/shared/packages/catalog.js +143 -0
- package/dist/commands/shared/packages/code.d.ts +83 -0
- package/dist/commands/shared/packages/code.js +745 -0
- package/dist/commands/shared/packages/extensions.d.ts +55 -0
- package/dist/commands/shared/packages/extensions.js +201 -0
- package/dist/commands/shared/packages/hooks.d.ts +37 -0
- package/dist/commands/shared/packages/hooks.js +116 -0
- package/dist/commands/shared/packages/widgets.d.ts +96 -0
- package/dist/commands/shared/packages/widgets.js +425 -0
- package/dist/commands/shared/page-counters.d.ts +24 -0
- package/dist/commands/shared/page-counters.js +87 -0
- package/dist/commands/shared/page-words.d.ts +50 -0
- package/dist/commands/shared/page-words.js +225 -0
- package/dist/commands/shared/parts.d.ts +23 -0
- package/dist/commands/shared/parts.js +66 -0
- package/dist/commands/shared/positions.d.ts +50 -0
- package/dist/commands/shared/positions.js +243 -0
- package/dist/commands/shared/problems.d.ts +5 -0
- package/dist/commands/shared/problems.js +56 -0
- package/dist/commands/shared/progression.d.ts +70 -0
- package/dist/commands/shared/progression.js +211 -0
- package/dist/commands/shared/quests.d.ts +48 -0
- package/dist/commands/shared/quests.js +101 -0
- package/dist/commands/shared/recipes.d.ts +34 -0
- package/dist/commands/shared/recipes.js +116 -0
- package/dist/commands/shared/reminders.d.ts +25 -0
- package/dist/commands/shared/reminders.js +82 -0
- package/dist/commands/shared/roads.d.ts +97 -0
- package/dist/commands/shared/roads.js +346 -0
- package/dist/commands/shared/rules.d.ts +20 -0
- package/dist/commands/shared/rules.js +36 -0
- package/dist/commands/shared/saves.d.ts +71 -0
- package/dist/commands/shared/saves.js +288 -0
- package/dist/commands/shared/scene.d.ts +79 -0
- package/dist/commands/shared/scene.js +315 -0
- package/dist/commands/shared/sheet.d.ts +182 -0
- package/dist/commands/shared/sheet.js +616 -0
- package/dist/commands/shared/stacks.d.ts +71 -0
- package/dist/commands/shared/stacks.js +198 -0
- package/dist/commands/shared/theme.d.ts +9 -0
- package/dist/commands/shared/theme.js +23 -0
- package/dist/commands/shared/thoughts.d.ts +23 -0
- package/dist/commands/shared/thoughts.js +55 -0
- package/dist/commands/shared/thresholds.d.ts +21 -0
- package/dist/commands/shared/thresholds.js +63 -0
- package/dist/commands/shared/time.d.ts +29 -0
- package/dist/commands/shared/time.js +112 -0
- package/dist/commands/shared/turn-uses.d.ts +33 -0
- package/dist/commands/shared/turn-uses.js +134 -0
- package/dist/commands/shared/upkeep.d.ts +20 -0
- package/dist/commands/shared/upkeep.js +209 -0
- package/dist/commands/shared/voices.d.ts +5 -0
- package/dist/commands/shared/voices.js +13 -0
- package/dist/commands/shared/worked-out.d.ts +127 -0
- package/dist/commands/shared/worked-out.js +805 -0
- package/dist/commands/shared/world.d.ts +85 -0
- package/dist/commands/shared/world.js +309 -0
- package/dist/commands/show.d.ts +1 -1
- package/dist/commands/show.js +32 -17
- package/dist/commands/status.d.ts +1 -1
- package/dist/commands/status.js +45 -37
- package/dist/commands/thoughts.js +3 -3
- package/dist/commands/trade.js +9 -10
- package/dist/commands/translate.d.ts +1 -1
- package/dist/commands/translate.js +3 -3
- package/dist/commands/travel/open.d.ts +18 -0
- package/dist/commands/travel/open.js +46 -0
- package/dist/commands/travel/route.d.ts +19 -0
- package/dist/commands/travel/route.js +108 -0
- package/dist/commands/travel/travel.d.ts +49 -0
- package/dist/commands/travel/travel.js +483 -0
- package/dist/commands/validate.js +5 -5
- package/dist/commands/view/journal.d.ts +158 -0
- package/dist/commands/view/journal.js +132 -0
- package/dist/commands/view/map.d.ts +81 -0
- package/dist/commands/view/map.js +269 -0
- package/dist/commands/view/place.d.ts +167 -0
- package/dist/commands/view/place.js +406 -0
- package/dist/commands/view/view.d.ts +386 -0
- package/dist/commands/view/view.js +848 -0
- package/dist/commands/view/world.d.ts +98 -0
- package/dist/commands/view/world.js +98 -0
- package/dist/commands/write/here.d.ts +42 -0
- package/dist/commands/write/here.js +106 -0
- package/dist/commands/write/write.d.ts +59 -0
- package/dist/commands/write/write.js +1155 -0
- package/dist/confirm/confirm.d.ts +2 -0
- package/dist/confirm/confirm.js +15 -5
- package/dist/core/consents.d.ts +3 -2
- package/dist/core/consents.js +43 -4
- package/dist/core/context.d.ts +10 -6
- package/dist/core/context.js +4 -2
- package/dist/core/download.js +16 -5
- package/dist/core/files.d.ts +6 -1
- package/dist/core/files.js +47 -21
- package/dist/core/formula.d.ts +7 -2
- package/dist/core/formula.js +63 -66
- package/dist/core/instruction-parts.js +1 -1
- package/dist/core/mood.d.ts +0 -1
- package/dist/core/mood.js +3 -3
- package/dist/core/package-api.d.ts +11 -0
- package/dist/core/package-api.js +2 -1
- package/dist/core/package-declarations.d.ts +9 -9
- package/dist/core/package-declarations.js +3 -3
- package/dist/core/process-mark.d.ts +8 -0
- package/dist/core/process-mark.js +72 -0
- package/dist/core/registry.d.ts +5 -0
- package/dist/core/registry.js +10 -0
- package/dist/core/session-store.d.ts +0 -1
- package/dist/core/session-store.js +11 -14
- package/dist/core/store.d.ts +4 -0
- package/dist/core/store.js +29 -8
- package/dist/core/text.d.ts +4 -0
- package/dist/core/text.js +11 -2
- package/dist/core/yaml-file.js +2 -2
- package/dist/dashboard/acts/acts.js +147 -0
- package/dist/dashboard/acts/names.js +27 -0
- package/dist/dashboard/acts/sheet.js +100 -0
- package/dist/dashboard/acts/strip.js +49 -0
- package/dist/dashboard/api.js +9 -0
- package/dist/dashboard/app.js +37 -23
- package/dist/dashboard/asked.js +11 -2
- package/dist/dashboard/assets/dice/coin-crown.glb +0 -0
- package/dist/dashboard/assets/dice/coin-eye.glb +0 -0
- package/dist/dashboard/assets/dice/coin-gear.glb +0 -0
- package/dist/dashboard/assets/dice/coin-planet.glb +0 -0
- package/dist/dashboard/assets/dice/coin-rose.glb +0 -0
- package/dist/dashboard/assets/dice/coin-sun.glb +0 -0
- package/dist/dashboard/assets/dice/coin.json +1 -0
- package/dist/dashboard/dice/burn.js +1 -1
- package/dist/dashboard/dice/coin-pictures.js +176 -0
- package/dist/dashboard/dice/load.js +11 -5
- package/dist/dashboard/dice/models.js +6 -0
- package/dist/dashboard/dice/pool.js +12 -0
- package/dist/dashboard/dice/roller.js +5 -4
- package/dist/dashboard/dice/sets.js +71 -3
- package/dist/dashboard/dice/stage.js +37 -8
- package/dist/dashboard/dice/throw.js +26 -6
- package/dist/dashboard/dice/tray.js +64 -31
- package/dist/dashboard/faces.js +40 -0
- package/dist/dashboard/guide/ar.md +21 -19
- package/dist/dashboard/guide/cs.md +17 -15
- package/dist/dashboard/guide/da.md +17 -15
- package/dist/dashboard/guide/de.md +13 -11
- package/dist/dashboard/guide/el.md +22 -20
- package/dist/dashboard/guide/en.md +5 -3
- package/dist/dashboard/guide/es.md +15 -13
- package/dist/dashboard/guide/fi.md +19 -17
- package/dist/dashboard/guide/fr.md +15 -13
- package/dist/dashboard/guide/he.md +17 -15
- package/dist/dashboard/guide/hi.md +22 -20
- package/dist/dashboard/guide/hu.md +21 -19
- package/dist/dashboard/guide/is.md +20 -18
- package/dist/dashboard/guide/it.md +6 -4
- package/dist/dashboard/guide/ja.md +21 -19
- package/dist/dashboard/guide/ko.md +22 -20
- package/dist/dashboard/guide/nb.md +20 -18
- package/dist/dashboard/guide/nl.md +19 -17
- package/dist/dashboard/guide/pl.md +19 -17
- package/dist/dashboard/guide/pt.md +15 -13
- package/dist/dashboard/guide/ro.md +19 -17
- package/dist/dashboard/guide/ru.md +17 -15
- package/dist/dashboard/guide/sv.md +15 -13
- package/dist/dashboard/guide/tr.md +19 -17
- package/dist/dashboard/guide/uk.md +17 -15
- package/dist/dashboard/guide/zh.md +21 -19
- package/dist/dashboard/help/blocks.js +72 -0
- package/dist/dashboard/help/help.js +98 -0
- package/dist/dashboard/i18n/ar.json +29 -0
- package/dist/dashboard/i18n/cs.json +29 -0
- package/dist/dashboard/i18n/da.json +29 -0
- package/dist/dashboard/i18n/de.json +29 -0
- package/dist/dashboard/i18n/el.json +29 -0
- package/dist/dashboard/i18n/es.json +29 -0
- package/dist/dashboard/i18n/fi.json +29 -0
- package/dist/dashboard/i18n/fr.json +29 -0
- package/dist/dashboard/i18n/he.json +29 -0
- package/dist/dashboard/i18n/hi.json +29 -0
- package/dist/dashboard/i18n/hu.json +29 -0
- package/dist/dashboard/i18n/is.json +29 -0
- package/dist/dashboard/i18n/it.json +29 -0
- package/dist/dashboard/i18n/ja.json +29 -0
- package/dist/dashboard/i18n/ko.json +29 -0
- package/dist/dashboard/i18n/nb.json +29 -0
- package/dist/dashboard/i18n/nl.json +29 -0
- package/dist/dashboard/i18n/pl.json +29 -0
- package/dist/dashboard/i18n/pt.json +29 -0
- package/dist/dashboard/i18n/ro.json +29 -0
- package/dist/dashboard/i18n/ru.json +29 -0
- package/dist/dashboard/i18n/sv.json +29 -0
- package/dist/dashboard/i18n/tr.json +29 -0
- package/dist/dashboard/i18n/uk.json +29 -0
- package/dist/dashboard/i18n/zh.json +29 -0
- package/dist/dashboard/icons.js +2 -1
- package/dist/dashboard/journal.js +1 -1
- package/dist/dashboard/kit.js +6 -5
- package/dist/dashboard/labels.js +11 -3
- package/dist/dashboard/markdown.js +1 -1
- package/dist/dashboard/packages/ask-card.js +169 -0
- package/dist/dashboard/packages/package-page.js +50 -0
- package/dist/dashboard/packages/packages.js +834 -0
- package/dist/dashboard/packages/page-code.js +276 -0
- package/dist/dashboard/packages/widgets.js +280 -0
- package/dist/dashboard/party.js +1 -1
- package/dist/dashboard/person-panel.js +2 -13
- package/dist/dashboard/place/map-sheet.js +32 -0
- package/dist/dashboard/place/map-view.js +405 -0
- package/dist/dashboard/prefs.js +4 -0
- package/dist/dashboard/requested.js +5 -2
- package/dist/dashboard/rolls.js +26 -9
- package/dist/dashboard/scene.js +4 -4
- package/dist/dashboard/settings.js +77 -5
- package/dist/dashboard/sheet.js +3 -3
- package/dist/dashboard/style.css +12058 -11714
- package/dist/dashboard/system-style.js +84 -0
- package/dist/dashboard/theme.js +19 -8
- package/dist/dashboard/top.js +2 -2
- package/dist/dashboard/turns.js +2 -2
- package/dist/dashboard/widgets.js +1 -1
- package/dist/dashboard/world/calendar.js +101 -0
- package/dist/dashboard/world/known.js +44 -0
- package/dist/dashboard/world/lore.js +231 -0
- package/dist/dashboard/world/map.js +523 -0
- package/dist/dashboard/world/world.js +415 -0
- package/dist/dice/coins.d.ts +15 -0
- package/dist/dice/coins.js +17 -0
- package/dist/dice/evaluate.js +1 -1
- package/dist/dice/index.d.ts +3 -2
- package/dist/dice/index.js +4 -3
- package/dist/dice/notation.d.ts +2 -0
- package/dist/dice/notation.js +22 -4
- package/dist/documents/markup.js +2 -2
- package/dist/documents/read.js +29 -13
- package/dist/effects/effect.js +2 -5
- package/dist/extensions/extension.js +6 -8
- package/dist/extensions/index.d.ts +1 -4
- package/dist/extensions/index.js +1 -4
- package/dist/extensions/words.js +2 -1
- package/dist/helpers/briefs.js +148 -0
- package/dist/helpers/claude.js +157 -0
- package/dist/helpers/codex.js +174 -0
- package/dist/helpers/index.d.ts +7 -0
- package/dist/helpers/index.js +9 -0
- package/dist/helpers/programs.d.ts +41 -0
- package/dist/helpers/programs.js +280 -0
- package/dist/images/images.js +7 -5
- package/dist/images/index.d.ts +1 -1
- package/dist/images/index.js +1 -1
- package/dist/importer/index.d.ts +1 -1
- package/dist/importer/index.js +1 -1
- package/dist/importer/work.d.ts +0 -2
- package/dist/importer/work.js +9 -30
- package/dist/instructions/index.d.ts +2 -0
- package/dist/instructions/index.js +10 -0
- package/dist/languages/index.d.ts +1 -1
- package/dist/languages/index.js +1 -1
- package/dist/languages/language-pack.js +15 -3
- package/dist/library/books.js +29 -83
- package/dist/packages/engine.d.ts +4 -0
- package/dist/packages/engine.js +74 -0
- package/dist/packages/index.d.ts +3 -0
- package/dist/packages/index.js +4 -0
- package/dist/packages/npm.d.ts +36 -0
- package/dist/packages/npm.js +418 -0
- package/dist/page.d.ts +14 -11
- package/dist/page.js +1 -2
- package/dist/pages/check.js +31 -40
- package/dist/pages/containers.js +20 -20
- package/dist/pages/environment.js +15 -15
- package/dist/pages/index.d.ts +9 -9
- package/dist/pages/index.js +9 -9
- package/dist/pages/inheritance.d.ts +2 -1
- package/dist/pages/inheritance.js +24 -24
- package/dist/pages/load.js +7 -7
- package/dist/pages/maps.d.ts +20 -0
- package/dist/pages/maps.js +51 -1
- package/dist/pages/markdown.d.ts +2 -0
- package/dist/pages/markdown.js +110 -79
- package/dist/pages/page-file.d.ts +2 -1
- package/dist/pages/page-file.js +31 -29
- package/dist/pages/rename-page.d.ts +4 -1
- package/dist/pages/rename-page.js +7 -3
- package/dist/pages/stacks/entry.d.ts +45 -0
- package/dist/pages/stacks/entry.js +79 -0
- package/dist/pages/stacks/kinds.d.ts +59 -0
- package/dist/pages/stacks/kinds.js +163 -0
- package/dist/pages/stacks/writes.d.ts +22 -0
- package/dist/pages/stacks/writes.js +129 -0
- package/dist/pages/system-pages.js +15 -15
- package/dist/pages/world.js +25 -19
- package/dist/pages/write-page.js +35 -34
- package/dist/player-notes/index.d.ts +1 -1
- package/dist/player-notes/index.js +1 -1
- package/dist/rules/page-search.js +3 -4
- package/dist/rules/rule-book.js +1 -1
- package/dist/rules/search.js +21 -21
- package/dist/rules/shown.js +1 -3
- package/dist/saves/saves.d.ts +2 -2
- package/dist/saves/saves.js +15 -3
- package/dist/server/bell-listener.js +83 -0
- package/dist/server/dashboard/files.d.ts +59 -0
- package/dist/server/dashboard/files.js +326 -0
- package/dist/server/dashboard/index.d.ts +114 -0
- package/dist/server/dashboard/index.js +419 -0
- package/dist/server/dashboard/news.d.ts +39 -0
- package/dist/server/dashboard/news.js +390 -0
- package/dist/server/dashboard/player.d.ts +48 -0
- package/dist/server/dashboard/player.js +242 -0
- package/dist/server/dashboard/ports.d.ts +10 -0
- package/dist/server/dashboard/ports.js +15 -0
- package/dist/server/dashboard/writes.d.ts +58 -0
- package/dist/server/dashboard/writes.js +492 -0
- package/dist/server/mcp.d.ts +24 -0
- package/dist/server/mcp.js +518 -0
- package/dist/systems/game-system.d.ts +31 -4
- package/dist/systems/game-system.js +221 -103
- package/dist/systems/index.d.ts +1 -1
- package/dist/systems/index.js +1 -1
- package/dist/testing/index.d.ts +80 -0
- package/dist/testing/index.js +215 -0
- package/dist/testing/system-checks.d.ts +32 -0
- package/dist/testing/system-checks.js +160 -0
- package/dist/themes/contrast.d.ts +8 -0
- package/dist/themes/contrast.js +27 -0
- package/dist/themes/css.d.ts +3 -0
- package/dist/themes/css.js +59 -0
- package/dist/themes/index.d.ts +3 -0
- package/dist/themes/index.js +4 -0
- package/dist/themes/theme.d.ts +71 -0
- package/dist/themes/theme.js +348 -0
- package/dist/time/calendar.js +5 -2
- package/dist/triggers/trigger.js +5 -8
- package/instructions/dashboard-guide.md +2 -1
- package/instructions/play.md +1 -1
- package/package.json +7 -13
- package/systems/free/instructions/outcomes-rolled.md +3 -0
- package/systems/free/instructions/outcomes-told.md +4 -0
- package/systems/free/instructions/outcomes-tossed.md +5 -0
- package/systems/free/instructions/play.md +3 -1
- package/systems/free/system.yaml +37 -0
- package/systems/free/words/ar.yaml +32 -0
- package/systems/free/words/cs.yaml +32 -0
- package/systems/free/words/da.yaml +32 -0
- package/systems/free/words/de.yaml +32 -0
- package/systems/free/words/el.yaml +32 -0
- package/systems/free/words/es.yaml +32 -0
- package/systems/free/words/fi.yaml +32 -0
- package/systems/free/words/fr.yaml +32 -0
- package/systems/free/words/he.yaml +32 -0
- package/systems/free/words/hi.yaml +32 -0
- package/systems/free/words/hu.yaml +32 -0
- package/systems/free/words/is.yaml +32 -0
- package/systems/free/words/it.yaml +32 -0
- package/systems/free/words/ja.yaml +32 -0
- package/systems/free/words/ko.yaml +32 -0
- package/systems/free/words/nb.yaml +32 -0
- package/systems/free/words/nl.yaml +32 -0
- package/systems/free/words/pl.yaml +32 -0
- package/systems/free/words/pt.yaml +32 -0
- package/systems/free/words/ro.yaml +32 -0
- package/systems/free/words/ru.yaml +32 -0
- package/systems/free/words/sv.yaml +32 -0
- package/systems/free/words/tr.yaml +32 -0
- package/systems/free/words/uk.yaml +32 -0
- package/systems/free/words/zh.yaml +32 -0
- package/dist/bell-listener.js +0 -83
- package/dist/cli.js +0 -28
- package/dist/command-line.d.ts +0 -7
- package/dist/command-line.js +0 -188
- package/dist/commands/change.d.ts +0 -105
- package/dist/commands/change.js +0 -862
- package/dist/commands/effect-layer.d.ts +0 -22
- package/dist/commands/effect-layer.js +0 -84
- package/dist/commands/game-advance.d.ts +0 -65
- package/dist/commands/game-advance.js +0 -125
- package/dist/commands/game-adventures.d.ts +0 -70
- package/dist/commands/game-adventures.js +0 -418
- package/dist/commands/game-bonds.d.ts +0 -9
- package/dist/commands/game-bonds.js +0 -84
- package/dist/commands/game-catalog.d.ts +0 -49
- package/dist/commands/game-catalog.js +0 -146
- package/dist/commands/game-checks.d.ts +0 -17
- package/dist/commands/game-checks.js +0 -130
- package/dist/commands/game-damage.d.ts +0 -18
- package/dist/commands/game-damage.js +0 -74
- package/dist/commands/game-dice-pool.d.ts +0 -39
- package/dist/commands/game-dice-pool.js +0 -120
- package/dist/commands/game-effects.d.ts +0 -81
- package/dist/commands/game-effects.js +0 -204
- package/dist/commands/game-environment.d.ts +0 -16
- package/dist/commands/game-environment.js +0 -24
- package/dist/commands/game-events.d.ts +0 -84
- package/dist/commands/game-events.js +0 -329
- package/dist/commands/game-examples.d.ts +0 -22
- package/dist/commands/game-examples.js +0 -72
- package/dist/commands/game-experience.d.ts +0 -57
- package/dist/commands/game-experience.js +0 -119
- package/dist/commands/game-extension-list.d.ts +0 -55
- package/dist/commands/game-extension-list.js +0 -180
- package/dist/commands/game-grid-moves.d.ts +0 -36
- package/dist/commands/game-grid-moves.js +0 -100
- package/dist/commands/game-grids.d.ts +0 -52
- package/dist/commands/game-grids.js +0 -162
- package/dist/commands/game-here.d.ts +0 -40
- package/dist/commands/game-here.js +0 -100
- package/dist/commands/game-images.d.ts +0 -31
- package/dist/commands/game-images.js +0 -88
- package/dist/commands/game-import.d.ts +0 -11
- package/dist/commands/game-import.js +0 -154
- package/dist/commands/game-journey.d.ts +0 -66
- package/dist/commands/game-journey.js +0 -174
- package/dist/commands/game-knowledge.d.ts +0 -82
- package/dist/commands/game-knowledge.js +0 -249
- package/dist/commands/game-library.d.ts +0 -115
- package/dist/commands/game-library.js +0 -388
- package/dist/commands/game-limits.d.ts +0 -7
- package/dist/commands/game-limits.js +0 -67
- package/dist/commands/game-loot.d.ts +0 -16
- package/dist/commands/game-loot.js +0 -36
- package/dist/commands/game-maps.d.ts +0 -20
- package/dist/commands/game-maps.js +0 -51
- package/dist/commands/game-master-rolls.d.ts +0 -17
- package/dist/commands/game-master-rolls.js +0 -36
- package/dist/commands/game-mode.d.ts +0 -31
- package/dist/commands/game-mode.js +0 -130
- package/dist/commands/game-money.d.ts +0 -17
- package/dist/commands/game-money.js +0 -55
- package/dist/commands/game-moods.d.ts +0 -22
- package/dist/commands/game-moods.js +0 -32
- package/dist/commands/game-moves.d.ts +0 -27
- package/dist/commands/game-moves.js +0 -58
- package/dist/commands/game-open.d.ts +0 -18
- package/dist/commands/game-open.js +0 -47
- package/dist/commands/game-outside.d.ts +0 -14
- package/dist/commands/game-outside.js +0 -151
- package/dist/commands/game-package-code.d.ts +0 -87
- package/dist/commands/game-package-code.js +0 -648
- package/dist/commands/game-package-hooks.d.ts +0 -37
- package/dist/commands/game-package-hooks.js +0 -116
- package/dist/commands/game-positions.d.ts +0 -52
- package/dist/commands/game-positions.js +0 -244
- package/dist/commands/game-quests.d.ts +0 -48
- package/dist/commands/game-quests.js +0 -101
- package/dist/commands/game-recipe-pace.d.ts +0 -6
- package/dist/commands/game-recipe-pace.js +0 -25
- package/dist/commands/game-recipes.d.ts +0 -34
- package/dist/commands/game-recipes.js +0 -116
- package/dist/commands/game-reminders.d.ts +0 -25
- package/dist/commands/game-reminders.js +0 -82
- package/dist/commands/game-roads.d.ts +0 -97
- package/dist/commands/game-roads.js +0 -347
- package/dist/commands/game-rules.d.ts +0 -20
- package/dist/commands/game-rules.js +0 -36
- package/dist/commands/game-saves.d.ts +0 -71
- package/dist/commands/game-saves.js +0 -288
- package/dist/commands/game-scene.d.ts +0 -69
- package/dist/commands/game-scene.js +0 -287
- package/dist/commands/game-stacks.d.ts +0 -78
- package/dist/commands/game-stacks.js +0 -198
- package/dist/commands/game-tables.d.ts +0 -7
- package/dist/commands/game-tables.js +0 -40
- package/dist/commands/game-thoughts.d.ts +0 -25
- package/dist/commands/game-thoughts.js +0 -57
- package/dist/commands/game-thresholds.d.ts +0 -21
- package/dist/commands/game-thresholds.js +0 -63
- package/dist/commands/game-time.d.ts +0 -29
- package/dist/commands/game-time.js +0 -112
- package/dist/commands/game-turn-uses.d.ts +0 -33
- package/dist/commands/game-turn-uses.js +0 -137
- package/dist/commands/game-upkeep.d.ts +0 -20
- package/dist/commands/game-upkeep.js +0 -198
- package/dist/commands/game-view-journal.d.ts +0 -158
- package/dist/commands/game-view-journal.js +0 -132
- package/dist/commands/game-view-map.d.ts +0 -81
- package/dist/commands/game-view-map.js +0 -270
- package/dist/commands/game-view-place.d.ts +0 -167
- package/dist/commands/game-view-place.js +0 -406
- package/dist/commands/game-view-world.d.ts +0 -98
- package/dist/commands/game-view-world.js +0 -98
- package/dist/commands/game-voices.d.ts +0 -5
- package/dist/commands/game-voices.js +0 -13
- package/dist/commands/game-widgets.d.ts +0 -100
- package/dist/commands/game-widgets.js +0 -425
- package/dist/commands/game-world.d.ts +0 -96
- package/dist/commands/game-world.js +0 -316
- package/dist/commands/import.d.ts +0 -47
- package/dist/commands/import.js +0 -390
- package/dist/commands/page-counters.d.ts +0 -24
- package/dist/commands/page-counters.js +0 -87
- package/dist/commands/parts.d.ts +0 -23
- package/dist/commands/parts.js +0 -66
- package/dist/commands/problems.d.ts +0 -5
- package/dist/commands/problems.js +0 -55
- package/dist/commands/progression.d.ts +0 -70
- package/dist/commands/progression.js +0 -211
- package/dist/commands/roll.d.ts +0 -65
- package/dist/commands/roll.js +0 -409
- package/dist/commands/route.d.ts +0 -19
- package/dist/commands/route.js +0 -109
- package/dist/commands/sheet.d.ts +0 -182
- package/dist/commands/sheet.js +0 -616
- package/dist/commands/travel.d.ts +0 -49
- package/dist/commands/travel.js +0 -485
- package/dist/commands/view.d.ts +0 -382
- package/dist/commands/view.js +0 -844
- package/dist/commands/worked-out.d.ts +0 -132
- package/dist/commands/worked-out.js +0 -805
- package/dist/commands/write.d.ts +0 -59
- package/dist/commands/write.js +0 -1152
- package/dist/dashboard/act-names.js +0 -27
- package/dist/dashboard/act-sheet.js +0 -100
- package/dist/dashboard/act-strip.js +0 -49
- package/dist/dashboard/acts.js +0 -147
- package/dist/dashboard/ask-card.js +0 -169
- package/dist/dashboard/extension-widgets.js +0 -280
- package/dist/dashboard/guide-blocks.js +0 -72
- package/dist/dashboard/help.js +0 -98
- package/dist/dashboard/lore.js +0 -44
- package/dist/dashboard/map-sheet.js +0 -32
- package/dist/dashboard/package-page.js +0 -50
- package/dist/dashboard/packages.js +0 -834
- package/dist/dashboard/page-code.js +0 -248
- package/dist/dashboard/place-map-view.js +0 -405
- package/dist/dashboard/world-calendar.js +0 -101
- package/dist/dashboard/world-lore.js +0 -231
- package/dist/dashboard/world-map.js +0 -523
- package/dist/dashboard/world.js +0 -415
- package/dist/dashboard-server.d.ts +0 -47
- package/dist/dashboard-server.js +0 -1765
- package/dist/extensions/engine.d.ts +0 -4
- package/dist/extensions/engine.js +0 -74
- package/dist/extensions/packages.d.ts +0 -34
- package/dist/extensions/packages.js +0 -389
- package/dist/library-reader.js +0 -36
- package/dist/mcp-server.d.ts +0 -22
- package/dist/mcp-server.js +0 -455
- package/dist/page-words.d.ts +0 -50
- package/dist/page-words.js +0 -224
- package/dist/pages/stack-entry.d.ts +0 -47
- package/dist/pages/stack-entry.js +0 -83
- package/dist/pages/stack-writes.d.ts +0 -22
- package/dist/pages/stack-writes.js +0 -129
- package/dist/pages/stacks.d.ts +0 -52
- package/dist/pages/stacks.js +0 -168
- package/dist/pictures/briefs.js +0 -145
- package/dist/pictures/claude.js +0 -167
- package/dist/pictures/codex.js +0 -186
- package/dist/pictures/helpers.d.ts +0 -36
- package/dist/pictures/helpers.js +0 -266
- package/dist/pictures/index.d.ts +0 -7
- package/dist/pictures/index.js +0 -9
- package/dist/testing.d.ts +0 -76
- package/dist/testing.js +0 -197
- package/systems/5e/LICENSE.md +0 -41
- package/systems/5e/dist/dying.js +0 -260
- package/systems/5e/dist/index.js +0 -3
- package/systems/5e/dist/page-style.js +0 -634
- package/systems/5e/dist/page.js +0 -166
- package/systems/5e/dist/shown.js +0 -23
- package/systems/5e/images/abacus.svg +0 -1
- package/systems/5e/images/acid-blob.svg +0 -1
- package/systems/5e/images/acid-tube.svg +0 -1
- package/systems/5e/images/angel-outfit.svg +0 -1
- package/systems/5e/images/angler-fish.svg +0 -1
- package/systems/5e/images/angular-spider.svg +0 -1
- package/systems/5e/images/animal-hide.svg +0 -1
- package/systems/5e/images/animal-skull.svg +0 -1
- package/systems/5e/images/anvil.svg +0 -1
- package/systems/5e/images/arrow-cluster.svg +0 -1
- package/systems/5e/images/backpack.svg +0 -1
- package/systems/5e/images/bad-gnome.svg +0 -1
- package/systems/5e/images/badger.svg +0 -1
- package/systems/5e/images/bagpipes.svg +0 -1
- package/systems/5e/images/bandit.svg +0 -1
- package/systems/5e/images/barbed-spear.svg +0 -1
- package/systems/5e/images/barn-owl.svg +0 -1
- package/systems/5e/images/barrel.svg +0 -1
- package/systems/5e/images/basket.svg +0 -1
- package/systems/5e/images/basset-hound-head.svg +0 -1
- package/systems/5e/images/bat.svg +0 -1
- package/systems/5e/images/battle-axe.svg +0 -1
- package/systems/5e/images/bear-face.svg +0 -1
- package/systems/5e/images/bear-head.svg +0 -1
- package/systems/5e/images/beer-horn.svg +0 -1
- package/systems/5e/images/beetle-shell.svg +0 -1
- package/systems/5e/images/belt-buckles.svg +0 -1
- package/systems/5e/images/berry-bush.svg +0 -1
- package/systems/5e/images/bestial-fangs.svg +0 -1
- package/systems/5e/images/big-wave.svg +0 -1
- package/systems/5e/images/bird-scepter.svg +0 -1
- package/systems/5e/images/black-knight-helm.svg +0 -1
- package/systems/5e/images/blanket.svg +0 -1
- package/systems/5e/images/boar-tusks.svg +0 -1
- package/systems/5e/images/boar.svg +0 -1
- package/systems/5e/images/bone-gnawer.svg +0 -1
- package/systems/5e/images/book-cover.svg +0 -1
- package/systems/5e/images/boots.svg +0 -1
- package/systems/5e/images/bottle-vapors.svg +0 -1
- package/systems/5e/images/bow-arrow.svg +0 -1
- package/systems/5e/images/bowl-spiral.svg +0 -1
- package/systems/5e/images/bracer.svg +0 -1
- package/systems/5e/images/breastplate.svg +0 -1
- package/systems/5e/images/broadsword.svg +0 -1
- package/systems/5e/images/broom.svg +0 -1
- package/systems/5e/images/brute.svg +0 -1
- package/systems/5e/images/bullets.svg +0 -1
- package/systems/5e/images/caltrops.svg +0 -1
- package/systems/5e/images/camel-head.svg +0 -1
- package/systems/5e/images/camp-cooking-pot.svg +0 -1
- package/systems/5e/images/campfire.svg +0 -1
- package/systems/5e/images/camping-tent.svg +0 -1
- package/systems/5e/images/candle-flame.svg +0 -1
- package/systems/5e/images/candle-light.svg +0 -1
- package/systems/5e/images/canoe.svg +0 -1
- package/systems/5e/images/cape.svg +0 -1
- package/systems/5e/images/caravel.svg +0 -1
- package/systems/5e/images/card-pick.svg +0 -1
- package/systems/5e/images/carnivore-mouth.svg +0 -1
- package/systems/5e/images/cassowary-head.svg +0 -1
- package/systems/5e/images/cat.svg +0 -1
- package/systems/5e/images/centaur.svg +0 -1
- package/systems/5e/images/centipede.svg +0 -1
- package/systems/5e/images/chain-mail.svg +0 -1
- package/systems/5e/images/chained-arrow-heads.svg +0 -1
- package/systems/5e/images/charging-bull.svg +0 -1
- package/systems/5e/images/chariot.svg +0 -1
- package/systems/5e/images/chest.svg +0 -1
- package/systems/5e/images/chisel.svg +0 -1
- package/systems/5e/images/claw-hammer.svg +0 -1
- package/systems/5e/images/closed-barbute.svg +0 -1
- package/systems/5e/images/cobra.svg +0 -1
- package/systems/5e/images/colombian-statue.svg +0 -1
- package/systems/5e/images/condor-emblem.svg +0 -1
- package/systems/5e/images/cooking-pot.svg +0 -1
- package/systems/5e/images/cowled.svg +0 -1
- package/systems/5e/images/crab-claw.svg +0 -1
- package/systems/5e/images/crab.svg +0 -1
- package/systems/5e/images/crescent-staff.svg +0 -1
- package/systems/5e/images/croc-jaws.svg +0 -1
- package/systems/5e/images/crossbow.svg +0 -1
- package/systems/5e/images/crossed-chains.svg +0 -1
- package/systems/5e/images/crow-dive.svg +0 -1
- package/systems/5e/images/crowbar.svg +0 -1
- package/systems/5e/images/crown.svg +0 -1
- package/systems/5e/images/crowned-skull.svg +0 -1
- package/systems/5e/images/crystal-ball.svg +0 -1
- package/systems/5e/images/crystal-cluster.svg +0 -1
- package/systems/5e/images/crystal-eye.svg +0 -1
- package/systems/5e/images/cube.svg +0 -1
- package/systems/5e/images/cubes.svg +0 -1
- package/systems/5e/images/cultist-lorc.svg +0 -1
- package/systems/5e/images/cultist-skoll.svg +0 -1
- package/systems/5e/images/curled-tentacle.svg +0 -1
- package/systems/5e/images/daemon-skull.svg +0 -1
- package/systems/5e/images/dart.svg +0 -1
- package/systems/5e/images/deer-head.svg +0 -1
- package/systems/5e/images/desert-skull.svg +0 -1
- package/systems/5e/images/devil-mask.svg +0 -1
- package/systems/5e/images/diablo-skull.svg +0 -1
- package/systems/5e/images/dice-six-faces-five.svg +0 -1
- package/systems/5e/images/dinosaur-rex.svg +0 -1
- package/systems/5e/images/direwolf.svg +0 -1
- package/systems/5e/images/djinn.svg +0 -1
- package/systems/5e/images/donkey.svg +0 -1
- package/systems/5e/images/dragon-head-faithtoken.svg +0 -1
- package/systems/5e/images/dragon-head-lorc.svg +0 -1
- package/systems/5e/images/dragon-orb.svg +0 -1
- package/systems/5e/images/dragon-shield.svg +0 -1
- package/systems/5e/images/dragon-spiral.svg +0 -1
- package/systems/5e/images/drakkar.svg +0 -1
- package/systems/5e/images/dread-skull.svg +0 -1
- package/systems/5e/images/drum.svg +0 -1
- package/systems/5e/images/duality-mask.svg +0 -1
- package/systems/5e/images/dust-cloud.svg +0 -1
- package/systems/5e/images/dwarf-face.svg +0 -1
- package/systems/5e/images/dwarf-helmet.svg +0 -1
- package/systems/5e/images/eagle-emblem.svg +0 -1
- package/systems/5e/images/eagle-head.svg +0 -1
- package/systems/5e/images/egyptian-sphinx.svg +0 -1
- package/systems/5e/images/elephant-head.svg +0 -1
- package/systems/5e/images/elf-ear.svg +0 -1
- package/systems/5e/images/elf-helmet.svg +0 -1
- package/systems/5e/images/empty-wood-bucket-handle.svg +0 -1
- package/systems/5e/images/ent-mouth.svg +0 -1
- package/systems/5e/images/ermine.svg +0 -1
- package/systems/5e/images/eruption.svg +0 -1
- package/systems/5e/images/evil-bat.svg +0 -1
- package/systems/5e/images/evil-minion.svg +0 -1
- package/systems/5e/images/evil-tree.svg +0 -1
- package/systems/5e/images/evil-wings.svg +0 -1
- package/systems/5e/images/eye-shield.svg +0 -1
- package/systems/5e/images/eyestalk.svg +0 -1
- package/systems/5e/images/fairy-wand.svg +0 -1
- package/systems/5e/images/fairy.svg +0 -1
- package/systems/5e/images/farmer.svg +0 -1
- package/systems/5e/images/feather.svg +0 -1
- package/systems/5e/images/feathered-wing.svg +0 -1
- package/systems/5e/images/feline.svg +0 -1
- package/systems/5e/images/fire-bottle.svg +0 -1
- package/systems/5e/images/fire-gem.svg +0 -1
- package/systems/5e/images/fire-silhouette.svg +0 -1
- package/systems/5e/images/first-aid-kit.svg +0 -1
- package/systems/5e/images/fish-monster.svg +0 -1
- package/systems/5e/images/fishing-hook.svg +0 -1
- package/systems/5e/images/fishing-net.svg +0 -1
- package/systems/5e/images/fishing-pole.svg +0 -1
- package/systems/5e/images/fist.svg +0 -1
- package/systems/5e/images/flail.svg +0 -1
- package/systems/5e/images/flanged-mace.svg +0 -1
- package/systems/5e/images/flat-hammer.svg +0 -1
- package/systems/5e/images/fleshy-mass.svg +0 -1
- package/systems/5e/images/flint-spark.svg +0 -1
- package/systems/5e/images/floating-crystal.svg +0 -1
- package/systems/5e/images/fluffy-flame.svg +0 -1
- package/systems/5e/images/flute.svg +0 -1
- package/systems/5e/images/fly.svg +0 -1
- package/systems/5e/images/fox-head.svg +0 -1
- package/systems/5e/images/frankenstein-creature.svg +0 -1
- package/systems/5e/images/frog.svg +0 -1
- package/systems/5e/images/galleon.svg +0 -1
- package/systems/5e/images/gargoyle.svg +0 -1
- package/systems/5e/images/gauntlet.svg +0 -1
- package/systems/5e/images/gecko.svg +0 -1
- package/systems/5e/images/gem-necklace.svg +0 -1
- package/systems/5e/images/gem-pendant.svg +0 -1
- package/systems/5e/images/gems.svg +0 -1
- package/systems/5e/images/ghost.svg +0 -1
- package/systems/5e/images/giant.svg +0 -1
- package/systems/5e/images/gladius.svg +0 -1
- package/systems/5e/images/glaive.svg +0 -1
- package/systems/5e/images/glass-ball.svg +0 -1
- package/systems/5e/images/gloves.svg +0 -1
- package/systems/5e/images/goat.svg +0 -1
- package/systems/5e/images/goblin-head.svg +0 -1
- package/systems/5e/images/goblin.svg +0 -1
- package/systems/5e/images/gold-scarab.svg +0 -1
- package/systems/5e/images/golem-head.svg +0 -1
- package/systems/5e/images/gooey-daemon.svg +0 -1
- package/systems/5e/images/gorilla.svg +0 -1
- package/systems/5e/images/grain-bundle.svg +0 -1
- package/systems/5e/images/greek-sphinx.svg +0 -1
- package/systems/5e/images/griffin-symbol.svg +0 -1
- package/systems/5e/images/grim-reaper.svg +0 -1
- package/systems/5e/images/halberd.svg +0 -1
- package/systems/5e/images/hand-saw.svg +0 -1
- package/systems/5e/images/handheld-fan.svg +0 -1
- package/systems/5e/images/hanging-spider.svg +0 -1
- package/systems/5e/images/harp.svg +0 -1
- package/systems/5e/images/harpy.svg +0 -1
- package/systems/5e/images/hatchet.svg +0 -1
- package/systems/5e/images/hawk-emblem.svg +0 -1
- package/systems/5e/images/headband-knot.svg +0 -1
- package/systems/5e/images/health-potion.svg +0 -1
- package/systems/5e/images/heart-bottle.svg +0 -1
- package/systems/5e/images/herbs-bundle.svg +0 -1
- package/systems/5e/images/hole-ladder.svg +0 -1
- package/systems/5e/images/holy-symbol.svg +0 -1
- package/systems/5e/images/holy-water.svg +0 -1
- package/systems/5e/images/honey-jar.svg +0 -1
- package/systems/5e/images/hood.svg +0 -1
- package/systems/5e/images/hooded-assassin.svg +0 -1
- package/systems/5e/images/horned-reptile.svg +0 -1
- package/systems/5e/images/horse-head-delapouite.svg +0 -1
- package/systems/5e/images/horse-head-lorc.svg +0 -1
- package/systems/5e/images/horseshoe.svg +0 -1
- package/systems/5e/images/hound.svg +0 -1
- package/systems/5e/images/hourglass.svg +0 -1
- package/systems/5e/images/hunting-horn.svg +0 -1
- package/systems/5e/images/hydra.svg +0 -1
- package/systems/5e/images/hyena-head.svg +0 -1
- package/systems/5e/images/icicles-aura.svg +0 -1
- package/systems/5e/images/ifrit.svg +0 -1
- package/systems/5e/images/imp-laugh.svg +0 -1
- package/systems/5e/images/imp.svg +0 -1
- package/systems/5e/images/insect-jaws.svg +0 -1
- package/systems/5e/images/invisible-face.svg +0 -1
- package/systems/5e/images/jester-hat.svg +0 -1
- package/systems/5e/images/jug.svg +0 -1
- package/systems/5e/images/jumping-dog.svg +0 -1
- package/systems/5e/images/katana.svg +0 -1
- package/systems/5e/images/key-lock.svg +0 -1
- package/systems/5e/images/kitchen-scale.svg +0 -1
- package/systems/5e/images/knapsack.svg +0 -1
- package/systems/5e/images/kraken-tentacle.svg +0 -1
- package/systems/5e/images/labrador-head.svg +0 -1
- package/systems/5e/images/ladder.svg +0 -1
- package/systems/5e/images/lantern.svg +0 -1
- package/systems/5e/images/leather-armor.svg +0 -1
- package/systems/5e/images/leather-boot.svg +0 -1
- package/systems/5e/images/leather-vest.svg +0 -1
- package/systems/5e/images/light-backpack.svg +0 -1
- package/systems/5e/images/light-helm.svg +0 -1
- package/systems/5e/images/lion.svg +0 -1
- package/systems/5e/images/lizard-tongue.svg +0 -1
- package/systems/5e/images/lizardman.svg +0 -1
- package/systems/5e/images/locked-box.svg +0 -1
- package/systems/5e/images/locked-fortress.svg +0 -1
- package/systems/5e/images/lockpicks.svg +0 -1
- package/systems/5e/images/long-antennae-bug.svg +0 -1
- package/systems/5e/images/long-legged-spider.svg +0 -1
- package/systems/5e/images/lunar-wand.svg +0 -1
- package/systems/5e/images/lyre.svg +0 -1
- package/systems/5e/images/magic-lamp.svg +0 -1
- package/systems/5e/images/magnifying-glass.svg +0 -1
- package/systems/5e/images/mail-shirt.svg +0 -1
- package/systems/5e/images/mammoth.svg +0 -1
- package/systems/5e/images/manacles.svg +0 -1
- package/systems/5e/images/mandrill-head.svg +0 -1
- package/systems/5e/images/manta-ray.svg +0 -1
- package/systems/5e/images/marbles.svg +0 -1
- package/systems/5e/images/masked-spider.svg +0 -1
- package/systems/5e/images/meat.svg +0 -1
- package/systems/5e/images/medal.svg +0 -1
- package/systems/5e/images/medusa-head.svg +0 -1
- package/systems/5e/images/mermaid.svg +0 -1
- package/systems/5e/images/metal-golem-head.svg +0 -1
- package/systems/5e/images/mimic-chest.svg +0 -1
- package/systems/5e/images/minotaur.svg +0 -1
- package/systems/5e/images/mirror-mirror.svg +0 -1
- package/systems/5e/images/monk-face.svg +0 -1
- package/systems/5e/images/moon-bats.svg +0 -1
- package/systems/5e/images/mountain-climbing.svg +0 -1
- package/systems/5e/images/mucous-pillar.svg +0 -1
- package/systems/5e/images/mummy-head.svg +0 -1
- package/systems/5e/images/mushrooms-cluster.svg +0 -1
- package/systems/5e/images/octopus.svg +0 -1
- package/systems/5e/images/ogre.svg +0 -1
- package/systems/5e/images/oil-can.svg +0 -1
- package/systems/5e/images/old-lantern.svg +0 -1
- package/systems/5e/images/old-wagon.svg +0 -1
- package/systems/5e/images/oni.svg +0 -1
- package/systems/5e/images/orb-wand.svg +0 -1
- package/systems/5e/images/orc-head.svg +0 -1
- package/systems/5e/images/owl.svg +0 -1
- package/systems/5e/images/oyster-pearl.svg +0 -1
- package/systems/5e/images/paint-brush.svg +0 -1
- package/systems/5e/images/painted-pottery.svg +0 -1
- package/systems/5e/images/palette.svg +0 -1
- package/systems/5e/images/pan-flute.svg +0 -1
- package/systems/5e/images/paper.svg +0 -1
- package/systems/5e/images/pegasus.svg +0 -1
- package/systems/5e/images/pencil.svg +0 -1
- package/systems/5e/images/perfume-bottle.svg +0 -1
- package/systems/5e/images/person.svg +0 -1
- package/systems/5e/images/pilgrim-hat.svg +0 -1
- package/systems/5e/images/pipes.svg +0 -1
- package/systems/5e/images/piranha.svg +0 -1
- package/systems/5e/images/plain-arrow.svg +0 -1
- package/systems/5e/images/plain-dagger.svg +0 -1
- package/systems/5e/images/plesiosaurus.svg +0 -1
- package/systems/5e/images/pointy-hat.svg +0 -1
- package/systems/5e/images/poison-bottle.svg +0 -1
- package/systems/5e/images/polar-bear.svg +0 -1
- package/systems/5e/images/powder-bag.svg +0 -1
- package/systems/5e/images/prayer-beads.svg +0 -1
- package/systems/5e/images/pulley-hook.svg +0 -1
- package/systems/5e/images/quill-ink.svg +0 -1
- package/systems/5e/images/quill.svg +0 -1
- package/systems/5e/images/quiver.svg +0 -1
- package/systems/5e/images/rat.svg +0 -1
- package/systems/5e/images/rattlesnake.svg +0 -1
- package/systems/5e/images/raven.svg +0 -1
- package/systems/5e/images/red-carpet.svg +0 -1
- package/systems/5e/images/rhinoceros-horn.svg +0 -1
- package/systems/5e/images/ring.svg +0 -1
- package/systems/5e/images/ringing-bell.svg +0 -1
- package/systems/5e/images/robber.svg +0 -1
- package/systems/5e/images/robe.svg +0 -1
- package/systems/5e/images/robin-hood-hat.svg +0 -1
- package/systems/5e/images/robot-golem.svg +0 -1
- package/systems/5e/images/rock-golem.svg +0 -1
- package/systems/5e/images/rolled-cloth.svg +0 -1
- package/systems/5e/images/rooster.svg +0 -1
- package/systems/5e/images/rope-coil.svg +0 -1
- package/systems/5e/images/round-bottom-flask.svg +0 -1
- package/systems/5e/images/round-potion.svg +0 -1
- package/systems/5e/images/rune-stone.svg +0 -1
- package/systems/5e/images/saber-toothed-cat-head.svg +0 -1
- package/systems/5e/images/saddle.svg +0 -1
- package/systems/5e/images/salamander.svg +0 -1
- package/systems/5e/images/scale-mail.svg +0 -1
- package/systems/5e/images/school-of-fish.svg +0 -1
- package/systems/5e/images/scorpion.svg +0 -1
- package/systems/5e/images/scroll-unfurled.svg +0 -1
- package/systems/5e/images/sea-serpent.svg +0 -1
- package/systems/5e/images/seahorse.svg +0 -1
- package/systems/5e/images/seated-mouse.svg +0 -1
- package/systems/5e/images/secret-book.svg +0 -1
- package/systems/5e/images/sensuousness.svg +0 -1
- package/systems/5e/images/sewing-needle.svg +0 -1
- package/systems/5e/images/shadow-follower.svg +0 -1
- package/systems/5e/images/shambling-mound.svg +0 -1
- package/systems/5e/images/shambling-zombie.svg +0 -1
- package/systems/5e/images/shark-fin.svg +0 -1
- package/systems/5e/images/shark-jaws.svg +0 -1
- package/systems/5e/images/shield.svg +0 -1
- package/systems/5e/images/shirt-button.svg +0 -1
- package/systems/5e/images/sickle.svg +0 -1
- package/systems/5e/images/siege-ram.svg +0 -1
- package/systems/5e/images/skeleton.svg +0 -1
- package/systems/5e/images/skull-staff.svg +0 -1
- package/systems/5e/images/sleeping-bag.svg +0 -1
- package/systems/5e/images/slime.svg +0 -1
- package/systems/5e/images/sling.svg +0 -1
- package/systems/5e/images/slippers.svg +0 -1
- package/systems/5e/images/small-fire.svg +0 -1
- package/systems/5e/images/small-fishing-sailboat.svg +0 -1
- package/systems/5e/images/smoking-orb.svg +0 -1
- package/systems/5e/images/snake-spiral.svg +0 -1
- package/systems/5e/images/snake-tongue.svg +0 -1
- package/systems/5e/images/snake-totem.svg +0 -1
- package/systems/5e/images/snake.svg +0 -1
- package/systems/5e/images/soap.svg +0 -1
- package/systems/5e/images/spade.svg +0 -1
- package/systems/5e/images/spark-spirit.svg +0 -1
- package/systems/5e/images/sparkling-sabre.svg +0 -1
- package/systems/5e/images/spartan.svg +0 -1
- package/systems/5e/images/spectre.svg +0 -1
- package/systems/5e/images/spell-book.svg +0 -1
- package/systems/5e/images/sperm-whale.svg +0 -1
- package/systems/5e/images/spider-alt.svg +0 -1
- package/systems/5e/images/spiked-armor.svg +0 -1
- package/systems/5e/images/spiked-dragon-head.svg +0 -1
- package/systems/5e/images/spiked-mace.svg +0 -1
- package/systems/5e/images/spiked-tail.svg +0 -1
- package/systems/5e/images/spikes.svg +0 -1
- package/systems/5e/images/spinning-wheel.svg +0 -1
- package/systems/5e/images/spotted-mushroom.svg +0 -1
- package/systems/5e/images/spy.svg +0 -1
- package/systems/5e/images/spyglass.svg +0 -1
- package/systems/5e/images/squid.svg +0 -1
- package/systems/5e/images/stag-head.svg +0 -1
- package/systems/5e/images/steam.svg +0 -1
- package/systems/5e/images/steampunk-goggles.svg +0 -1
- package/systems/5e/images/stone-block.svg +0 -1
- package/systems/5e/images/stone-pile.svg +0 -1
- package/systems/5e/images/stone-sphere.svg +0 -1
- package/systems/5e/images/straight-pipe.svg +0 -1
- package/systems/5e/images/sun-priest.svg +0 -1
- package/systems/5e/images/swap-bag.svg +0 -1
- package/systems/5e/images/thor-hammer.svg +0 -1
- package/systems/5e/images/thrown-spear.svg +0 -1
- package/systems/5e/images/tiara.svg +0 -1
- package/systems/5e/images/tick.svg +0 -1
- package/systems/5e/images/tied-scroll.svg +0 -1
- package/systems/5e/images/tiger-head.svg +0 -1
- package/systems/5e/images/tiger.svg +0 -1
- package/systems/5e/images/tinker.svg +0 -1
- package/systems/5e/images/toad-teeth.svg +0 -1
- package/systems/5e/images/torch.svg +0 -1
- package/systems/5e/images/tornado.svg +0 -1
- package/systems/5e/images/totem.svg +0 -1
- package/systems/5e/images/transparent-slime.svg +0 -1
- package/systems/5e/images/trap-mask.svg +0 -1
- package/systems/5e/images/treasure-map.svg +0 -1
- package/systems/5e/images/tree-face.svg +0 -1
- package/systems/5e/images/tribal-mask.svg +0 -1
- package/systems/5e/images/tribal-pendant.svg +0 -1
- package/systems/5e/images/triceratops-head.svg +0 -1
- package/systems/5e/images/trident.svg +0 -1
- package/systems/5e/images/triton-head.svg +0 -1
- package/systems/5e/images/troglodyte.svg +0 -1
- package/systems/5e/images/troll.svg +0 -1
- package/systems/5e/images/turtle.svg +0 -1
- package/systems/5e/images/two-handed-sword.svg +0 -1
- package/systems/5e/images/unicorn.svg +0 -1
- package/systems/5e/images/vampire-dracula.svg +0 -1
- package/systems/5e/images/vial.svg +0 -1
- package/systems/5e/images/viking-head.svg +0 -1
- package/systems/5e/images/violin.svg +0 -1
- package/systems/5e/images/visored-helm.svg +0 -1
- package/systems/5e/images/vulture.svg +0 -1
- package/systems/5e/images/war-axe.svg +0 -1
- package/systems/5e/images/war-pick.svg +0 -1
- package/systems/5e/images/warhammer.svg +0 -1
- package/systems/5e/images/warlord-helmet.svg +0 -1
- package/systems/5e/images/wasp-sting.svg +0 -1
- package/systems/5e/images/water-bottle.svg +0 -1
- package/systems/5e/images/waterskin.svg +0 -1
- package/systems/5e/images/wavy-chains.svg +0 -1
- package/systems/5e/images/wax-seal.svg +0 -1
- package/systems/5e/images/werewolf.svg +0 -1
- package/systems/5e/images/wheelbarrow.svg +0 -1
- package/systems/5e/images/whip.svg +0 -1
- package/systems/5e/images/whistle.svg +0 -1
- package/systems/5e/images/wing-cloak.svg +0 -1
- package/systems/5e/images/winged-scepter.svg +0 -1
- package/systems/5e/images/winged-sword.svg +0 -1
- package/systems/5e/images/witch-face.svg +0 -1
- package/systems/5e/images/wizard-face.svg +0 -1
- package/systems/5e/images/wizard-staff.svg +0 -1
- package/systems/5e/images/wolf-head.svg +0 -1
- package/systems/5e/images/wolf-howl.svg +0 -1
- package/systems/5e/images/wolf-trap.svg +0 -1
- package/systems/5e/images/woman-elf-face.svg +0 -1
- package/systems/5e/images/wood-canoe.svg +0 -1
- package/systems/5e/images/wood-club.svg +0 -1
- package/systems/5e/images/worm-mouth.svg +0 -1
- package/systems/5e/images/wyvern.svg +0 -1
- package/systems/5e/instructions/adventure.md +0 -4
- package/systems/5e/instructions/combat.md +0 -9
- package/systems/5e/instructions/import.md +0 -1
- package/systems/5e/instructions/level-up.md +0 -1
- package/systems/5e/instructions/mentor-tutorial.md +0 -1
- package/systems/5e/instructions/play.md +0 -7
- package/systems/5e/instructions/quest-ends.md +0 -1
- package/systems/5e/instructions/rest.md +0 -1
- package/systems/5e/instructions/session-zero.md +0 -5
- package/systems/5e/instructions/setup.md +0 -1
- package/systems/5e/package.json +0 -13
- package/systems/5e/rules/Adventuring.md +0 -228
- package/systems/5e/rules/Beyond 1st Level.md +0 -241
- package/systems/5e/rules/Combat Encounters.md +0 -103
- package/systems/5e/rules/Combat.md +0 -504
- package/systems/5e/rules/Conditions.md +0 -110
- package/systems/5e/rules/Diseases.md +0 -41
- package/systems/5e/rules/Equipment.md +0 -731
- package/systems/5e/rules/Fantasy-Historical Pantheons.md +0 -112
- package/systems/5e/rules/Madness.md +0 -72
- package/systems/5e/rules/Magic Items.md +0 -142
- package/systems/5e/rules/Monsters.md +0 -403
- package/systems/5e/rules/Nonplayer Characters.md +0 -15
- package/systems/5e/rules/Objects.md +0 -40
- package/systems/5e/rules/Poisons.md +0 -64
- package/systems/5e/rules/Races.md +0 -33
- package/systems/5e/rules/Spellcasting.md +0 -225
- package/systems/5e/rules/The Planes of Existence.md +0 -59
- package/systems/5e/rules/Traps.md +0 -170
- package/systems/5e/rules/Using Ability Scores.md +0 -394
- package/systems/5e/system.yaml +0 -847
- package/systems/5e/versions/srd-5.1/system.yaml +0 -2
- package/systems/5e/words/ar.yaml +0 -533
- package/systems/5e/words/cs.yaml +0 -533
- package/systems/5e/words/da.yaml +0 -533
- package/systems/5e/words/de.yaml +0 -533
- package/systems/5e/words/el.yaml +0 -533
- package/systems/5e/words/en.yaml +0 -20
- package/systems/5e/words/es.yaml +0 -533
- package/systems/5e/words/fi.yaml +0 -533
- package/systems/5e/words/fr.yaml +0 -533
- package/systems/5e/words/he.yaml +0 -533
- package/systems/5e/words/hi.yaml +0 -533
- package/systems/5e/words/hu.yaml +0 -533
- package/systems/5e/words/is.yaml +0 -533
- package/systems/5e/words/it.yaml +0 -575
- package/systems/5e/words/ja.yaml +0 -533
- package/systems/5e/words/ko.yaml +0 -533
- package/systems/5e/words/nb.yaml +0 -533
- package/systems/5e/words/nl.yaml +0 -533
- package/systems/5e/words/pl.yaml +0 -533
- package/systems/5e/words/pt.yaml +0 -533
- package/systems/5e/words/ro.yaml +0 -533
- package/systems/5e/words/ru.yaml +0 -533
- package/systems/5e/words/sv.yaml +0 -533
- package/systems/5e/words/tr.yaml +0 -533
- package/systems/5e/words/uk.yaml +0 -533
- package/systems/5e/words/zh.yaml +0 -533
- package/systems/5e/world/creatures/Aboleth.md +0 -66
- package/systems/5e/world/creatures/Acolyte.md +0 -37
- package/systems/5e/world/creatures/Adult Black Dragon.md +0 -71
- package/systems/5e/world/creatures/Adult Blue Dragon.md +0 -68
- package/systems/5e/world/creatures/Adult Brass Dragon.md +0 -72
- package/systems/5e/world/creatures/Adult Bronze Dragon.md +0 -80
- package/systems/5e/world/creatures/Adult Copper Dragon.md +0 -72
- package/systems/5e/world/creatures/Adult Gold Dragon.md +0 -80
- package/systems/5e/world/creatures/Adult Green Dragon.md +0 -72
- package/systems/5e/world/creatures/Adult Red Dragon.md +0 -68
- package/systems/5e/world/creatures/Adult Silver Dragon.md +0 -76
- package/systems/5e/world/creatures/Adult White Dragon.md +0 -72
- package/systems/5e/world/creatures/Air Elemental.md +0 -43
- package/systems/5e/world/creatures/Ancient Black Dragon.md +0 -71
- package/systems/5e/world/creatures/Ancient Blue Dragon.md +0 -68
- package/systems/5e/world/creatures/Ancient Brass Dragon.md +0 -77
- package/systems/5e/world/creatures/Ancient Bronze Dragon.md +0 -80
- package/systems/5e/world/creatures/Ancient Copper Dragon.md +0 -77
- package/systems/5e/world/creatures/Ancient Gold Dragon.md +0 -80
- package/systems/5e/world/creatures/Ancient Green Dragon.md +0 -72
- package/systems/5e/world/creatures/Ancient Red Dragon.md +0 -68
- package/systems/5e/world/creatures/Ancient Silver Dragon.md +0 -76
- package/systems/5e/world/creatures/Ancient White Dragon.md +0 -72
- package/systems/5e/world/creatures/Androsphinx.md +0 -83
- package/systems/5e/world/creatures/Animated Armor.md +0 -39
- package/systems/5e/world/creatures/Ankheg.md +0 -31
- package/systems/5e/world/creatures/Ape.md +0 -32
- package/systems/5e/world/creatures/Archmage.md +0 -63
- package/systems/5e/world/creatures/Assassin.md +0 -48
- package/systems/5e/world/creatures/Awakened Shrub.md +0 -34
- package/systems/5e/world/creatures/Awakened Tree.md +0 -35
- package/systems/5e/world/creatures/Axe Beak.md +0 -26
- package/systems/5e/world/creatures/Azer.md +0 -40
- package/systems/5e/world/creatures/Baboon.md +0 -30
- package/systems/5e/world/creatures/Badger.md +0 -31
- package/systems/5e/world/creatures/Balor.md +0 -55
- package/systems/5e/world/creatures/Bandit Captain.md +0 -45
- package/systems/5e/world/creatures/Bandit.md +0 -33
- package/systems/5e/world/creatures/Barbed Devil.md +0 -52
- package/systems/5e/world/creatures/Basilisk.md +0 -35
- package/systems/5e/world/creatures/Bat.md +0 -34
- package/systems/5e/world/creatures/Bearded Devil.md +0 -48
- package/systems/5e/world/creatures/Behir.md +0 -44
- package/systems/5e/world/creatures/Berserker.md +0 -33
- package/systems/5e/world/creatures/Black Bear.md +0 -38
- package/systems/5e/world/creatures/Black Dragon Wyrmling.md +0 -41
- package/systems/5e/world/creatures/Black Pudding.md +0 -46
- package/systems/5e/world/creatures/Blink Dog.md +0 -36
- package/systems/5e/world/creatures/Blood Hawk.md +0 -36
- package/systems/5e/world/creatures/Blue Dragon Wyrmling.md +0 -36
- package/systems/5e/world/creatures/Boar.md +0 -33
- package/systems/5e/world/creatures/Bone Devil.md +0 -47
- package/systems/5e/world/creatures/Brass Dragon Wyrmling.md +0 -40
- package/systems/5e/world/creatures/Bronze Dragon Wyrmling.md +0 -45
- package/systems/5e/world/creatures/Brown Bear.md +0 -38
- package/systems/5e/world/creatures/Bugbear.md +0 -39
- package/systems/5e/world/creatures/Bulette.md +0 -37
- package/systems/5e/world/creatures/Camel.md +0 -24
- package/systems/5e/world/creatures/Cat.md +0 -31
- package/systems/5e/world/creatures/Centaur.md +0 -40
- package/systems/5e/world/creatures/Chain Devil.md +0 -52
- package/systems/5e/world/creatures/Chimera.md +0 -41
- package/systems/5e/world/creatures/Chuul.md +0 -45
- package/systems/5e/world/creatures/Clay Golem.md +0 -52
- package/systems/5e/world/creatures/Cloaker.md +0 -56
- package/systems/5e/world/creatures/Cloud Giant.md +0 -46
- package/systems/5e/world/creatures/Cockatrice.md +0 -26
- package/systems/5e/world/creatures/Commoner.md +0 -27
- package/systems/5e/world/creatures/Constrictor Snake.md +0 -29
- package/systems/5e/world/creatures/Copper Dragon Wyrmling.md +0 -40
- package/systems/5e/world/creatures/Couatl.md +0 -54
- package/systems/5e/world/creatures/Crab.md +0 -33
- package/systems/5e/world/creatures/Crocodile.md +0 -32
- package/systems/5e/world/creatures/Cult Fanatic.md +0 -46
- package/systems/5e/world/creatures/Cultist.md +0 -34
- package/systems/5e/world/creatures/Darkmantle.md +0 -42
- package/systems/5e/world/creatures/Death Dog.md +0 -36
- package/systems/5e/world/creatures/Deep Gnome (Svirfneblin).md +0 -46
- package/systems/5e/world/creatures/Deer.md +0 -24
- package/systems/5e/world/creatures/Deva.md +0 -57
- package/systems/5e/world/creatures/Dire Wolf.md +0 -34
- package/systems/5e/world/creatures/Djinni.md +0 -50
- package/systems/5e/world/creatures/Doppelganger.md +0 -45
- package/systems/5e/world/creatures/Draft Horse.md +0 -24
- package/systems/5e/world/creatures/Dragon Turtle.md +0 -47
- package/systems/5e/world/creatures/Dragonborn.md +0 -58
- package/systems/5e/world/creatures/Dretch.md +0 -39
- package/systems/5e/world/creatures/Drider.md +0 -58
- package/systems/5e/world/creatures/Drow Elf.md +0 -46
- package/systems/5e/world/creatures/Druid (creature).md +0 -41
- package/systems/5e/world/creatures/Dryad.md +0 -53
- package/systems/5e/world/creatures/Duergar.md +0 -45
- package/systems/5e/world/creatures/Dust Mephit.md +0 -42
- package/systems/5e/world/creatures/Dwarf.md +0 -49
- package/systems/5e/world/creatures/Eagle.md +0 -31
- package/systems/5e/world/creatures/Earth Elemental.md +0 -44
- package/systems/5e/world/creatures/Efreeti.md +0 -48
- package/systems/5e/world/creatures/Elephant.md +0 -33
- package/systems/5e/world/creatures/Elf.md +0 -44
- package/systems/5e/world/creatures/Elk.md +0 -32
- package/systems/5e/world/creatures/Erinyes.md +0 -51
- package/systems/5e/world/creatures/Ettercap.md +0 -48
- package/systems/5e/world/creatures/Ettin.md +0 -42
- package/systems/5e/world/creatures/Fire Elemental.md +0 -43
- package/systems/5e/world/creatures/Fire Giant.md +0 -35
- package/systems/5e/world/creatures/Flesh Golem.md +0 -53
- package/systems/5e/world/creatures/Flying Snake.md +0 -34
- package/systems/5e/world/creatures/Flying Sword.md +0 -38
- package/systems/5e/world/creatures/Frog.md +0 -32
- package/systems/5e/world/creatures/Frost Giant.md +0 -35
- package/systems/5e/world/creatures/Gargoyle.md +0 -42
- package/systems/5e/world/creatures/Gelatinous Cube.md +0 -49
- package/systems/5e/world/creatures/Ghast.md +0 -40
- package/systems/5e/world/creatures/Ghost.md +0 -49
- package/systems/5e/world/creatures/Ghoul.md +0 -31
- package/systems/5e/world/creatures/Giant Ape.md +0 -32
- package/systems/5e/world/creatures/Giant Badger.md +0 -37
- package/systems/5e/world/creatures/Giant Bat.md +0 -34
- package/systems/5e/world/creatures/Giant Boar.md +0 -33
- package/systems/5e/world/creatures/Giant Centipede.md +0 -27
- package/systems/5e/world/creatures/Giant Constrictor Snake.md +0 -30
- package/systems/5e/world/creatures/Giant Crab.md +0 -33
- package/systems/5e/world/creatures/Giant Crocodile.md +0 -38
- package/systems/5e/world/creatures/Giant Eagle.md +0 -40
- package/systems/5e/world/creatures/Giant Elk.md +0 -37
- package/systems/5e/world/creatures/Giant Fire Beetle.md +0 -33
- package/systems/5e/world/creatures/Giant Frog.md +0 -40
- package/systems/5e/world/creatures/Giant Goat.md +0 -33
- package/systems/5e/world/creatures/Giant Hyena.md +0 -30
- package/systems/5e/world/creatures/Giant Lizard.md +0 -29
- package/systems/5e/world/creatures/Giant Octopus.md +0 -41
- package/systems/5e/world/creatures/Giant Owl.md +0 -38
- package/systems/5e/world/creatures/Giant Poisonous Snake.md +0 -27
- package/systems/5e/world/creatures/Giant Rat.md +0 -39
- package/systems/5e/world/creatures/Giant Scorpion.md +0 -32
- package/systems/5e/world/creatures/Giant Sea Horse.md +0 -36
- package/systems/5e/world/creatures/Giant Shark.md +0 -38
- package/systems/5e/world/creatures/Giant Spider.md +0 -45
- package/systems/5e/world/creatures/Giant Toad.md +0 -39
- package/systems/5e/world/creatures/Giant Vulture.md +0 -43
- package/systems/5e/world/creatures/Giant Wasp.md +0 -25
- package/systems/5e/world/creatures/Giant Weasel.md +0 -31
- package/systems/5e/world/creatures/Giant Wolf Spider.md +0 -41
- package/systems/5e/world/creatures/Gibbering Mouther.md +0 -41
- package/systems/5e/world/creatures/Glabrezu.md +0 -48
- package/systems/5e/world/creatures/Gladiator.md +0 -49
- package/systems/5e/world/creatures/Gnoll.md +0 -38
- package/systems/5e/world/creatures/Gnome.md +0 -37
- package/systems/5e/world/creatures/Goat.md +0 -32
- package/systems/5e/world/creatures/Goblin.md +0 -36
- package/systems/5e/world/creatures/Gold Dragon Wyrmling.md +0 -45
- package/systems/5e/world/creatures/Gorgon.md +0 -39
- package/systems/5e/world/creatures/Gray Ooze.md +0 -42
- package/systems/5e/world/creatures/Green Dragon Wyrmling.md +0 -42
- package/systems/5e/world/creatures/Green Hag.md +0 -49
- package/systems/5e/world/creatures/Grick.md +0 -39
- package/systems/5e/world/creatures/Griffon.md +0 -38
- package/systems/5e/world/creatures/Grimlock.md +0 -39
- package/systems/5e/world/creatures/Guard.md +0 -29
- package/systems/5e/world/creatures/Guardian Naga.md +0 -55
- package/systems/5e/world/creatures/Gynosphinx.md +0 -72
- package/systems/5e/world/creatures/Half-Elf.md +0 -40
- package/systems/5e/world/creatures/Half-Orc.md +0 -44
- package/systems/5e/world/creatures/Half-Red Dragon Veteran.md +0 -42
- package/systems/5e/world/creatures/Halfling.md +0 -39
- package/systems/5e/world/creatures/Harpy.md +0 -39
- package/systems/5e/world/creatures/Hawk.md +0 -31
- package/systems/5e/world/creatures/Hell Hound.md +0 -40
- package/systems/5e/world/creatures/Hezrou.md +0 -45
- package/systems/5e/world/creatures/High Elf.md +0 -22
- package/systems/5e/world/creatures/Hill Dwarf.md +0 -16
- package/systems/5e/world/creatures/Hill Giant.md +0 -33
- package/systems/5e/world/creatures/Hippogriff.md +0 -37
- package/systems/5e/world/creatures/Hobgoblin.md +0 -35
- package/systems/5e/world/creatures/Homunculus.md +0 -35
- package/systems/5e/world/creatures/Horned Devil.md +0 -49
- package/systems/5e/world/creatures/Human.md +0 -29
- package/systems/5e/world/creatures/Hunter Shark.md +0 -38
- package/systems/5e/world/creatures/Hydra.md +0 -49
- package/systems/5e/world/creatures/Hyena.md +0 -30
- package/systems/5e/world/creatures/Ice Devil.md +0 -56
- package/systems/5e/world/creatures/Ice Mephit.md +0 -45
- package/systems/5e/world/creatures/Imp.md +0 -45
- package/systems/5e/world/creatures/Invisible Stalker.md +0 -42
- package/systems/5e/world/creatures/Iron Golem.md +0 -52
- package/systems/5e/world/creatures/Jackal.md +0 -33
- package/systems/5e/world/creatures/Killer Whale.md +0 -39
- package/systems/5e/world/creatures/Knight.md +0 -48
- package/systems/5e/world/creatures/Kobold.md +0 -37
- package/systems/5e/world/creatures/Kraken.md +0 -70
- package/systems/5e/world/creatures/Lamia.md +0 -46
- package/systems/5e/world/creatures/Lemure.md +0 -37
- package/systems/5e/world/creatures/Lich.md +0 -84
- package/systems/5e/world/creatures/Lightfoot Halfling.md +0 -18
- package/systems/5e/world/creatures/Lion.md +0 -42
- package/systems/5e/world/creatures/Lizard.md +0 -26
- package/systems/5e/world/creatures/Lizardfolk.md +0 -45
- package/systems/5e/world/creatures/Mage.md +0 -47
- package/systems/5e/world/creatures/Magma Mephit.md +0 -45
- package/systems/5e/world/creatures/Magmin.md +0 -37
- package/systems/5e/world/creatures/Mammoth.md +0 -35
- package/systems/5e/world/creatures/Manticore.md +0 -42
- package/systems/5e/world/creatures/Marilith.md +0 -56
- package/systems/5e/world/creatures/Mastiff.md +0 -32
- package/systems/5e/world/creatures/Medusa.md +0 -46
- package/systems/5e/world/creatures/Merfolk.md +0 -32
- package/systems/5e/world/creatures/Merrow.md +0 -42
- package/systems/5e/world/creatures/Mimic.md +0 -46
- package/systems/5e/world/creatures/Minotaur Skeleton.md +0 -38
- package/systems/5e/world/creatures/Minotaur.md +0 -42
- package/systems/5e/world/creatures/Mule.md +0 -32
- package/systems/5e/world/creatures/Mummy Lord.md +0 -83
- package/systems/5e/world/creatures/Mummy.md +0 -38
- package/systems/5e/world/creatures/Nalfeshnee.md +0 -49
- package/systems/5e/world/creatures/Night Hag.md +0 -50
- package/systems/5e/world/creatures/Nightmare.md +0 -39
- package/systems/5e/world/creatures/Noble.md +0 -36
- package/systems/5e/world/creatures/Ochre Jelly.md +0 -42
- package/systems/5e/world/creatures/Octopus.md +0 -41
- package/systems/5e/world/creatures/Ogre Zombie.md +0 -34
- package/systems/5e/world/creatures/Ogre.md +0 -30
- package/systems/5e/world/creatures/Oni.md +0 -53
- package/systems/5e/world/creatures/Orc.md +0 -36
- package/systems/5e/world/creatures/Otyugh.md +0 -42
- package/systems/5e/world/creatures/Owl.md +0 -35
- package/systems/5e/world/creatures/Owlbear.md +0 -38
- package/systems/5e/world/creatures/Panther.md +0 -37
- package/systems/5e/world/creatures/Pegasus.md +0 -28
- package/systems/5e/world/creatures/Phase Spider.md +0 -41
- package/systems/5e/world/creatures/Pit Fiend.md +0 -61
- package/systems/5e/world/creatures/Planetar.md +0 -56
- package/systems/5e/world/creatures/Plesiosaurus.md +0 -32
- package/systems/5e/world/creatures/Poisonous Snake.md +0 -26
- package/systems/5e/world/creatures/Polar Bear.md +0 -38
- package/systems/5e/world/creatures/Pony.md +0 -24
- package/systems/5e/world/creatures/Priest.md +0 -47
- package/systems/5e/world/creatures/Pseudodragon.md +0 -44
- package/systems/5e/world/creatures/Purple Worm.md +0 -42
- package/systems/5e/world/creatures/Quasit.md +0 -44
- package/systems/5e/world/creatures/Quipper.md +0 -36
- package/systems/5e/world/creatures/Rakshasa.md +0 -45
- package/systems/5e/world/creatures/Rat.md +0 -30
- package/systems/5e/world/creatures/Raven.md +0 -31
- package/systems/5e/world/creatures/Red Dragon Wyrmling.md +0 -36
- package/systems/5e/world/creatures/Reef Shark.md +0 -38
- package/systems/5e/world/creatures/Remorhaz.md +0 -39
- package/systems/5e/world/creatures/Rhinoceros.md +0 -30
- package/systems/5e/world/creatures/Riding Horse.md +0 -24
- package/systems/5e/world/creatures/Roc.md +0 -39
- package/systems/5e/world/creatures/Rock Gnome.md +0 -27
- package/systems/5e/world/creatures/Roper.md +0 -48
- package/systems/5e/world/creatures/Rug of Smothering.md +0 -38
- package/systems/5e/world/creatures/Rust Monster.md +0 -39
- package/systems/5e/world/creatures/Saber-Toothed Tiger.md +0 -36
- package/systems/5e/world/creatures/Sahuagin.md +0 -49
- package/systems/5e/world/creatures/Salamander.md +0 -44
- package/systems/5e/world/creatures/Satyr.md +0 -38
- package/systems/5e/world/creatures/Scorpion.md +0 -26
- package/systems/5e/world/creatures/Scout.md +0 -40
- package/systems/5e/world/creatures/Sea Hag.md +0 -46
- package/systems/5e/world/creatures/Sea Horse.md +0 -25
- package/systems/5e/world/creatures/Shadow.md +0 -45
- package/systems/5e/world/creatures/Shambling Mound.md +0 -42
- package/systems/5e/world/creatures/Shield Guardian.md +0 -49
- package/systems/5e/world/creatures/Shrieker.md +0 -31
- package/systems/5e/world/creatures/Silver Dragon Wyrmling.md +0 -39
- package/systems/5e/world/creatures/Skeleton.md +0 -33
- package/systems/5e/world/creatures/Solar.md +0 -77
- package/systems/5e/world/creatures/Specter.md +0 -38
- package/systems/5e/world/creatures/Spider.md +0 -38
- package/systems/5e/world/creatures/Spirit Naga.md +0 -50
- package/systems/5e/world/creatures/Sprite.md +0 -37
- package/systems/5e/world/creatures/Spy.md +0 -42
- package/systems/5e/world/creatures/Steam Mephit.md +0 -40
- package/systems/5e/world/creatures/Stirge.md +0 -29
- package/systems/5e/world/creatures/Stone Giant.md +0 -45
- package/systems/5e/world/creatures/Stone Golem.md +0 -46
- package/systems/5e/world/creatures/Storm Giant.md +0 -51
- package/systems/5e/world/creatures/Succubus-Incubus.md +0 -50
- package/systems/5e/world/creatures/Swarm of Bats.md +0 -39
- package/systems/5e/world/creatures/Swarm of Insects.md +0 -52
- package/systems/5e/world/creatures/Swarm of Poisonous Snakes.md +0 -33
- package/systems/5e/world/creatures/Swarm of Quippers.md +0 -39
- package/systems/5e/world/creatures/Swarm of Rats.md +0 -35
- package/systems/5e/world/creatures/Swarm of Ravens.md +0 -33
- package/systems/5e/world/creatures/Tarrasque.md +0 -78
- package/systems/5e/world/creatures/Thug.md +0 -40
- package/systems/5e/world/creatures/Tiefling.md +0 -40
- package/systems/5e/world/creatures/Tiger.md +0 -37
- package/systems/5e/world/creatures/Treant.md +0 -45
- package/systems/5e/world/creatures/Tribal Warrior.md +0 -33
- package/systems/5e/world/creatures/Triceratops.md +0 -33
- package/systems/5e/world/creatures/Troll.md +0 -42
- package/systems/5e/world/creatures/Tyrannosaurus Rex.md +0 -32
- package/systems/5e/world/creatures/Unicorn.md +0 -71
- package/systems/5e/world/creatures/Vampire Spawn.md +0 -55
- package/systems/5e/world/creatures/Vampire.md +0 -93
- package/systems/5e/world/creatures/Veteran.md +0 -38
- package/systems/5e/world/creatures/Violet Fungus.md +0 -34
- package/systems/5e/world/creatures/Vrock.md +0 -49
- package/systems/5e/world/creatures/Vulture.md +0 -34
- package/systems/5e/world/creatures/Warhorse Skeleton.md +0 -29
- package/systems/5e/world/creatures/Warhorse.md +0 -29
- package/systems/5e/world/creatures/Water Elemental.md +0 -47
- package/systems/5e/world/creatures/Weasel.md +0 -30
- package/systems/5e/world/creatures/Werebear.md +0 -45
- package/systems/5e/world/creatures/Wereboar.md +0 -45
- package/systems/5e/world/creatures/Wererat.md +0 -45
- package/systems/5e/world/creatures/Weretiger.md +0 -51
- package/systems/5e/world/creatures/Werewolf.md +0 -45
- package/systems/5e/world/creatures/White Dragon Wyrmling.md +0 -37
- package/systems/5e/world/creatures/Wight.md +0 -47
- package/systems/5e/world/creatures/Will-o'-Wisp.md +0 -47
- package/systems/5e/world/creatures/Winter Wolf.md +0 -44
- package/systems/5e/world/creatures/Wolf.md +0 -34
- package/systems/5e/world/creatures/Worg.md +0 -35
- package/systems/5e/world/creatures/Wraith.md +0 -41
- package/systems/5e/world/creatures/Wyvern.md +0 -37
- package/systems/5e/world/creatures/Xorn.md +0 -48
- package/systems/5e/world/creatures/Young Black Dragon.md +0 -47
- package/systems/5e/world/creatures/Young Blue Dragon.md +0 -42
- package/systems/5e/world/creatures/Young Brass Dragon.md +0 -46
- package/systems/5e/world/creatures/Young Bronze Dragon.md +0 -51
- package/systems/5e/world/creatures/Young Copper Dragon.md +0 -46
- package/systems/5e/world/creatures/Young Gold Dragon.md +0 -51
- package/systems/5e/world/creatures/Young Green Dragon.md +0 -48
- package/systems/5e/world/creatures/Young Red Dragon.md +0 -42
- package/systems/5e/world/creatures/Young Silver Dragon.md +0 -45
- package/systems/5e/world/creatures/Young White Dragon.md +0 -48
- package/systems/5e/world/creatures/Zombie.md +0 -34
- package/systems/5e/world/items/Abacus.md +0 -6
- package/systems/5e/world/items/Acid.md +0 -9
- package/systems/5e/world/items/Adamantine Armor.md +0 -7
- package/systems/5e/world/items/Alchemist's Fire.md +0 -9
- package/systems/5e/world/items/Alchemist's Supplies.md +0 -8
- package/systems/5e/world/items/Ammunition, +1, +2, or +3.md +0 -7
- package/systems/5e/world/items/Amulet of Health.md +0 -9
- package/systems/5e/world/items/Amulet of Proof against Detection and Location.md +0 -8
- package/systems/5e/world/items/Amulet of the Planes.md +0 -8
- package/systems/5e/world/items/Amulet.md +0 -8
- package/systems/5e/world/items/Animated Shield.md +0 -8
- package/systems/5e/world/items/Antitoxin.md +0 -8
- package/systems/5e/world/items/Apparatus of the Crab.md +0 -38
- package/systems/5e/world/items/Armor of Invulnerability.md +0 -9
- package/systems/5e/world/items/Armor of Resistance.md +0 -16
- package/systems/5e/world/items/Armor of Vulnerability.md +0 -10
- package/systems/5e/world/items/Armor, +1, +2, or +3.md +0 -7
- package/systems/5e/world/items/Arrow of Slaying.md +0 -11
- package/systems/5e/world/items/Arrow-Catching Shield.md +0 -8
- package/systems/5e/world/items/Arrows.md +0 -8
- package/systems/5e/world/items/Backpack.md +0 -6
- package/systems/5e/world/items/Bag of Beans.md +0 -26
- package/systems/5e/world/items/Bag of Devouring.md +0 -13
- package/systems/5e/world/items/Bag of Holding.md +0 -13
- package/systems/5e/world/items/Bag of Tricks.md +0 -52
- package/systems/5e/world/items/Bagpipes.md +0 -8
- package/systems/5e/world/items/Ball Bearings.md +0 -9
- package/systems/5e/world/items/Barding.md +0 -8
- package/systems/5e/world/items/Barrel.md +0 -6
- package/systems/5e/world/items/Basic Poison.md +0 -8
- package/systems/5e/world/items/Basket.md +0 -6
- package/systems/5e/world/items/Battleaxe.md +0 -11
- package/systems/5e/world/items/Bead of Force.md +0 -11
- package/systems/5e/world/items/Bedroll.md +0 -6
- package/systems/5e/world/items/Bell.md +0 -5
- package/systems/5e/world/items/Belt of Dwarvenkind.md +0 -19
- package/systems/5e/world/items/Belt of Giant Strength.md +0 -18
- package/systems/5e/world/items/Berserker Axe.md +0 -12
- package/systems/5e/world/items/Bit and Bridle.md +0 -6
- package/systems/5e/world/items/Blanket.md +0 -6
- package/systems/5e/world/items/Block and Tackle.md +0 -8
- package/systems/5e/world/items/Blowgun Needles.md +0 -8
- package/systems/5e/world/items/Blowgun.md +0 -11
- package/systems/5e/world/items/Book.md +0 -8
- package/systems/5e/world/items/Boots of Elvenkind.md +0 -7
- package/systems/5e/world/items/Boots of Levitation.md +0 -8
- package/systems/5e/world/items/Boots of Speed.md +0 -10
- package/systems/5e/world/items/Boots of Striding and Springing.md +0 -8
- package/systems/5e/world/items/Boots of the Winterlands.md +0 -13
- package/systems/5e/world/items/Bowl of Commanding Water Elementals.md +0 -9
- package/systems/5e/world/items/Bracers of Archery.md +0 -8
- package/systems/5e/world/items/Bracers of Defense.md +0 -8
- package/systems/5e/world/items/Brazier of Commanding Fire Elementals.md +0 -9
- package/systems/5e/world/items/Breastplate.md +0 -10
- package/systems/5e/world/items/Brewer's Supplies.md +0 -8
- package/systems/5e/world/items/Brooch of Shielding.md +0 -9
- package/systems/5e/world/items/Broom of Flying.md +0 -9
- package/systems/5e/world/items/Bucket.md +0 -6
- package/systems/5e/world/items/Bullseye Lantern.md +0 -9
- package/systems/5e/world/items/Burglar's Pack.md +0 -9
- package/systems/5e/world/items/Calligrapher's Supplies.md +0 -8
- package/systems/5e/world/items/Caltrops.md +0 -9
- package/systems/5e/world/items/Candle of Invocation.md +0 -26
- package/systems/5e/world/items/Candle.md +0 -7
- package/systems/5e/world/items/Cape of the Mountebank.md +0 -9
- package/systems/5e/world/items/Carpenter's Tools.md +0 -8
- package/systems/5e/world/items/Carpet of Flying.md +0 -18
- package/systems/5e/world/items/Carriage.md +0 -6
- package/systems/5e/world/items/Cart.md +0 -6
- package/systems/5e/world/items/Cartographer's Tools.md +0 -8
- package/systems/5e/world/items/Censer of Controlling Air Elementals.md +0 -9
- package/systems/5e/world/items/Chain Mail.md +0 -13
- package/systems/5e/world/items/Chain Shirt.md +0 -10
- package/systems/5e/world/items/Chain.md +0 -10
- package/systems/5e/world/items/Chalk.md +0 -6
- package/systems/5e/world/items/Chariot.md +0 -6
- package/systems/5e/world/items/Chest.md +0 -6
- package/systems/5e/world/items/Chime of Opening.md +0 -9
- package/systems/5e/world/items/Circlet of Blasting.md +0 -7
- package/systems/5e/world/items/Climber's Kit.md +0 -8
- package/systems/5e/world/items/Cloak of Arachnida.md +0 -15
- package/systems/5e/world/items/Cloak of Displacement.md +0 -8
- package/systems/5e/world/items/Cloak of Elvenkind.md +0 -8
- package/systems/5e/world/items/Cloak of Protection.md +0 -10
- package/systems/5e/world/items/Cloak of the Bat.md +0 -10
- package/systems/5e/world/items/Cloak of the Manta Ray.md +0 -7
- package/systems/5e/world/items/Club.md +0 -11
- package/systems/5e/world/items/Cobbler's Tools.md +0 -8
- package/systems/5e/world/items/Common Clothes.md +0 -7
- package/systems/5e/world/items/Component Pouch.md +0 -8
- package/systems/5e/world/items/Cook's Utensils.md +0 -8
- package/systems/5e/world/items/Costume Clothes.md +0 -7
- package/systems/5e/world/items/Crossbow Bolt Case.md +0 -9
- package/systems/5e/world/items/Crossbow Bolts.md +0 -8
- package/systems/5e/world/items/Crowbar.md +0 -8
- package/systems/5e/world/items/Crystal Ball.md +0 -16
- package/systems/5e/world/items/Crystal.md +0 -8
- package/systems/5e/world/items/Cube of Force.md +0 -34
- package/systems/5e/world/items/Cubic Gate.md +0 -12
- package/systems/5e/world/items/Dagger of Venom.md +0 -9
- package/systems/5e/world/items/Dagger.md +0 -11
- package/systems/5e/world/items/Dancing Sword.md +0 -12
- package/systems/5e/world/items/Dart.md +0 -11
- package/systems/5e/world/items/Decanter of Endless Water.md +0 -13
- package/systems/5e/world/items/Deck of Illusions.md +0 -49
- package/systems/5e/world/items/Deck of Many Things.md +0 -114
- package/systems/5e/world/items/Defender.md +0 -10
- package/systems/5e/world/items/Demon Armor.md +0 -10
- package/systems/5e/world/items/Dice Set.md +0 -7
- package/systems/5e/world/items/Dimensional Shackles.md +0 -9
- package/systems/5e/world/items/Diplomat's Pack.md +0 -9
- package/systems/5e/world/items/Disguise Kit.md +0 -8
- package/systems/5e/world/items/Dragon Scale Mail.md +0 -20
- package/systems/5e/world/items/Dragon Slayer.md +0 -9
- package/systems/5e/world/items/Drum.md +0 -8
- package/systems/5e/world/items/Dulcimer.md +0 -8
- package/systems/5e/world/items/Dungeoneer's Pack.md +0 -9
- package/systems/5e/world/items/Dust of Disappearance.md +0 -7
- package/systems/5e/world/items/Dust of Dryness.md +0 -11
- package/systems/5e/world/items/Dust of Sneezing and Choking.md +0 -9
- package/systems/5e/world/items/Dwarven Plate.md +0 -7
- package/systems/5e/world/items/Dwarven Thrower.md +0 -8
- package/systems/5e/world/items/Efficient Quiver.md +0 -9
- package/systems/5e/world/items/Efreeti Bottle.md +0 -15
- package/systems/5e/world/items/Elemental Gem.md +0 -14
- package/systems/5e/world/items/Elven Chain.md +0 -7
- package/systems/5e/world/items/Emblem.md +0 -7
- package/systems/5e/world/items/Entertainer's Pack.md +0 -9
- package/systems/5e/world/items/Eversmoking Bottle.md +0 -9
- package/systems/5e/world/items/Exotic Saddle.md +0 -8
- package/systems/5e/world/items/Explorer's Pack.md +0 -9
- package/systems/5e/world/items/Eyes of Charming.md +0 -8
- package/systems/5e/world/items/Eyes of Minute Seeing.md +0 -7
- package/systems/5e/world/items/Eyes of the Eagle.md +0 -8
- package/systems/5e/world/items/Feather Token.md +0 -27
- package/systems/5e/world/items/Feed.md +0 -7
- package/systems/5e/world/items/Figurine of Wondrous Power.md +0 -53
- package/systems/5e/world/items/Fine Clothes.md +0 -7
- package/systems/5e/world/items/Fishing Tackle.md +0 -8
- package/systems/5e/world/items/Flail.md +0 -10
- package/systems/5e/world/items/Flame Tongue.md +0 -8
- package/systems/5e/world/items/Flask or Tankard.md +0 -6
- package/systems/5e/world/items/Flute.md +0 -8
- package/systems/5e/world/items/Folding Boat.md +0 -15
- package/systems/5e/world/items/Forgery Kit.md +0 -8
- package/systems/5e/world/items/Frost Brand.md +0 -13
- package/systems/5e/world/items/Galley.md +0 -6
- package/systems/5e/world/items/Gauntlets of Ogre Power.md +0 -9
- package/systems/5e/world/items/Gem of Brightness.md +0 -14
- package/systems/5e/world/items/Gem of Seeing.md +0 -11
- package/systems/5e/world/items/Giant Slayer.md +0 -9
- package/systems/5e/world/items/Glaive.md +0 -11
- package/systems/5e/world/items/Glamoured Studded Leather.md +0 -7
- package/systems/5e/world/items/Glass Bottle.md +0 -7
- package/systems/5e/world/items/Glassblower's Tools.md +0 -8
- package/systems/5e/world/items/Gloves of Missile Snaring.md +0 -8
- package/systems/5e/world/items/Gloves of Swimming and Climbing.md +0 -8
- package/systems/5e/world/items/Goggles of Night.md +0 -7
- package/systems/5e/world/items/Grappling Hook.md +0 -6
- package/systems/5e/world/items/Greataxe.md +0 -11
- package/systems/5e/world/items/Greatclub.md +0 -11
- package/systems/5e/world/items/Greatsword.md +0 -11
- package/systems/5e/world/items/Halberd.md +0 -11
- package/systems/5e/world/items/Half Plate Armor.md +0 -12
- package/systems/5e/world/items/Hammer of Thunderbolts.md +0 -12
- package/systems/5e/world/items/Hammer.md +0 -6
- package/systems/5e/world/items/Hand Crossbow.md +0 -12
- package/systems/5e/world/items/Handaxe.md +0 -11
- package/systems/5e/world/items/Handy Haversack.md +0 -15
- package/systems/5e/world/items/Hat of Disguise.md +0 -8
- package/systems/5e/world/items/Headband of Intellect.md +0 -9
- package/systems/5e/world/items/Healer's Kit.md +0 -9
- package/systems/5e/world/items/Heavy Crossbow.md +0 -12
- package/systems/5e/world/items/Helm of Brilliance.md +0 -17
- package/systems/5e/world/items/Helm of Comprehending Languages.md +0 -7
- package/systems/5e/world/items/Helm of Telepathy.md +0 -10
- package/systems/5e/world/items/Helm of Teleportation.md +0 -9
- package/systems/5e/world/items/Hempen Rope.md +0 -10
- package/systems/5e/world/items/Herbalism Kit.md +0 -8
- package/systems/5e/world/items/Hide Armor.md +0 -11
- package/systems/5e/world/items/Holy Avenger.md +0 -10
- package/systems/5e/world/items/Holy Water.md +0 -11
- package/systems/5e/world/items/Hooded Lantern.md +0 -9
- package/systems/5e/world/items/Horn of Blasting.md +0 -9
- package/systems/5e/world/items/Horn of Valhalla.md +0 -18
- package/systems/5e/world/items/Horn.md +0 -8
- package/systems/5e/world/items/Horseshoes of Speed.md +0 -7
- package/systems/5e/world/items/Horseshoes of a Zephyr.md +0 -7
- package/systems/5e/world/items/Hourglass.md +0 -6
- package/systems/5e/world/items/Hunting Trap.md +0 -8
- package/systems/5e/world/items/Immovable Rod.md +0 -7
- package/systems/5e/world/items/Ink Pen.md +0 -5
- package/systems/5e/world/items/Ink.md +0 -6
- package/systems/5e/world/items/Instant Fortress.md +0 -13
- package/systems/5e/world/items/Ioun Stone.md +0 -48
- package/systems/5e/world/items/Iron Bands of Binding.md +0 -13
- package/systems/5e/world/items/Iron Flask.md +0 -34
- package/systems/5e/world/items/Iron Pot.md +0 -7
- package/systems/5e/world/items/Iron Spikes.md +0 -8
- package/systems/5e/world/items/Javelin of Lightning.md +0 -9
- package/systems/5e/world/items/Javelin.md +0 -11
- package/systems/5e/world/items/Jeweler's Tools.md +0 -8
- package/systems/5e/world/items/Jug or Pitcher.md +0 -6
- package/systems/5e/world/items/Keelboat.md +0 -8
- package/systems/5e/world/items/Ladder.md +0 -8
- package/systems/5e/world/items/Lamp.md +0 -8
- package/systems/5e/world/items/Lance.md +0 -13
- package/systems/5e/world/items/Lantern of Revealing.md +0 -7
- package/systems/5e/world/items/Leather Armor.md +0 -11
- package/systems/5e/world/items/Leatherworker's Tools.md +0 -8
- package/systems/5e/world/items/Light Crossbow.md +0 -12
- package/systems/5e/world/items/Light Hammer.md +0 -11
- package/systems/5e/world/items/Lock.md +0 -8
- package/systems/5e/world/items/Longbow.md +0 -11
- package/systems/5e/world/items/Longship.md +0 -6
- package/systems/5e/world/items/Longsword.md +0 -11
- package/systems/5e/world/items/Luck Blade.md +0 -12
- package/systems/5e/world/items/Lute.md +0 -8
- package/systems/5e/world/items/Lyre.md +0 -8
- package/systems/5e/world/items/Mace of Disruption.md +0 -10
- package/systems/5e/world/items/Mace of Smiting.md +0 -9
- package/systems/5e/world/items/Mace of Terror.md +0 -11
- package/systems/5e/world/items/Mace.md +0 -10
- package/systems/5e/world/items/Magnifying Glass.md +0 -7
- package/systems/5e/world/items/Manacles.md +0 -8
- package/systems/5e/world/items/Mantle of Spell Resistance.md +0 -8
- package/systems/5e/world/items/Manual of Bodily Health.md +0 -7
- package/systems/5e/world/items/Manual of Gainful Exercise.md +0 -7
- package/systems/5e/world/items/Manual of Golems.md +0 -18
- package/systems/5e/world/items/Manual of Quickness of Action.md +0 -7
- package/systems/5e/world/items/Map or Scroll Case.md +0 -9
- package/systems/5e/world/items/Marvelous Pigments.md +0 -15
- package/systems/5e/world/items/Mason's Tools.md +0 -8
- package/systems/5e/world/items/Maul.md +0 -11
- package/systems/5e/world/items/Medallion of Thoughts.md +0 -9
- package/systems/5e/world/items/Merchant's Scale.md +0 -9
- package/systems/5e/world/items/Mess Kit.md +0 -8
- package/systems/5e/world/items/Military Saddle.md +0 -8
- package/systems/5e/world/items/Miner's Pick.md +0 -7
- package/systems/5e/world/items/Mirror of Life Trapping.md +0 -19
- package/systems/5e/world/items/Mithral Armor.md +0 -7
- package/systems/5e/world/items/Morningstar.md +0 -10
- package/systems/5e/world/items/Navigator's Tools.md +0 -8
- package/systems/5e/world/items/Necklace of Adaptation.md +0 -8
- package/systems/5e/world/items/Necklace of Fireballs.md +0 -9
- package/systems/5e/world/items/Necklace of Prayer Beads.md +0 -19
- package/systems/5e/world/items/Net.md +0 -13
- package/systems/5e/world/items/Nine Lives Stealer.md +0 -10
- package/systems/5e/world/items/Oathbow.md +0 -12
- package/systems/5e/world/items/Oil of Etherealness.md +0 -7
- package/systems/5e/world/items/Oil of Sharpness.md +0 -7
- package/systems/5e/world/items/Oil of Slipperiness.md +0 -9
- package/systems/5e/world/items/Oil.md +0 -9
- package/systems/5e/world/items/Orb of Dragonkind.md +0 -33
- package/systems/5e/world/items/Orb.md +0 -8
- package/systems/5e/world/items/Pack Saddle.md +0 -8
- package/systems/5e/world/items/Padded Armor.md +0 -12
- package/systems/5e/world/items/Painter's Supplies.md +0 -8
- package/systems/5e/world/items/Pan Flute.md +0 -8
- package/systems/5e/world/items/Paper.md +0 -6
- package/systems/5e/world/items/Parchment.md +0 -6
- package/systems/5e/world/items/Pearl of Power.md +0 -8
- package/systems/5e/world/items/Perfume.md +0 -6
- package/systems/5e/world/items/Periapt of Health.md +0 -7
- package/systems/5e/world/items/Periapt of Proof against Poison.md +0 -7
- package/systems/5e/world/items/Periapt of Wound Closure.md +0 -8
- package/systems/5e/world/items/Philter of Love.md +0 -7
- package/systems/5e/world/items/Pike.md +0 -11
- package/systems/5e/world/items/Pipes of Haunting.md +0 -7
- package/systems/5e/world/items/Pipes of the Sewers.md +0 -12
- package/systems/5e/world/items/Piton.md +0 -6
- package/systems/5e/world/items/Plate Armor of Etherealness.md +0 -8
- package/systems/5e/world/items/Plate Armor.md +0 -14
- package/systems/5e/world/items/Playing Card Set.md +0 -7
- package/systems/5e/world/items/Poisoner's Kit.md +0 -8
- package/systems/5e/world/items/Pole.md +0 -8
- package/systems/5e/world/items/Portable Hole.md +0 -16
- package/systems/5e/world/items/Portable Ram.md +0 -9
- package/systems/5e/world/items/Potion of Animal Friendship.md +0 -7
- package/systems/5e/world/items/Potion of Clairvoyance.md +0 -7
- package/systems/5e/world/items/Potion of Climbing.md +0 -7
- package/systems/5e/world/items/Potion of Diminution.md +0 -7
- package/systems/5e/world/items/Potion of Flying.md +0 -7
- package/systems/5e/world/items/Potion of Gaseous Form.md +0 -7
- package/systems/5e/world/items/Potion of Giant Strength.md +0 -17
- package/systems/5e/world/items/Potion of Growth.md +0 -7
- package/systems/5e/world/items/Potion of Healing.md +0 -20
- package/systems/5e/world/items/Potion of Heroism.md +0 -7
- package/systems/5e/world/items/Potion of Invisibility.md +0 -7
- package/systems/5e/world/items/Potion of Mind Reading.md +0 -7
- package/systems/5e/world/items/Potion of Poison.md +0 -9
- package/systems/5e/world/items/Potion of Resistance.md +0 -15
- package/systems/5e/world/items/Potion of Speed.md +0 -7
- package/systems/5e/world/items/Potion of Water Breathing.md +0 -7
- package/systems/5e/world/items/Potter's Tools.md +0 -8
- package/systems/5e/world/items/Pouch.md +0 -8
- package/systems/5e/world/items/Priest's Pack.md +0 -9
- package/systems/5e/world/items/Quarterstaff.md +0 -11
- package/systems/5e/world/items/Quiver.md +0 -8
- package/systems/5e/world/items/Rapier.md +0 -11
- package/systems/5e/world/items/Rations.md +0 -9
- package/systems/5e/world/items/Reliquary.md +0 -8
- package/systems/5e/world/items/Restorative Ointment.md +0 -9
- package/systems/5e/world/items/Riding Saddle.md +0 -8
- package/systems/5e/world/items/Ring Mail.md +0 -11
- package/systems/5e/world/items/Ring of Animal Influence.md +0 -12
- package/systems/5e/world/items/Ring of Djinni Summoning.md +0 -12
- package/systems/5e/world/items/Ring of Elemental Command.md +0 -43
- package/systems/5e/world/items/Ring of Evasion.md +0 -9
- package/systems/5e/world/items/Ring of Feather Falling.md +0 -8
- package/systems/5e/world/items/Ring of Free Action.md +0 -8
- package/systems/5e/world/items/Ring of Invisibility.md +0 -8
- package/systems/5e/world/items/Ring of Jumping.md +0 -8
- package/systems/5e/world/items/Ring of Mind Shielding.md +0 -12
- package/systems/5e/world/items/Ring of Protection.md +0 -10
- package/systems/5e/world/items/Ring of Regeneration.md +0 -8
- package/systems/5e/world/items/Ring of Resistance.md +0 -21
- package/systems/5e/world/items/Ring of Shooting Stars.md +0 -28
- package/systems/5e/world/items/Ring of Spell Storing.md +0 -12
- package/systems/5e/world/items/Ring of Spell Turning.md +0 -8
- package/systems/5e/world/items/Ring of Swimming.md +0 -7
- package/systems/5e/world/items/Ring of Telekinesis.md +0 -8
- package/systems/5e/world/items/Ring of Three Wishes.md +0 -7
- package/systems/5e/world/items/Ring of Warmth.md +0 -9
- package/systems/5e/world/items/Ring of Water Walking.md +0 -7
- package/systems/5e/world/items/Ring of X-ray Vision.md +0 -10
- package/systems/5e/world/items/Ring of the Ram.md +0 -11
- package/systems/5e/world/items/Robe of Eyes.md +0 -16
- package/systems/5e/world/items/Robe of Scintillating Colors.md +0 -9
- package/systems/5e/world/items/Robe of Stars.md +0 -12
- package/systems/5e/world/items/Robe of Useful Items.md +0 -34
- package/systems/5e/world/items/Robe of the Archmagi.md +0 -16
- package/systems/5e/world/items/Robes.md +0 -6
- package/systems/5e/world/items/Rod of Absorption.md +0 -14
- package/systems/5e/world/items/Rod of Alertness.md +0 -16
- package/systems/5e/world/items/Rod of Lordly Might.md +0 -28
- package/systems/5e/world/items/Rod of Rulership.md +0 -8
- package/systems/5e/world/items/Rod of Security.md +0 -11
- package/systems/5e/world/items/Rod.md +0 -8
- package/systems/5e/world/items/Rope of Climbing.md +0 -11
- package/systems/5e/world/items/Rope of Entanglement.md +0 -11
- package/systems/5e/world/items/Rowboat.md +0 -8
- package/systems/5e/world/items/Sack.md +0 -6
- package/systems/5e/world/items/Saddlebags.md +0 -6
- package/systems/5e/world/items/Sailing Ship.md +0 -6
- package/systems/5e/world/items/Scale Mail.md +0 -11
- package/systems/5e/world/items/Scarab of Protection.md +0 -12
- package/systems/5e/world/items/Scholar's Pack.md +0 -9
- package/systems/5e/world/items/Scimitar of Speed.md +0 -8
- package/systems/5e/world/items/Scimitar.md +0 -11
- package/systems/5e/world/items/Sealing Wax.md +0 -5
- package/systems/5e/world/items/Shawm.md +0 -8
- package/systems/5e/world/items/Shield of Missile Attraction.md +0 -11
- package/systems/5e/world/items/Shield, +1, +2, or +3.md +0 -7
- package/systems/5e/world/items/Shield.md +0 -10
- package/systems/5e/world/items/Shortbow.md +0 -11
- package/systems/5e/world/items/Shortsword.md +0 -11
- package/systems/5e/world/items/Shovel.md +0 -6
- package/systems/5e/world/items/Sickle.md +0 -11
- package/systems/5e/world/items/Signal Whistle.md +0 -5
- package/systems/5e/world/items/Signet Ring.md +0 -5
- package/systems/5e/world/items/Silk Rope.md +0 -10
- package/systems/5e/world/items/Sled.md +0 -6
- package/systems/5e/world/items/Sledgehammer.md +0 -7
- package/systems/5e/world/items/Sling Bullets.md +0 -8
- package/systems/5e/world/items/Sling.md +0 -10
- package/systems/5e/world/items/Slippers of Spider Climbing.md +0 -8
- package/systems/5e/world/items/Smith's Tools.md +0 -8
- package/systems/5e/world/items/Soap.md +0 -5
- package/systems/5e/world/items/Sovereign Glue.md +0 -9
- package/systems/5e/world/items/Spear.md +0 -11
- package/systems/5e/world/items/Spell Scroll.md +0 -28
- package/systems/5e/world/items/Spellbook.md +0 -8
- package/systems/5e/world/items/Spellguard Shield.md +0 -8
- package/systems/5e/world/items/Sphere of Annihilation.md +0 -21
- package/systems/5e/world/items/Splint Armor.md +0 -14
- package/systems/5e/world/items/Sprig of Mistletoe.md +0 -7
- package/systems/5e/world/items/Spyglass.md +0 -8
- package/systems/5e/world/items/Staff of Charming.md +0 -12
- package/systems/5e/world/items/Staff of Fire.md +0 -14
- package/systems/5e/world/items/Staff of Frost.md +0 -14
- package/systems/5e/world/items/Staff of Healing.md +0 -11
- package/systems/5e/world/items/Staff of Power.md +0 -28
- package/systems/5e/world/items/Staff of Striking.md +0 -11
- package/systems/5e/world/items/Staff of Swarming Insects.md +0 -13
- package/systems/5e/world/items/Staff of Thunder and Lightning.md +0 -18
- package/systems/5e/world/items/Staff of Withering.md +0 -11
- package/systems/5e/world/items/Staff of the Magi.md +0 -28
- package/systems/5e/world/items/Staff of the Python.md +0 -12
- package/systems/5e/world/items/Staff of the Woodlands.md +0 -17
- package/systems/5e/world/items/Staff.md +0 -8
- package/systems/5e/world/items/Steel Mirror.md +0 -7
- package/systems/5e/world/items/Stone of Controlling Earth Elementals.md +0 -7
- package/systems/5e/world/items/Stone of Good Luck.md +0 -12
- package/systems/5e/world/items/Studded Leather Armor.md +0 -11
- package/systems/5e/world/items/Sun Blade.md +0 -12
- package/systems/5e/world/items/Sword of Life Stealing.md +0 -8
- package/systems/5e/world/items/Sword of Sharpness.md +0 -12
- package/systems/5e/world/items/Sword of Wounding.md +0 -10
- package/systems/5e/world/items/Talisman of Pure Good.md +0 -13
- package/systems/5e/world/items/Talisman of Ultimate Evil.md +0 -13
- package/systems/5e/world/items/Talisman of the Sphere.md +0 -8
- package/systems/5e/world/items/Thieves' Tools.md +0 -8
- package/systems/5e/world/items/Tinderbox.md +0 -8
- package/systems/5e/world/items/Tinker's Tools.md +0 -8
- package/systems/5e/world/items/Tome of Clear Thought.md +0 -7
- package/systems/5e/world/items/Tome of Leadership and Influence.md +0 -7
- package/systems/5e/world/items/Tome of Understanding.md +0 -7
- package/systems/5e/world/items/Torch.md +0 -8
- package/systems/5e/world/items/Totem.md +0 -7
- package/systems/5e/world/items/Traveler's Clothes.md +0 -7
- package/systems/5e/world/items/Trident of Fish Command.md +0 -9
- package/systems/5e/world/items/Trident.md +0 -11
- package/systems/5e/world/items/Two-Person Tent.md +0 -9
- package/systems/5e/world/items/Unarmed Strike.md +0 -8
- package/systems/5e/world/items/Universal Solvent.md +0 -7
- package/systems/5e/world/items/Vial.md +0 -5
- package/systems/5e/world/items/Vicious Weapon.md +0 -7
- package/systems/5e/world/items/Viol.md +0 -8
- package/systems/5e/world/items/Vorpal Sword.md +0 -10
- package/systems/5e/world/items/Wagon.md +0 -6
- package/systems/5e/world/items/Wand of Binding.md +0 -13
- package/systems/5e/world/items/Wand of Enemy Detection.md +0 -11
- package/systems/5e/world/items/Wand of Fear.md +0 -13
- package/systems/5e/world/items/Wand of Fireballs.md +0 -11
- package/systems/5e/world/items/Wand of Lightning Bolts.md +0 -11
- package/systems/5e/world/items/Wand of Magic Detection.md +0 -8
- package/systems/5e/world/items/Wand of Magic Missiles.md +0 -10
- package/systems/5e/world/items/Wand of Paralysis.md +0 -11
- package/systems/5e/world/items/Wand of Polymorph.md +0 -11
- package/systems/5e/world/items/Wand of Secrets.md +0 -8
- package/systems/5e/world/items/Wand of Web.md +0 -11
- package/systems/5e/world/items/Wand of Wonder.md +0 -40
- package/systems/5e/world/items/Wand of the War Mage, +1, +2, or +3.md +0 -8
- package/systems/5e/world/items/Wand.md +0 -8
- package/systems/5e/world/items/War Pick.md +0 -10
- package/systems/5e/world/items/Warhammer.md +0 -11
- package/systems/5e/world/items/Warship.md +0 -6
- package/systems/5e/world/items/Waterskin.md +0 -6
- package/systems/5e/world/items/Weapon, +1, +2, or +3.md +0 -7
- package/systems/5e/world/items/Weaver's Tools.md +0 -8
- package/systems/5e/world/items/Well of Many Worlds.md +0 -9
- package/systems/5e/world/items/Whetstone.md +0 -6
- package/systems/5e/world/items/Whip.md +0 -11
- package/systems/5e/world/items/Wind Fan.md +0 -7
- package/systems/5e/world/items/Winged Boots.md +0 -10
- package/systems/5e/world/items/Wings of Flying.md +0 -8
- package/systems/5e/world/items/Woodcarver's Tools.md +0 -8
- package/systems/5e/world/items/Wooden Staff.md +0 -8
- package/systems/5e/world/items/Yew Wand.md +0 -8
- package/systems/5e/world/topics/Acid Arrow.md +0 -14
- package/systems/5e/world/topics/Acid Splash.md +0 -14
- package/systems/5e/world/topics/Acolyte (background).md +0 -103
- package/systems/5e/world/topics/Aid.md +0 -14
- package/systems/5e/world/topics/Alarm.md +0 -17
- package/systems/5e/world/topics/Alter Self.md +0 -19
- package/systems/5e/world/topics/Animal Friendship.md +0 -14
- package/systems/5e/world/topics/Animal Messenger.md +0 -17
- package/systems/5e/world/topics/Animal Shapes.md +0 -17
- package/systems/5e/world/topics/Animate Dead.md +0 -18
- package/systems/5e/world/topics/Animate Objects.md +0 -31
- package/systems/5e/world/topics/Antilife Shell.md +0 -17
- package/systems/5e/world/topics/Antimagic Field.md +0 -31
- package/systems/5e/world/topics/Antipathy-Sympathy.md +0 -23
- package/systems/5e/world/topics/Arcane Eye.md +0 -17
- package/systems/5e/world/topics/Arcane Hand.md +0 -27
- package/systems/5e/world/topics/Arcane Lock.md +0 -14
- package/systems/5e/world/topics/Arcane Sword.md +0 -15
- package/systems/5e/world/topics/Arcanist's Magic Aura.md +0 -18
- package/systems/5e/world/topics/Astral Projection.md +0 -22
- package/systems/5e/world/topics/Augury.md +0 -22
- package/systems/5e/world/topics/Awaken.md +0 -14
- package/systems/5e/world/topics/Bane.md +0 -15
- package/systems/5e/world/topics/Banishment.md +0 -19
- package/systems/5e/world/topics/Barbarian.md +0 -123
- package/systems/5e/world/topics/Bard Spells.md +0 -147
- package/systems/5e/world/topics/Bard.md +0 -139
- package/systems/5e/world/topics/Barkskin.md +0 -13
- package/systems/5e/world/topics/Beacon of Hope.md +0 -13
- package/systems/5e/world/topics/Bestow Curse.md +0 -22
- package/systems/5e/world/topics/Black Tentacles.md +0 -17
- package/systems/5e/world/topics/Blade Barrier.md +0 -15
- package/systems/5e/world/topics/Bless.md +0 -15
- package/systems/5e/world/topics/Blight.md +0 -18
- package/systems/5e/world/topics/Blindness-Deafness.md +0 -15
- package/systems/5e/world/topics/Blink.md +0 -14
- package/systems/5e/world/topics/Blur.md +0 -13
- package/systems/5e/world/topics/Branding Smite.md +0 -15
- package/systems/5e/world/topics/Burning Hands.md +0 -16
- package/systems/5e/world/topics/Call Lightning.md +0 -19
- package/systems/5e/world/topics/Calm Emotions.md +0 -17
- package/systems/5e/world/topics/Chain Lightning.md +0 -16
- package/systems/5e/world/topics/Champion.md +0 -24
- package/systems/5e/world/topics/Charm Person.md +0 -14
- package/systems/5e/world/topics/Chill Touch.md +0 -16
- package/systems/5e/world/topics/Circle of Death.md +0 -14
- package/systems/5e/world/topics/Circle of the Land.md +0 -96
- package/systems/5e/world/topics/Clairvoyance.md +0 -17
- package/systems/5e/world/topics/Cleric Spells.md +0 -140
- package/systems/5e/world/topics/Cleric.md +0 -141
- package/systems/5e/world/topics/Clone.md +0 -14
- package/systems/5e/world/topics/Cloudkill.md +0 -19
- package/systems/5e/world/topics/College of Lore.md +0 -23
- package/systems/5e/world/topics/Color Spray.md +0 -16
- package/systems/5e/world/topics/Command.md +0 -26
- package/systems/5e/world/topics/Commune with Nature.md +0 -23
- package/systems/5e/world/topics/Commune.md +0 -17
- package/systems/5e/world/topics/Comprehend Languages.md +0 -15
- package/systems/5e/world/topics/Compulsion.md +0 -15
- package/systems/5e/world/topics/Cone of Cold.md +0 -16
- package/systems/5e/world/topics/Confusion.md +0 -26
- package/systems/5e/world/topics/Conjure Animals.md +0 -26
- package/systems/5e/world/topics/Conjure Celestial.md +0 -19
- package/systems/5e/world/topics/Conjure Elemental.md +0 -21
- package/systems/5e/world/topics/Conjure Fey.md +0 -21
- package/systems/5e/world/topics/Conjure Minor Elementals.md +0 -26
- package/systems/5e/world/topics/Conjure Woodland Beings.md +0 -26
- package/systems/5e/world/topics/Contact Other Plane.md +0 -15
- package/systems/5e/world/topics/Contagion.md +0 -28
- package/systems/5e/world/topics/Contingency.md +0 -16
- package/systems/5e/world/topics/Continual Flame.md +0 -12
- package/systems/5e/world/topics/Control Water.md +0 -29
- package/systems/5e/world/topics/Control Weather.md +0 -48
- package/systems/5e/world/topics/Counterspell.md +0 -14
- package/systems/5e/world/topics/Create Food and Water.md +0 -12
- package/systems/5e/world/topics/Create Undead.md +0 -18
- package/systems/5e/world/topics/Create or Destroy Water.md +0 -18
- package/systems/5e/world/topics/Creation.md +0 -26
- package/systems/5e/world/topics/Cure Wounds.md +0 -14
- package/systems/5e/world/topics/Dancing Lights.md +0 -15
- package/systems/5e/world/topics/Darkness.md +0 -17
- package/systems/5e/world/topics/Darkvision.md +0 -12
- package/systems/5e/world/topics/Daylight.md +0 -16
- package/systems/5e/world/topics/Death Ward.md +0 -16
- package/systems/5e/world/topics/Delayed Blast Fireball.md +0 -21
- package/systems/5e/world/topics/Demiplane.md +0 -14
- package/systems/5e/world/topics/Detect Evil and Good.md +0 -15
- package/systems/5e/world/topics/Detect Magic.md +0 -16
- package/systems/5e/world/topics/Detect Poison and Disease.md +0 -16
- package/systems/5e/world/topics/Detect Thoughts.md +0 -21
- package/systems/5e/world/topics/Dimension Door.md +0 -16
- package/systems/5e/world/topics/Disguise Self.md +0 -16
- package/systems/5e/world/topics/Disintegrate.md +0 -20
- package/systems/5e/world/topics/Dispel Evil and Good.md +0 -19
- package/systems/5e/world/topics/Dispel Magic.md +0 -14
- package/systems/5e/world/topics/Divination.md +0 -17
- package/systems/5e/world/topics/Divine Favor.md +0 -13
- package/systems/5e/world/topics/Divine Word.md +0 -19
- package/systems/5e/world/topics/Dominate Beast.md +0 -21
- package/systems/5e/world/topics/Dominate Monster.md +0 -21
- package/systems/5e/world/topics/Dominate Person.md +0 -21
- package/systems/5e/world/topics/Draconic Bloodline.md +0 -43
- package/systems/5e/world/topics/Dream.md +0 -18
- package/systems/5e/world/topics/Druid Spells.md +0 -140
- package/systems/5e/world/topics/Druid.md +0 -146
- package/systems/5e/world/topics/Druidcraft.md +0 -17
- package/systems/5e/world/topics/Earthquake.md +0 -25
- package/systems/5e/world/topics/Eldritch Blast.md +0 -14
- package/systems/5e/world/topics/Enhance Ability.md +0 -27
- package/systems/5e/world/topics/Enlarge-Reduce.md +0 -20
- package/systems/5e/world/topics/Entangle.md +0 -17
- package/systems/5e/world/topics/Enthrall.md +0 -12
- package/systems/5e/world/topics/Etherealness.md +0 -22
- package/systems/5e/world/topics/Expeditious Retreat.md +0 -13
- package/systems/5e/world/topics/Eyebite.md +0 -19
- package/systems/5e/world/topics/Fabricate.md +0 -16
- package/systems/5e/world/topics/Faerie Fire.md +0 -15
- package/systems/5e/world/topics/Faithful Hound.md +0 -16
- package/systems/5e/world/topics/False Life.md +0 -14
- package/systems/5e/world/topics/Fear.md +0 -15
- package/systems/5e/world/topics/Feather Fall.md +0 -12
- package/systems/5e/world/topics/Feeblemind.md +0 -18
- package/systems/5e/world/topics/Fighter.md +0 -109
- package/systems/5e/world/topics/Find Familiar.md +0 -25
- package/systems/5e/world/topics/Find Steed.md +0 -20
- package/systems/5e/world/topics/Find Traps.md +0 -14
- package/systems/5e/world/topics/Find the Path.md +0 -15
- package/systems/5e/world/topics/Finger of Death.md +0 -14
- package/systems/5e/world/topics/Fire Bolt.md +0 -14
- package/systems/5e/world/topics/Fire Shield.md +0 -16
- package/systems/5e/world/topics/Fire Storm.md +0 -14
- package/systems/5e/world/topics/Fireball.md +0 -16
- package/systems/5e/world/topics/Flame Blade.md +0 -19
- package/systems/5e/world/topics/Flame Strike.md +0 -14
- package/systems/5e/world/topics/Flaming Sphere.md +0 -19
- package/systems/5e/world/topics/Flesh to Stone.md +0 -19
- package/systems/5e/world/topics/Floating Disk.md +0 -17
- package/systems/5e/world/topics/Fly.md +0 -15
- package/systems/5e/world/topics/Fog Cloud.md +0 -15
- package/systems/5e/world/topics/Forbiddance.md +0 -19
- package/systems/5e/world/topics/Forcecage.md +0 -22
- package/systems/5e/world/topics/Foresight.md +0 -14
- package/systems/5e/world/topics/Freedom of Movement.md +0 -14
- package/systems/5e/world/topics/Freezing Sphere.md +0 -18
- package/systems/5e/world/topics/Gaseous Form.md +0 -17
- package/systems/5e/world/topics/Gate.md +0 -19
- package/systems/5e/world/topics/Geas.md +0 -18
- package/systems/5e/world/topics/Gentle Repose.md +0 -15
- package/systems/5e/world/topics/Giant Insect.md +0 -19
- package/systems/5e/world/topics/Glibness.md +0 -12
- package/systems/5e/world/topics/Globe of Invulnerability.md +0 -17
- package/systems/5e/world/topics/Glyph of Warding.md +0 -26
- package/systems/5e/world/topics/Goodberry.md +0 -14
- package/systems/5e/world/topics/Grappler.md +0 -17
- package/systems/5e/world/topics/Grease.md +0 -14
- package/systems/5e/world/topics/Greater Invisibility.md +0 -13
- package/systems/5e/world/topics/Greater Restoration.md +0 -17
- package/systems/5e/world/topics/Guardian of Faith.md +0 -14
- package/systems/5e/world/topics/Guards and Wards.md +0 -34
- package/systems/5e/world/topics/Guidance.md +0 -13
- package/systems/5e/world/topics/Guiding Bolt.md +0 -14
- package/systems/5e/world/topics/Gust of Wind.md +0 -19
- package/systems/5e/world/topics/Hallow.md +0 -36
- package/systems/5e/world/topics/Hallucinatory Terrain.md +0 -14
- package/systems/5e/world/topics/Harm.md +0 -12
- package/systems/5e/world/topics/Haste.md +0 -15
- package/systems/5e/world/topics/Heal.md +0 -14
- package/systems/5e/world/topics/Healing Word.md +0 -14
- package/systems/5e/world/topics/Heat Metal.md +0 -17
- package/systems/5e/world/topics/Hellish Rebuke.md +0 -14
- package/systems/5e/world/topics/Heroes' Feast.md +0 -14
- package/systems/5e/world/topics/Heroism.md +0 -15
- package/systems/5e/world/topics/Hideous Laughter.md +0 -15
- package/systems/5e/world/topics/Hold Monster.md +0 -15
- package/systems/5e/world/topics/Hold Person.md +0 -15
- package/systems/5e/world/topics/Holy Aura.md +0 -13
- package/systems/5e/world/topics/Hunter's Mark.md +0 -15
- package/systems/5e/world/topics/Hunter.md +0 -41
- package/systems/5e/world/topics/Hypnotic Pattern.md +0 -15
- package/systems/5e/world/topics/Ice Storm.md +0 -16
- package/systems/5e/world/topics/Identify.md +0 -15
- package/systems/5e/world/topics/Illusory Script.md +0 -19
- package/systems/5e/world/topics/Imprisonment.md +0 -38
- package/systems/5e/world/topics/Incendiary Cloud.md +0 -17
- package/systems/5e/world/topics/Inflict Wounds.md +0 -14
- package/systems/5e/world/topics/Insect Plague.md +0 -17
- package/systems/5e/world/topics/Instant Summons.md +0 -19
- package/systems/5e/world/topics/Invisibility.md +0 -15
- package/systems/5e/world/topics/Irresistible Dance.md +0 -15
- package/systems/5e/world/topics/Jump.md +0 -12
- package/systems/5e/world/topics/Knock.md +0 -18
- package/systems/5e/world/topics/Legend Lore.md +0 -14
- package/systems/5e/world/topics/Lesser Restoration.md +0 -12
- package/systems/5e/world/topics/Levitate.md +0 -17
- package/systems/5e/world/topics/Life Domain.md +0 -38
- package/systems/5e/world/topics/Light.md +0 -14
- package/systems/5e/world/topics/Lightning Bolt.md +0 -16
- package/systems/5e/world/topics/Locate Animals or Plants.md +0 -13
- package/systems/5e/world/topics/Locate Creature.md +0 -17
- package/systems/5e/world/topics/Locate Object.md +0 -17
- package/systems/5e/world/topics/Longstrider.md +0 -14
- package/systems/5e/world/topics/Mage Armor.md +0 -12
- package/systems/5e/world/topics/Mage Hand.md +0 -16
- package/systems/5e/world/topics/Magic Circle.md +0 -22
- package/systems/5e/world/topics/Magic Jar.md +0 -24
- package/systems/5e/world/topics/Magic Missile.md +0 -14
- package/systems/5e/world/topics/Magic Mouth.md +0 -17
- package/systems/5e/world/topics/Magic Weapon.md +0 -15
- package/systems/5e/world/topics/Magnificent Mansion.md +0 -16
- package/systems/5e/world/topics/Major Image.md +0 -19
- package/systems/5e/world/topics/Mass Cure Wounds.md +0 -14
- package/systems/5e/world/topics/Mass Heal.md +0 -12
- package/systems/5e/world/topics/Mass Healing Word.md +0 -14
- package/systems/5e/world/topics/Mass Suggestion.md +0 -20
- package/systems/5e/world/topics/Maze.md +0 -17
- package/systems/5e/world/topics/Meld into Stone.md +0 -17
- package/systems/5e/world/topics/Mending.md +0 -14
- package/systems/5e/world/topics/Message.md +0 -14
- package/systems/5e/world/topics/Meteor Swarm.md +0 -14
- package/systems/5e/world/topics/Mind Blank.md +0 -12
- package/systems/5e/world/topics/Minor Illusion.md +0 -18
- package/systems/5e/world/topics/Mirage Arcane.md +0 -18
- package/systems/5e/world/topics/Mirror Image.md +0 -20
- package/systems/5e/world/topics/Mislead.md +0 -17
- package/systems/5e/world/topics/Misty Step.md +0 -12
- package/systems/5e/world/topics/Modify Memory.md +0 -23
- package/systems/5e/world/topics/Monk.md +0 -153
- package/systems/5e/world/topics/Moonbeam.md +0 -21
- package/systems/5e/world/topics/Move Earth.md +0 -21
- package/systems/5e/world/topics/Nondetection.md +0 -12
- package/systems/5e/world/topics/Oath of Devotion.md +0 -62
- package/systems/5e/world/topics/Paladin Spells.md +0 -51
- package/systems/5e/world/topics/Paladin.md +0 -173
- package/systems/5e/world/topics/Pass without Trace.md +0 -13
- package/systems/5e/world/topics/Passwall.md +0 -14
- package/systems/5e/world/topics/Path of the Berserker.md +0 -21
- package/systems/5e/world/topics/Phantasmal Killer.md +0 -15
- package/systems/5e/world/topics/Phantom Steed.md +0 -15
- package/systems/5e/world/topics/Planar Ally.md +0 -22
- package/systems/5e/world/topics/Planar Binding.md +0 -16
- package/systems/5e/world/topics/Plane Shift.md +0 -16
- package/systems/5e/world/topics/Plant Growth.md +0 -18
- package/systems/5e/world/topics/Poison Spray.md +0 -14
- package/systems/5e/world/topics/Polymorph.md +0 -21
- package/systems/5e/world/topics/Power Word Kill.md +0 -12
- package/systems/5e/world/topics/Power Word Stun.md +0 -14
- package/systems/5e/world/topics/Prayer of Healing.md +0 -14
- package/systems/5e/world/topics/Prestidigitation.md +0 -21
- package/systems/5e/world/topics/Prismatic Spray.md +0 -28
- package/systems/5e/world/topics/Prismatic Wall.md +0 -34
- package/systems/5e/world/topics/Private Sanctum.md +0 -25
- package/systems/5e/world/topics/Produce Flame.md +0 -16
- package/systems/5e/world/topics/Programmed Illusion.md +0 -18
- package/systems/5e/world/topics/Project Image.md +0 -19
- package/systems/5e/world/topics/Protection from Energy.md +0 -13
- package/systems/5e/world/topics/Protection from Evil and Good.md +0 -15
- package/systems/5e/world/topics/Protection from Poison.md +0 -14
- package/systems/5e/world/topics/Purify Food and Drink.md +0 -13
- package/systems/5e/world/topics/Raise Dead.md +0 -18
- package/systems/5e/world/topics/Ranger Spells.md +0 -57
- package/systems/5e/world/topics/Ranger.md +0 -162
- package/systems/5e/world/topics/Ray of Enfeeblement.md +0 -15
- package/systems/5e/world/topics/Ray of Frost.md +0 -14
- package/systems/5e/world/topics/Regenerate.md +0 -14
- package/systems/5e/world/topics/Reincarnate.md +0 -33
- package/systems/5e/world/topics/Remove Curse.md +0 -12
- package/systems/5e/world/topics/Resilient Sphere.md +0 -19
- package/systems/5e/world/topics/Resistance.md +0 -13
- package/systems/5e/world/topics/Resurrection.md +0 -20
- package/systems/5e/world/topics/Reverse Gravity.md +0 -17
- package/systems/5e/world/topics/Revivify.md +0 -12
- package/systems/5e/world/topics/Rogue.md +0 -114
- package/systems/5e/world/topics/Rope Trick.md +0 -18
- package/systems/5e/world/topics/Sacred Flame.md +0 -14
- package/systems/5e/world/topics/Sanctuary.md +0 -14
- package/systems/5e/world/topics/School of Evocation.md +0 -24
- package/systems/5e/world/topics/Scorching Ray.md +0 -16
- package/systems/5e/world/topics/Scrying.md +0 -31
- package/systems/5e/world/topics/Secret Chest.md +0 -16
- package/systems/5e/world/topics/See Invisibility.md +0 -12
- package/systems/5e/world/topics/Seeming.md +0 -18
- package/systems/5e/world/topics/Sending.md +0 -14
- package/systems/5e/world/topics/Sequester.md +0 -16
- package/systems/5e/world/topics/Shapechange.md +0 -23
- package/systems/5e/world/topics/Shatter.md +0 -16
- package/systems/5e/world/topics/Shield (spell).md +0 -13
- package/systems/5e/world/topics/Shield of Faith.md +0 -13
- package/systems/5e/world/topics/Shillelagh.md +0 -12
- package/systems/5e/world/topics/Shocking Grasp.md +0 -14
- package/systems/5e/world/topics/Silence.md +0 -14
- package/systems/5e/world/topics/Silent Image.md +0 -17
- package/systems/5e/world/topics/Simulacrum.md +0 -18
- package/systems/5e/world/topics/Sleep.md +0 -18
- package/systems/5e/world/topics/Sleet Storm.md +0 -17
- package/systems/5e/world/topics/Slow.md +0 -19
- package/systems/5e/world/topics/Sorcerer Spells.md +0 -155
- package/systems/5e/world/topics/Sorcerer.md +0 -166
- package/systems/5e/world/topics/Spare the Dying.md +0 -12
- package/systems/5e/world/topics/Speak with Animals.md +0 -13
- package/systems/5e/world/topics/Speak with Dead.md +0 -14
- package/systems/5e/world/topics/Speak with Plants.md +0 -20
- package/systems/5e/world/topics/Spider Climb.md +0 -13
- package/systems/5e/world/topics/Spike Growth.md +0 -15
- package/systems/5e/world/topics/Spirit Guardians.md +0 -17
- package/systems/5e/world/topics/Spiritual Weapon.md +0 -18
- package/systems/5e/world/topics/Stinking Cloud.md +0 -17
- package/systems/5e/world/topics/Stone Shape.md +0 -12
- package/systems/5e/world/topics/Stoneskin.md +0 -13
- package/systems/5e/world/topics/Storm of Vengeance.md +0 -23
- package/systems/5e/world/topics/Suggestion.md +0 -19
- package/systems/5e/world/topics/Sunbeam.md +0 -17
- package/systems/5e/world/topics/Sunburst.md +0 -16
- package/systems/5e/world/topics/Symbol.md +0 -36
- package/systems/5e/world/topics/Telekinesis.md +0 -23
- package/systems/5e/world/topics/Telepathic Bond.md +0 -15
- package/systems/5e/world/topics/Teleport.md +0 -38
- package/systems/5e/world/topics/Teleportation Circle.md +0 -16
- package/systems/5e/world/topics/Thaumaturgy.md +0 -21
- package/systems/5e/world/topics/The Fiend.md +0 -47
- package/systems/5e/world/topics/Thief.md +0 -24
- package/systems/5e/world/topics/Thunderwave.md +0 -16
- package/systems/5e/world/topics/Time Stop.md +0 -14
- package/systems/5e/world/topics/Tiny Hut.md +0 -17
- package/systems/5e/world/topics/Tongues.md +0 -12
- package/systems/5e/world/topics/Transport via Plants.md +0 -12
- package/systems/5e/world/topics/Tree Stride.md +0 -15
- package/systems/5e/world/topics/True Polymorph.md +0 -29
- package/systems/5e/world/topics/True Resurrection.md +0 -16
- package/systems/5e/world/topics/True Seeing.md +0 -12
- package/systems/5e/world/topics/True Strike.md +0 -13
- package/systems/5e/world/topics/Unseen Servant.md +0 -17
- package/systems/5e/world/topics/Vampiric Touch.md +0 -15
- package/systems/5e/world/topics/Vicious Mockery.md +0 -14
- package/systems/5e/world/topics/Wall of Fire.md +0 -19
- package/systems/5e/world/topics/Wall of Force.md +0 -15
- package/systems/5e/world/topics/Wall of Ice.md +0 -19
- package/systems/5e/world/topics/Wall of Stone.md +0 -23
- package/systems/5e/world/topics/Wall of Thorns.md +0 -19
- package/systems/5e/world/topics/Warding Bond.md +0 -14
- package/systems/5e/world/topics/Warlock Spells.md +0 -99
- package/systems/5e/world/topics/Warlock.md +0 -283
- package/systems/5e/world/topics/Water Breathing.md +0 -13
- package/systems/5e/world/topics/Water Walk.md +0 -15
- package/systems/5e/world/topics/Way of the Open Hand.md +0 -25
- package/systems/5e/world/topics/Web.md +0 -21
- package/systems/5e/world/topics/Weird.md +0 -13
- package/systems/5e/world/topics/Wind Walk.md +0 -14
- package/systems/5e/world/topics/Wind Wall.md +0 -17
- package/systems/5e/world/topics/Wish.md +0 -26
- package/systems/5e/world/topics/Wizard Spells.md +0 -239
- package/systems/5e/world/topics/Wizard.md +0 -141
- package/systems/5e/world/topics/Word of Recall.md +0 -14
- package/systems/5e/world/topics/Zone of Truth.md +0 -14
- /package/dist/{cli.d.ts → cli/cli.d.ts} +0 -0
- /package/dist/{library-reader.d.ts → commands/shared/library-reader.d.ts} +0 -0
- /package/dist/commands/{notes.d.ts → shared/notes.d.ts} +0 -0
- /package/dist/commands/{notes.js → shared/notes.js} +0 -0
- /package/dist/dashboard/{guide-markdown.js → help/markdown.js} +0 -0
- /package/dist/dashboard/{pack-card.js → packages/card.js} +0 -0
- /package/dist/dashboard/{people.js → packages/people.js} +0 -0
- /package/dist/dashboard/{place-map.js → place/map.js} +0 -0
- /package/dist/dashboard/{calendar.js → world/days.js} +0 -0
- /package/dist/{pictures → helpers}/briefs.d.ts +0 -0
- /package/dist/{pictures → helpers}/chosen.d.ts +0 -0
- /package/dist/{pictures → helpers}/chosen.js +0 -0
- /package/dist/{pictures → helpers}/claude.d.ts +0 -0
- /package/dist/{pictures → helpers}/codex.d.ts +0 -0
- /package/dist/{pictures → helpers}/stop.d.ts +0 -0
- /package/dist/{pictures → helpers}/stop.js +0 -0
- /package/dist/{pictures → helpers}/svg.d.ts +0 -0
- /package/dist/{pictures → helpers}/svg.js +0 -0
- /package/dist/{extensions → packages}/tarball.d.ts +0 -0
- /package/dist/{extensions → packages}/tarball.js +0 -0
- /package/dist/{bell-listener.d.ts → server/bell-listener.d.ts} +0 -0
- /package/dist/{player-acts.d.ts → server/player-acts.d.ts} +0 -0
- /package/dist/{player-acts.js → server/player-acts.js} +0 -0
|
@@ -0,0 +1,745 @@
|
|
|
1
|
+
var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {
|
|
2
|
+
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
3
|
+
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
|
4
|
+
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
|
5
|
+
});
|
|
6
|
+
}
|
|
7
|
+
return path;
|
|
8
|
+
};
|
|
9
|
+
// The code of the campaign's packages, its game system's and its extensions', with one contract (D-63, D-428, D-436, D-514): their commands, what they do
|
|
10
|
+
// when time passes, and the game they reach it through.
|
|
11
|
+
import { join } from "node:path";
|
|
12
|
+
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
13
|
+
import { parse, stringify } from "yaml";
|
|
14
|
+
import { z } from "zod";
|
|
15
|
+
import { campaignFileName, findCampaign, readTextSetting, requireCampaign } from "../../../campaign/index.js";
|
|
16
|
+
import { installedFromFolder, realPath } from "../../../core/files.js";
|
|
17
|
+
import { parseFormula } from "../../../core/formula.js";
|
|
18
|
+
import { appendLogEntry } from "../../../core/log.js";
|
|
19
|
+
import { commandLineFieldProblem, defineCommand } from "../../../core/registry.js";
|
|
20
|
+
import { files } from "../../../core/store.js";
|
|
21
|
+
import { sameName, sameWord, valueNamed } from "../../../core/text.js";
|
|
22
|
+
import { getVersion } from "../../../core/version.js";
|
|
23
|
+
import { readCounter } from "../../../counters/index.js";
|
|
24
|
+
import { rollDice } from "../../../dice/index.js";
|
|
25
|
+
import { withEffect } from "../../../effects/index.js";
|
|
26
|
+
import { wordIn } from "../../../extensions/index.js";
|
|
27
|
+
import { carriesNamed, concernsPlayer, environmentAt, isInParty, isPartyMember, isPlayerCharacter, locate, pagesWithNameOrAlias, playerCharacters } from "../../../pages/index.js";
|
|
28
|
+
import { givenCode, loadSystemCode, systemHasCode, systemPackage, systemPageModule } from "../../../systems/index.js";
|
|
29
|
+
import { formatGameDate } from "../../../time/index.js";
|
|
30
|
+
import { askedRoll, isCheckDice, tonesOf } from "../../ask.js";
|
|
31
|
+
import { change } from "../../change/change.js";
|
|
32
|
+
import { writePackageFields } from "../../write/write.js";
|
|
33
|
+
import { effectiveFields, effectsOf } from "../effect-layer.js";
|
|
34
|
+
import { checkEffectsReadable, saveEffects } from "../effects.js";
|
|
35
|
+
import { behindTheScreen, sealHiddenRoll } from "../master-rolls.js";
|
|
36
|
+
import { keepingConditionNote } from "../reminders.js";
|
|
37
|
+
import { readOpenScene } from "../scene.js";
|
|
38
|
+
import { calendarDayOf, newDatedLogEntry, presentDate } from "../time.js";
|
|
39
|
+
import { formulaValue } from "../worked-out.js";
|
|
40
|
+
import { campaignSystem, campaignSystemWords, campaignWorld } from "../world.js";
|
|
41
|
+
import { campaignExtensions, packageWords, runsCode } from "./extensions.js";
|
|
42
|
+
import { widgetCard } from "./widgets.js";
|
|
43
|
+
/** The folder of the campaign where a package keeps its own files, its state among them (D-433, D-436): an extension's, or its game system's. */
|
|
44
|
+
const extensionsFolderName = "extensions";
|
|
45
|
+
/** The longest description a command of a package may give the master, in words (D-441): it is read in every chat. */
|
|
46
|
+
const descriptionWords = 150;
|
|
47
|
+
// The longest a package's timePassed may take, a question to the player included: past it, or after the call is stopped, the time has passed all the same.
|
|
48
|
+
const longestPackageWait = 10 * 60 * 1000;
|
|
49
|
+
/** The packages that bring code to the campaign (D-514): its game system first, then its extensions in the order campaign.yaml lists them. */
|
|
50
|
+
export function campaignPackages(root, context) {
|
|
51
|
+
const system = campaignSystemPackage(root, context);
|
|
52
|
+
return [...(system === undefined ? [] : [system]), ...campaignExtensions(root, context).extensions];
|
|
53
|
+
}
|
|
54
|
+
/** The campaign's game system as a package of the campaign (D-514): its package.json's name and version, or, for one that is data alone, its name and the engine's version. */
|
|
55
|
+
export function campaignSystemPackage(root, context) {
|
|
56
|
+
const system = campaignSystem(root, context);
|
|
57
|
+
return system === undefined ? undefined : systemCodePackage(system);
|
|
58
|
+
}
|
|
59
|
+
/** A package as messages name it: the game system 5e, the extension weather. */
|
|
60
|
+
export function packageLabel(code) {
|
|
61
|
+
return `${code.kind === "system" ? "game system" : "extension"} ${code.name}`;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The commands of the campaign's packages whose code may run (D-63, D-428, D-441), as commands of rpg-engine: each runs with the game of D-436 and gives the
|
|
65
|
+
* master its text; by name, the package and version that give it, so that a server knows when another takes its place.
|
|
66
|
+
*/
|
|
67
|
+
export async function packageCommands(root, context) {
|
|
68
|
+
const taken = await engineCommandNames();
|
|
69
|
+
const commands = [];
|
|
70
|
+
const sources = {};
|
|
71
|
+
const problems = [];
|
|
72
|
+
for (const code of campaignPackages(root, context)) {
|
|
73
|
+
try {
|
|
74
|
+
const own = [];
|
|
75
|
+
const given = await packageCode(code, context);
|
|
76
|
+
for (const command of given?.commands ?? []) {
|
|
77
|
+
own.push(asCommand(code, command, [...taken, ...commands.map((other) => other.name), ...own.map((other) => other.name)]));
|
|
78
|
+
}
|
|
79
|
+
commands.push(...own);
|
|
80
|
+
own.forEach((command) => (sources[command.name] = `${code.package}@${code.version}#${installs}`));
|
|
81
|
+
refused.delete(codeKey(code));
|
|
82
|
+
}
|
|
83
|
+
catch (error) {
|
|
84
|
+
problems.push(codeProblem(code, error));
|
|
85
|
+
refused.set(codeKey(code), firstLine(error));
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return { commands, sources, problems };
|
|
89
|
+
}
|
|
90
|
+
/** The names of a package's commands, its code loaded and checked as the campaign would use it; it throws what keeps it from being used. */
|
|
91
|
+
export async function packageCommandNames(code, context) {
|
|
92
|
+
const taken = await engineCommandNames();
|
|
93
|
+
const names = [];
|
|
94
|
+
for (const command of (await packageCode(code, context))?.commands ?? []) {
|
|
95
|
+
names.push(asCommand(code, command, [...taken, ...names]).name);
|
|
96
|
+
}
|
|
97
|
+
return names;
|
|
98
|
+
}
|
|
99
|
+
/** Tells the loader npm has just installed: code installed again at the same version is read anew. */
|
|
100
|
+
export function packagesInstalled() {
|
|
101
|
+
installs += 1;
|
|
102
|
+
}
|
|
103
|
+
/** What keeps the code of the campaign's packages from being used, for validate and status: it loads them. */
|
|
104
|
+
export async function packageCodeProblems(root, context) {
|
|
105
|
+
return [...(await packageCommands(root, context)).problems, ...packageStateProblems(root, context)];
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* What the campaign's packages say after time passed from one date to another, or as the game starts, when both are the same (D-436). The time has passed
|
|
109
|
+
* whatever they do: one that fails says so in its line, never in place of the output.
|
|
110
|
+
*/
|
|
111
|
+
export async function timePassedLines(root, context, from, to) {
|
|
112
|
+
const lines = [];
|
|
113
|
+
for (const code of campaignPackages(root, context)) {
|
|
114
|
+
try {
|
|
115
|
+
const given = await packageCode(code, context);
|
|
116
|
+
if (given?.timePassed !== undefined) {
|
|
117
|
+
// Its own stop, which the cap and the call's own stop both give: past either, its game writes nothing more.
|
|
118
|
+
const own = new AbortController();
|
|
119
|
+
const signal = context.signal === undefined ? own.signal : AbortSignal.any([context.signal, own.signal]);
|
|
120
|
+
const game = gameOf(root, { ...context, signal }, code);
|
|
121
|
+
const said = await withinCall(given.timePassed({ from: momentOf(root, context, from), to: momentOf(root, context, to) }, game), signal, () => own.abort());
|
|
122
|
+
if (said !== undefined && (!Array.isArray(said) || !said.every((line) => typeof line === "string"))) {
|
|
123
|
+
throw new Error("its timePassed gave no list of lines, which is what it gives");
|
|
124
|
+
}
|
|
125
|
+
lines.push(...cappedLines(code, (said ?? [])));
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
catch (error) {
|
|
129
|
+
// One line: the master reads it among others; a call the player stopped is no fault of the package's.
|
|
130
|
+
lines.push(error instanceof StoppedCall
|
|
131
|
+
? `The ${packageLabel(code)} gave nothing before the call was stopped. The time did pass: do not advance again.`
|
|
132
|
+
: `The ${packageLabel(code)} failed after the time passed: ${firstLine(error)}. The time did pass: do not advance again; validate says how to fix it.`);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return lines;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* The code of a package, when it may run (D-441, D-514): an extension's module's default export, given the kit, loaded as it is first needed; a game system's
|
|
139
|
+
* as the engine loaded it when it started. It throws why a system's code is not there.
|
|
140
|
+
*/
|
|
141
|
+
export async function packageCode(code, context) {
|
|
142
|
+
if (isExtension(code)) {
|
|
143
|
+
return await extensionCode(code);
|
|
144
|
+
}
|
|
145
|
+
const loaded = context.systemCode?.[code.name];
|
|
146
|
+
// What broke it, without the fix the master reads after a change: the problem says its own.
|
|
147
|
+
if (loaded !== undefined && "problem" in loaded) {
|
|
148
|
+
throw new Error(loaded.problem);
|
|
149
|
+
}
|
|
150
|
+
const state = systemCode(code, context);
|
|
151
|
+
if (typeof state === "string") {
|
|
152
|
+
throw new Error(`it ${state}`);
|
|
153
|
+
}
|
|
154
|
+
return state;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* A package's code as loaded already, for the hooks the commands call at once (D-448, D-514): its code, or why it is not there; undefined where it brings none
|
|
158
|
+
* or does not run. An extension's is there once its import has ended, as an entry starts or as its commands were read; one whose commands are refused is not.
|
|
159
|
+
*/
|
|
160
|
+
export function loadedCode(code, context) {
|
|
161
|
+
if (!isExtension(code)) {
|
|
162
|
+
return systemCode(code, context);
|
|
163
|
+
}
|
|
164
|
+
const url = extensionAddress(code);
|
|
165
|
+
const left = refused.get(codeKey(code));
|
|
166
|
+
if (url === undefined) {
|
|
167
|
+
return undefined;
|
|
168
|
+
}
|
|
169
|
+
return left !== undefined ? `is left out (${left}): validate says how to fix it` : ready.get(url) ?? "is not loaded yet: start the MCP server again (/mcp in Claude Code), or open a new chat";
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Loads the code of the campaign's packages, as an entry that calls their hooks starts (D-514), and again after package installs one: their hooks are called at
|
|
173
|
+
* once, never waiting for an import. What keeps one from being used is kept for its hooks, and left to validate.
|
|
174
|
+
*/
|
|
175
|
+
export async function loadCampaignCode(context) {
|
|
176
|
+
try {
|
|
177
|
+
const root = findCampaign(context.folder);
|
|
178
|
+
if (root !== undefined) {
|
|
179
|
+
await packageCommands(root, context);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
catch {
|
|
183
|
+
// A campaign that does not read loads nothing: the command says why.
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* The code of the campaign's game system when this process has not loaded it, as one installed in the chat that plays it (D-513 (1)): new to the process, it
|
|
188
|
+
* is imported now, with the commands of the campaign's packages; a system loaded already, refused or broken, stays as it was.
|
|
189
|
+
*/
|
|
190
|
+
export async function loadNewSystemCode(context) {
|
|
191
|
+
let system;
|
|
192
|
+
// A campaign or a system that does not read loads nothing: the commands say why.
|
|
193
|
+
try {
|
|
194
|
+
const root = findCampaign(context.folder);
|
|
195
|
+
system = root === undefined ? undefined : campaignSystem(root, context);
|
|
196
|
+
}
|
|
197
|
+
catch {
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
if (system === undefined || context.systemCode === undefined || context.systemCode[system.name] !== undefined || !systemHasCode(system.folder)) {
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
const loaded = (await loadSystemCode(context.systemFolders))[system.name];
|
|
204
|
+
if (loaded !== undefined) {
|
|
205
|
+
context.systemCode[system.name] = loaded;
|
|
206
|
+
await loadCampaignCode(context);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
/** A package's lines for the master, cut at the most it may say in one call, with a line that says so. */
|
|
210
|
+
export function cappedLines(code, lines) {
|
|
211
|
+
const kept = [];
|
|
212
|
+
let length = 0;
|
|
213
|
+
for (const line of lines) {
|
|
214
|
+
if (kept.length === mostLines || length + line.length > mostCharacters) {
|
|
215
|
+
return [...kept, `The ${packageLabel(code)} said more: cut.`];
|
|
216
|
+
}
|
|
217
|
+
kept.push(line);
|
|
218
|
+
length += line.length;
|
|
219
|
+
}
|
|
220
|
+
return kept;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* The game as a package's code reaches it (D-436, D-505, D-514): what a widget reads, the dice, asking the player, its own state, the fields it may write and
|
|
224
|
+
* the log; nothing else is written. A command's or time's game writes nothing once the call is stopped (ASK-9); a hook's finishes what the engine began.
|
|
225
|
+
*/
|
|
226
|
+
export function gameOf(root, context, code, options = {}) {
|
|
227
|
+
const view = gameViewOf(root, context, code);
|
|
228
|
+
const asked = options.asked ?? {};
|
|
229
|
+
const live = () => {
|
|
230
|
+
if (options.hook !== true && context.signal?.aborted === true) {
|
|
231
|
+
throw new Error("The call was stopped: nothing more is written.");
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
return {
|
|
235
|
+
...view,
|
|
236
|
+
roll: (notation, by) => {
|
|
237
|
+
if (by !== undefined) {
|
|
238
|
+
live();
|
|
239
|
+
return rollFor(root, context, notation, by, (text) => packageText(root, code, text));
|
|
240
|
+
}
|
|
241
|
+
const rolled = rollDice(notation, { random: context.random });
|
|
242
|
+
return { notation: rolled.notation, total: rolled.total, faces: rolled.faces, dice: rolled.dice, text: rolled.text };
|
|
243
|
+
},
|
|
244
|
+
set: (page, values, why) => {
|
|
245
|
+
live();
|
|
246
|
+
setPackageFields(root, context, code, page, values, why);
|
|
247
|
+
},
|
|
248
|
+
addEffect: (page, effect, why) => {
|
|
249
|
+
live();
|
|
250
|
+
return addEffect(root, context, page, effect, why);
|
|
251
|
+
},
|
|
252
|
+
endEffect: (page, effect, why) => {
|
|
253
|
+
live();
|
|
254
|
+
return endEffect(root, context, page, effect, why);
|
|
255
|
+
},
|
|
256
|
+
change: (page, field, amount, why) => {
|
|
257
|
+
live();
|
|
258
|
+
// By, to or spend alone, as the kit's types say: never a recipe or faces, which code written by hand could slip in.
|
|
259
|
+
const { by, to, spend } = amount;
|
|
260
|
+
const result = change.run(change.input.parse({ page, field, by, to, spend, why }), context);
|
|
261
|
+
if (result instanceof Promise) {
|
|
262
|
+
throw new Error("game.change changes a counter or money at once: give it by, to or spend. Nothing changed.");
|
|
263
|
+
}
|
|
264
|
+
return change.format(result);
|
|
265
|
+
},
|
|
266
|
+
ask: (wanted) => {
|
|
267
|
+
// Refused at once, never as a promise a hook lets go.
|
|
268
|
+
if (options.hook === true) {
|
|
269
|
+
throw new Error("ask waits for the player, and a hook is called at once, never waiting: ask from a command of the package instead.");
|
|
270
|
+
}
|
|
271
|
+
return (async () => {
|
|
272
|
+
live();
|
|
273
|
+
const { who, question, check, notation } = wanted;
|
|
274
|
+
const told = toldOf(root, context, code, wanted, who);
|
|
275
|
+
asked.card = told.card ?? asked.card;
|
|
276
|
+
return askedOf(await askedRoll(root, context, askedQuestion(packageText(root, code, question), check, notation), [{ label: packageText(root, code, check.trim()), notation }], who, told));
|
|
277
|
+
})();
|
|
278
|
+
},
|
|
279
|
+
state: {
|
|
280
|
+
read: view.state.read,
|
|
281
|
+
write: (value) => {
|
|
282
|
+
live();
|
|
283
|
+
files().write(statePath(root, code), `# The state of the ${code.kind === "system" ? "game system" : "extension"} ${code.package}, kept by its code.\n${stringify(value, { lineWidth: 0 })}`);
|
|
284
|
+
},
|
|
285
|
+
},
|
|
286
|
+
log: (text, visibility = "hidden") => {
|
|
287
|
+
live();
|
|
288
|
+
// An extension's line as it always was; a system's of its own kind.
|
|
289
|
+
const entry = code.kind === "system" ? newDatedLogEntry(root, context, "system", visibility, { system: code.name, text }) : newDatedLogEntry(root, context, "extension", visibility, { extension: code.name, text });
|
|
290
|
+
appendLogEntry(root, entry);
|
|
291
|
+
},
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* The game as a widget of a package reads it (D-502, D-505): the time, where the party is and who is in it, a page, the scene, the campaign's settings and the
|
|
296
|
+
* package's state.
|
|
297
|
+
*/
|
|
298
|
+
export function gameViewOf(root, context, code) {
|
|
299
|
+
return {
|
|
300
|
+
now: () => {
|
|
301
|
+
const now = presentDate(root);
|
|
302
|
+
return now === undefined ? undefined : momentOf(root, context, now);
|
|
303
|
+
},
|
|
304
|
+
calendarDay: (day) => calendarDayOf(root, context, day),
|
|
305
|
+
units: () => (readTextSetting(root, "units") === "imperial" ? "imperial" : "metric"),
|
|
306
|
+
party: () => {
|
|
307
|
+
const world = campaignWorld(root, context);
|
|
308
|
+
const player = playerCharacters(world).find(isInParty);
|
|
309
|
+
return player === undefined
|
|
310
|
+
? undefined
|
|
311
|
+
: {
|
|
312
|
+
places: locate(world, player).chain.filter((page) => page.type === "place").map((page) => page.name),
|
|
313
|
+
environment: Object.fromEntries(environmentAt(world, player).map(({ entry }) => [entry.name, entry.value])),
|
|
314
|
+
members: world.pages.filter(isInParty).map((page) => ({ name: page.name, pc: isPlayerCharacter(page) })),
|
|
315
|
+
};
|
|
316
|
+
},
|
|
317
|
+
page: (name) => {
|
|
318
|
+
const world = campaignWorld(root, context);
|
|
319
|
+
const found = pagesWithNameOrAlias(world, name);
|
|
320
|
+
return found.length === 1 ? gamePage(world, found[0], campaignSystemWords(root, context)) : undefined;
|
|
321
|
+
},
|
|
322
|
+
scene: () => {
|
|
323
|
+
const scene = readOpenScene(root).scene;
|
|
324
|
+
return scene === undefined ? undefined : {
|
|
325
|
+
title: scene.title,
|
|
326
|
+
...(scene.opened === undefined ? {} : { opened: scene.opened }),
|
|
327
|
+
...(scene.round === undefined ? {} : { round: scene.round }),
|
|
328
|
+
...(scene.turn === undefined ? {} : { turn: scene.turn }),
|
|
329
|
+
};
|
|
330
|
+
},
|
|
331
|
+
setting: (name) => readTextSetting(root, name),
|
|
332
|
+
// A name in the campaign's language is the system's by its words, Prono its Prone (D-403).
|
|
333
|
+
sameName: (one, other) => sameWord(one, other, campaignSystemWords(root, context)),
|
|
334
|
+
state: { read: () => readPackageState(root, code) },
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* How a package's code words a roll it asks (D-507): its buttons and its rule translated, what its faces mean and how they turned out, and the card of its
|
|
339
|
+
* widget, read for its key and whose roll it is, refused when the package has no widget by that name.
|
|
340
|
+
*/
|
|
341
|
+
export function toldOf(root, context, code, wanted, who) {
|
|
342
|
+
const words = (text) => packageText(root, code, text);
|
|
343
|
+
const button = (given) => (typeof given === "object" && "label" in given ? { name: words(given.label), note: words(given.note) } : { name: words(given) });
|
|
344
|
+
const { roll, decline, rule, card, says, tones } = wanted;
|
|
345
|
+
if (card !== undefined && !code.widgets.some((widget) => widget.name === card.widget)) {
|
|
346
|
+
const its = code.widgets.length === 0 ? "it declares none" : `its own are ${code.widgets.map((widget) => widget.name).join(", ")}`;
|
|
347
|
+
throw new Error(`The ${packageLabel(code)} asks in the card of a widget ${card.widget} it does not have: ${its}. Nothing was asked.`);
|
|
348
|
+
}
|
|
349
|
+
return {
|
|
350
|
+
...(roll === undefined ? {} : { roll: button(roll) }),
|
|
351
|
+
...(decline === undefined ? {} : { decline: decline === false ? false : button(decline) }),
|
|
352
|
+
...(rule === undefined ? {} : { rule: words(rule) }),
|
|
353
|
+
...(card === undefined ? {} : { card: { widget: `${code.name}.${card.widget}`, key: card.key, shows: () => widgetCard(root, context, code, card.widget, card.key, who) } }),
|
|
354
|
+
...(says === undefined ? {} : { says: (faces) => words(says(faces)) }),
|
|
355
|
+
...(tones === undefined ? {} : { tones }),
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
/** The first line of what went wrong, without its last stop, for a line among others. */
|
|
359
|
+
export function firstLine(error) {
|
|
360
|
+
return (error instanceof Error ? error.message : String(error)).split("\n")[0].replace(/[:.]$/, "");
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* A system's code as the engine loaded it, or why it is not there: not loaded, loaded at another version than the one installed now, refused or broken; undefined
|
|
364
|
+
* when it brings none.
|
|
365
|
+
*/
|
|
366
|
+
/** Whether a package's code is refused, as another's without the player's yes, one made for another API or with commands refused: said once, not at each call. */
|
|
367
|
+
export function codeRefused(code, context) {
|
|
368
|
+
const loaded = context.systemCode?.[code.name];
|
|
369
|
+
return isExtension(code) ? refused.has(codeKey(code)) : loaded !== undefined && "refused" in loaded;
|
|
370
|
+
}
|
|
371
|
+
/** The names of rpg-engine's own commands, which no package's command may take; read when needed, as the list of commands holds this module. */
|
|
372
|
+
async function engineCommandNames() {
|
|
373
|
+
return (await import("../../index.js")).commands.map((command) => command.name);
|
|
374
|
+
}
|
|
375
|
+
/** The most a package says in one call, after the engine's writes or as time passes, in lines and in characters; what is more is cut, with a line. */
|
|
376
|
+
const mostLines = 5;
|
|
377
|
+
const mostCharacters = 600;
|
|
378
|
+
/** A package that is an extension. */
|
|
379
|
+
function isExtension(code) {
|
|
380
|
+
return code.kind === "extension";
|
|
381
|
+
}
|
|
382
|
+
function systemCodePackage(system) {
|
|
383
|
+
const own = systemPackage(system.folder);
|
|
384
|
+
const page = systemPageModule(system.folder);
|
|
385
|
+
return {
|
|
386
|
+
kind: "system",
|
|
387
|
+
package: own === undefined || own.package === "" ? system.name : own.package,
|
|
388
|
+
name: system.name,
|
|
389
|
+
version: own?.version ?? getVersion(),
|
|
390
|
+
folder: system.folder,
|
|
391
|
+
title: system.title,
|
|
392
|
+
language: system.language,
|
|
393
|
+
icons: system.icons,
|
|
394
|
+
widgets: system.widgets,
|
|
395
|
+
figures: system.figures,
|
|
396
|
+
...(page === undefined ? {} : { page: page.file }),
|
|
397
|
+
linked: installedFromFolder(system.folder),
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
/** A command of a package as a command of rpg-engine, refused when its name is not the package's or is taken, or its description is too long. */
|
|
401
|
+
function asCommand(code, command, taken) {
|
|
402
|
+
checkCommandShape(command);
|
|
403
|
+
const name = command.name.trim();
|
|
404
|
+
const words = command.description.split(/\s+/).length;
|
|
405
|
+
if (name !== code.name && !name.startsWith(`${code.name}-`)) {
|
|
406
|
+
throw new Error(`its command ${name} must be named ${code.name}, or start with ${code.name}-`);
|
|
407
|
+
}
|
|
408
|
+
if (taken.includes(name)) {
|
|
409
|
+
throw new Error(`its command ${name} has the name of another command`);
|
|
410
|
+
}
|
|
411
|
+
if (words > descriptionWords) {
|
|
412
|
+
throw new Error(`its command ${name} has a description of ${words} words, and ${descriptionWords} at most are read`);
|
|
413
|
+
}
|
|
414
|
+
return defineCommand({
|
|
415
|
+
name,
|
|
416
|
+
description: command.description,
|
|
417
|
+
group: "game",
|
|
418
|
+
input: command.input,
|
|
419
|
+
readOnly: command.readOnly,
|
|
420
|
+
positionals: command.positionals,
|
|
421
|
+
waitsForPlayer: command.needsPlayer,
|
|
422
|
+
forPlayer: command.player === true,
|
|
423
|
+
async run(input, called) {
|
|
424
|
+
const campaign = requireCampaign(called.folder);
|
|
425
|
+
const asked = {};
|
|
426
|
+
try {
|
|
427
|
+
const text = await command.run(input, gameOf(campaign, called, code, { asked }));
|
|
428
|
+
if (typeof text !== "string") {
|
|
429
|
+
throw new Error(`The extension ${code.package}'s command ${name} gave no text: a command gives the master its answer as text. Tell its author.`);
|
|
430
|
+
}
|
|
431
|
+
return { text };
|
|
432
|
+
}
|
|
433
|
+
finally {
|
|
434
|
+
// The card of its last question, as it is after the dice, read once the call ends, however it ends (D-507).
|
|
435
|
+
if (asked.card !== undefined) {
|
|
436
|
+
called.page?.cardEnded?.(asked.card);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
format: (result) => result.text,
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
/** A call the player stopped while a package's code had not answered. */
|
|
444
|
+
class StoppedCall extends Error {
|
|
445
|
+
}
|
|
446
|
+
/** What a package's code gives, unless the call is stopped first or it takes longer than any answer of the player's should: then why not. */
|
|
447
|
+
async function withinCall(work, signal, giveUp) {
|
|
448
|
+
// Never a rejection that nothing handles, when it ends after the call went on without it.
|
|
449
|
+
Promise.resolve(work).catch(() => undefined);
|
|
450
|
+
let timer;
|
|
451
|
+
let abort = () => undefined;
|
|
452
|
+
const stopped = new Promise((_, refuse) => {
|
|
453
|
+
timer = setTimeout(() => {
|
|
454
|
+
refuse(new Error(`it gave nothing for ${longestPackageWait / 60_000} minutes`));
|
|
455
|
+
giveUp();
|
|
456
|
+
}, longestPackageWait);
|
|
457
|
+
abort = () => refuse(new StoppedCall("the call was stopped before it gave anything"));
|
|
458
|
+
if (signal?.aborted === true) {
|
|
459
|
+
abort();
|
|
460
|
+
}
|
|
461
|
+
signal?.addEventListener("abort", abort, { once: true });
|
|
462
|
+
});
|
|
463
|
+
try {
|
|
464
|
+
return await Promise.race([Promise.resolve(work), stopped]);
|
|
465
|
+
}
|
|
466
|
+
finally {
|
|
467
|
+
clearTimeout(timer);
|
|
468
|
+
signal?.removeEventListener("abort", abort);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
/** A package's command as its code must give it, for an author who writes it by hand: refused with the shape it takes. */
|
|
472
|
+
function checkCommandShape(command) {
|
|
473
|
+
const given = command;
|
|
474
|
+
const name = typeof given.name === "string" ? given.name.trim() : "";
|
|
475
|
+
if (name === "") {
|
|
476
|
+
throw new Error("a command has no name: give each command a name, the package's or one starting with it");
|
|
477
|
+
}
|
|
478
|
+
if (typeof given.description !== "string" || given.description.trim() === "") {
|
|
479
|
+
throw new Error(`its command ${name} has no description: give it one, written for an AI`);
|
|
480
|
+
}
|
|
481
|
+
if (!(given.input instanceof z.ZodObject)) {
|
|
482
|
+
throw new Error(`its command ${name} gives its input in another shape: give it as z.object({...}), with the z the kit gives`);
|
|
483
|
+
}
|
|
484
|
+
if (typeof given.run !== "function") {
|
|
485
|
+
throw new Error(`its command ${name} has no run: give it run(input, game), which gives its answer as text`);
|
|
486
|
+
}
|
|
487
|
+
// A field the command line would read as something else is refused at once, never lost when the command runs.
|
|
488
|
+
const positionals = Array.isArray(given.positionals) ? given.positionals : [];
|
|
489
|
+
const problem = Object.keys(given.input.shape).map((field) => commandLineFieldProblem(`its command ${name}`, field, positionals.includes(field))).find((found) => found !== undefined);
|
|
490
|
+
if (problem !== undefined) {
|
|
491
|
+
throw new Error(problem.replace(/: rename it\.$/, ": rename it"));
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
// The code of each extension, by its file and version, loaded once for the process: an import is never undone, a new version is another. What each gave,
|
|
495
|
+
// once loaded, is kept apart too, for the hooks the commands call at once.
|
|
496
|
+
const loaded = new Map();
|
|
497
|
+
const ready = new Map();
|
|
498
|
+
// Why the code of a package at a version and its installs is left out, as its commands are refused: its hooks are not called.
|
|
499
|
+
const refused = new Map();
|
|
500
|
+
let installs = 0;
|
|
501
|
+
/** An extension's code, when it may run (D-441): its module's default export, given the kit; where the engine runs from its source, as in the tests, from its own. */
|
|
502
|
+
function extensionCode(extension) {
|
|
503
|
+
const url = extensionAddress(extension);
|
|
504
|
+
if (url === undefined) {
|
|
505
|
+
return Promise.resolve(undefined);
|
|
506
|
+
}
|
|
507
|
+
const code = loaded.get(url) ?? import(__rewriteRelativeImportExtension(url)).then((module) => {
|
|
508
|
+
if (typeof module.default !== "function") {
|
|
509
|
+
throw new Error(`its code, ${url.replace(/\?.*$/, "")}, has no default export that gives its commands`);
|
|
510
|
+
}
|
|
511
|
+
const given = givenCode(module.default({ z }), fileURLToPath(url.replace(/\?.*$/, "")));
|
|
512
|
+
ready.set(url, given);
|
|
513
|
+
return given;
|
|
514
|
+
});
|
|
515
|
+
loaded.set(url, code);
|
|
516
|
+
return code;
|
|
517
|
+
}
|
|
518
|
+
/** A package at its version and the installs so far, as what is kept of its code is keyed. */
|
|
519
|
+
function codeKey(code) {
|
|
520
|
+
return `${code.package}@${code.version}#${installs}`;
|
|
521
|
+
}
|
|
522
|
+
function systemCode(code, context) {
|
|
523
|
+
if (!systemHasCode(code.folder)) {
|
|
524
|
+
return undefined;
|
|
525
|
+
}
|
|
526
|
+
const loaded = context.systemCode?.[code.name];
|
|
527
|
+
const again = "start the MCP server again (/mcp in Claude Code), or open a new chat";
|
|
528
|
+
if (loaded === undefined) {
|
|
529
|
+
return `is not loaded: ${again}`;
|
|
530
|
+
}
|
|
531
|
+
if (loaded.version !== undefined && loaded.version !== code.version) {
|
|
532
|
+
return `is loaded at version ${loaded.version}, and ${code.version} is installed now: ${again}`;
|
|
533
|
+
}
|
|
534
|
+
if ("refused" in loaded) {
|
|
535
|
+
return loaded.refused;
|
|
536
|
+
}
|
|
537
|
+
return "problem" in loaded
|
|
538
|
+
? `cannot load (${loaded.problem}): install it again with package install ${code.name}, or run npm run build in its repository, then start the MCP server again`
|
|
539
|
+
: loaded.code;
|
|
540
|
+
}
|
|
541
|
+
/** The address an extension's code is imported from, for its version and the installs so far; undefined when its code does not run. */
|
|
542
|
+
function extensionAddress(extension) {
|
|
543
|
+
const source = join(extension.folder, "src", "index.ts");
|
|
544
|
+
const entry = !runsCode(extension) ? undefined : import.meta.url.endsWith(".ts") && files().exists(source) ? source : extension.code;
|
|
545
|
+
// By its real path, as Node would resolve it: a package linked from a folder of the player's is read from that folder, its own settings beside it.
|
|
546
|
+
return entry === undefined ? undefined : `${pathToFileURL(realPath(entry)).href}?v=${encodeURIComponent(extension.version)}&installs=${installs}`;
|
|
547
|
+
}
|
|
548
|
+
/** A game date as the API gives it: as written, its day and minute, and its day of the calendar. */
|
|
549
|
+
function momentOf(root, context, date) {
|
|
550
|
+
const calendar = calendarDayOf(root, context, date.day);
|
|
551
|
+
return { date: formatGameDate(date), day: date.day, ...(date.minute === undefined ? {} : { minute: date.minute }), ...(calendar === undefined ? {} : { calendar }) };
|
|
552
|
+
}
|
|
553
|
+
function statePath(root, code) {
|
|
554
|
+
return join(root, extensionsFolderName, code.name, "state.yaml");
|
|
555
|
+
}
|
|
556
|
+
/** A package's state as its code reads it; it throws, naming the file and how to fix it, when the file does not read. */
|
|
557
|
+
function readPackageState(root, code) {
|
|
558
|
+
const read = parsedState(root, code);
|
|
559
|
+
if (read.problem !== undefined) {
|
|
560
|
+
throw new Error(`${read.problem.path} does not read: ${read.problem.message} Fix: ${read.problem.fix}.`);
|
|
561
|
+
}
|
|
562
|
+
return read.value;
|
|
563
|
+
}
|
|
564
|
+
/** The packages' state files that do not read, which only their code reads, for validate. */
|
|
565
|
+
function packageStateProblems(root, context) {
|
|
566
|
+
return campaignPackages(root, context).flatMap((code) => parsedState(root, code).problem ?? []);
|
|
567
|
+
}
|
|
568
|
+
function parsedState(root, code) {
|
|
569
|
+
try {
|
|
570
|
+
return { value: parse(files().text(statePath(root, code)) ?? "null") };
|
|
571
|
+
}
|
|
572
|
+
catch (error) {
|
|
573
|
+
const fix = `correct it by hand, or delete it for the ${packageLabel(code)} to start its state again`;
|
|
574
|
+
return { problem: { path: `${extensionsFolderName}/${code.name}/state.yaml`, message: `${firstLine(error)}.`, fix } };
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* A page as a package reads it (D-505): in the party or not, the player's or not, its fields as show gives them, effects and what the system works out included;
|
|
579
|
+
* an effect it has by the system's name or its word in the campaign's language (D-403).
|
|
580
|
+
*/
|
|
581
|
+
function gamePage(world, page, words) {
|
|
582
|
+
const fields = effectiveFields(world, page);
|
|
583
|
+
return {
|
|
584
|
+
name: page.name,
|
|
585
|
+
party: isPartyMember(page),
|
|
586
|
+
pc: isPlayerCharacter(page),
|
|
587
|
+
value: (field) => plainValue(valueNamed(fields, field)),
|
|
588
|
+
counter: (field) => {
|
|
589
|
+
const counter = readCounter(valueNamed(fields, field));
|
|
590
|
+
return counter === undefined ? undefined : { value: counter.value, ...(counter.max === undefined ? {} : { max: counter.max }) };
|
|
591
|
+
},
|
|
592
|
+
has: (effect) => effectsOf(page).some((one) => sameWord(effect, one.name, words)),
|
|
593
|
+
carries: (thing) => carriesNamed(world, page, thing, (one, other) => sameWord(one, other, words)),
|
|
594
|
+
formula: (text) => {
|
|
595
|
+
let formula;
|
|
596
|
+
try {
|
|
597
|
+
formula = parseFormula(text);
|
|
598
|
+
}
|
|
599
|
+
catch (error) {
|
|
600
|
+
throw new Error(`The formula ${text} does not read: ${error instanceof Error ? error.message : String(error)} Write it as the game system's computed fields are written.`);
|
|
601
|
+
}
|
|
602
|
+
return formulaValue(world, fields, formula);
|
|
603
|
+
},
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
/** A field's value as the API gives it: a number, text, or a list as text; undefined for anything else, as a map. */
|
|
607
|
+
function plainValue(value) {
|
|
608
|
+
if (typeof value === "number" || typeof value === "string") {
|
|
609
|
+
return value;
|
|
610
|
+
}
|
|
611
|
+
if (typeof value === "boolean") {
|
|
612
|
+
return String(value);
|
|
613
|
+
}
|
|
614
|
+
return Array.isArray(value) ? value.map((item) => (typeof item === "object" && item !== null ? JSON.stringify(item) : String(item))) : undefined;
|
|
615
|
+
}
|
|
616
|
+
/** The page a name, or an alias, gives alone; it throws, with nothing changed, when none or more than one has it. */
|
|
617
|
+
function onePage(world, name) {
|
|
618
|
+
const found = pagesWithNameOrAlias(world, name);
|
|
619
|
+
if (found.length !== 1) {
|
|
620
|
+
throw new Error(`${found.length === 0 ? `No page alone is named ${name}` : `${found.length} pages are named ${name}`}: give the name of one page of the campaign. Nothing changed.`);
|
|
621
|
+
}
|
|
622
|
+
return found[0];
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* Sets fields on a page for a package's code, any field of any page (D-505, D-511), as write --set does: each under the name the game system with its additions
|
|
626
|
+
* gives it, whatever the case it came in.
|
|
627
|
+
*/
|
|
628
|
+
function setPackageFields(root, context, code, name, values, why) {
|
|
629
|
+
const odd = Object.entries(values).find(([, value]) => typeof value !== "string" && (typeof value !== "number" || !Number.isFinite(value)));
|
|
630
|
+
if (odd !== undefined) {
|
|
631
|
+
throw new Error(`The ${packageLabel(code)} gave ${odd[0]} the value ${String(odd[1])}: give a number or text. Nothing changed.`);
|
|
632
|
+
}
|
|
633
|
+
const world = campaignWorld(root, context);
|
|
634
|
+
const declared = Object.keys(world.system?.fields ?? {});
|
|
635
|
+
writePackageFields(root, context, world, onePage(world, name), Object.fromEntries(Object.entries(values).map(([field, value]) => [sameName(declared, field) ?? field, value])), why);
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
* Adds an effect without end, for a package's code: the engine's notes on what it breaks of what one keeps; undefined when the page has it already, maybe in the
|
|
639
|
+
* campaign's language (D-403).
|
|
640
|
+
*/
|
|
641
|
+
function addEffect(root, context, name, effect, why) {
|
|
642
|
+
const world = campaignWorld(root, context);
|
|
643
|
+
const page = onePage(world, name);
|
|
644
|
+
const words = campaignSystemWords(root, context);
|
|
645
|
+
// Effects written by hand that do not read are never written over (EFF-12).
|
|
646
|
+
checkEffectsReadable(page);
|
|
647
|
+
if (effectsOf(page).some((one) => sameWord(effect, one.name, words))) {
|
|
648
|
+
return undefined;
|
|
649
|
+
}
|
|
650
|
+
const keeping = keepingConditionNote(world, readOpenScene(root).scene, campaignSystem(root, context), page.name, effect, words);
|
|
651
|
+
saveEffects(root, context, world, { page, copy: false }, withEffect(effectsOf(page), { name: effect, values: [] }, words));
|
|
652
|
+
appendLogEntry(root, newDatedLogEntry(root, context, "effect-added", concernsPlayer(world, page) ? "public" : "hidden", { page: page.name, effect, why }));
|
|
653
|
+
return keeping === "" ? [] : [keeping];
|
|
654
|
+
}
|
|
655
|
+
/** Ends an effect, for a package's code, by its name or the system's word for it in the campaign's language (D-403); whether the page had it. */
|
|
656
|
+
function endEffect(root, context, name, effect, why) {
|
|
657
|
+
const world = campaignWorld(root, context);
|
|
658
|
+
const page = onePage(world, name);
|
|
659
|
+
const words = campaignSystemWords(root, context);
|
|
660
|
+
checkEffectsReadable(page);
|
|
661
|
+
const effects = effectsOf(page);
|
|
662
|
+
const ended = effects.filter((one) => sameWord(effect, one.name, words));
|
|
663
|
+
if (ended.length === 0) {
|
|
664
|
+
return false;
|
|
665
|
+
}
|
|
666
|
+
saveEffects(root, context, world, { page, copy: false }, effects.filter((one) => !ended.includes(one)));
|
|
667
|
+
// The log names what the page had, as it was written.
|
|
668
|
+
const visibility = concernsPlayer(world, page) ? "public" : "hidden";
|
|
669
|
+
ended.forEach((one) => appendLogEntry(root, newDatedLogEntry(root, context, "effect-ended", visibility, { page: page.name, effect: one.name, why })));
|
|
670
|
+
return true;
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* A roll for who, as the master's for them (D-287, D-505): a line in the log, in view for the party and behind the screen for anyone else as master-rolls says;
|
|
674
|
+
* the player's physical dice, given as their faces, always in view.
|
|
675
|
+
*/
|
|
676
|
+
function rollFor(root, context, notation, by, words) {
|
|
677
|
+
const rolled = rollDice(notation, by.values === undefined ? { random: context.random } : { values: by.values });
|
|
678
|
+
const physical = by.values !== undefined;
|
|
679
|
+
const hidden = !physical && behindTheScreen(root, context, by.who);
|
|
680
|
+
const checked = by.check === undefined ? {} : { check: by.check };
|
|
681
|
+
const says = by.says === undefined ? {} : { says: words(by.says(rolled.faces)) };
|
|
682
|
+
const tones = tonesOf(by.tones?.(rolled.faces), rolled.faces);
|
|
683
|
+
const entry = newDatedLogEntry(root, context, "roll", hidden ? "hidden" : "public", {
|
|
684
|
+
notation: rolled.notation,
|
|
685
|
+
total: rolled.total,
|
|
686
|
+
result: rolled.text,
|
|
687
|
+
...says,
|
|
688
|
+
...tones,
|
|
689
|
+
why: by.why,
|
|
690
|
+
who: by.who,
|
|
691
|
+
...checked,
|
|
692
|
+
physical,
|
|
693
|
+
dice: rolled.dice,
|
|
694
|
+
});
|
|
695
|
+
if (hidden) {
|
|
696
|
+
sealHiddenRoll(entry, rolled.text, context);
|
|
697
|
+
}
|
|
698
|
+
appendLogEntry(root, entry);
|
|
699
|
+
return { notation: rolled.notation, total: rolled.total, faces: rolled.faces, dice: rolled.dice, text: rolled.text, id: entry.id, hidden };
|
|
700
|
+
}
|
|
701
|
+
/** Words of a package in the campaign's language, by its words as a widget's are, with their {names} filled; as written where its words lack them. */
|
|
702
|
+
function packageText(root, code, text) {
|
|
703
|
+
let words;
|
|
704
|
+
try {
|
|
705
|
+
words = packageWords(code, readTextSetting(root, "language") ?? code.language);
|
|
706
|
+
}
|
|
707
|
+
catch {
|
|
708
|
+
// Words that do not read leave the text as written, as validate says.
|
|
709
|
+
}
|
|
710
|
+
const { text: written, values } = typeof text === "string" ? { text, values: {} } : text;
|
|
711
|
+
return wordIn(words, written).replace(/\{(\w+)\}/g, (whole, name) => (Object.hasOwn(values, name) ? valueText(values[name]) : whole));
|
|
712
|
+
}
|
|
713
|
+
/** A value as plain text in a line of the log. */
|
|
714
|
+
function valueText(value) {
|
|
715
|
+
const unit = (given) => (given === undefined ? "" : ` ${given}`);
|
|
716
|
+
return typeof value === "number" || typeof value === "string" ? String(value) : "number" in value ? `${value.number}${unit(value.unit)}` : `${value.from}–${value.to}${unit(value.unit)}`;
|
|
717
|
+
}
|
|
718
|
+
/** The question of a roll asked, refused without words, a check's name or dice (ASK-2). */
|
|
719
|
+
function askedQuestion(question, check, notation) {
|
|
720
|
+
if (question.trim() === "" || check.trim() === "" || !isCheckDice(notation)) {
|
|
721
|
+
const dice = isCheckDice(notation) ? "" : `: ${notation} are no dice`;
|
|
722
|
+
throw new Error(`Give ask the question, what is at stake either way, the check's name, such as Stealth, and its dice, such as 2d6+1${dice}. Nothing was asked.`);
|
|
723
|
+
}
|
|
724
|
+
return question.trim();
|
|
725
|
+
}
|
|
726
|
+
/** What ask answered, as a package's code gets it. */
|
|
727
|
+
function askedOf(result) {
|
|
728
|
+
switch (result.kind) {
|
|
729
|
+
case "roll":
|
|
730
|
+
return { rolled: { id: result.id, total: result.total, faces: result.faces, text: result.text } };
|
|
731
|
+
case "changed":
|
|
732
|
+
return { declined: true };
|
|
733
|
+
case "said":
|
|
734
|
+
return { said: result.words };
|
|
735
|
+
default:
|
|
736
|
+
return { inWords: "asked" in result ? result.asked : "", physical: result.kind === "physical" || result.kind === "dice in words" };
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
function codeProblem(code, error) {
|
|
740
|
+
const why = error instanceof Error ? error.message : String(error);
|
|
741
|
+
const kind = code.kind === "system" ? "game system" : "extension";
|
|
742
|
+
// The engine brings no system with code (D-513 (1)): a system's comes back with its package, as an extension's.
|
|
743
|
+
const fix = `install it again, or another version, with package install ${code.name}`;
|
|
744
|
+
return { path: campaignFileName, message: `The code of the ${kind} ${code.package} cannot be used: ${why}. Its commands are left out.`, fix };
|
|
745
|
+
}
|