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,411 @@
|
|
|
1
|
+
// The adventures of a campaign (D-476, D-483): installed from a package whole or not at all, taken out while the story has not touched them, and exported as
|
|
2
|
+
// they were at the start (ADV-1–ADV-7).
|
|
3
|
+
import { basename, join, relative, resolve, sep } from "node:path";
|
|
4
|
+
import { parse, parseDocument, stringify, visit } from "yaml";
|
|
5
|
+
import { adventureFolderName, adventureTarget, isAdventureFolder, largestAdventure, manifestLine, packAdventure, readAdventureFolder, readAdventureZip } from "../../adventures/index.js";
|
|
6
|
+
import { houseRulesFolderName, readSettings } from "../../campaign/index.js";
|
|
7
|
+
import { appendLogEntry, readLog } from "../../core/log.js";
|
|
8
|
+
import { files } from "../../core/store.js";
|
|
9
|
+
import { comparableText, linkTargetName } from "../../core/text.js";
|
|
10
|
+
import { isNewerVersion } from "../../core/version.js";
|
|
11
|
+
import { shortName } from "../../extensions/index.js";
|
|
12
|
+
import { findImage, imageFileName, largestImage } from "../../images/index.js";
|
|
13
|
+
import { locate, pageNamed, pageNamedQuietly, readFields, splitPageFile, textsIn, worldFolderName } from "../../pages/index.js";
|
|
14
|
+
import { readRuleBook, ruleSections } from "../../rules/index.js";
|
|
15
|
+
import { unpackFiles } from "../../saves/index.js";
|
|
16
|
+
import { formatGameDate, readGameDate } from "../../time/index.js";
|
|
17
|
+
import { campaignMode } from "./mode.js";
|
|
18
|
+
import { listedExtensions } from "./packages/extensions.js";
|
|
19
|
+
import { houseRules, systemRuleBook } from "./rules.js";
|
|
20
|
+
import { campaignSaves, exportsFolderName, resetSave, savesFolderName, savesWhy } from "./saves.js";
|
|
21
|
+
import { newDatedLogEntry, readPresent } from "./time.js";
|
|
22
|
+
import { campaignSystem, campaignWorld } from "./world.js";
|
|
23
|
+
// The mark of an install under way, with its title and the days it moves dates by: while it is there, installing the same adventure finishes it (ADV-5).
|
|
24
|
+
const installMarkName = ".adventure-install.yaml";
|
|
25
|
+
// The documents a master imports, never a package: their pages are written by the master (D-483 (10)).
|
|
26
|
+
const documentPattern = /\.(pdf|docx?|odt|rtf|txt|md|epub)$/i;
|
|
27
|
+
/** Whether what was given to package install is an adventure: a .zip, a link, or a folder with adventure.yaml; a document says it is imported instead. */
|
|
28
|
+
export function isAdventureSpec(spec) {
|
|
29
|
+
if (documentPattern.test(spec)) {
|
|
30
|
+
throw new Error(`${spec} is a document, not a package: make an adventure from it with import; package install takes only what has adventure.yaml. Nothing changed.`);
|
|
31
|
+
}
|
|
32
|
+
return /\.zip$/i.test(spec) || /^https:\/\//i.test(spec) || isAdventureFolder(resolve(spec));
|
|
33
|
+
}
|
|
34
|
+
/** The adventure a .zip, a folder or an https link gives (ADV-1): a GitHub repository is read as the zip of its branch. */
|
|
35
|
+
export async function readAdventureSpec(spec, context) {
|
|
36
|
+
if (/^https:\/\//i.test(spec)) {
|
|
37
|
+
if (context.download === undefined) {
|
|
38
|
+
throw new Error("Only the game's server and the command line download an adventure: give a .zip or a folder of this computer.");
|
|
39
|
+
}
|
|
40
|
+
const repository = /^https:\/\/github\.com\/([^/]+)\/([^/#?]+?)(?:\.git)?(?:\/tree\/([^#?]+))?\/?$/i.exec(spec);
|
|
41
|
+
const url = repository === null ? spec : `https://codeload.github.com/${repository[1]}/${repository[2]}/zip/${repository[3] === undefined ? "HEAD" : `refs/heads/${repository[3]}`}`;
|
|
42
|
+
return readAdventureZip(await context.download(url, largestAdventure, context.signal), spec);
|
|
43
|
+
}
|
|
44
|
+
const path = resolve(spec);
|
|
45
|
+
if (/\.zip$/i.test(spec)) {
|
|
46
|
+
const bytes = files().bytes(path);
|
|
47
|
+
if (bytes === undefined) {
|
|
48
|
+
throw new Error(`There is no file ${path}: give the path of the adventure's .zip. Nothing changed.`);
|
|
49
|
+
}
|
|
50
|
+
return readAdventureZip(bytes, basename(path));
|
|
51
|
+
}
|
|
52
|
+
return readAdventureFolder(path);
|
|
53
|
+
}
|
|
54
|
+
/** The adventures the log says are installed and not taken out, in the order they came (ADV-6): they go back with a save. */
|
|
55
|
+
export function installedAdventures(root) {
|
|
56
|
+
return adventuresOfLog(readLog(root));
|
|
57
|
+
}
|
|
58
|
+
/** Installs an adventure in the campaign (ADV-2–ADV-5): checked whole, then written, or nothing at all; installed again, it finishes what stopped. */
|
|
59
|
+
export function installAdventure(root, context, adventure, from) {
|
|
60
|
+
const { manifest } = adventure;
|
|
61
|
+
const there = installedAdventures(root).find((one) => comparableText(one.title) === comparableText(manifest.title));
|
|
62
|
+
if (there !== undefined) {
|
|
63
|
+
if (there.version !== manifest.version) {
|
|
64
|
+
throw new Error(`The campaign has ${manifest.title} ${there.version}: a played adventure is not updated. Nothing changed.`);
|
|
65
|
+
}
|
|
66
|
+
return { ...describe(root, context, adventure, there.shift, [], []), already: true };
|
|
67
|
+
}
|
|
68
|
+
const stopped = installMark(root);
|
|
69
|
+
if (stopped !== undefined && comparableText(stopped.title) !== comparableText(manifest.title)) {
|
|
70
|
+
throw new Error(`The install of ${stopped.title} stopped halfway: finish it first with package install ${stopped.from}. Nothing changed.`);
|
|
71
|
+
}
|
|
72
|
+
checkNeeds(root, context, manifest);
|
|
73
|
+
const shift = stopped?.shift ?? Math.max(0, (readPresent(root).date?.day ?? 1) - 1);
|
|
74
|
+
const plan = planInstall(root, context, adventure, shift);
|
|
75
|
+
if (plan.problems.length > 0) {
|
|
76
|
+
const listed = plan.problems.slice(0, 10).join("; ");
|
|
77
|
+
const more = plan.problems.length > 10 ? `; and ${plan.problems.length - 10} more` : "";
|
|
78
|
+
throw new Error(`${manifest.title} cannot be installed: ${listed}${more}. Rename the adventure's pages in its folder, or the campaign's with rename if the player has not met them, `
|
|
79
|
+
+ "and install it again. Nothing changed.");
|
|
80
|
+
}
|
|
81
|
+
const mark = join(root, installMarkName);
|
|
82
|
+
files().write(mark, stringify({ title: manifest.title, shift, from }));
|
|
83
|
+
for (const write of plan.writes) {
|
|
84
|
+
files().writeBytes(join(root, ...write.path.split("/")), write.bytes);
|
|
85
|
+
}
|
|
86
|
+
appendLogEntry(root, newDatedLogEntry(root, context, "adventure-installed", "public", { title: manifest.title, version: manifest.version, from, shift, files: plan.paths }));
|
|
87
|
+
files().remove(mark);
|
|
88
|
+
return { ...describe(root, context, adventure, shift, plan.shadows, plan.covers), already: false };
|
|
89
|
+
}
|
|
90
|
+
/** Takes an adventure out (ADV-6), with the files it wrote, while no line of the log after it names one of its pages; else it throws, saying it stays. */
|
|
91
|
+
export function removeAdventure(root, context, adventure) {
|
|
92
|
+
const touching = storyTouching(root, adventure);
|
|
93
|
+
if (touching !== undefined) {
|
|
94
|
+
throw new Error(`${adventure.title} is part of the story now: the log names its pages${touching.date === undefined ? "" : ` on ${touching.date}`}. It stays; nothing changed.`);
|
|
95
|
+
}
|
|
96
|
+
// A file already gone, by hand or by a remove that stopped, is no reason to stop.
|
|
97
|
+
for (const path of adventure.files.map((one) => join(root, ...one.split("/"))).filter((one) => files().exists(one))) {
|
|
98
|
+
files().remove(path);
|
|
99
|
+
}
|
|
100
|
+
appendLogEntry(root, newDatedLogEntry(root, context, "adventure-removed", "public", { title: adventure.title }));
|
|
101
|
+
}
|
|
102
|
+
/** The first line of the log after an adventure came in that names one of its pages (ADV-6): it can no longer be taken out; undefined while none does. */
|
|
103
|
+
export function storyTouching(root, adventure) {
|
|
104
|
+
const log = readLog(root);
|
|
105
|
+
const names = new Set(adventure.files.filter((path) => path.startsWith(`${worldFolderName}/`)).flatMap((path) => pageNames(root, path)).map(comparableText));
|
|
106
|
+
const after = log.slice(log.findIndex((entry) => entry.id === adventure.entry) + 1);
|
|
107
|
+
return after.find((entry) => textsIn(entry.data).some((text) => names.has(comparableText(linkTargetName(unlinked(text))))));
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Exports the campaign's world as an adventure (ADV-7), as it was at its start: the save before session zero, else that of the start, else the world now while no
|
|
111
|
+
* scene was ever opened; without the player characters and the adventures it installed. Written in exports/, by the campaign's name.
|
|
112
|
+
*/
|
|
113
|
+
export function exportAdventure(root, context, credits) {
|
|
114
|
+
const { held, from } = startingFiles(root, context);
|
|
115
|
+
const settings = readSettings(root);
|
|
116
|
+
const log = held["log.jsonl"] === undefined ? [] : new TextDecoder().decode(held["log.jsonl"]).split("\n").filter((line) => line.trim() !== "").map((line) => JSON.parse(line));
|
|
117
|
+
const installed = new Set(adventuresOfLog(log).flatMap((adventure) => adventure.files));
|
|
118
|
+
const pages = Object.entries(held).filter(([path]) => path.startsWith(`${worldFolderName}/`) && path.endsWith(".md")).map(([path, bytes]) => ({ path, fields: fieldsOf(path, bytes) }));
|
|
119
|
+
const players = pages.filter((page) => page.fields.role === "pc");
|
|
120
|
+
const playerImages = new Set(players.map((page) => imageFileName(page.fields.image)?.toLowerCase()).filter((name) => name !== undefined));
|
|
121
|
+
const kept = {};
|
|
122
|
+
for (const [path, bytes] of Object.entries(held)) {
|
|
123
|
+
const top = path.split("/")[0];
|
|
124
|
+
const out = !["world", "images", "rules"].includes(top) || installed.has(path) || players.some((page) => page.path === path)
|
|
125
|
+
|| (top === "images" && playerImages.has(basename(path).toLowerCase()));
|
|
126
|
+
if (!out) {
|
|
127
|
+
kept[path] = bytes;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
const opening = pages.find((page) => !installed.has(page.path) && textsIn(page.fields.tags).some((tag) => comparableText(tag) === "opening"));
|
|
131
|
+
const start = opening === undefined ? undefined : textsIn(opening.fields.start)[0]?.replace(/^\[\[|\]\]$/g, "");
|
|
132
|
+
const system = campaignSystem(root, context);
|
|
133
|
+
// The system is needed, with its credits, only where a page uses it (D-489 (6)); pages from the player's documents keep it to the player unless they say otherwise.
|
|
134
|
+
const usesSystem = settings.system !== undefined && systemUsed(kept, campaignWorld(root, context), system?.fields ?? {});
|
|
135
|
+
const sourced = pages.filter((page) => kept[page.path] !== undefined && page.fields.source !== undefined).map((page) => basename(page.path, ".md"));
|
|
136
|
+
const license = credits.license ?? (sourced.length > 0 ? "personal use only" : undefined);
|
|
137
|
+
const manifest = {
|
|
138
|
+
title: manifestLine(settings.name, "title"),
|
|
139
|
+
about: manifestLine(settings.premise ?? settings.name, "about"),
|
|
140
|
+
language: settings.language ?? "en",
|
|
141
|
+
version: "1.0.0",
|
|
142
|
+
...(credits.author === undefined ? {} : { author: credits.author }),
|
|
143
|
+
...(license === undefined ? {} : { license }),
|
|
144
|
+
...(system?.attribution === undefined || !usesSystem ? {} : { attribution: system.attribution }),
|
|
145
|
+
needs: { ...(usesSystem ? { system: settings.system } : {}), extensions: listedExtensions(root) },
|
|
146
|
+
content: [],
|
|
147
|
+
...(start === undefined ? {} : { start }),
|
|
148
|
+
...(opening === undefined ? {} : { opening: basename(opening.path, ".md") }),
|
|
149
|
+
};
|
|
150
|
+
const file = join(root, exportsFolderName, `${settings.name.replace(/[\\/:*?"<>|]/g, "").trim()}.adventure.zip`);
|
|
151
|
+
files().writeBytes(file, packAdventure(manifest, kept));
|
|
152
|
+
const adventures = adventuresOfLog(log).map((adventure) => adventure.title);
|
|
153
|
+
return {
|
|
154
|
+
file,
|
|
155
|
+
from,
|
|
156
|
+
pages: Object.keys(kept).filter((path) => path.startsWith(`${worldFolderName}/`)).length,
|
|
157
|
+
leftOut: { characters: players.map((page) => basename(page.path, ".md")), adventures },
|
|
158
|
+
...(sourced.length > 0 && credits.license === undefined ? { sourced } : {}),
|
|
159
|
+
...(opening === undefined ? {} : { opening: basename(opening.path, ".md") }),
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
/** Whether the pages kept use the game system: a link to one of its pages, or a number in a field it declares. */
|
|
163
|
+
function systemUsed(kept, world, fields) {
|
|
164
|
+
const declared = new Set(Object.keys(fields).map(comparableText));
|
|
165
|
+
return Object.entries(kept).some(([path, bytes]) => {
|
|
166
|
+
if (!path.startsWith(`${worldFolderName}/`) || !path.endsWith(".md")) {
|
|
167
|
+
return false;
|
|
168
|
+
}
|
|
169
|
+
const text = new TextDecoder().decode(bytes);
|
|
170
|
+
const linked = [...text.matchAll(/\[\[([^\]]+)\]\]/g)].some((link) => pageNamedQuietly(world, linkTargetName(link[1] ?? ""))?.system !== undefined);
|
|
171
|
+
return linked || Object.entries(fieldsOf(path, bytes)).some(([key, value]) => declared.has(comparableText(key)) && /\d/.test(String(value)));
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/** The adventures of a log: those installed, less those taken out after. */
|
|
175
|
+
function adventuresOfLog(log) {
|
|
176
|
+
const found = [];
|
|
177
|
+
for (const entry of log) {
|
|
178
|
+
const data = entry.data;
|
|
179
|
+
const title = String(data.title ?? "");
|
|
180
|
+
if (entry.type === "adventure-installed") {
|
|
181
|
+
const shift = Number(entry.data.shift ?? 0);
|
|
182
|
+
found.push({ title, version: String(data.version ?? ""), ...(entry.date === undefined ? {} : { since: entry.date }), files: textsIn(data.files), shift, entry: entry.id });
|
|
183
|
+
}
|
|
184
|
+
else if (entry.type === "adventure-removed") {
|
|
185
|
+
const removed = found.findIndex((one) => comparableText(one.title) === comparableText(title));
|
|
186
|
+
if (removed !== -1) {
|
|
187
|
+
found.splice(removed, 1);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
return found;
|
|
192
|
+
}
|
|
193
|
+
/** What the adventure needs (D-163): the campaign's game system and its extensions, at their lowest versions; it throws, saying what to install. */
|
|
194
|
+
function checkNeeds(root, context, manifest) {
|
|
195
|
+
const settings = readSettings(root);
|
|
196
|
+
if (manifest.needs.system !== undefined && comparableText(manifest.needs.system) !== comparableText(settings.system ?? "")) {
|
|
197
|
+
throw new Error(`${manifest.title} is for the game system ${manifest.needs.system}, and the campaign plays ${settings.system ?? "none yet"}: it cannot be installed here. Nothing changed.`);
|
|
198
|
+
}
|
|
199
|
+
const listed = listedExtensions(root);
|
|
200
|
+
for (const [name, lowest] of Object.entries(manifest.needs.extensions)) {
|
|
201
|
+
const found = Object.keys(listed).find((one) => one === name || comparableText(shortName(one)) === comparableText(shortName(name)));
|
|
202
|
+
if (found === undefined) {
|
|
203
|
+
throw new Error(`${manifest.title} needs the extension ${name}: install it with package install ${shortName(name)} first. Nothing changed.`);
|
|
204
|
+
}
|
|
205
|
+
if (isNewerVersion(lowest, listed[found])) {
|
|
206
|
+
throw new Error(`${manifest.title} needs ${name} ${lowest} or later, and the campaign has ${listed[found]}: install the newer with package install ${shortName(name)}. Nothing changed.`);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
if (manifest.levels !== undefined && campaignSystem(root, context)?.progression?.level === undefined) {
|
|
210
|
+
throw new Error(`${manifest.title} says the levels it is for, and the game system ${settings.system ?? "of the campaign"} has no levels: take levels out of its adventure.yaml. Nothing changed.`);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
/** The whole install worked out before a file is written (ADV-2–ADV-4): where each file goes, its dates moved, and every name already taken. */
|
|
214
|
+
function planInstall(root, context, adventure, shift) {
|
|
215
|
+
const world = campaignWorld(root, context);
|
|
216
|
+
const folder = adventureFolderName(adventure.manifest.title);
|
|
217
|
+
const plan = { writes: [], paths: [], problems: [], shadows: [], covers: [] };
|
|
218
|
+
const ownNames = new Map();
|
|
219
|
+
const houseTitles = new Set(readRuleBook(join(root, houseRulesFolderName), houseRules).map((section) => comparableText(section.path.at(-1) ?? "")));
|
|
220
|
+
const system = campaignSystem(root, context);
|
|
221
|
+
const systemTitles = new Map((system === undefined ? [] : systemRuleBook(system)).map((section) => [comparableText(section.path.at(-1) ?? ""), section.path.at(-1) ?? ""]));
|
|
222
|
+
for (const [path, original] of Object.entries(adventure.files)) {
|
|
223
|
+
const target = adventureTarget(path, folder);
|
|
224
|
+
const bytes = path.startsWith(`${worldFolderName}/`) ? movedDates(original, shift) : original;
|
|
225
|
+
const existing = files().bytes(join(root, ...target.split("/")));
|
|
226
|
+
const same = existing !== undefined && sameBytes(existing, bytes);
|
|
227
|
+
if (path.startsWith(`${worldFolderName}/`)) {
|
|
228
|
+
const name = basename(path, ".md").normalize("NFC");
|
|
229
|
+
for (const named of [name, ...textsIn(fieldsOf(path, original).aliases)]) {
|
|
230
|
+
const key = comparableText(named);
|
|
231
|
+
const taken = namedPage(world, named);
|
|
232
|
+
if (ownNames.has(key)) {
|
|
233
|
+
plan.problems.push(`${named} names two of its pages, ${ownNames.get(key) ?? ""} and ${path}`);
|
|
234
|
+
}
|
|
235
|
+
else if (taken !== undefined && taken.system === undefined && !(same && taken.path === target)) {
|
|
236
|
+
plan.problems.push(`${named} is already a page of the campaign, ${taken.path}`);
|
|
237
|
+
}
|
|
238
|
+
else if (taken?.system !== undefined) {
|
|
239
|
+
plan.shadows.push(named);
|
|
240
|
+
}
|
|
241
|
+
ownNames.set(key, path);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
else if (path.startsWith("rules/")) {
|
|
245
|
+
for (const section of ruleSections(new TextDecoder().decode(original), path, "adventure").filter((one) => one.level > 0)) {
|
|
246
|
+
const title = section.path.at(-1) ?? "";
|
|
247
|
+
if (houseTitles.has(comparableText(title)) && !same) {
|
|
248
|
+
plan.problems.push(`the rule ${title} is already a house rule of the campaign`);
|
|
249
|
+
}
|
|
250
|
+
else if (systemTitles.has(comparableText(title))) {
|
|
251
|
+
plan.covers.push(systemTitles.get(comparableText(title)) ?? title);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
else {
|
|
256
|
+
const image = findImage([root], basename(path));
|
|
257
|
+
const imageBytes = image === undefined ? undefined : files().bytes(image);
|
|
258
|
+
if (bytes.length > largestImage) {
|
|
259
|
+
plan.problems.push(`the picture ${basename(path)} is more than ${largestImage / 1024 / 1024} MB`);
|
|
260
|
+
}
|
|
261
|
+
else if (imageBytes !== undefined && !sameBytes(imageBytes, bytes)) {
|
|
262
|
+
plan.problems.push(`the picture ${basename(path)} is already in the campaign, and differs`);
|
|
263
|
+
}
|
|
264
|
+
// A picture the campaign has already, the same, is no file of the adventure's.
|
|
265
|
+
if (imageBytes !== undefined && image !== join(root, ...target.split("/"))) {
|
|
266
|
+
continue;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
if (existing !== undefined && !same && path.startsWith("rules/")) {
|
|
270
|
+
plan.problems.push(`${target} is already in the campaign`);
|
|
271
|
+
}
|
|
272
|
+
plan.paths.push(target);
|
|
273
|
+
if (!same) {
|
|
274
|
+
plan.writes.push({ path: target, bytes });
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
return plan;
|
|
278
|
+
}
|
|
279
|
+
/** What the master hears of an install: the counts by kind, the dates, and where it starts. */
|
|
280
|
+
function describe(root, context, adventure, shift, shadows, covers) {
|
|
281
|
+
const counts = {};
|
|
282
|
+
let firstDate;
|
|
283
|
+
let textDates = 0;
|
|
284
|
+
for (const [path, bytes] of Object.entries(adventure.files)) {
|
|
285
|
+
const parts = path.split("/");
|
|
286
|
+
const kind = parts[0] === worldFolderName ? (parts.length > 2 ? parts[1] : "other pages") : parts[0];
|
|
287
|
+
counts[kind] = (counts[kind] ?? 0) + 1;
|
|
288
|
+
if (parts[0] === worldFolderName) {
|
|
289
|
+
const file = splitPageFile(new TextDecoder().decode(bytes));
|
|
290
|
+
textDates += (file.body.match(/\bday\s+\d+/gi) ?? []).length;
|
|
291
|
+
for (const value of datesIn(fieldsOf(path, bytes))) {
|
|
292
|
+
if (firstDate === undefined || value.day < firstDate.day) {
|
|
293
|
+
const date = formatGameDate({ ...value, day: value.day + shift });
|
|
294
|
+
firstDate = { page: basename(path, ".md"), date, day: value.day };
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
const start = adventure.manifest.start;
|
|
300
|
+
const startPage = start === undefined ? undefined : pageNamed(campaignWorld(root, context), start);
|
|
301
|
+
return {
|
|
302
|
+
manifest: adventure.manifest,
|
|
303
|
+
counts,
|
|
304
|
+
shift,
|
|
305
|
+
...(firstDate === undefined ? {} : { firstDate: { page: firstDate.page, date: firstDate.date } }),
|
|
306
|
+
textDates,
|
|
307
|
+
shadows: [...new Set(shadows)],
|
|
308
|
+
covers: [...new Set(covers)],
|
|
309
|
+
ignored: adventure.ignored,
|
|
310
|
+
...(start === undefined ? {} : { start: { name: start, placed: startPage !== undefined && isPlaced(campaignWorld(root, context), startPage) } }),
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
/** The game's files as the adventure was at its start (ADV-7), with the save they come from; it throws when the game went on with none of its start. */
|
|
314
|
+
function startingFiles(root, context) {
|
|
315
|
+
const saves = campaignSaves(root);
|
|
316
|
+
const why = savesWhy(root);
|
|
317
|
+
const save = resetSave(saves, why, "session zero") ?? saves.find((one) => why.get(one.number) === "start");
|
|
318
|
+
if (save !== undefined) {
|
|
319
|
+
return { held: unpackFiles(files().bytes(join(root, savesFolderName, save.file)) ?? new Uint8Array()), from: `the save ${save.number} - ${save.label}` };
|
|
320
|
+
}
|
|
321
|
+
const played = readLog(root).some((entry) => entry.type === "scene-opened") || campaignMode(root, campaignWorld(root, context)) === "play";
|
|
322
|
+
if (played) {
|
|
323
|
+
throw new Error("The campaign has been played, and has no save of its start: what it is now goes on as a save of the whole game, not as an adventure. Nothing was written.");
|
|
324
|
+
}
|
|
325
|
+
const held = {};
|
|
326
|
+
const log = files().bytes(join(root, "log.jsonl"));
|
|
327
|
+
for (const file of ["world", "images", "rules"].flatMap((top) => files().files(join(root, top), () => true))) {
|
|
328
|
+
held[relative(root, file).split(sep).join("/")] = files().bytes(file) ?? new Uint8Array();
|
|
329
|
+
}
|
|
330
|
+
if (log !== undefined) {
|
|
331
|
+
held["log.jsonl"] = log;
|
|
332
|
+
}
|
|
333
|
+
return { held, from: "the world as it is, before play" };
|
|
334
|
+
}
|
|
335
|
+
/** A page's text with every date of its frontmatter moved forward by `shift` days (ADV-4); the text below it stays. */
|
|
336
|
+
function movedDates(bytes, shift) {
|
|
337
|
+
const text = new TextDecoder().decode(bytes);
|
|
338
|
+
const file = splitPageFile(text);
|
|
339
|
+
if (shift === 0 || file.frontmatter === undefined) {
|
|
340
|
+
return bytes;
|
|
341
|
+
}
|
|
342
|
+
const document = parseDocument(file.frontmatter);
|
|
343
|
+
let moved = false;
|
|
344
|
+
visit(document, {
|
|
345
|
+
Scalar(_key, node) {
|
|
346
|
+
const date = readGameDate(node.value);
|
|
347
|
+
if (date !== undefined) {
|
|
348
|
+
node.value = formatGameDate({ ...date, day: date.day + shift });
|
|
349
|
+
moved = true;
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
});
|
|
353
|
+
if (!moved) {
|
|
354
|
+
return bytes;
|
|
355
|
+
}
|
|
356
|
+
return new TextEncoder().encode(`---\n${document.toString({ lineWidth: 0 }).trimEnd()}\n---\n\n${file.body}\n`);
|
|
357
|
+
}
|
|
358
|
+
/** Every game date a page's fields hold, in lists and objects too. */
|
|
359
|
+
function datesIn(value) {
|
|
360
|
+
if (Array.isArray(value)) {
|
|
361
|
+
return value.flatMap(datesIn);
|
|
362
|
+
}
|
|
363
|
+
if (value !== null && typeof value === "object") {
|
|
364
|
+
return Object.values(value).flatMap(datesIn);
|
|
365
|
+
}
|
|
366
|
+
const date = readGameDate(value);
|
|
367
|
+
return date === undefined ? [] : [date];
|
|
368
|
+
}
|
|
369
|
+
/** A page's fields; it throws, naming the file, when its frontmatter does not read. */
|
|
370
|
+
function fieldsOf(path, bytes) {
|
|
371
|
+
return readFields(splitPageFile(new TextDecoder().decode(bytes)).frontmatter, path);
|
|
372
|
+
}
|
|
373
|
+
/** The campaign's or the system's page by this name or alias; one an alias names twice counts as taken. */
|
|
374
|
+
function namedPage(world, name) {
|
|
375
|
+
try {
|
|
376
|
+
return pageNamed(world, name);
|
|
377
|
+
}
|
|
378
|
+
catch {
|
|
379
|
+
return world.pages.find((page) => textsIn(page.fields.aliases).some((alias) => comparableText(alias) === comparableText(name)));
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
/** Whether a page is held by a place of the world. */
|
|
383
|
+
function isPlaced(world, page) {
|
|
384
|
+
return locate(world, page).chain.length > 0;
|
|
385
|
+
}
|
|
386
|
+
/** The install that stopped halfway, with its title, the days it moves dates by and where it came from (ADV-5); undefined when none did. */
|
|
387
|
+
function installMark(root) {
|
|
388
|
+
const text = files().text(join(root, installMarkName));
|
|
389
|
+
const read = text === undefined ? undefined : parse(text);
|
|
390
|
+
return read === undefined || read === null || typeof read.title !== "string" ? undefined : { title: read.title, shift: Number(read.shift ?? 0), from: String(read.from ?? read.title) };
|
|
391
|
+
}
|
|
392
|
+
/** A page's name and its aliases, as its file in the campaign has them now. */
|
|
393
|
+
function pageNames(root, path) {
|
|
394
|
+
const text = files().text(join(root, ...path.split("/")));
|
|
395
|
+
let aliases = [];
|
|
396
|
+
try {
|
|
397
|
+
aliases = text === undefined ? [] : textsIn(readFields(splitPageFile(text).frontmatter, path).aliases);
|
|
398
|
+
}
|
|
399
|
+
catch {
|
|
400
|
+
// A frontmatter that does not read names no alias.
|
|
401
|
+
}
|
|
402
|
+
return [basename(path, ".md"), ...aliases];
|
|
403
|
+
}
|
|
404
|
+
/** A text as the page it may name: [[Oste#Segreto|lui]] as Oste. */
|
|
405
|
+
function unlinked(text) {
|
|
406
|
+
const match = /^\s*\[\[([^\]#|]*)[^\]]*\]\]\s*$/.exec(text);
|
|
407
|
+
return match === null ? text : match[1];
|
|
408
|
+
}
|
|
409
|
+
function sameBytes(first, second) {
|
|
410
|
+
return first.length === second.length && first.every((byte, index) => byte === second[index]);
|
|
411
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Problem } from "../../core/problem.ts";
|
|
2
|
+
import { type FieldChange, type Page, type World } from "../../pages/index.ts";
|
|
3
|
+
import type { GameSystem } from "../../systems/index.ts";
|
|
4
|
+
/** Refuses a change that binds more items than the system allows, or an item that asks for no bond (BND-1, BND-2); before anything is written. */
|
|
5
|
+
export declare function checkBonds(world: World, system: GameSystem | undefined, page: Page | undefined, name: string, change: FieldChange): void;
|
|
6
|
+
/** What a write says of the items it bound (BND-3): how many of the most, and what an item asks, as by a paladin, which the master checks. */
|
|
7
|
+
export declare function bondNotes(world: World, system: GameSystem | undefined, before: Page | undefined, after: Page): string[];
|
|
8
|
+
/** Characters with more items in a bond list than the system allows, written by hand (BND-1). */
|
|
9
|
+
export declare function bondProblems(world: World, system: GameSystem | undefined): Problem[];
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { comparableText, valueNamed } from "../../core/text.js";
|
|
2
|
+
import { findPage, inheritedFields, linksIn, textsIn } from "../../pages/index.js";
|
|
3
|
+
/** Refuses a change that binds more items than the system allows, or an item that asks for no bond (BND-1, BND-2); before anything is written. */
|
|
4
|
+
export function checkBonds(world, system, page, name, change) {
|
|
5
|
+
for (const [field, bond] of Object.entries(system?.bonds ?? {})) {
|
|
6
|
+
if (!changes(change, field)) {
|
|
7
|
+
continue;
|
|
8
|
+
}
|
|
9
|
+
// Each entry a link to an item: text would bind nothing the engine counts (BND-2).
|
|
10
|
+
const given = [change.set, change.add].flatMap((values) => Object.entries(values ?? {}).filter(([name]) => comparableText(name) === comparableText(field)).flatMap(([, value]) => textsIn(value)));
|
|
11
|
+
const text = given.find((entry) => linksIn(entry).length === 0);
|
|
12
|
+
if (text !== undefined) {
|
|
13
|
+
throw new Error(`${field} takes links to items, not "${text}": write the item's page first, then add ${field}=[[${text}]]. Nothing changed.`);
|
|
14
|
+
}
|
|
15
|
+
const before = bondedNames(world, page, field);
|
|
16
|
+
const after = bondedAfter(before, change, field);
|
|
17
|
+
if (after.length > bond.most) {
|
|
18
|
+
throw new Error(`${name} would have ${after.length} items in ${field}, more than ${bond.most}, the most (read ${bond.rules}): remove one first, such as remove ${field}=[[${before[0] ?? after[0]}]]. Nothing changed.`);
|
|
19
|
+
}
|
|
20
|
+
for (const added of after.filter((item) => !before.some((other) => comparableText(other) === comparableText(item)))) {
|
|
21
|
+
const item = findPage(world, added);
|
|
22
|
+
if (item === undefined || item.type !== "item") {
|
|
23
|
+
throw new Error(`${field} takes items, and ${added} is ${item === undefined ? "no page" : `${item.type ?? "a free page"}`}: link an item, such as add ${field}=[[Ring of Protection]]. Nothing changed.`);
|
|
24
|
+
}
|
|
25
|
+
if (askedBond(world, item, bond.needs) === undefined) {
|
|
26
|
+
throw new Error(`${item.name} asks for no ${bond.needs}, so it goes in no ${field}: if it does, write ${item.name}, set ${bond.needs}=true. Nothing changed.`);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
/** What a write says of the items it bound (BND-3): how many of the most, and what an item asks, as by a paladin, which the master checks. */
|
|
32
|
+
export function bondNotes(world, system, before, after) {
|
|
33
|
+
return Object.entries(system?.bonds ?? {}).flatMap(([field, bond]) => {
|
|
34
|
+
const was = bondedNames(world, before, field);
|
|
35
|
+
const now = bondedNames(world, after, field);
|
|
36
|
+
return now.filter((item) => !was.some((other) => comparableText(other) === comparableText(item))).map((added) => {
|
|
37
|
+
const item = findPage(world, added);
|
|
38
|
+
const asked = item === undefined ? undefined : askedBond(world, item, bond.needs);
|
|
39
|
+
const what = asked === undefined || asked === true ? "" : `; it asks: ${asked}, which you check`;
|
|
40
|
+
// Its bonuses count only while in the other list too, as a ring worn (BND-4).
|
|
41
|
+
const worn = bond.while === undefined || linksIn(valueNamed(after.fields, bond.while)).some((name) => comparableText(name) === comparableText(added))
|
|
42
|
+
? ""
|
|
43
|
+
: ` Its bonuses count while it is in ${bond.while} too: add ${bond.while}=[[${added}]] when worn or held.`;
|
|
44
|
+
return `${after.name}: ${field} ${added}, ${now.length} of ${bond.most}${what}. Read ${bond.rules}.${worn}`;
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/** Characters with more items in a bond list than the system allows, written by hand (BND-1). */
|
|
49
|
+
export function bondProblems(world, system) {
|
|
50
|
+
return Object.entries(system?.bonds ?? {}).flatMap(([field, bond]) => world.pages.filter((page) => page.system === undefined && page.type === "character").flatMap((page) => {
|
|
51
|
+
const items = bondedNames(world, page, field);
|
|
52
|
+
return items.length <= bond.most ? [] : [{ path: page.path, message: `${page.name} has ${items.length} items in ${field}, more than ${bond.most}, the most.`, fix: `write ${page.name}, remove ${field}=[[${items[0]}]]` }];
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
/** What an item asks for its bond: true, or the text of who may, as by a paladin; its own field, its base's, or a page it links to, as a magic item; undefined when it asks for none. */
|
|
56
|
+
function askedBond(world, item, needs) {
|
|
57
|
+
const own = asked(valueNamed(inheritedFields(world, item), needs));
|
|
58
|
+
if (own !== undefined) {
|
|
59
|
+
return own;
|
|
60
|
+
}
|
|
61
|
+
const linked = Object.values(item.fields).flatMap(linksIn).flatMap((name) => findPage(world, name) ?? []).filter((page) => page.type === "item");
|
|
62
|
+
return linked.map((page) => asked(valueNamed(inheritedFields(world, page), needs))).find((value) => value !== undefined);
|
|
63
|
+
}
|
|
64
|
+
function asked(value) {
|
|
65
|
+
if (value === true || (typeof value === "string" && comparableText(value.trim()) === "true")) {
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
return typeof value === "string" && value.trim() !== "" && comparableText(value.trim()) !== "false" ? value.trim() : undefined;
|
|
69
|
+
}
|
|
70
|
+
function bondedNames(world, page, field) {
|
|
71
|
+
return page === undefined ? [] : linksIn(valueNamed(inheritedFields(world, page), field));
|
|
72
|
+
}
|
|
73
|
+
function changes(change, field) {
|
|
74
|
+
return [change.set, change.add, change.remove].some((values) => Object.keys(values ?? {}).some((name) => comparableText(name) === comparableText(field)));
|
|
75
|
+
}
|
|
76
|
+
/** The list as the change leaves it: set whole, then what it adds and removes. */
|
|
77
|
+
function bondedAfter(before, change, field) {
|
|
78
|
+
const named = (values) => Object.entries(values ?? {}).find(([name]) => comparableText(name) === comparableText(field))?.[1];
|
|
79
|
+
const set = named(change.set);
|
|
80
|
+
const start = set === undefined ? before : linksIn(set);
|
|
81
|
+
const removed = linksIn(named(change.remove)).map(comparableText);
|
|
82
|
+
const added = linksIn(named(change.add)).filter((item) => !start.some((other) => comparableText(other) === comparableText(item)));
|
|
83
|
+
return [...start, ...added].filter((item) => !removed.includes(comparableText(item)));
|
|
84
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Context } from "../../core/context.ts";
|
|
2
|
+
import type { Problem } from "../../core/problem.ts";
|
|
3
|
+
import { type Page } from "../../pages/index.ts";
|
|
4
|
+
/** A contradiction in the state: the rule that found it, the page it is on, and the line for the master. */
|
|
5
|
+
export interface Contradiction {
|
|
6
|
+
rule: string;
|
|
7
|
+
page: Page;
|
|
8
|
+
line: string;
|
|
9
|
+
}
|
|
10
|
+
/** Every contradiction now (CHK-3), for status and validate. */
|
|
11
|
+
export declare function allStateChecks(root: string, context: Context): Contradiction[];
|
|
12
|
+
/** The contradictions not yet told in this chat, for scene next and advance (CHK-3): each once while it lasts, again when it comes back; every one without a chat. */
|
|
13
|
+
export declare function newStateChecks(root: string, context: Context): string[];
|
|
14
|
+
/** Every contradiction as a problem of validate, on the page it is on (CHK-3). */
|
|
15
|
+
export declare function stateCheckProblems(root: string, context: Context): Problem[];
|
|
16
|
+
/** Marks these contradictions told, the whole of them now, and forgets those that hold no more, so that one that comes back is told again (CHK-3). */
|
|
17
|
+
export declare function markStateChecksTold(context: Context, found: Contradiction[]): void;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { comparableText, sameWord, valueNamed } from "../../core/text.js";
|
|
2
|
+
import { formatCounter, readCounter } from "../../counters/index.js";
|
|
3
|
+
import { keeperOf } from "../../effects/index.js";
|
|
4
|
+
import { inheritedFields, isPartyMember, pagesWithName, parsePageReference } from "../../pages/index.js";
|
|
5
|
+
import { effectsOf } from "./effect-layer.js";
|
|
6
|
+
import { keptEffects, systemNamed } from "./effects.js";
|
|
7
|
+
import { readOpenScene } from "./scene.js";
|
|
8
|
+
import { campaignSystem, campaignSystemWords, campaignWorld } from "./world.js";
|
|
9
|
+
/** Every contradiction now (CHK-3), for status and validate. */
|
|
10
|
+
export function allStateChecks(root, context) {
|
|
11
|
+
const system = campaignSystem(root, context);
|
|
12
|
+
if (system === undefined) {
|
|
13
|
+
return [];
|
|
14
|
+
}
|
|
15
|
+
const world = campaignWorld(root, context);
|
|
16
|
+
const scene = readOpenScene(root).scene;
|
|
17
|
+
// Effects written in the campaign's language are the system's by its words, A terra its Down (D-403).
|
|
18
|
+
const words = campaignSystemWords(root, context);
|
|
19
|
+
return checkedPages(world, scene).flatMap((page) => [
|
|
20
|
+
...said("kept-broken", page, keptWhileBroken(world, scene, system, page, words)),
|
|
21
|
+
...said("awake-when-down", page, awakeWhenDown(world, system, page, words)),
|
|
22
|
+
...system.checks.flatMap((check, index) => said(`system-${index}`, page, systemCheck(world, check, page, words))),
|
|
23
|
+
]);
|
|
24
|
+
}
|
|
25
|
+
/** The contradictions not yet told in this chat, for scene next and advance (CHK-3): each once while it lasts, again when it comes back; every one without a chat. */
|
|
26
|
+
export function newStateChecks(root, context) {
|
|
27
|
+
const all = allStateChecks(root, context);
|
|
28
|
+
const told = context.told;
|
|
29
|
+
if (told === undefined) {
|
|
30
|
+
return all.map((found) => found.line);
|
|
31
|
+
}
|
|
32
|
+
const fresh = all.filter((found) => !told.has(checkKey(found)));
|
|
33
|
+
markStateChecksTold(context, all);
|
|
34
|
+
return fresh.map((found) => found.line);
|
|
35
|
+
}
|
|
36
|
+
/** Every contradiction as a problem of validate, on the page it is on (CHK-3). */
|
|
37
|
+
export function stateCheckProblems(root, context) {
|
|
38
|
+
return allStateChecks(root, context).map((found) => ({ path: found.page.path, message: found.line }));
|
|
39
|
+
}
|
|
40
|
+
/** Marks these contradictions told, the whole of them now, and forgets those that hold no more, so that one that comes back is told again (CHK-3). */
|
|
41
|
+
export function markStateChecksTold(context, found) {
|
|
42
|
+
const told = context.told;
|
|
43
|
+
const now = new Set(found.map(checkKey));
|
|
44
|
+
for (const key of [...(told ?? [])].filter((name) => name.startsWith(keyPrefix) && !now.has(name))) {
|
|
45
|
+
told?.delete(key);
|
|
46
|
+
}
|
|
47
|
+
now.forEach((key) => told?.add(key));
|
|
48
|
+
}
|
|
49
|
+
const keyPrefix = "check:";
|
|
50
|
+
function checkKey(found) {
|
|
51
|
+
return `${keyPrefix}${found.rule}:${comparableText(found.page.name)}`;
|
|
52
|
+
}
|
|
53
|
+
function said(rule, page, line) {
|
|
54
|
+
return line === undefined ? [] : [{ rule, page, line }];
|
|
55
|
+
}
|
|
56
|
+
/** Who is checked (CHK-1): the party, alive or dead, and the characters of the open scene; never a copy nor the rest of the world. */
|
|
57
|
+
function checkedPages(world, scene) {
|
|
58
|
+
const inScene = (scene?.with ?? []).flatMap((link) => pagesWithName(world, parsePageReference(link).name).slice(0, 1));
|
|
59
|
+
return [...new Set([...world.pages.filter(isPartyMember), ...inScene].filter((page) => page.type === "character" && page.system === undefined))];
|
|
60
|
+
}
|
|
61
|
+
/** Who keeps an effect alive while a condition that breaks it is on them (EFF-14), as concentration held while Unconscious. */
|
|
62
|
+
function keptWhileBroken(world, scene, system, page, words) {
|
|
63
|
+
const keeping = system.keeping;
|
|
64
|
+
const condition = effectsOf(page).find((effect) => systemNamed(keeping?.conditions ?? [], effect.name, words) !== undefined)?.name;
|
|
65
|
+
const kept = keeping === undefined || condition === undefined ? [] : keptEffects(world, scene, page.name);
|
|
66
|
+
return kept.length === 0 ? undefined : `${page.name} keeps ${kept.join(" · ")} but is ${condition}, which breaks it: effect end, by [[${page.name}]]. Read rules ${keeping?.rules}.`;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* One of the party at the system's down value, or below, with none of the conditions that keep from acting (DIE-1), as when one was ended by hand; never anyone
|
|
70
|
+
* else, as a foe at 0 is dead in the game's rules (review of 19 October).
|
|
71
|
+
*/
|
|
72
|
+
function awakeWhenDown(world, system, page, words) {
|
|
73
|
+
const down = system.down;
|
|
74
|
+
if (!isPartyMember(page)) {
|
|
75
|
+
return undefined;
|
|
76
|
+
}
|
|
77
|
+
const inactive = system.combat?.inactive ?? [];
|
|
78
|
+
// The page's own counter: what a form that gives it holds is not the page's (DIE-8).
|
|
79
|
+
const counter = down === undefined ? undefined : readCounter(valueNamed(inheritedFields(world, page), down.field));
|
|
80
|
+
if (down === undefined || counter === undefined || counter.value > down.value || inactive.length === 0 || page.fields.status === "dead") {
|
|
81
|
+
return undefined;
|
|
82
|
+
}
|
|
83
|
+
if (effectsOf(page).some((effect) => systemNamed(inactive, effect.name, words) !== undefined)) {
|
|
84
|
+
return undefined;
|
|
85
|
+
}
|
|
86
|
+
const rule = system.thresholds.find((threshold) => comparableText(threshold.field) === comparableText(down.field) && threshold.value === down.value)?.rule;
|
|
87
|
+
const read = rule === undefined ? "" : ` Read rules ${rule}.`;
|
|
88
|
+
return `${page.name} is at ${down.field} ${formatCounter(counter)}, not marked dead, with none of ${inactive.join(", ")}: raise its ${down.field} as its rules say, `
|
|
89
|
+
+ `give it one of them back, or write status=dead.${read}`;
|
|
90
|
+
}
|
|
91
|
+
/** A check of the system (CHK-2): its line when `when` holds and `needs` does not; nothing when a field it reads is not on the page. */
|
|
92
|
+
function systemCheck(world, check, page, words) {
|
|
93
|
+
const fields = inheritedFields(world, page);
|
|
94
|
+
const when = holds(page, fields, check.when, words);
|
|
95
|
+
const needs = holds(page, fields, check.needs, words);
|
|
96
|
+
if (when !== true || needs !== false) {
|
|
97
|
+
return undefined;
|
|
98
|
+
}
|
|
99
|
+
return check.say.replace(/\{([^{}]+)\}/g, (whole, name) => {
|
|
100
|
+
if (name === "page") {
|
|
101
|
+
return page.name;
|
|
102
|
+
}
|
|
103
|
+
const value = valueNamed(fields, name);
|
|
104
|
+
return value === undefined ? whole : `${name} ${String(value)}`;
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/** Whether an atom holds on a page: an effect without end or keeper on it, or a field against a number; undefined when the field is not there. */
|
|
108
|
+
function holds(page, fields, atom, words) {
|
|
109
|
+
if ("effect" in atom) {
|
|
110
|
+
return effectsOf(page).some((effect) => sameWord(atom.effect, effect.name, words) && effect.end === undefined && keeperOf(effect) === undefined);
|
|
111
|
+
}
|
|
112
|
+
const value = readCounter(valueNamed(fields, atom.field))?.value;
|
|
113
|
+
return value === undefined ? undefined : compare(value, atom.op, atom.value);
|
|
114
|
+
}
|
|
115
|
+
function compare(value, op, against) {
|
|
116
|
+
switch (op) {
|
|
117
|
+
case "<":
|
|
118
|
+
return value < against;
|
|
119
|
+
case "<=":
|
|
120
|
+
return value <= against;
|
|
121
|
+
case "=":
|
|
122
|
+
return value === against;
|
|
123
|
+
case "!=":
|
|
124
|
+
return value !== against;
|
|
125
|
+
case ">=":
|
|
126
|
+
return value >= against;
|
|
127
|
+
case ">":
|
|
128
|
+
return value > against;
|
|
129
|
+
}
|
|
130
|
+
}
|