rpg-engine 0.6.5 → 0.7.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/campaign/index.d.ts +1 -1
- package/dist/campaign/index.js +1 -1
- package/dist/campaign/settings.d.ts +2 -0
- package/dist/campaign/settings.js +18 -0
- package/dist/commands/ask.d.ts +1 -0
- package/dist/commands/ask.js +75 -28
- package/dist/commands/change.js +15 -7
- package/dist/commands/config.js +70 -14
- package/dist/commands/game-catalog.d.ts +1 -1
- package/dist/commands/game-catalog.js +5 -3
- package/dist/commands/game-mode.js +5 -3
- package/dist/commands/game-offers.d.ts +33 -0
- package/dist/commands/game-offers.js +119 -0
- package/dist/commands/game-package-code.d.ts +1 -1
- package/dist/commands/game-package-code.js +7 -7
- package/dist/commands/game-theme.d.ts +9 -0
- package/dist/commands/game-theme.js +23 -0
- package/dist/commands/game-upkeep.js +12 -5
- package/dist/commands/game-world.d.ts +0 -2
- package/dist/commands/game-world.js +8 -11
- package/dist/commands/instructions.d.ts +5 -1
- package/dist/commands/instructions.js +24 -5
- package/dist/commands/mode.js +4 -1
- package/dist/commands/package.d.ts +11 -0
- package/dist/commands/package.js +87 -6
- package/dist/commands/problems.js +2 -0
- package/dist/commands/roll.d.ts +2 -0
- package/dist/commands/roll.js +37 -14
- package/dist/commands/scene.d.ts +1 -0
- package/dist/commands/scene.js +11 -2
- package/dist/commands/status.js +18 -10
- package/dist/commands/view.d.ts +5 -1
- package/dist/commands/view.js +8 -4
- package/dist/core/context.d.ts +2 -0
- package/dist/dashboard/api.js +9 -0
- package/dist/dashboard/app.js +25 -11
- package/dist/dashboard/asked.js +10 -1
- 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/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 +36 -7
- 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/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/labels.js +4 -0
- package/dist/dashboard/page-code.js +28 -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/settings.js +76 -4
- 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-server.js +65 -0
- package/dist/dice/coins.d.ts +15 -0
- package/dist/dice/coins.js +17 -0
- package/dist/dice/index.d.ts +1 -0
- package/dist/dice/index.js +2 -1
- package/dist/mcp-server.d.ts +2 -0
- package/dist/mcp-server.js +57 -9
- package/dist/page.d.ts +5 -0
- package/dist/system-checks.d.ts +32 -0
- package/dist/system-checks.js +154 -0
- package/dist/systems/game-system.d.ts +26 -1
- package/dist/systems/game-system.js +91 -2
- package/dist/systems/index.d.ts +1 -1
- package/dist/systems/index.js +1 -1
- package/dist/testing.d.ts +5 -1
- package/dist/testing.js +5 -1
- 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/instructions/adventure.md +1 -1
- package/instructions/combat.md +1 -0
- package/instructions/core.md +1 -4
- package/instructions/dashboard-guide.md +7 -0
- package/instructions/dashboard.md +1 -7
- package/instructions/new-day.md +1 -1
- package/instructions/play.md +15 -27
- package/instructions/session.md +3 -0
- package/package.json +3 -9
- 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/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 -5
- 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 -12
- package/systems/5e/instructions/quest-ends.md +0 -1
- package/systems/5e/instructions/session-zero.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
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { readChoice } from "./prefs.js";
|
|
2
|
+
/** The event that tells the page the game's style changed: what draws an icon draws it again. */
|
|
3
|
+
export const gameStyleChanged = "rpg-engine:game-style";
|
|
4
|
+
/** Whether the page shows the game's style, by system: the game's, or the page's own. */
|
|
5
|
+
export function systemStylePref(system) {
|
|
6
|
+
return { key: `rpg-engine.game-style.${system}`, initial: "game", values: ["game", "page"] };
|
|
7
|
+
}
|
|
8
|
+
/** The game's style as last read, for Settings: its system and its theme's name; whether it has anything to show, or its theme was refused. */
|
|
9
|
+
export function gameStyle() {
|
|
10
|
+
return { system: theme.system, name: theme.name, shows: theme.css !== undefined || freeStyle !== undefined, refused: theme.refused === true };
|
|
11
|
+
}
|
|
12
|
+
/** The lines of an icon the game's style draws anew, while it is on; undefined for the page's own. */
|
|
13
|
+
export function themedIcon(name) {
|
|
14
|
+
return styleOn() ? theme.icons?.[name] : undefined;
|
|
15
|
+
}
|
|
16
|
+
/** Takes the theme of the campaign's system as read, and the free style sheet of its page module; the page shows them while the game's style is on. */
|
|
17
|
+
export function takeSystemStyle(read, pageStyle) {
|
|
18
|
+
const same = JSON.stringify(read) === JSON.stringify(theme) && pageStyle === freeStyle;
|
|
19
|
+
theme = read;
|
|
20
|
+
freeStyle = pageStyle;
|
|
21
|
+
if (!same) {
|
|
22
|
+
applyGameStyle();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
/** Shows the game's style or the page's own, as the player keeps it for the campaign's system: after a change of that choice, or of what the system gives. */
|
|
26
|
+
export function applyGameStyle() {
|
|
27
|
+
if (typeof document === "undefined") {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const on = styleOn();
|
|
31
|
+
themeSheet ??= new CSSStyleSheet();
|
|
32
|
+
freeSheet ??= new CSSStyleSheet();
|
|
33
|
+
themeSheet.replaceSync(on ? theme.css ?? "" : "");
|
|
34
|
+
freeSheet.replaceSync(on ? freeStyle ?? "" : "");
|
|
35
|
+
const others = document.adoptedStyleSheets.filter((sheet) => sheet !== themeSheet && sheet !== freeSheet);
|
|
36
|
+
document.adoptedStyleSheets = [...others, themeSheet, freeSheet];
|
|
37
|
+
document.querySelectorAll(".title-too-wide").forEach((title) => title.classList.remove("title-too-wide"));
|
|
38
|
+
watchTitles();
|
|
39
|
+
fitTitles();
|
|
40
|
+
window.dispatchEvent(new Event(gameStyleChanged));
|
|
41
|
+
}
|
|
42
|
+
let theme = {};
|
|
43
|
+
let freeStyle;
|
|
44
|
+
let themeSheet;
|
|
45
|
+
let freeSheet;
|
|
46
|
+
let watching = false;
|
|
47
|
+
let fitting = false;
|
|
48
|
+
// The card titles the theme's face may make too wide, and the campaign's name.
|
|
49
|
+
const titles = ":is(summary, .card-head) :is(h2, h3, .rolls-title), .titles h1";
|
|
50
|
+
function styleOn() {
|
|
51
|
+
return theme.system !== undefined && gameStyle().shows && readChoice(systemStylePref(theme.system)) === "game";
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Each title the theme's face makes wider than its card goes back to the text's face, that title alone (D-528 (4)): measured as the page changes, as its
|
|
55
|
+
* faces come, and anew when the window's width changes.
|
|
56
|
+
*/
|
|
57
|
+
function watchTitles() {
|
|
58
|
+
if (watching) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
watching = true;
|
|
62
|
+
new MutationObserver(fitTitles).observe(document.body, { subtree: true, childList: true });
|
|
63
|
+
document.fonts.addEventListener("loadingdone", fitTitles);
|
|
64
|
+
window.addEventListener("resize", () => {
|
|
65
|
+
document.querySelectorAll(".title-too-wide").forEach((title) => title.classList.remove("title-too-wide"));
|
|
66
|
+
fitTitles();
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/** Measures the titles at the next frame, once however often it is asked meanwhile. */
|
|
70
|
+
function fitTitles() {
|
|
71
|
+
if (fitting || !styleOn()) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
fitting = true;
|
|
75
|
+
requestAnimationFrame(() => {
|
|
76
|
+
fitting = false;
|
|
77
|
+
for (const title of document.querySelectorAll(titles)) {
|
|
78
|
+
const head = title.closest("summary, .card-head") ?? title;
|
|
79
|
+
if (!title.classList.contains("title-too-wide") && (title.scrollWidth > title.clientWidth + 1 || head.scrollWidth > head.clientWidth + 1)) {
|
|
80
|
+
title.classList.add("title-too-wide");
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
}
|
package/dist/dashboard/theme.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
// The page's theme (D-300): the system's, until the player picks light or dark at the top of the page, which this browser remembers; the dice follow it.
|
|
1
|
+
// The page's theme (D-300): the system's, until the player picks light or dark at the top of the page, which this browser remembers; the dice follow it. The page
|
|
2
|
+
// always says on <html> which one it shows, so that a game's style can give each its own pictures (D-528).
|
|
2
3
|
import { announcePref } from "./prefs.js";
|
|
3
4
|
// Where the browser remembers the theme the player picked.
|
|
4
5
|
const themeKey = "rpg-engine.theme";
|
|
6
|
+
// The theme of the system, which the page shows while the player picks none.
|
|
7
|
+
const systemDark = typeof matchMedia === "undefined" ? undefined : matchMedia("(prefers-color-scheme: dark)");
|
|
5
8
|
/** The theme the page shows: the one the player picked, or the system's. */
|
|
6
9
|
export function shownTheme() {
|
|
7
|
-
const
|
|
8
|
-
return
|
|
10
|
+
const shown = typeof document === "undefined" ? undefined : document.documentElement.dataset.theme;
|
|
11
|
+
return shown === "light" || shown === "dark" ? shown : systemDark?.matches === true ? "dark" : "light";
|
|
9
12
|
}
|
|
10
13
|
/** Shows the theme the player picked, and remembers it in this browser; every part of the page that shows it hears of it. */
|
|
11
14
|
export function pickTheme(theme) {
|
|
@@ -18,15 +21,23 @@ export function pickTheme(theme) {
|
|
|
18
21
|
}
|
|
19
22
|
announcePref();
|
|
20
23
|
}
|
|
21
|
-
/** At the page's start, the theme the player picked before,
|
|
24
|
+
/** At the page's start, the theme the player picked before, else the system's, followed as it changes while the player picks none. */
|
|
22
25
|
export function restoreTheme() {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
if (picked ===
|
|
26
|
-
document.documentElement.dataset.theme =
|
|
26
|
+
document.documentElement.dataset.theme = picked() ?? (systemDark?.matches === true ? "dark" : "light");
|
|
27
|
+
systemDark?.addEventListener("change", () => {
|
|
28
|
+
if (picked() === undefined) {
|
|
29
|
+
document.documentElement.dataset.theme = systemDark.matches ? "dark" : "light";
|
|
30
|
+
announcePref();
|
|
27
31
|
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function picked() {
|
|
35
|
+
try {
|
|
36
|
+
const kept = localStorage.getItem(themeKey);
|
|
37
|
+
return kept === "light" || kept === "dark" ? kept : undefined;
|
|
28
38
|
}
|
|
29
39
|
catch {
|
|
30
40
|
// No storage: the system's theme.
|
|
41
|
+
return undefined;
|
|
31
42
|
}
|
|
32
43
|
}
|
package/dist/dashboard-server.js
CHANGED
|
@@ -19,6 +19,7 @@ import { libraryContents, libraryEntries, startLibraryReading, unquoted } from "
|
|
|
19
19
|
import { campaignMode } from "./commands/game-mode.js";
|
|
20
20
|
import { campaignPackages, loadCampaignCode, packageCommands } from "./commands/game-package-code.js";
|
|
21
21
|
import { exportsFolderName, resetPoints } from "./commands/game-saves.js";
|
|
22
|
+
import { campaignTheme } from "./commands/game-theme.js";
|
|
22
23
|
import { campaignWidgets, packageWidget } from "./commands/game-widgets.js";
|
|
23
24
|
import { campaignSystem, campaignWorld } from "./commands/game-world.js";
|
|
24
25
|
import { importShown } from "./commands/import.js";
|
|
@@ -43,6 +44,7 @@ import { actText, giveBackAct, markHeard, markRung, newActs, takeActs, withdrawA
|
|
|
43
44
|
import { readNotes, removeNote, writeNote } from "./player-notes/index.js";
|
|
44
45
|
import { installedSystems, rollName } from "./systems/index.js";
|
|
45
46
|
import { loadSystemCode } from "./systems/index.js";
|
|
47
|
+
import { drawnOrnament, themeCss, themeFile } from "./themes/index.js";
|
|
46
48
|
/**
|
|
47
49
|
* The ports the dashboard tries in turn, taking the first that is free: the same link from one chat to the next (D-272). Windows may keep ranges of ports
|
|
48
50
|
* from boot to boot (netsh int ipv4 show excludedportrange): then the next range, and at last any free port, whose link status gives all the same (D-338).
|
|
@@ -91,6 +93,9 @@ const pageTypes = {
|
|
|
91
93
|
".md": "text/markdown; charset=utf-8",
|
|
92
94
|
".wav": "audio/wav",
|
|
93
95
|
};
|
|
96
|
+
// Where the page finds the theme's files, and what they may be: faces and pictures.
|
|
97
|
+
const themeAddress = "/theme";
|
|
98
|
+
const themeTypes = { ...imageTypes, ".woff2": "font/woff2", ".woff": "font/woff", ".ttf": "font/ttf", ".otf": "font/otf" };
|
|
94
99
|
// A picture runs nothing, even an SVG opened by itself.
|
|
95
100
|
const picturePolicy = "default-src 'none'; style-src 'unsafe-inline'; sandbox";
|
|
96
101
|
// From src/ and from dist/ alike, the built page is in dist/dashboard, one level up.
|
|
@@ -408,6 +413,7 @@ async function answer(request, response, served) {
|
|
|
408
413
|
names,
|
|
409
414
|
...rows,
|
|
410
415
|
...(asked.rows?.forced === true ? { forced: true } : {}),
|
|
416
|
+
...(asked.rows?.toss === true ? { toss: true } : {}),
|
|
411
417
|
...(asked.rows?.buttons === undefined ? {} : { buttons: asked.rows.buttons }),
|
|
412
418
|
...(asked.rows?.rule === undefined ? {} : { rule: asked.rows.rule }),
|
|
413
419
|
// Its card, or that one comes, until its widget answers: the page waits for it rather than show the question twice (D-507).
|
|
@@ -422,6 +428,10 @@ async function answer(request, response, served) {
|
|
|
422
428
|
await packagesNow(response, served, url.searchParams.get("npm") === "true");
|
|
423
429
|
return;
|
|
424
430
|
}
|
|
431
|
+
if (path === "/api/theme") {
|
|
432
|
+
await themeNow(response, served);
|
|
433
|
+
return;
|
|
434
|
+
}
|
|
425
435
|
if (path === "/api/modules") {
|
|
426
436
|
const root = findCampaign(served.context.folder);
|
|
427
437
|
await served.session.ready();
|
|
@@ -468,6 +478,9 @@ async function answer(request, response, served) {
|
|
|
468
478
|
else if (sendPacked(path, response, served)) {
|
|
469
479
|
// A language package's phrases or Guide, before the page's own (D-485 (3)).
|
|
470
480
|
}
|
|
481
|
+
else if (path.startsWith(`${themeAddress}/`)) {
|
|
482
|
+
await sendThemeFile(path.slice(themeAddress.length + 1), url.searchParams, request, response, served);
|
|
483
|
+
}
|
|
471
484
|
else if (path.startsWith("/vendor/")) {
|
|
472
485
|
sendFile(vendorModule(path.slice("/vendor/".length)), path, request, response, served);
|
|
473
486
|
}
|
|
@@ -878,6 +891,58 @@ function watchHidden(served) {
|
|
|
878
891
|
}
|
|
879
892
|
}, served.pageHidden).unref();
|
|
880
893
|
}
|
|
894
|
+
/**
|
|
895
|
+
* The theme of the campaign's game system (D-528): its CSS of custom properties, its icons and its name, which the page uses while the player keeps the game's
|
|
896
|
+
* style on; refused when it does not pass its checks, which validate says; the system's name alone when it names none.
|
|
897
|
+
*/
|
|
898
|
+
async function themeNow(response, served) {
|
|
899
|
+
const root = findCampaign(served.context.folder);
|
|
900
|
+
await served.session.ready();
|
|
901
|
+
const system = root === undefined ? undefined : withFiles(served.session, () => campaignSystem(root, served.context));
|
|
902
|
+
const reading = root === undefined ? undefined : withFiles(served.session, () => campaignTheme(root, served.context));
|
|
903
|
+
if (system === undefined) {
|
|
904
|
+
sendJson(response, 200, {});
|
|
905
|
+
}
|
|
906
|
+
else if (reading === undefined) {
|
|
907
|
+
// No theme, but the system's name, which keeps the player's switch of its page style, if its page module gives one.
|
|
908
|
+
sendJson(response, 200, { system: system.name });
|
|
909
|
+
}
|
|
910
|
+
else if (reading.theme === undefined) {
|
|
911
|
+
sendJson(response, 200, { system: reading.system, refused: true });
|
|
912
|
+
}
|
|
913
|
+
else {
|
|
914
|
+
sendJson(response, 200, { system: reading.system, name: reading.theme.name, css: themeCss(reading.theme, themeAddress), icons: reading.theme.icons });
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
* A file of the theme of the campaign's game system, at theme/<path>, only from its folder, by real paths, and only while the theme passes its checks: a face
|
|
919
|
+
* or a picture. Its ornament comes in the colour asked, ?ink=#rrggbb, and turned for a page that reads right to left, &mirrored.
|
|
920
|
+
*/
|
|
921
|
+
async function sendThemeFile(name, query, request, response, served) {
|
|
922
|
+
const root = findCampaign(served.context.folder);
|
|
923
|
+
await served.session.ready();
|
|
924
|
+
const folder = root === undefined ? undefined : withFiles(served.session, () => campaignTheme(root, served.context))?.theme?.folder;
|
|
925
|
+
let file;
|
|
926
|
+
try {
|
|
927
|
+
file = folder === undefined ? undefined : themeFile(folder, decodeURIComponent(name));
|
|
928
|
+
}
|
|
929
|
+
catch {
|
|
930
|
+
file = undefined;
|
|
931
|
+
}
|
|
932
|
+
const type = file === undefined ? undefined : themeTypes[extname(file).toLowerCase()];
|
|
933
|
+
if (file === undefined || type === undefined) {
|
|
934
|
+
send(response, 404, "text/plain; charset=utf-8", `Nothing at ${themeAddress}/${name}.`);
|
|
935
|
+
return;
|
|
936
|
+
}
|
|
937
|
+
const ink = query.get("ink");
|
|
938
|
+
const tinted = type === imageTypes[".svg"] && ink !== null && /^#[0-9a-f]{6}$/i.test(ink);
|
|
939
|
+
const bytes = withFiles(served.session, () => (tinted ? Buffer.from(drawnOrnament(files().text(file) ?? "", ink, query.has("mirrored"))) : files().bytes(file)));
|
|
940
|
+
if (bytes === undefined) {
|
|
941
|
+
send(response, 404, "text/plain; charset=utf-8", `Nothing at ${themeAddress}/${name}.`);
|
|
942
|
+
return;
|
|
943
|
+
}
|
|
944
|
+
sendTagged(request, response, bytes, { "Content-Type": type, "Content-Security-Policy": type.startsWith("image/") ? picturePolicy : securityHeaders["Content-Security-Policy"] });
|
|
945
|
+
}
|
|
881
946
|
/**
|
|
882
947
|
* The packages as the page shows them (D-475): the game system, those on this computer with whether the campaign uses them, those it lists and lacks, what npm
|
|
883
948
|
* has when asked, and the one the player is working on now.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type DiceRoll, type FaceSource } from "./roll-dice.ts";
|
|
2
|
+
/** The faces of a coin, as a d2 numbers them. */
|
|
3
|
+
export declare const coinSides: readonly ["heads", "tails"];
|
|
4
|
+
export type CoinSide = (typeof coinSides)[number];
|
|
5
|
+
/** The most coins a toss takes. */
|
|
6
|
+
export declare const mostCoins = 3;
|
|
7
|
+
/** A toss: the d2s thrown, each coin's face in the order they fell, how many heads, and its text, as `Toss of 2: heads, tails`. */
|
|
8
|
+
export interface CoinToss {
|
|
9
|
+
roll: DiceRoll;
|
|
10
|
+
sides: CoinSide[];
|
|
11
|
+
heads: number;
|
|
12
|
+
text: string;
|
|
13
|
+
}
|
|
14
|
+
/** Tosses `count` coins, from one to three; refused for any other number. */
|
|
15
|
+
export declare function tossCoins(count: number, source: FaceSource): CoinToss;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Coins tossed, one to three, each heads or tails (COIN-1): a d2 with the names of its faces, 1 heads and 2 tails.
|
|
2
|
+
import { DiceError } from "./notation.js";
|
|
3
|
+
import { rollDice } from "./roll-dice.js";
|
|
4
|
+
/** The faces of a coin, as a d2 numbers them. */
|
|
5
|
+
export const coinSides = ["heads", "tails"];
|
|
6
|
+
/** The most coins a toss takes. */
|
|
7
|
+
export const mostCoins = 3;
|
|
8
|
+
/** Tosses `count` coins, from one to three; refused for any other number. */
|
|
9
|
+
export function tossCoins(count, source) {
|
|
10
|
+
if (!Number.isInteger(count) || count < 1 || count > mostCoins) {
|
|
11
|
+
throw new DiceError(`Toss one, two or three coins, not ${count}.`);
|
|
12
|
+
}
|
|
13
|
+
const roll = rollDice(`${count}d2`, source);
|
|
14
|
+
const sides = roll.faces.map((face) => coinSides[face - 1]);
|
|
15
|
+
const heads = sides.filter((side) => side === "heads").length;
|
|
16
|
+
return { roll, sides, heads, text: `${count === 1 ? "Toss" : `Toss of ${count}`}: ${sides.join(", ")}` };
|
|
17
|
+
}
|
package/dist/dice/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { type CoinSide, coinSides, type CoinToss, mostCoins, tossCoins } from "./coins.ts";
|
|
1
2
|
export { DiceError, parseNotation } from "./notation.ts";
|
|
2
3
|
export { askOracle, type OracleAnswer, oracleOdds, oracleResult } from "./oracle.ts";
|
|
3
4
|
export { createProof, fingerprint, sha256 } from "./proof.ts";
|
package/dist/dice/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
// Dice for any game: notation, digital or physical faces, proofs for hidden rolls, random tables, a yes/no oracle. Depends on nothing else in rpg-engine.
|
|
1
|
+
// Dice for any game: notation, digital or physical faces, proofs for hidden rolls, random tables, a yes/no oracle, coins. Depends on nothing else in rpg-engine.
|
|
2
|
+
export { coinSides, mostCoins, tossCoins } from "./coins.js";
|
|
2
3
|
export { DiceError, parseNotation } from "./notation.js";
|
|
3
4
|
export { askOracle, oracleOdds, oracleResult } from "./oracle.js";
|
|
4
5
|
export { createProof, fingerprint, sha256 } from "./proof.js";
|
package/dist/mcp-server.d.ts
CHANGED
|
@@ -20,3 +20,5 @@ export declare function dashboardOpener(context: Context, session: SessionStore,
|
|
|
20
20
|
open(): Promise<void>;
|
|
21
21
|
close(): Promise<void>;
|
|
22
22
|
};
|
|
23
|
+
/** What a host reads of each of the core's tools in the campaign of this context's folder: its description, then its parameters', with the examples of its system (D-518). */
|
|
24
|
+
export declare function toolDescriptions(context: Context): Record<string, string>;
|
package/dist/mcp-server.js
CHANGED
|
@@ -9,6 +9,7 @@ import { packageCommands } from "./commands/game-package-code.js";
|
|
|
9
9
|
import { newChatText, wentBackTo } from "./commands/game-saves.js";
|
|
10
10
|
import { campaignWorld } from "./commands/game-world.js";
|
|
11
11
|
import { commands } from "./commands/index.js";
|
|
12
|
+
import { installCampaignSystem } from "./commands/package.js";
|
|
12
13
|
import { systemConfirm } from "./confirm/index.js";
|
|
13
14
|
import { defaultContext, packagesFolder } from "./core/context.js";
|
|
14
15
|
import { downloadBytes } from "./core/download.js";
|
|
@@ -41,15 +42,20 @@ const preloadAfter = 250;
|
|
|
41
42
|
* dashboard runs, whose page asks first (D-279).
|
|
42
43
|
*/
|
|
43
44
|
export function createMcpServer(context = defaultContext(), environment = process.env, beforeCall) {
|
|
44
|
-
|
|
45
|
+
// The descriptions change together, after a call: hosts hear one list_changed for all of them.
|
|
46
|
+
const server = new McpServer({ name: "rpg", version: getVersion() }, { instructions: startInstructions(), debouncedNotificationMethods: ["notifications/tools/list_changed"] });
|
|
45
47
|
const askingTools = [];
|
|
46
48
|
// A server lives as long as its chat: it gives each part of the instructions once (D-97).
|
|
47
49
|
context.told ??= new Set();
|
|
48
50
|
context.chat ??= { calls: 0 };
|
|
49
51
|
// What changed outside the chat's commands, at the head of each call (OUT-1–OUT-4).
|
|
50
52
|
const outside = context.files instanceof SessionStore ? watchOutside(context, context.files) : { take: () => [], giveBack: () => undefined };
|
|
53
|
+
// The campaign's game system, one of ours, installed by itself when it is not on this computer, and said once (SYS-10).
|
|
54
|
+
const installer = systemInstaller(context);
|
|
51
55
|
// Before each call, once the files are read again: the dashboard opens, and its page asks the player too, so the asking tools are there, forms or not (ASK-1, D-279).
|
|
52
56
|
const prepare = async () => {
|
|
57
|
+
// The campaign's game system first, when it is one of ours missing here, so that the dashboard reads it with its code (SYS-10).
|
|
58
|
+
await installer.install();
|
|
53
59
|
await beforeCall?.();
|
|
54
60
|
if (context.page !== undefined) {
|
|
55
61
|
askingTools.filter((tool) => !tool.enabled).forEach((tool) => tool.enable());
|
|
@@ -64,10 +70,10 @@ export function createMcpServer(context = defaultContext(), environment = proces
|
|
|
64
70
|
return extensions();
|
|
65
71
|
};
|
|
66
72
|
// The tools of the campaign's extensions, kept in step after every call, as one that installs an extension or makes the campaign (D-63).
|
|
67
|
-
const extensions = extensionTools(server, context, (command) => (input, extra) => runTool(command, input, context, extra, prepare, outside, examples).finally(afterCall));
|
|
73
|
+
const extensions = extensionTools(server, context, (command) => (input, extra) => runTool(command, input, context, extra, prepare, installer, outside, examples).finally(afterCall));
|
|
68
74
|
firstExtensions.set(server, extensions());
|
|
69
75
|
for (const command of commands) {
|
|
70
|
-
const tool = server.registerTool(command.name, toolConfig(command, examples.shown), (input, extra) => runTool(command, input, context, extra, prepare, outside, examples).finally(afterCall));
|
|
76
|
+
const tool = server.registerTool(command.name, toolConfig(command, examples.shown), (input, extra) => runTool(command, input, context, extra, prepare, installer, outside, examples).finally(afterCall));
|
|
71
77
|
coreTools.set(command, tool);
|
|
72
78
|
if (command.needsPlayer && context.player === undefined) {
|
|
73
79
|
tool.disable();
|
|
@@ -85,9 +91,14 @@ export function createMcpServer(context = defaultContext(), environment = proces
|
|
|
85
91
|
});
|
|
86
92
|
askingTools.forEach((tool) => tool.enable());
|
|
87
93
|
}
|
|
88
|
-
// The world is read once the host has the tools, never before: initialize and the list of tools answer at once (D-194).
|
|
94
|
+
// The world is read once the host has the tools, never before: initialize and the list of tools answer at once (D-194). The campaign's system, one of
|
|
95
|
+
// ours missing here, starts to install then, while the player writes: the first call waits for the same install and says it (SYS-10, D-520).
|
|
96
|
+
const installing = () => void installer.install().then(afterCall).catch(() => undefined);
|
|
89
97
|
if (context.files instanceof SessionStore) {
|
|
90
|
-
setTimeout(() => void preload(context, context.files), preloadAfter);
|
|
98
|
+
setTimeout(() => void preload(context, context.files).then(installing), preloadAfter);
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
installing();
|
|
91
102
|
}
|
|
92
103
|
};
|
|
93
104
|
return server;
|
|
@@ -218,6 +229,14 @@ function toolConfig(command, examples) {
|
|
|
218
229
|
const meta = command.alwaysLoad ? { "anthropic/alwaysLoad": true } : undefined;
|
|
219
230
|
return { description: withExamples(command.description, examples), inputSchema: shownSchema(command, examples), annotations, _meta: meta };
|
|
220
231
|
}
|
|
232
|
+
/** What a host reads of each of the core's tools in the campaign of this context's folder: its description, then its parameters', with the examples of its system (D-518). */
|
|
233
|
+
export function toolDescriptions(context) {
|
|
234
|
+
const examples = examplesFor(context, new FileStore(context.systemFolders));
|
|
235
|
+
return Object.fromEntries(commands.map((command) => {
|
|
236
|
+
const fields = Object.values(shownInput(command, examples).properties ?? {}).map((field) => field.description ?? "");
|
|
237
|
+
return [command.name, [withExamples(command.description, examples), ...fields].join("\n")];
|
|
238
|
+
}));
|
|
239
|
+
}
|
|
221
240
|
/** The examples for the campaign of the server's folder, read through a store; neutral where it has none, or where it does not read. */
|
|
222
241
|
function examplesFor(context, store) {
|
|
223
242
|
try {
|
|
@@ -279,7 +298,7 @@ function inputIssue(tool, issue, given) {
|
|
|
279
298
|
}
|
|
280
299
|
return path === "" ? `${issue.message}.` : `${path}: ${issue.message}.`;
|
|
281
300
|
}
|
|
282
|
-
async function runTool(command, input, context, extra, prepare, outside, examples) {
|
|
301
|
+
async function runTool(command, input, context, extra, prepare, installer, outside, examples) {
|
|
283
302
|
const keepAlive = command.needsPlayer || command.waitsForPlayer
|
|
284
303
|
? reportProgress(extra, () => (context.page?.asking?.() === true ? "waiting for the player's click on the dashboard" : "waiting for the player"))
|
|
285
304
|
: command.slow === true
|
|
@@ -287,6 +306,7 @@ async function runTool(command, input, context, extra, prepare, outside, example
|
|
|
287
306
|
: undefined;
|
|
288
307
|
let news;
|
|
289
308
|
let changedOutside = [];
|
|
309
|
+
let installed = [];
|
|
290
310
|
// What the chat was told before the call: an answer that never goes tells nothing, so its parts are told again (D-97).
|
|
291
311
|
const told = new Set(context.told);
|
|
292
312
|
const chat = context.chat;
|
|
@@ -303,11 +323,13 @@ async function runTool(command, input, context, extra, prepare, outside, example
|
|
|
303
323
|
await context.files.ready(command.name === "instructions");
|
|
304
324
|
}
|
|
305
325
|
await prepare();
|
|
326
|
+
// The campaign's system installed by itself, said first (SYS-10); a call stopped while it installed leaves the line to the next.
|
|
327
|
+
installed = extra.signal.aborted ? [] : installer.take();
|
|
306
328
|
// After a load the chat going on remembers what is gone: nothing runs in it, until a new chat begins with instructions (D-361).
|
|
307
329
|
const back = chatAfterLoad(context, command.name, input);
|
|
308
330
|
if (back.refused !== undefined) {
|
|
309
331
|
news = context.news?.();
|
|
310
|
-
return { content: [{ type: "text", text: [...(news?.lines ?? []), back.refused].join("\n\n") }], isError: true };
|
|
332
|
+
return { content: [{ type: "text", text: [...installed, ...(news?.lines ?? []), back.refused].join("\n\n") }], isError: true };
|
|
311
333
|
}
|
|
312
334
|
const checked = checkedInput(command, input, examples.shown);
|
|
313
335
|
// What changed outside the chat comes before the command runs on it, its events fired (OUT-3).
|
|
@@ -316,17 +338,18 @@ async function runTool(command, input, context, extra, prepare, outside, example
|
|
|
316
338
|
const text = command.format(await command.run(checked, { ...context, signal: extra.signal }));
|
|
317
339
|
// What the player changed on the dashboard comes first, once, what they changed while the call waited included (D-341).
|
|
318
340
|
news = context.news?.();
|
|
319
|
-
return { content: [{ type: "text", text: [...(news?.lines ?? []), ...changedOutside, ...back.begun, text].join("\n\n") }] };
|
|
341
|
+
return { content: [{ type: "text", text: [...installed, ...(news?.lines ?? []), ...changedOutside, ...back.begun, text].join("\n\n") }] };
|
|
320
342
|
}
|
|
321
343
|
catch (error) {
|
|
322
344
|
news ??= context.news?.();
|
|
323
|
-
return { content: [{ type: "text", text: [...(news?.lines ?? []), ...changedOutside, error instanceof Error ? error.message : String(error)].join("\n\n") }], isError: true };
|
|
345
|
+
return { content: [{ type: "text", text: [...installed, ...(news?.lines ?? []), ...changedOutside, error instanceof Error ? error.message : String(error)].join("\n\n") }], isError: true };
|
|
324
346
|
}
|
|
325
347
|
finally {
|
|
326
348
|
clearInterval(keepAlive);
|
|
327
349
|
// An answer that never goes, as for a call the user stopped, gives what the player changed back to the next one, and its parts.
|
|
328
350
|
if (extra.signal.aborted) {
|
|
329
351
|
news?.restore();
|
|
352
|
+
installer.giveBack(installed);
|
|
330
353
|
outside.giveBack(changedOutside);
|
|
331
354
|
context.told?.clear();
|
|
332
355
|
told.forEach((name) => context.told?.add(name));
|
|
@@ -340,6 +363,31 @@ async function runTool(command, input, context, extra, prepare, outside, example
|
|
|
340
363
|
}
|
|
341
364
|
}
|
|
342
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* The campaign's game system installed by itself when it is one of ours not on this computer (SYS-10, D-514 (3)): tried once for each system a campaign of
|
|
368
|
+
* the server's folder names, before a call; its line, that it was installed or why not, for the call that answers.
|
|
369
|
+
*/
|
|
370
|
+
function systemInstaller(context) {
|
|
371
|
+
const tried = new Set();
|
|
372
|
+
let untold = [];
|
|
373
|
+
let installing = Promise.resolve();
|
|
374
|
+
return {
|
|
375
|
+
// One at a time: two calls at once wait for the same install.
|
|
376
|
+
install: () => (installing = installing.then(async () => {
|
|
377
|
+
// A campaign that does not read installs nothing: the call says why.
|
|
378
|
+
const line = await installCampaignSystem(context, tried).catch(() => undefined);
|
|
379
|
+
untold = line === undefined ? untold : [...untold, line];
|
|
380
|
+
})),
|
|
381
|
+
take: () => {
|
|
382
|
+
const lines = untold;
|
|
383
|
+
untold = [];
|
|
384
|
+
return lines;
|
|
385
|
+
},
|
|
386
|
+
giveBack: (lines) => {
|
|
387
|
+
untold = [...lines, ...untold];
|
|
388
|
+
},
|
|
389
|
+
};
|
|
390
|
+
}
|
|
343
391
|
/**
|
|
344
392
|
* What changed outside the chat's commands since its last call (OUT-1–OUT-4): the world as it was is read before the session lets the changes in, so that the
|
|
345
393
|
* events they set off fire; at the server's first call, the files changed while no chat was open.
|
package/dist/page.d.ts
CHANGED
|
@@ -160,6 +160,11 @@ export interface PageModule {
|
|
|
160
160
|
pages?: Record<string, OwnPage>;
|
|
161
161
|
/** Its own style sheet, which each of its drawings takes after the dashboard's: the layout and motion of its own parts, with the dashboard's tokens. */
|
|
162
162
|
style?: string;
|
|
163
|
+
/**
|
|
164
|
+
* A game system's alone: a style sheet over the whole dashboard's, without a layer, which wins over its rules whatever their selectors while the player keeps
|
|
165
|
+
* the game's style on; never over the focus ring and the tooltips. Its classes are not a contract: a change of the dashboard may break it.
|
|
166
|
+
*/
|
|
167
|
+
pageStyle?: string;
|
|
163
168
|
}
|
|
164
169
|
/** A button of words: gold for the one main action, quiet for a secondary one, danger for one that loses something; disabled waits, keeping the focus. */
|
|
165
170
|
export declare function Button(props: {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** What the checks find in a game system's folder: how much it holds, and what is wrong by check, each list empty when it passes. */
|
|
2
|
+
export interface SystemChecks {
|
|
3
|
+
/** Its name, as a campaign gives it: its package's, as @rpgengine/system-5e is 5e, else its folder's. */
|
|
4
|
+
name: string;
|
|
5
|
+
/** How many pages it has, and chapters of rules. */
|
|
6
|
+
pages: number;
|
|
7
|
+
chapters: number;
|
|
8
|
+
/** Where it says it comes from, if it says. */
|
|
9
|
+
attribution?: string;
|
|
10
|
+
/** A page that does not read, and what validate finds in its pages. */
|
|
11
|
+
unread: string[];
|
|
12
|
+
/** A name two of its pages share among all its types, or one with a curly apostrophe (SYS-2, SYS-5). */
|
|
13
|
+
names: string[];
|
|
14
|
+
/** A page with a value YAML reads as a number, as the +2 of a shield, without quotes. */
|
|
15
|
+
unquoted: string[];
|
|
16
|
+
/** A page that derives from one it does not have (SYS-2, D-201). */
|
|
17
|
+
bases: string[];
|
|
18
|
+
/** What its system.yaml declares that does not read: coins, fields it does not declare, rules its chapters lack (DAT-1–DAT-7). */
|
|
19
|
+
declarations: string[];
|
|
20
|
+
/** A section of its rules outside a chapter, or whose title its path does not find (RUL-1, RUL-3). */
|
|
21
|
+
rules: string[];
|
|
22
|
+
/** A value not of its field's kind, or ending in a period; a formula of an item that does not read (SYS-8, PRO-5). */
|
|
23
|
+
values: string[];
|
|
24
|
+
/** A field of its pages it does not declare (SYS-8). */
|
|
25
|
+
undeclared: string[];
|
|
26
|
+
/** A picture its pages link that its images/ lacks, or one there no page links (D-267). */
|
|
27
|
+
pictures: string[];
|
|
28
|
+
/** What keeps its theme of the dashboard from being used, when it names one: its keys, its files, both modes, the contrast of its colours (D-528). */
|
|
29
|
+
theme: string[];
|
|
30
|
+
}
|
|
31
|
+
/** Checks the game system in this folder, the one with its system.yaml, as the engine reads it; it throws when its system.yaml does not read. */
|
|
32
|
+
export declare function systemChecks(folder: string): SystemChecks;
|