@champions-digital-game/mod-sdk 0.0.0-stage → 0.45.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/LICENSE +661 -0
- package/README.md +71 -2
- package/dist/build.js +1 -0
- package/dist/chunks/chunk-GDZAIM46.js +7 -0
- package/dist/chunks/chunk-JAFPA7PX.js +4 -0
- package/dist/chunks/chunk-MS5INQIY.js +22 -0
- package/dist/chunks/chunk-PAYEJUZX.js +1 -0
- package/dist/chunks/chunk-VSWWKMOU.js +8477 -0
- package/dist/chunks/chunk-W45IQDAE.js +1 -0
- package/dist/chunks/chunk-WX7AFXND.js +1 -0
- package/dist/import.js +1 -0
- package/dist/index.js +1 -0
- package/dist/mc-pack.js +26 -0
- package/dist/testing.js +1 -0
- package/package.json +59 -4
- package/types/cards/src/ability-refs.d.ts +19 -0
- package/types/cards/src/builtin-packs/define.d.ts +60 -0
- package/types/cards/src/builtin-packs/index.d.ts +14 -0
- package/types/cards/src/builtin-packs/reprints.d.ts +33 -0
- package/types/cards/src/campaigns/aoa.d.ts +90 -0
- package/types/cards/src/campaigns/aos.d.ts +17 -0
- package/types/cards/src/campaigns/composed-sets.d.ts +24 -0
- package/types/cards/src/campaigns/expert-helpers.d.ts +94 -0
- package/types/cards/src/campaigns/fne.d.ts +49 -0
- package/types/cards/src/campaigns/gmw-balanced.d.ts +89 -0
- package/types/cards/src/campaigns/gmw.d.ts +57 -0
- package/types/cards/src/campaigns/index.d.ts +28 -0
- package/types/cards/src/campaigns/modular-picks.d.ts +10 -0
- package/types/cards/src/campaigns/mojo.d.ts +58 -0
- package/types/cards/src/campaigns/mts.d.ts +65 -0
- package/types/cards/src/campaigns/mut_gen.d.ts +51 -0
- package/types/cards/src/campaigns/next_evol.d.ts +57 -0
- package/types/cards/src/campaigns/shadowland.d.ts +8 -0
- package/types/cards/src/campaigns/sm.d.ts +68 -0
- package/types/cards/src/campaigns/structure.d.ts +36 -0
- package/types/cards/src/campaigns/trors.d.ts +46 -0
- package/types/cards/src/core/aspects/aggression.d.ts +15 -0
- package/types/cards/src/core/aspects/basic.d.ts +11 -0
- package/types/cards/src/core/aspects/justice.d.ts +11 -0
- package/types/cards/src/core/aspects/leadership.d.ts +13 -0
- package/types/cards/src/core/aspects/protection.d.ts +10 -0
- package/types/cards/src/core/heroes/black-panther.d.ts +26 -0
- package/types/cards/src/core/heroes/captain-marvel.d.ts +26 -0
- package/types/cards/src/core/heroes/iron-man.d.ts +27 -0
- package/types/cards/src/core/heroes/she-hulk.d.ts +28 -0
- package/types/cards/src/core/heroes/spider-man.d.ts +25 -0
- package/types/cards/src/core/index.d.ts +8 -0
- package/types/cards/src/core/modular/bomb-scare.d.ts +7 -0
- package/types/cards/src/core/modular/hydra-and-doomsday.d.ts +12 -0
- package/types/cards/src/core/modular/standard.d.ts +16 -0
- package/types/cards/src/core/names.d.ts +6 -0
- package/types/cards/src/core/obligations.d.ts +24 -0
- package/types/cards/src/core/pack.d.ts +3 -0
- package/types/cards/src/core/scenarios/klaw.d.ts +37 -0
- package/types/cards/src/core/scenarios/rhino.d.ts +15 -0
- package/types/cards/src/core/scenarios/ultron.d.ts +44 -0
- package/types/cards/src/core/setup.d.ts +120 -0
- package/types/cards/src/dsl/abilities.d.ts +4989 -0
- package/types/cards/src/dsl/effects.d.ts +2579 -0
- package/types/cards/src/dsl/engine-only-features.d.ts +14 -0
- package/types/cards/src/dsl/extra-encounter-deck.d.ts +29 -0
- package/types/cards/src/dsl/index.d.ts +11 -0
- package/types/cards/src/dsl/validate.d.ts +44 -0
- package/types/cards/src/dsl/values.d.ts +1479 -0
- package/types/cards/src/index.d.ts +48 -0
- package/types/cards/src/main-scheme-stages.d.ts +81 -0
- package/types/cards/src/modular-pool.d.ts +108 -0
- package/types/cards/src/playable/community-decks.d.ts +66 -0
- package/types/cards/src/playable/custom.d.ts +56 -0
- package/types/cards/src/playable/index.d.ts +28 -0
- package/types/cards/src/playable/random-civil-war.d.ts +38 -0
- package/types/cards/src/playable/scenario-options.d.ts +260 -0
- package/types/cards/src/playable/unscripted.d.ts +27 -0
- package/types/cards/src/testing/driver.d.ts +23 -0
- package/types/cards/src/testing/index.d.ts +6 -0
- package/types/cards/src/wave1/bkw/kit.d.ts +23 -0
- package/types/cards/src/wave1/bkw/local.d.ts +64 -0
- package/types/cards/src/wave1/bkw/nemesis.d.ts +15 -0
- package/types/cards/src/wave1/bkw/obligation.d.ts +5 -0
- package/types/cards/src/wave1/bkw/pack-cards.d.ts +23 -0
- package/types/cards/src/wave1/bkw/pack.d.ts +11 -0
- package/types/cards/src/wave1/cap/kit.d.ts +29 -0
- package/types/cards/src/wave1/cap/nemesis.d.ts +10 -0
- package/types/cards/src/wave1/cap/obligation.d.ts +8 -0
- package/types/cards/src/wave1/cap/pack-cards.d.ts +11 -0
- package/types/cards/src/wave1/cap/pack.d.ts +5 -0
- package/types/cards/src/wave1/drs/kit.d.ts +70 -0
- package/types/cards/src/wave1/drs/local.d.ts +58 -0
- package/types/cards/src/wave1/drs/nemesis.d.ts +12 -0
- package/types/cards/src/wave1/drs/obligation.d.ts +19 -0
- package/types/cards/src/wave1/drs/pack-cards.d.ts +42 -0
- package/types/cards/src/wave1/drs/pack.d.ts +14 -0
- package/types/cards/src/wave1/gob/a-mess-of-things.d.ts +12 -0
- package/types/cards/src/wave1/gob/goblin-gimmicks.d.ts +18 -0
- package/types/cards/src/wave1/gob/local.d.ts +113 -0
- package/types/cards/src/wave1/gob/mutagen-formula.d.ts +41 -0
- package/types/cards/src/wave1/gob/pack.d.ts +9 -0
- package/types/cards/src/wave1/gob/power-drain.d.ts +31 -0
- package/types/cards/src/wave1/gob/risky-business.d.ts +39 -0
- package/types/cards/src/wave1/gob/running-interference.d.ts +16 -0
- package/types/cards/src/wave1/hlk/kit.d.ts +33 -0
- package/types/cards/src/wave1/hlk/local.d.ts +47 -0
- package/types/cards/src/wave1/hlk/nemesis.d.ts +11 -0
- package/types/cards/src/wave1/hlk/obligation.d.ts +10 -0
- package/types/cards/src/wave1/hlk/pack-cards.d.ts +22 -0
- package/types/cards/src/wave1/hlk/pack.d.ts +12 -0
- package/types/cards/src/wave1/index.d.ts +35 -0
- package/types/cards/src/wave1/msm/kit.d.ts +34 -0
- package/types/cards/src/wave1/msm/nemesis.d.ts +11 -0
- package/types/cards/src/wave1/msm/obligation.d.ts +8 -0
- package/types/cards/src/wave1/msm/pack-cards.d.ts +22 -0
- package/types/cards/src/wave1/msm/pack.d.ts +5 -0
- package/types/cards/src/wave1/names.d.ts +9 -0
- package/types/cards/src/wave1/reprints.d.ts +34 -0
- package/types/cards/src/wave1/setup.d.ts +57 -0
- package/types/cards/src/wave1/thor/kit.d.ts +19 -0
- package/types/cards/src/wave1/thor/local.d.ts +31 -0
- package/types/cards/src/wave1/thor/nemesis.d.ts +10 -0
- package/types/cards/src/wave1/thor/obligation.d.ts +14 -0
- package/types/cards/src/wave1/thor/pack-cards.d.ts +22 -0
- package/types/cards/src/wave1/thor/pack.d.ts +12 -0
- package/types/cards/src/wave1/twc/breakout.d.ts +12 -0
- package/types/cards/src/wave1/twc/bulldozer.d.ts +32 -0
- package/types/cards/src/wave1/twc/local.d.ts +81 -0
- package/types/cards/src/wave1/twc/pack.d.ts +8 -0
- package/types/cards/src/wave1/twc/piledriver.d.ts +26 -0
- package/types/cards/src/wave1/twc/thunderball.d.ts +41 -0
- package/types/cards/src/wave1/twc/wrecker.d.ts +35 -0
- package/types/cards/src/wave10/card-groups.d.ts +16 -0
- package/types/cards/src/wave10/cards.d.ts +8 -0
- package/types/cards/src/wave10/cw/aspect-basic/aggression.d.ts +42 -0
- package/types/cards/src/wave10/cw/aspect-basic/basic.d.ts +30 -0
- package/types/cards/src/wave10/cw/aspect-basic/protection.d.ts +42 -0
- package/types/cards/src/wave10/cw/competitive/leader-cards.d.ts +49 -0
- package/types/cards/src/wave10/cw/competitive/standard-pvp.d.ts +27 -0
- package/types/cards/src/wave10/cw/hulkling/events.d.ts +33 -0
- package/types/cards/src/wave10/cw/hulkling/identity.d.ts +29 -0
- package/types/cards/src/wave10/cw/hulkling/obligation-nemesis.d.ts +48 -0
- package/types/cards/src/wave10/cw/hulkling/support-upgrades-allies.d.ts +37 -0
- package/types/cards/src/wave10/cw/leaders/captain-america.d.ts +37 -0
- package/types/cards/src/wave10/cw/leaders/captain-marvel.d.ts +35 -0
- package/types/cards/src/wave10/cw/leaders/iron-man.d.ts +39 -0
- package/types/cards/src/wave10/cw/leaders/spider-woman.d.ts +39 -0
- package/types/cards/src/wave10/cw/main-schemes/registration.d.ts +26 -0
- package/types/cards/src/wave10/cw/main-schemes/resistance.d.ts +26 -0
- package/types/cards/src/wave10/cw/modular/atlanteans.d.ts +22 -0
- package/types/cards/src/wave10/cw/modular/cape-killer.d.ts +49 -0
- package/types/cards/src/wave10/cw/modular/cloak-and-dagger.d.ts +34 -0
- package/types/cards/src/wave10/cw/modular/dangerous-recruits.d.ts +33 -0
- package/types/cards/src/wave10/cw/modular/defenders.d.ts +31 -0
- package/types/cards/src/wave10/cw/modular/hells-kitchen.d.ts +34 -0
- package/types/cards/src/wave10/cw/modular/heroes-for-hire.d.ts +36 -0
- package/types/cards/src/wave10/cw/modular/maria-hill.d.ts +35 -0
- package/types/cards/src/wave10/cw/modular/martial-law.d.ts +23 -0
- package/types/cards/src/wave10/cw/modular/mighty-avengers.d.ts +33 -0
- package/types/cards/src/wave10/cw/modular/namor.d.ts +30 -0
- package/types/cards/src/wave10/cw/modular/new-avengers.d.ts +43 -0
- package/types/cards/src/wave10/cw/modular/paladin.d.ts +25 -0
- package/types/cards/src/wave10/cw/modular/secret-avengers.d.ts +34 -0
- package/types/cards/src/wave10/cw/modular/spider-man.d.ts +36 -0
- package/types/cards/src/wave10/cw/modular/the-initiative.d.ts +35 -0
- package/types/cards/src/wave10/cw/pack.d.ts +10 -0
- package/types/cards/src/wave10/cw/tigra/events.d.ts +25 -0
- package/types/cards/src/wave10/cw/tigra/identity.d.ts +27 -0
- package/types/cards/src/wave10/cw/tigra/obligation-nemesis.d.ts +36 -0
- package/types/cards/src/wave10/cw/tigra/support-upgrades-allies.d.ts +48 -0
- package/types/cards/src/wave10/hercules/all-versus-all.d.ts +35 -0
- package/types/cards/src/wave10/hercules/basic.d.ts +4 -0
- package/types/cards/src/wave10/hercules/hercules/events.d.ts +30 -0
- package/types/cards/src/wave10/hercules/hercules/gift-labor.d.ts +54 -0
- package/types/cards/src/wave10/hercules/hercules/identity.d.ts +39 -0
- package/types/cards/src/wave10/hercules/hercules/obligation-nemesis.d.ts +43 -0
- package/types/cards/src/wave10/hercules/hercules/support-upgrades-allies.d.ts +55 -0
- package/types/cards/src/wave10/hercules/leadership.d.ts +42 -0
- package/types/cards/src/wave10/hercules/pack.d.ts +8 -0
- package/types/cards/src/wave10/index.d.ts +35 -0
- package/types/cards/src/wave10/modules.d.ts +20 -0
- package/types/cards/src/wave10/setup.d.ts +67 -0
- package/types/cards/src/wave10/synthezoid/competitive/leader-cards.d.ts +22 -0
- package/types/cards/src/wave10/synthezoid/competitive/standard-pvp.d.ts +27 -0
- package/types/cards/src/wave10/synthezoid/leaders/she-hulk.d.ts +28 -0
- package/types/cards/src/wave10/synthezoid/leaders/vision.d.ts +39 -0
- package/types/cards/src/wave10/synthezoid/main-schemes/registration.d.ts +19 -0
- package/types/cards/src/wave10/synthezoid/main-schemes/resistance.d.ts +19 -0
- package/types/cards/src/wave10/synthezoid/modular/deadly-duo.d.ts +33 -0
- package/types/cards/src/wave10/synthezoid/modular/moon-knight.d.ts +36 -0
- package/types/cards/src/wave10/synthezoid/modular/royal-guard.d.ts +31 -0
- package/types/cards/src/wave10/synthezoid/modular/scarlet-twins.d.ts +31 -0
- package/types/cards/src/wave10/synthezoid/modular/shield-ops.d.ts +27 -0
- package/types/cards/src/wave10/synthezoid/modular/taskmaster.d.ts +36 -0
- package/types/cards/src/wave10/synthezoid/modular/thunderbolts.d.ts +31 -0
- package/types/cards/src/wave10/synthezoid/modular/young-avengers.d.ts +29 -0
- package/types/cards/src/wave10/synthezoid/pack.d.ts +9 -0
- package/types/cards/src/wave10/wonder_man/basic.d.ts +4 -0
- package/types/cards/src/wave10/wonder_man/justice.d.ts +58 -0
- package/types/cards/src/wave10/wonder_man/other-aspects.d.ts +74 -0
- package/types/cards/src/wave10/wonder_man/pack.d.ts +8 -0
- package/types/cards/src/wave10/wonder_man/wonder-man/events.d.ts +42 -0
- package/types/cards/src/wave10/wonder_man/wonder-man/identity.d.ts +45 -0
- package/types/cards/src/wave10/wonder_man/wonder-man/obligation-nemesis.d.ts +37 -0
- package/types/cards/src/wave10/wonder_man/wonder-man/support-upgrades-allies.d.ts +49 -0
- package/types/cards/src/wave11/card-groups.d.ts +15 -0
- package/types/cards/src/wave11/cards.d.ts +8 -0
- package/types/cards/src/wave11/elektra/aggression.d.ts +29 -0
- package/types/cards/src/wave11/elektra/basic.d.ts +23 -0
- package/types/cards/src/wave11/elektra/elektra/events.d.ts +26 -0
- package/types/cards/src/wave11/elektra/elektra/identity.d.ts +26 -0
- package/types/cards/src/wave11/elektra/elektra/ninja-deck.d.ts +4 -0
- package/types/cards/src/wave11/elektra/elektra/obligation-nemesis.d.ts +28 -0
- package/types/cards/src/wave11/elektra/elektra/support-upgrades-allies.d.ts +51 -0
- package/types/cards/src/wave11/elektra/justice.d.ts +4 -0
- package/types/cards/src/wave11/elektra/leadership.d.ts +13 -0
- package/types/cards/src/wave11/elektra/pack.d.ts +12 -0
- package/types/cards/src/wave11/elektra/protection.d.ts +22 -0
- package/types/cards/src/wave11/fne/aspect-basic/basic.d.ts +27 -0
- package/types/cards/src/wave11/fne/aspect-basic/justice.d.ts +55 -0
- package/types/cards/src/wave11/fne/aspect-basic/protection.d.ts +41 -0
- package/types/cards/src/wave11/fne/campaign/environments.d.ts +43 -0
- package/types/cards/src/wave11/fne/campaign/typhoid-mary-ally.d.ts +22 -0
- package/types/cards/src/wave11/fne/daredevil/events.d.ts +32 -0
- package/types/cards/src/wave11/fne/daredevil/identity.d.ts +27 -0
- package/types/cards/src/wave11/fne/daredevil/obligation-nemesis.d.ts +32 -0
- package/types/cards/src/wave11/fne/daredevil/sense-deck.d.ts +4 -0
- package/types/cards/src/wave11/fne/daredevil/support-upgrades-allies.d.ts +45 -0
- package/types/cards/src/wave11/fne/echo/events.d.ts +29 -0
- package/types/cards/src/wave11/fne/echo/identity.d.ts +28 -0
- package/types/cards/src/wave11/fne/echo/obligation-nemesis.d.ts +25 -0
- package/types/cards/src/wave11/fne/echo/support-upgrades-allies.d.ts +44 -0
- package/types/cards/src/wave11/fne/modular/cops.d.ts +26 -0
- package/types/cards/src/wave11/fne/modular/disasters.d.ts +22 -0
- package/types/cards/src/wave11/fne/modular/drive.d.ts +25 -0
- package/types/cards/src/wave11/fne/modular/the-owl.d.ts +29 -0
- package/types/cards/src/wave11/fne/modular/tombstone.d.ts +28 -0
- package/types/cards/src/wave11/fne/modular/tracksuit-mafia.d.ts +27 -0
- package/types/cards/src/wave11/fne/pack.d.ts +9 -0
- package/types/cards/src/wave11/fne/scenarios/art-museum-heist.d.ts +35 -0
- package/types/cards/src/wave11/fne/scenarios/kingpin.d.ts +68 -0
- package/types/cards/src/wave11/fne/scenarios/protection-racket.d.ts +47 -0
- package/types/cards/src/wave11/fne/scenarios/stop-the-presses.d.ts +46 -0
- package/types/cards/src/wave11/fne/scenarios/the-getaway.d.ts +39 -0
- package/types/cards/src/wave11/fne/scenarios/the-raft-breakout.d.ts +46 -0
- package/types/cards/src/wave11/fne/villains/bullseye.d.ts +19 -0
- package/types/cards/src/wave11/fne/villains/electro.d.ts +38 -0
- package/types/cards/src/wave11/fne/villains/hammerhead.d.ts +39 -0
- package/types/cards/src/wave11/fne/villains/purple-man.d.ts +32 -0
- package/types/cards/src/wave11/fne/villains/typhoid-mary.d.ts +32 -0
- package/types/cards/src/wave11/index.d.ts +32 -0
- package/types/cards/src/wave11/iron_fist/aggression.d.ts +14 -0
- package/types/cards/src/wave11/iron_fist/basic.d.ts +39 -0
- package/types/cards/src/wave11/iron_fist/iron-fist/chi.d.ts +12 -0
- package/types/cards/src/wave11/iron_fist/iron-fist/events.d.ts +29 -0
- package/types/cards/src/wave11/iron_fist/iron-fist/identity.d.ts +28 -0
- package/types/cards/src/wave11/iron_fist/iron-fist/obligation-nemesis.d.ts +38 -0
- package/types/cards/src/wave11/iron_fist/iron-fist/support-upgrades-allies.d.ts +26 -0
- package/types/cards/src/wave11/iron_fist/leadership.d.ts +26 -0
- package/types/cards/src/wave11/iron_fist/pack.d.ts +12 -0
- package/types/cards/src/wave11/iron_fist/protection.d.ts +53 -0
- package/types/cards/src/wave11/jj/basic.d.ts +35 -0
- package/types/cards/src/wave11/jj/jessica-jones/events.d.ts +22 -0
- package/types/cards/src/wave11/jj/jessica-jones/identity.d.ts +36 -0
- package/types/cards/src/wave11/jj/jessica-jones/obligation-nemesis.d.ts +4 -0
- package/types/cards/src/wave11/jj/jessica-jones/support-upgrades-allies.d.ts +29 -0
- package/types/cards/src/wave11/jj/justice.d.ts +35 -0
- package/types/cards/src/wave11/jj/other-aspects.d.ts +27 -0
- package/types/cards/src/wave11/jj/pack.d.ts +8 -0
- package/types/cards/src/wave11/luke_cage/leadership.d.ts +32 -0
- package/types/cards/src/wave11/luke_cage/luke-cage/events.d.ts +27 -0
- package/types/cards/src/wave11/luke_cage/luke-cage/identity.d.ts +23 -0
- package/types/cards/src/wave11/luke_cage/luke-cage/obligation-nemesis.d.ts +42 -0
- package/types/cards/src/wave11/luke_cage/luke-cage/support-upgrades-allies.d.ts +29 -0
- package/types/cards/src/wave11/luke_cage/other-aspects-basic.d.ts +41 -0
- package/types/cards/src/wave11/luke_cage/pack.d.ts +8 -0
- package/types/cards/src/wave11/modules.d.ts +22 -0
- package/types/cards/src/wave11/setup.d.ts +89 -0
- package/types/cards/src/wave11/shadowland/black-flower.d.ts +4 -0
- package/types/cards/src/wave11/shadowland/creeping-corruption.d.ts +48 -0
- package/types/cards/src/wave11/shadowland/dark-protege.d.ts +4 -0
- package/types/cards/src/wave11/shadowland/deadly-contraptions.d.ts +37 -0
- package/types/cards/src/wave11/shadowland/heart-of-shadow.d.ts +4 -0
- package/types/cards/src/wave11/shadowland/ninja-swarm.d.ts +35 -0
- package/types/cards/src/wave11/shadowland/pack.d.ts +9 -0
- package/types/cards/src/wave11/shadowland/shadow-labyrinth.d.ts +56 -0
- package/types/cards/src/wave11/shadowland/shadows-in-the-night.d.ts +14 -0
- package/types/cards/src/wave2/ant/kit.d.ts +28 -0
- package/types/cards/src/wave2/ant/obligation-nemesis.d.ts +38 -0
- package/types/cards/src/wave2/ant/pack-cards.d.ts +42 -0
- package/types/cards/src/wave2/ant/pack.d.ts +11 -0
- package/types/cards/src/wave2/index.d.ts +33 -0
- package/types/cards/src/wave2/names.d.ts +9 -0
- package/types/cards/src/wave2/qsv/kit.d.ts +57 -0
- package/types/cards/src/wave2/qsv/obligation-nemesis.d.ts +21 -0
- package/types/cards/src/wave2/qsv/pack-cards.d.ts +40 -0
- package/types/cards/src/wave2/qsv/pack.d.ts +10 -0
- package/types/cards/src/wave2/reprints.d.ts +41 -0
- package/types/cards/src/wave2/scw/kit.d.ts +74 -0
- package/types/cards/src/wave2/scw/obligation-nemesis.d.ts +56 -0
- package/types/cards/src/wave2/scw/pack-cards.d.ts +48 -0
- package/types/cards/src/wave2/scw/pack.d.ts +10 -0
- package/types/cards/src/wave2/setup.d.ts +34 -0
- package/types/cards/src/wave2/toafk/kang-encounter-set.d.ts +114 -0
- package/types/cards/src/wave2/toafk/kang.d.ts +109 -0
- package/types/cards/src/wave2/toafk/pack.d.ts +11 -0
- package/types/cards/src/wave2/trors/absorbing-man.d.ts +66 -0
- package/types/cards/src/wave2/trors/campaign-cards.d.ts +34 -0
- package/types/cards/src/wave2/trors/crossbones.d.ts +63 -0
- package/types/cards/src/wave2/trors/hawkeye-kit.d.ts +34 -0
- package/types/cards/src/wave2/trors/hawkeye-obligation-nemesis.d.ts +36 -0
- package/types/cards/src/wave2/trors/pack.d.ts +11 -0
- package/types/cards/src/wave2/trors/red-skull.d.ts +79 -0
- package/types/cards/src/wave2/trors/spider-woman-kit.d.ts +29 -0
- package/types/cards/src/wave2/trors/spider-woman-obligation-nemesis.d.ts +12 -0
- package/types/cards/src/wave2/trors/taskmaster.d.ts +44 -0
- package/types/cards/src/wave2/trors/zola.d.ts +38 -0
- package/types/cards/src/wave2/wsp/kit.d.ts +52 -0
- package/types/cards/src/wave2/wsp/obligation-nemesis.d.ts +12 -0
- package/types/cards/src/wave2/wsp/pack-cards.d.ts +29 -0
- package/types/cards/src/wave2/wsp/pack.d.ts +11 -0
- package/types/cards/src/wave3/cards.d.ts +14 -0
- package/types/cards/src/wave3/drax/drax-kit.d.ts +42 -0
- package/types/cards/src/wave3/drax/drax-obligation-nemesis.d.ts +15 -0
- package/types/cards/src/wave3/drax/drax-pack-cards.d.ts +22 -0
- package/types/cards/src/wave3/drax/pack.d.ts +7 -0
- package/types/cards/src/wave3/gam/gamora-kit.d.ts +44 -0
- package/types/cards/src/wave3/gam/gamora-obligation-nemesis.d.ts +14 -0
- package/types/cards/src/wave3/gam/pack.d.ts +7 -0
- package/types/cards/src/wave3/gmw/badoon-headhunter.d.ts +19 -0
- package/types/cards/src/wave3/gmw/badoon.d.ts +31 -0
- package/types/cards/src/wave3/gmw/campaign-challenge.d.ts +27 -0
- package/types/cards/src/wave3/gmw/escape-the-museum.d.ts +23 -0
- package/types/cards/src/wave3/gmw/galactic-artifacts.d.ts +40 -0
- package/types/cards/src/wave3/gmw/groot-kit.d.ts +38 -0
- package/types/cards/src/wave3/gmw/groot-obligation-nemesis.d.ts +10 -0
- package/types/cards/src/wave3/gmw/market.d.ts +61 -0
- package/types/cards/src/wave3/gmw/museum.d.ts +23 -0
- package/types/cards/src/wave3/gmw/nebula.d.ts +42 -0
- package/types/cards/src/wave3/gmw/pack.d.ts +7 -0
- package/types/cards/src/wave3/gmw/rocket-kit.d.ts +39 -0
- package/types/cards/src/wave3/gmw/rocket-obligation-nemesis.d.ts +5 -0
- package/types/cards/src/wave3/gmw/ronan.d.ts +31 -0
- package/types/cards/src/wave3/gmw/ruthless.d.ts +22 -0
- package/types/cards/src/wave3/gmw/ship-command.d.ts +21 -0
- package/types/cards/src/wave3/index.d.ts +29 -0
- package/types/cards/src/wave3/names.d.ts +9 -0
- package/types/cards/src/wave3/reprints.d.ts +52 -0
- package/types/cards/src/wave3/ron/kree-fanatic.d.ts +31 -0
- package/types/cards/src/wave3/ron/pack.d.ts +7 -0
- package/types/cards/src/wave3/setup.d.ts +19 -0
- package/types/cards/src/wave3/stld/pack.d.ts +7 -0
- package/types/cards/src/wave3/stld/star-lord-kit.d.ts +71 -0
- package/types/cards/src/wave3/stld/star-lord-obligation-nemesis.d.ts +10 -0
- package/types/cards/src/wave3/vnm/pack.d.ts +8 -0
- package/types/cards/src/wave3/vnm/venom-kit.d.ts +65 -0
- package/types/cards/src/wave3/vnm/venom-obligation-nemesis.d.ts +41 -0
- package/types/cards/src/wave4/cards.d.ts +22 -0
- package/types/cards/src/wave4/hood/beasty-boys.d.ts +17 -0
- package/types/cards/src/wave4/hood/brothers-grimm.d.ts +8 -0
- package/types/cards/src/wave4/hood/crossfire-crew.d.ts +11 -0
- package/types/cards/src/wave4/hood/hood.d.ts +26 -0
- package/types/cards/src/wave4/hood/mister-hyde.d.ts +8 -0
- package/types/cards/src/wave4/hood/pack.d.ts +9 -0
- package/types/cards/src/wave4/hood/ransacked-armory.d.ts +11 -0
- package/types/cards/src/wave4/hood/sinister-syndicate.d.ts +15 -0
- package/types/cards/src/wave4/hood/standard-expert-ii.d.ts +18 -0
- package/types/cards/src/wave4/hood/state-of-emergency.d.ts +20 -0
- package/types/cards/src/wave4/hood/streets-of-mayhem.d.ts +11 -0
- package/types/cards/src/wave4/hood/wrecking-crew.d.ts +9 -0
- package/types/cards/src/wave4/index.d.ts +21 -0
- package/types/cards/src/wave4/mts/adam-warlock-kit.d.ts +28 -0
- package/types/cards/src/wave4/mts/adam-warlock-obligation-nemesis.d.ts +13 -0
- package/types/cards/src/wave4/mts/adam-warlock-pack-cards.d.ts +40 -0
- package/types/cards/src/wave4/mts/children-of-thanos.d.ts +16 -0
- package/types/cards/src/wave4/mts/ebony-maw.d.ts +38 -0
- package/types/cards/src/wave4/mts/enchantress.d.ts +7 -0
- package/types/cards/src/wave4/mts/frost-giants.d.ts +14 -0
- package/types/cards/src/wave4/mts/hela.d.ts +40 -0
- package/types/cards/src/wave4/mts/infinity-gauntlet.d.ts +9 -0
- package/types/cards/src/wave4/mts/legions-of-hel.d.ts +7 -0
- package/types/cards/src/wave4/mts/loki.d.ts +29 -0
- package/types/cards/src/wave4/mts/mts-campaign-cards.d.ts +30 -0
- package/types/cards/src/wave4/mts/pack.d.ts +12 -0
- package/types/cards/src/wave4/mts/spectrum-kit.d.ts +27 -0
- package/types/cards/src/wave4/mts/spectrum-obligation-nemesis.d.ts +15 -0
- package/types/cards/src/wave4/mts/spectrum-pack-cards.d.ts +25 -0
- package/types/cards/src/wave4/mts/thanos.d.ts +25 -0
- package/types/cards/src/wave4/mts/tower-defense.d.ts +75 -0
- package/types/cards/src/wave4/names.d.ts +9 -0
- package/types/cards/src/wave4/nebu/nebula-kit.d.ts +42 -0
- package/types/cards/src/wave4/nebu/nebula-obligation-nemesis.d.ts +13 -0
- package/types/cards/src/wave4/nebu/nebula-pack-cards.d.ts +31 -0
- package/types/cards/src/wave4/nebu/pack.d.ts +7 -0
- package/types/cards/src/wave4/reprints.d.ts +17 -0
- package/types/cards/src/wave4/setup.d.ts +27 -0
- package/types/cards/src/wave4/valk/pack.d.ts +7 -0
- package/types/cards/src/wave4/valk/valkyrie-kit.d.ts +23 -0
- package/types/cards/src/wave4/valk/valkyrie-obligation-nemesis.d.ts +16 -0
- package/types/cards/src/wave4/valk/valkyrie-pack-cards.d.ts +24 -0
- package/types/cards/src/wave4/vision/pack.d.ts +8 -0
- package/types/cards/src/wave4/vision/vision-kit.d.ts +47 -0
- package/types/cards/src/wave4/vision/vision-obligation-nemesis.d.ts +18 -0
- package/types/cards/src/wave4/vision/vision-pack-cards.d.ts +26 -0
- package/types/cards/src/wave4/warm/pack.d.ts +7 -0
- package/types/cards/src/wave4/warm/war-machine-kit.d.ts +31 -0
- package/types/cards/src/wave4/warm/war-machine-obligation-nemesis.d.ts +11 -0
- package/types/cards/src/wave4/warm/war-machine-pack-cards.d.ts +29 -0
- package/types/cards/src/wave5/cards.d.ts +17 -0
- package/types/cards/src/wave5/index.d.ts +18 -0
- package/types/cards/src/wave5/ironheart/allies.d.ts +77 -0
- package/types/cards/src/wave5/ironheart/events.d.ts +11 -0
- package/types/cards/src/wave5/ironheart/identity.d.ts +9 -0
- package/types/cards/src/wave5/ironheart/obligation-nemesis.d.ts +10 -0
- package/types/cards/src/wave5/ironheart/pack.d.ts +11 -0
- package/types/cards/src/wave5/ironheart/support-upgrades.d.ts +67 -0
- package/types/cards/src/wave5/ironheart/zzzax.d.ts +13 -0
- package/types/cards/src/wave5/nova/armadillo.d.ts +17 -0
- package/types/cards/src/wave5/nova/events.d.ts +91 -0
- package/types/cards/src/wave5/nova/identity.d.ts +4 -0
- package/types/cards/src/wave5/nova/obligation-nemesis.d.ts +103 -0
- package/types/cards/src/wave5/nova/pack.d.ts +10 -0
- package/types/cards/src/wave5/nova/support-upgrades-allies.d.ts +136 -0
- package/types/cards/src/wave5/setup.d.ts +35 -0
- package/types/cards/src/wave5/silk/quick-quip.d.ts +14 -0
- package/types/cards/src/wave5/sm/basic-cards.d.ts +4 -0
- package/types/cards/src/wave5/sm/campaign/encounter.d.ts +14 -0
- package/types/cards/src/wave5/sm/campaign/shield-tech.d.ts +108 -0
- package/types/cards/src/wave5/sm/ghost-spider/events-a.d.ts +54 -0
- package/types/cards/src/wave5/sm/ghost-spider/events-b.d.ts +8 -0
- package/types/cards/src/wave5/sm/ghost-spider/identity.d.ts +7 -0
- package/types/cards/src/wave5/sm/ghost-spider/index.d.ts +20 -0
- package/types/cards/src/wave5/sm/ghost-spider/obligation-nemesis.d.ts +59 -0
- package/types/cards/src/wave5/sm/ghost-spider/support-upgrades-allies.d.ts +75 -0
- package/types/cards/src/wave5/sm/modulars/down-to-earth.d.ts +35 -0
- package/types/cards/src/wave5/sm/modulars/goblin-gear.d.ts +18 -0
- package/types/cards/src/wave5/sm/modulars/index.d.ts +7 -0
- package/types/cards/src/wave5/sm/modulars/osborn-tech.d.ts +29 -0
- package/types/cards/src/wave5/sm/modulars/sinister-assault.d.ts +23 -0
- package/types/cards/src/wave5/sm/modulars/whispers-of-paranoia.d.ts +51 -0
- package/types/cards/src/wave5/sm/mysterio/encounter-set.d.ts +14 -0
- package/types/cards/src/wave5/sm/mysterio/index.d.ts +10 -0
- package/types/cards/src/wave5/sm/mysterio/main-scheme.d.ts +6 -0
- package/types/cards/src/wave5/sm/mysterio/personal-nightmare.d.ts +9 -0
- package/types/cards/src/wave5/sm/mysterio/villain.d.ts +7 -0
- package/types/cards/src/wave5/sm/pack.d.ts +9 -0
- package/types/cards/src/wave5/sm/sandman/city-in-chaos.d.ts +12 -0
- package/types/cards/src/wave5/sm/sandman/encounter-set.d.ts +22 -0
- package/types/cards/src/wave5/sm/sandman/index.d.ts +8 -0
- package/types/cards/src/wave5/sm/sandman/main-scheme.d.ts +8 -0
- package/types/cards/src/wave5/sm/sandman/villain.d.ts +7 -0
- package/types/cards/src/wave5/sm/sinister-six/encounter-attachments.d.ts +11 -0
- package/types/cards/src/wave5/sm/sinister-six/guerrilla-tactics.d.ts +21 -0
- package/types/cards/src/wave5/sm/sinister-six/index.d.ts +8 -0
- package/types/cards/src/wave5/sm/sinister-six/main-scheme.d.ts +14 -0
- package/types/cards/src/wave5/sm/sinister-six/scenario-cards.d.ts +23 -0
- package/types/cards/src/wave5/sm/sinister-six/treacheries.d.ts +12 -0
- package/types/cards/src/wave5/sm/sinister-six/villains.d.ts +45 -0
- package/types/cards/src/wave5/sm/spider-man-morales/events.d.ts +64 -0
- package/types/cards/src/wave5/sm/spider-man-morales/identity.d.ts +34 -0
- package/types/cards/src/wave5/sm/spider-man-morales/index.d.ts +11 -0
- package/types/cards/src/wave5/sm/spider-man-morales/obligation-nemesis.d.ts +42 -0
- package/types/cards/src/wave5/sm/spider-man-morales/precon-player-cards.d.ts +61 -0
- package/types/cards/src/wave5/sm/spider-man-morales/support-upgrades-allies.d.ts +53 -0
- package/types/cards/src/wave5/sm/venom/encounter-set.d.ts +27 -0
- package/types/cards/src/wave5/sm/venom/index.d.ts +9 -0
- package/types/cards/src/wave5/sm/venom/main-scheme.d.ts +8 -0
- package/types/cards/src/wave5/sm/venom/symbiotic-strength.d.ts +16 -0
- package/types/cards/src/wave5/sm/venom/villain.d.ts +7 -0
- package/types/cards/src/wave5/sm/venom-goblin/encounter-set.d.ts +19 -0
- package/types/cards/src/wave5/sm/venom-goblin/index.d.ts +8 -0
- package/types/cards/src/wave5/sm/venom-goblin/main-scheme.d.ts +36 -0
- package/types/cards/src/wave5/sm/venom-goblin/villain.d.ts +7 -0
- package/types/cards/src/wave5/spdr/allies.d.ts +83 -0
- package/types/cards/src/wave5/spdr/events.d.ts +64 -0
- package/types/cards/src/wave5/spdr/identity.d.ts +9 -0
- package/types/cards/src/wave5/spdr/obligation-nemesis.d.ts +7 -0
- package/types/cards/src/wave5/spdr/pack.d.ts +8 -0
- package/types/cards/src/wave5/spdr/sinister-syndicate.d.ts +22 -0
- package/types/cards/src/wave5/spdr/support-upgrades.d.ts +120 -0
- package/types/cards/src/wave5/spiderham/allies.d.ts +78 -0
- package/types/cards/src/wave5/spiderham/events.d.ts +78 -0
- package/types/cards/src/wave5/spiderham/identity.d.ts +40 -0
- package/types/cards/src/wave5/spiderham/inheritors.d.ts +27 -0
- package/types/cards/src/wave5/spiderham/obligation-nemesis.d.ts +7 -0
- package/types/cards/src/wave5/spiderham/pack.d.ts +8 -0
- package/types/cards/src/wave5/spiderham/support-upgrades.d.ts +105 -0
- package/types/cards/src/wave6/cards.d.ts +8 -0
- package/types/cards/src/wave6/cyclops/cyclops/events.d.ts +18 -0
- package/types/cards/src/wave6/cyclops/cyclops/identity.d.ts +20 -0
- package/types/cards/src/wave6/cyclops/cyclops/index.d.ts +6 -0
- package/types/cards/src/wave6/cyclops/cyclops/obligation-nemesis.d.ts +26 -0
- package/types/cards/src/wave6/cyclops/cyclops/support-upgrades-allies.d.ts +56 -0
- package/types/cards/src/wave6/cyclops/pack.d.ts +6 -0
- package/types/cards/src/wave6/cyclops/precon-player-cards.d.ts +16 -0
- package/types/cards/src/wave6/gambit/exodus/index.d.ts +13 -0
- package/types/cards/src/wave6/gambit/gambit/events.d.ts +25 -0
- package/types/cards/src/wave6/gambit/gambit/identity.d.ts +25 -0
- package/types/cards/src/wave6/gambit/gambit/index.d.ts +7 -0
- package/types/cards/src/wave6/gambit/gambit/obligation-nemesis.d.ts +19 -0
- package/types/cards/src/wave6/gambit/gambit/support-upgrades-allies.d.ts +38 -0
- package/types/cards/src/wave6/gambit/pack.d.ts +6 -0
- package/types/cards/src/wave6/index.d.ts +19 -0
- package/types/cards/src/wave6/mojo/crime.d.ts +21 -0
- package/types/cards/src/wave6/mojo/fantasy.d.ts +28 -0
- package/types/cards/src/wave6/mojo/horror.d.ts +14 -0
- package/types/cards/src/wave6/mojo/longshot.d.ts +12 -0
- package/types/cards/src/wave6/mojo/magog.d.ts +41 -0
- package/types/cards/src/wave6/mojo/mojo.d.ts +36 -0
- package/types/cards/src/wave6/mojo/pack.d.ts +7 -0
- package/types/cards/src/wave6/mojo/sci-fi.d.ts +23 -0
- package/types/cards/src/wave6/mojo/sitcom.d.ts +29 -0
- package/types/cards/src/wave6/mojo/spiral.d.ts +34 -0
- package/types/cards/src/wave6/mojo/western.d.ts +28 -0
- package/types/cards/src/wave6/mut_gen/acolytes.d.ts +25 -0
- package/types/cards/src/wave6/mut_gen/brotherhood.d.ts +27 -0
- package/types/cards/src/wave6/mut_gen/campaign-cards.d.ts +33 -0
- package/types/cards/src/wave6/mut_gen/colossus/events.d.ts +25 -0
- package/types/cards/src/wave6/mut_gen/colossus/identity.d.ts +24 -0
- package/types/cards/src/wave6/mut_gen/colossus/index.d.ts +7 -0
- package/types/cards/src/wave6/mut_gen/colossus/obligation-nemesis.d.ts +25 -0
- package/types/cards/src/wave6/mut_gen/colossus/support-upgrades-allies.d.ts +31 -0
- package/types/cards/src/wave6/mut_gen/future-past.d.ts +24 -0
- package/types/cards/src/wave6/mut_gen/magneto.d.ts +64 -0
- package/types/cards/src/wave6/mut_gen/mansion-attack.d.ts +57 -0
- package/types/cards/src/wave6/mut_gen/master-mold.d.ts +32 -0
- package/types/cards/src/wave6/mut_gen/mystique.d.ts +30 -0
- package/types/cards/src/wave6/mut_gen/pack.d.ts +8 -0
- package/types/cards/src/wave6/mut_gen/precon-player-cards.d.ts +36 -0
- package/types/cards/src/wave6/mut_gen/project-wideawake.d.ts +61 -0
- package/types/cards/src/wave6/mut_gen/role-upgrades.d.ts +73 -0
- package/types/cards/src/wave6/mut_gen/sabretooth.d.ts +54 -0
- package/types/cards/src/wave6/mut_gen/sentinels.d.ts +20 -0
- package/types/cards/src/wave6/mut_gen/shadowcat/events.d.ts +27 -0
- package/types/cards/src/wave6/mut_gen/shadowcat/identity.d.ts +29 -0
- package/types/cards/src/wave6/mut_gen/shadowcat/index.d.ts +7 -0
- package/types/cards/src/wave6/mut_gen/shadowcat/obligation-nemesis.d.ts +32 -0
- package/types/cards/src/wave6/mut_gen/shadowcat/support-upgrades-allies.d.ts +36 -0
- package/types/cards/src/wave6/mut_gen/zero-tolerance.d.ts +16 -0
- package/types/cards/src/wave6/phoenix/pack.d.ts +7 -0
- package/types/cards/src/wave6/phoenix/phoenix/events.d.ts +31 -0
- package/types/cards/src/wave6/phoenix/phoenix/identity.d.ts +26 -0
- package/types/cards/src/wave6/phoenix/phoenix/index.d.ts +8 -0
- package/types/cards/src/wave6/phoenix/phoenix/obligation-nemesis.d.ts +26 -0
- package/types/cards/src/wave6/phoenix/phoenix/support-upgrades-allies.d.ts +41 -0
- package/types/cards/src/wave6/phoenix/precon-player-cards.d.ts +9 -0
- package/types/cards/src/wave6/rogue/pack.d.ts +6 -0
- package/types/cards/src/wave6/rogue/reavers/index.d.ts +14 -0
- package/types/cards/src/wave6/rogue/rogue/events.d.ts +33 -0
- package/types/cards/src/wave6/rogue/rogue/identity.d.ts +25 -0
- package/types/cards/src/wave6/rogue/rogue/index.d.ts +7 -0
- package/types/cards/src/wave6/rogue/rogue/obligation-nemesis.d.ts +23 -0
- package/types/cards/src/wave6/rogue/rogue/support-upgrades-allies.d.ts +40 -0
- package/types/cards/src/wave6/setup.d.ts +18 -0
- package/types/cards/src/wave6/storm/pack.d.ts +6 -0
- package/types/cards/src/wave6/storm/shadow-king/index.d.ts +12 -0
- package/types/cards/src/wave6/storm/storm/events.d.ts +26 -0
- package/types/cards/src/wave6/storm/storm/identity.d.ts +24 -0
- package/types/cards/src/wave6/storm/storm/index.d.ts +8 -0
- package/types/cards/src/wave6/storm/storm/obligation-nemesis.d.ts +27 -0
- package/types/cards/src/wave6/storm/storm/support-upgrades-allies.d.ts +49 -0
- package/types/cards/src/wave6/storm/storm/weather.d.ts +24 -0
- package/types/cards/src/wave6/wolv/lady-deathstrike.d.ts +9 -0
- package/types/cards/src/wave6/wolv/pack.d.ts +7 -0
- package/types/cards/src/wave6/wolv/precon-player-cards.d.ts +35 -0
- package/types/cards/src/wave6/wolv/wolverine/events.d.ts +23 -0
- package/types/cards/src/wave6/wolv/wolverine/identity.d.ts +25 -0
- package/types/cards/src/wave6/wolv/wolverine/index.d.ts +8 -0
- package/types/cards/src/wave6/wolv/wolverine/obligation-nemesis.d.ts +20 -0
- package/types/cards/src/wave6/wolv/wolverine/support-upgrades-allies.d.ts +31 -0
- package/types/cards/src/wave7/angel/events.d.ts +25 -0
- package/types/cards/src/wave7/angel/identity.d.ts +16 -0
- package/types/cards/src/wave7/angel/obligation-nemesis.d.ts +19 -0
- package/types/cards/src/wave7/angel/pack-cards.d.ts +15 -0
- package/types/cards/src/wave7/angel/pack.d.ts +6 -0
- package/types/cards/src/wave7/angel/support-upgrades-allies.d.ts +23 -0
- package/types/cards/src/wave7/cards.d.ts +8 -0
- package/types/cards/src/wave7/deadpool/dreadpool.d.ts +2 -0
- package/types/cards/src/wave7/deadpool/events.d.ts +2 -0
- package/types/cards/src/wave7/deadpool/identity.d.ts +17 -0
- package/types/cards/src/wave7/deadpool/obligation-nemesis.d.ts +32 -0
- package/types/cards/src/wave7/deadpool/pack-cards.d.ts +2 -0
- package/types/cards/src/wave7/deadpool/pack.d.ts +6 -0
- package/types/cards/src/wave7/deadpool/support-upgrades-allies.d.ts +20 -0
- package/types/cards/src/wave7/index.d.ts +19 -0
- package/types/cards/src/wave7/next_evol/black-tom-cassidy.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/cable/events.d.ts +16 -0
- package/types/cards/src/wave7/next_evol/cable/identity.d.ts +15 -0
- package/types/cards/src/wave7/next_evol/cable/index.d.ts +3 -0
- package/types/cards/src/wave7/next_evol/cable/obligation-nemesis.d.ts +22 -0
- package/types/cards/src/wave7/next_evol/cable/support-upgrades-allies.d.ts +25 -0
- package/types/cards/src/wave7/next_evol/campaign.d.ts +37 -0
- package/types/cards/src/wave7/next_evol/domino/events.d.ts +18 -0
- package/types/cards/src/wave7/next_evol/domino/identity.d.ts +13 -0
- package/types/cards/src/wave7/next_evol/domino/index.d.ts +3 -0
- package/types/cards/src/wave7/next_evol/domino/obligation-nemesis.d.ts +19 -0
- package/types/cards/src/wave7/next_evol/domino/support-upgrades-allies.d.ts +29 -0
- package/types/cards/src/wave7/next_evol/extreme-measures.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/flight.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/hope-summers.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/juggernaut.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/marauders.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/military-grade.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/mister-sinister.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/morlock-siege.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/mutant-insurrection.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/mutant-slayers.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/nasty-boys.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/on-the-run.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/pack.d.ts +7 -0
- package/types/cards/src/wave7/next_evol/precon-cable-deck.d.ts +46 -0
- package/types/cards/src/wave7/next_evol/precon-domino-deck.d.ts +26 -0
- package/types/cards/src/wave7/next_evol/precon-player-cards.d.ts +6 -0
- package/types/cards/src/wave7/next_evol/stryfe.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/super-strength.d.ts +2 -0
- package/types/cards/src/wave7/next_evol/telepathy.d.ts +2 -0
- package/types/cards/src/wave7/psylocke/events.d.ts +25 -0
- package/types/cards/src/wave7/psylocke/identity.d.ts +17 -0
- package/types/cards/src/wave7/psylocke/obligation-nemesis.d.ts +18 -0
- package/types/cards/src/wave7/psylocke/pack-cards.d.ts +2 -0
- package/types/cards/src/wave7/psylocke/pack.d.ts +6 -0
- package/types/cards/src/wave7/psylocke/support-upgrades-allies.d.ts +29 -0
- package/types/cards/src/wave7/setup.d.ts +14 -0
- package/types/cards/src/wave7/x23/events.d.ts +21 -0
- package/types/cards/src/wave7/x23/identity.d.ts +18 -0
- package/types/cards/src/wave7/x23/obligation-nemesis.d.ts +18 -0
- package/types/cards/src/wave7/x23/pack-cards.d.ts +18 -0
- package/types/cards/src/wave7/x23/pack.d.ts +6 -0
- package/types/cards/src/wave7/x23/support-upgrades-allies.d.ts +22 -0
- package/types/cards/src/wave8/aoa/apocalypse.d.ts +4 -0
- package/types/cards/src/wave8/aoa/aspect-basic.d.ts +90 -0
- package/types/cards/src/wave8/aoa/bishop/events.d.ts +21 -0
- package/types/cards/src/wave8/aoa/bishop/identity.d.ts +23 -0
- package/types/cards/src/wave8/aoa/bishop/index.d.ts +3 -0
- package/types/cards/src/wave8/aoa/bishop/obligation-nemesis.d.ts +34 -0
- package/types/cards/src/wave8/aoa/bishop/support-upgrades-allies.d.ts +32 -0
- package/types/cards/src/wave8/aoa/blue-moon.d.ts +27 -0
- package/types/cards/src/wave8/aoa/campaign/age-of-apocalypse.d.ts +24 -0
- package/types/cards/src/wave8/aoa/campaign/aoa-basic-campaign.d.ts +4 -0
- package/types/cards/src/wave8/aoa/campaign/aoa-campaign.d.ts +23 -0
- package/types/cards/src/wave8/aoa/campaign/aoa-mission.d.ts +4 -0
- package/types/cards/src/wave8/aoa/campaign/index.d.ts +3 -0
- package/types/cards/src/wave8/aoa/campaign/mission-rules.d.ts +113 -0
- package/types/cards/src/wave8/aoa/campaign/overseer.d.ts +4 -0
- package/types/cards/src/wave8/aoa/celestial-tech.d.ts +26 -0
- package/types/cards/src/wave8/aoa/clan-akkaba.d.ts +16 -0
- package/types/cards/src/wave8/aoa/dark-beast.d.ts +31 -0
- package/types/cards/src/wave8/aoa/dark-riders.d.ts +17 -0
- package/types/cards/src/wave8/aoa/dystopian-nightmare.d.ts +15 -0
- package/types/cards/src/wave8/aoa/en-sabah-nur.d.ts +26 -0
- package/types/cards/src/wave8/aoa/four-horsemen.d.ts +4 -0
- package/types/cards/src/wave8/aoa/genosha.d.ts +29 -0
- package/types/cards/src/wave8/aoa/hounds.d.ts +22 -0
- package/types/cards/src/wave8/aoa/infinites.d.ts +41 -0
- package/types/cards/src/wave8/aoa/magik/events.d.ts +28 -0
- package/types/cards/src/wave8/aoa/magik/identity.d.ts +26 -0
- package/types/cards/src/wave8/aoa/magik/index.d.ts +3 -0
- package/types/cards/src/wave8/aoa/magik/obligation-nemesis.d.ts +37 -0
- package/types/cards/src/wave8/aoa/magik/support-upgrades-allies.d.ts +31 -0
- package/types/cards/src/wave8/aoa/pack.d.ts +11 -0
- package/types/cards/src/wave8/aoa/prelates.d.ts +4 -0
- package/types/cards/src/wave8/aoa/savage-land.d.ts +26 -0
- package/types/cards/src/wave8/aoa/setting.d.ts +19 -0
- package/types/cards/src/wave8/aoa/standard-iii.d.ts +30 -0
- package/types/cards/src/wave8/aoa/unus.d.ts +4 -0
- package/types/cards/src/wave8/card-groups.d.ts +6 -0
- package/types/cards/src/wave8/cards.d.ts +9 -0
- package/types/cards/src/wave8/iceman/aspect-basic.d.ts +54 -0
- package/types/cards/src/wave8/iceman/iceman/events.d.ts +28 -0
- package/types/cards/src/wave8/iceman/iceman/identity.d.ts +26 -0
- package/types/cards/src/wave8/iceman/iceman/index.d.ts +3 -0
- package/types/cards/src/wave8/iceman/iceman/obligation-nemesis.d.ts +37 -0
- package/types/cards/src/wave8/iceman/iceman/support-upgrades-allies.d.ts +58 -0
- package/types/cards/src/wave8/iceman/pack.d.ts +7 -0
- package/types/cards/src/wave8/iceman/sauron.d.ts +30 -0
- package/types/cards/src/wave8/index.d.ts +27 -0
- package/types/cards/src/wave8/jubilee/arcade.d.ts +18 -0
- package/types/cards/src/wave8/jubilee/aspect-basic.d.ts +75 -0
- package/types/cards/src/wave8/jubilee/jubilee/events.d.ts +4 -0
- package/types/cards/src/wave8/jubilee/jubilee/identity.d.ts +16 -0
- package/types/cards/src/wave8/jubilee/jubilee/index.d.ts +3 -0
- package/types/cards/src/wave8/jubilee/jubilee/obligation-nemesis.d.ts +38 -0
- package/types/cards/src/wave8/jubilee/jubilee/support-upgrades-allies.d.ts +4 -0
- package/types/cards/src/wave8/jubilee/pack.d.ts +7 -0
- package/types/cards/src/wave8/magneto/aspect-basic.d.ts +68 -0
- package/types/cards/src/wave8/magneto/hellfire.d.ts +4 -0
- package/types/cards/src/wave8/magneto/magneto/events.d.ts +28 -0
- package/types/cards/src/wave8/magneto/magneto/identity.d.ts +31 -0
- package/types/cards/src/wave8/magneto/magneto/index.d.ts +3 -0
- package/types/cards/src/wave8/magneto/magneto/obligation-nemesis.d.ts +41 -0
- package/types/cards/src/wave8/magneto/magneto/support-upgrades-allies.d.ts +41 -0
- package/types/cards/src/wave8/magneto/pack.d.ts +7 -0
- package/types/cards/src/wave8/ncrawler/aspect-basic.d.ts +49 -0
- package/types/cards/src/wave8/ncrawler/crazy-gang.d.ts +26 -0
- package/types/cards/src/wave8/ncrawler/nightcrawler/events.d.ts +36 -0
- package/types/cards/src/wave8/ncrawler/nightcrawler/identity.d.ts +16 -0
- package/types/cards/src/wave8/ncrawler/nightcrawler/index.d.ts +3 -0
- package/types/cards/src/wave8/ncrawler/nightcrawler/obligation-nemesis.d.ts +35 -0
- package/types/cards/src/wave8/ncrawler/nightcrawler/support-upgrades-allies.d.ts +32 -0
- package/types/cards/src/wave8/ncrawler/pack.d.ts +8 -0
- package/types/cards/src/wave8/setup.d.ts +54 -0
- package/types/cards/src/wave9/aos/aim-abduction.d.ts +34 -0
- package/types/cards/src/wave9/aos/aim-science.d.ts +23 -0
- package/types/cards/src/wave9/aos/aspect-basic.d.ts +129 -0
- package/types/cards/src/wave9/aos/baron-zemo.d.ts +50 -0
- package/types/cards/src/wave9/aos/batroc.d.ts +44 -0
- package/types/cards/src/wave9/aos/batrocs-brigade.d.ts +36 -0
- package/types/cards/src/wave9/aos/black-widow.d.ts +42 -0
- package/types/cards/src/wave9/aos/campaign/carryover.d.ts +54 -0
- package/types/cards/src/wave9/aos/campaign/executive-board-evidence.d.ts +53 -0
- package/types/cards/src/wave9/aos/campaign/executive-board.d.ts +71 -0
- package/types/cards/src/wave9/aos/executive-board.d.ts +35 -0
- package/types/cards/src/wave9/aos/gravitational-pull.d.ts +30 -0
- package/types/cards/src/wave9/aos/hard-sound.d.ts +35 -0
- package/types/cards/src/wave9/aos/maria-hill/events.d.ts +41 -0
- package/types/cards/src/wave9/aos/maria-hill/identity.d.ts +30 -0
- package/types/cards/src/wave9/aos/maria-hill/obligation-nemesis.d.ts +38 -0
- package/types/cards/src/wave9/aos/maria-hill/support-upgrades-allies.d.ts +32 -0
- package/types/cards/src/wave9/aos/modok.d.ts +10 -0
- package/types/cards/src/wave9/aos/nick-fury/events.d.ts +21 -0
- package/types/cards/src/wave9/aos/nick-fury/identity.d.ts +23 -0
- package/types/cards/src/wave9/aos/nick-fury/obligation-nemesis.d.ts +33 -0
- package/types/cards/src/wave9/aos/nick-fury/support-upgrades-allies.d.ts +70 -0
- package/types/cards/src/wave9/aos/pack.d.ts +9 -0
- package/types/cards/src/wave9/aos/pale-little-spider.d.ts +29 -0
- package/types/cards/src/wave9/aos/power-of-the-atom.d.ts +31 -0
- package/types/cards/src/wave9/aos/scientist-supreme.d.ts +26 -0
- package/types/cards/src/wave9/aos/shield.d.ts +27 -0
- package/types/cards/src/wave9/aos/supersonic.d.ts +35 -0
- package/types/cards/src/wave9/aos/the-leaper.d.ts +28 -0
- package/types/cards/src/wave9/aos/thunderbolts.d.ts +4 -0
- package/types/cards/src/wave9/bp/aspect-basic.d.ts +93 -0
- package/types/cards/src/wave9/bp/black-panther/events.d.ts +15 -0
- package/types/cards/src/wave9/bp/black-panther/identity.d.ts +30 -0
- package/types/cards/src/wave9/bp/black-panther/obligation-nemesis.d.ts +30 -0
- package/types/cards/src/wave9/bp/black-panther/support-upgrades-allies.d.ts +30 -0
- package/types/cards/src/wave9/bp/extreme-risk.d.ts +30 -0
- package/types/cards/src/wave9/bp/pack.d.ts +8 -0
- package/types/cards/src/wave9/card-groups.d.ts +9 -0
- package/types/cards/src/wave9/cards.d.ts +8 -0
- package/types/cards/src/wave9/falcon/aspect-basic.d.ts +131 -0
- package/types/cards/src/wave9/falcon/falcon/events.d.ts +46 -0
- package/types/cards/src/wave9/falcon/falcon/identity.d.ts +28 -0
- package/types/cards/src/wave9/falcon/falcon/obligation-nemesis.d.ts +34 -0
- package/types/cards/src/wave9/falcon/falcon/support-upgrades-allies.d.ts +75 -0
- package/types/cards/src/wave9/falcon/pack.d.ts +7 -0
- package/types/cards/src/wave9/falcon/techno.d.ts +35 -0
- package/types/cards/src/wave9/index.d.ts +27 -0
- package/types/cards/src/wave9/setup.d.ts +27 -0
- package/types/cards/src/wave9/silk/aspect-basic.d.ts +68 -0
- package/types/cards/src/wave9/silk/growing-strong.d.ts +28 -0
- package/types/cards/src/wave9/silk/pack.d.ts +12 -0
- package/types/cards/src/wave9/silk/silk/events.d.ts +38 -0
- package/types/cards/src/wave9/silk/silk/identity.d.ts +22 -0
- package/types/cards/src/wave9/silk/silk/obligation-nemesis.d.ts +41 -0
- package/types/cards/src/wave9/silk/silk/support-upgrades-allies.d.ts +53 -0
- package/types/cards/src/wave9/tt/aspect-basic.d.ts +25 -0
- package/types/cards/src/wave9/tt/enchantress.d.ts +56 -0
- package/types/cards/src/wave9/tt/god-of-lies.d.ts +56 -0
- package/types/cards/src/wave9/tt/pack.d.ts +8 -0
- package/types/cards/src/wave9/tt/trickster-magic.d.ts +34 -0
- package/types/cards/src/wave9/winter/aspect-basic.d.ts +78 -0
- package/types/cards/src/wave9/winter/pack.d.ts +8 -0
- package/types/cards/src/wave9/winter/whiteout.d.ts +30 -0
- package/types/cards/src/wave9/winter/winter-soldier/events.d.ts +30 -0
- package/types/cards/src/wave9/winter/winter-soldier/identity.d.ts +23 -0
- package/types/cards/src/wave9/winter/winter-soldier/obligation-nemesis.d.ts +36 -0
- package/types/cards/src/wave9/winter/winter-soldier/support-upgrades-allies.d.ts +59 -0
- package/types/content/src/data/angel/cards.d.ts +3 -0
- package/types/content/src/data/angel/encounterSets.d.ts +2 -0
- package/types/content/src/data/angel/index.d.ts +6 -0
- package/types/content/src/data/angel/packs.d.ts +4 -0
- package/types/content/src/data/angel/provenance.d.ts +4 -0
- package/types/content/src/data/angel/scenarios.d.ts +2 -0
- package/types/content/src/data/angel/starterDecks.d.ts +2 -0
- package/types/content/src/data/ant/cards.d.ts +3 -0
- package/types/content/src/data/ant/encounterSets.d.ts +2 -0
- package/types/content/src/data/ant/index.d.ts +6 -0
- package/types/content/src/data/ant/packs.d.ts +4 -0
- package/types/content/src/data/ant/provenance.d.ts +4 -0
- package/types/content/src/data/ant/scenarios.d.ts +2 -0
- package/types/content/src/data/ant/starterDecks.d.ts +2 -0
- package/types/content/src/data/aoa/campaign.d.ts +20 -0
- package/types/content/src/data/aoa/cards.d.ts +3 -0
- package/types/content/src/data/aoa/encounterSets.d.ts +2 -0
- package/types/content/src/data/aoa/index.d.ts +7 -0
- package/types/content/src/data/aoa/packs.d.ts +4 -0
- package/types/content/src/data/aoa/provenance.d.ts +4 -0
- package/types/content/src/data/aoa/scenarios.d.ts +3 -0
- package/types/content/src/data/aoa/starterDecks.d.ts +2 -0
- package/types/content/src/data/aos/campaign.d.ts +55 -0
- package/types/content/src/data/aos/cards.d.ts +3 -0
- package/types/content/src/data/aos/encounterSets.d.ts +2 -0
- package/types/content/src/data/aos/evidence.d.ts +3 -0
- package/types/content/src/data/aos/index.d.ts +9 -0
- package/types/content/src/data/aos/packs.d.ts +4 -0
- package/types/content/src/data/aos/provenance.d.ts +4 -0
- package/types/content/src/data/aos/scenarios.d.ts +3 -0
- package/types/content/src/data/aos/starterDecks.d.ts +2 -0
- package/types/content/src/data/aos/thunderbolts.d.ts +21 -0
- package/types/content/src/data/bkw/cards.d.ts +3 -0
- package/types/content/src/data/bkw/encounterSets.d.ts +2 -0
- package/types/content/src/data/bkw/index.d.ts +6 -0
- package/types/content/src/data/bkw/packs.d.ts +4 -0
- package/types/content/src/data/bkw/provenance.d.ts +4 -0
- package/types/content/src/data/bkw/scenarios.d.ts +2 -0
- package/types/content/src/data/bkw/starterDecks.d.ts +2 -0
- package/types/content/src/data/bp/cards.d.ts +3 -0
- package/types/content/src/data/bp/encounterSets.d.ts +2 -0
- package/types/content/src/data/bp/index.d.ts +6 -0
- package/types/content/src/data/bp/packs.d.ts +4 -0
- package/types/content/src/data/bp/provenance.d.ts +4 -0
- package/types/content/src/data/bp/scenarios.d.ts +2 -0
- package/types/content/src/data/bp/starterDecks.d.ts +2 -0
- package/types/content/src/data/cap/cards.d.ts +3 -0
- package/types/content/src/data/cap/encounterSets.d.ts +2 -0
- package/types/content/src/data/cap/index.d.ts +6 -0
- package/types/content/src/data/cap/packs.d.ts +4 -0
- package/types/content/src/data/cap/provenance.d.ts +4 -0
- package/types/content/src/data/cap/scenarios.d.ts +2 -0
- package/types/content/src/data/cap/starterDecks.d.ts +2 -0
- package/types/content/src/data/catalog-codes.d.ts +35 -0
- package/types/content/src/data/catalog.d.ts +6 -0
- package/types/content/src/data/core/cards.d.ts +3 -0
- package/types/content/src/data/core/encounterSets.d.ts +2 -0
- package/types/content/src/data/core/index.d.ts +6 -0
- package/types/content/src/data/core/packs.d.ts +4 -0
- package/types/content/src/data/core/provenance.d.ts +4 -0
- package/types/content/src/data/core/scenarios.d.ts +3 -0
- package/types/content/src/data/core/starterDecks.d.ts +2 -0
- package/types/content/src/data/cw/cards.d.ts +3 -0
- package/types/content/src/data/cw/encounterSets.d.ts +2 -0
- package/types/content/src/data/cw/index.d.ts +6 -0
- package/types/content/src/data/cw/packs.d.ts +4 -0
- package/types/content/src/data/cw/provenance.d.ts +4 -0
- package/types/content/src/data/cw/scenarios.d.ts +3 -0
- package/types/content/src/data/cw/starterDecks.d.ts +2 -0
- package/types/content/src/data/cyclops/cards.d.ts +3 -0
- package/types/content/src/data/cyclops/encounterSets.d.ts +2 -0
- package/types/content/src/data/cyclops/index.d.ts +6 -0
- package/types/content/src/data/cyclops/packs.d.ts +4 -0
- package/types/content/src/data/cyclops/provenance.d.ts +4 -0
- package/types/content/src/data/cyclops/scenarios.d.ts +2 -0
- package/types/content/src/data/cyclops/starterDecks.d.ts +2 -0
- package/types/content/src/data/deadpool/cards.d.ts +3 -0
- package/types/content/src/data/deadpool/encounterSets.d.ts +2 -0
- package/types/content/src/data/deadpool/index.d.ts +6 -0
- package/types/content/src/data/deadpool/packs.d.ts +4 -0
- package/types/content/src/data/deadpool/provenance.d.ts +4 -0
- package/types/content/src/data/deadpool/scenarios.d.ts +2 -0
- package/types/content/src/data/deadpool/starterDecks.d.ts +2 -0
- package/types/content/src/data/drax/cards.d.ts +3 -0
- package/types/content/src/data/drax/encounterSets.d.ts +2 -0
- package/types/content/src/data/drax/index.d.ts +6 -0
- package/types/content/src/data/drax/packs.d.ts +4 -0
- package/types/content/src/data/drax/provenance.d.ts +4 -0
- package/types/content/src/data/drax/scenarios.d.ts +2 -0
- package/types/content/src/data/drax/starterDecks.d.ts +2 -0
- package/types/content/src/data/drs/cards.d.ts +3 -0
- package/types/content/src/data/drs/encounterSets.d.ts +2 -0
- package/types/content/src/data/drs/index.d.ts +6 -0
- package/types/content/src/data/drs/packs.d.ts +4 -0
- package/types/content/src/data/drs/provenance.d.ts +4 -0
- package/types/content/src/data/drs/scenarios.d.ts +2 -0
- package/types/content/src/data/drs/starterDecks.d.ts +2 -0
- package/types/content/src/data/elektra/cards.d.ts +3 -0
- package/types/content/src/data/elektra/encounterSets.d.ts +2 -0
- package/types/content/src/data/elektra/index.d.ts +6 -0
- package/types/content/src/data/elektra/packs.d.ts +4 -0
- package/types/content/src/data/elektra/provenance.d.ts +4 -0
- package/types/content/src/data/elektra/scenarios.d.ts +2 -0
- package/types/content/src/data/elektra/starterDecks.d.ts +2 -0
- package/types/content/src/data/falcon/cards.d.ts +3 -0
- package/types/content/src/data/falcon/encounterSets.d.ts +2 -0
- package/types/content/src/data/falcon/index.d.ts +6 -0
- package/types/content/src/data/falcon/packs.d.ts +4 -0
- package/types/content/src/data/falcon/provenance.d.ts +4 -0
- package/types/content/src/data/falcon/scenarios.d.ts +2 -0
- package/types/content/src/data/falcon/starterDecks.d.ts +2 -0
- package/types/content/src/data/fne/campaign.d.ts +14 -0
- package/types/content/src/data/fne/cards.d.ts +3 -0
- package/types/content/src/data/fne/encounterSets.d.ts +2 -0
- package/types/content/src/data/fne/index.d.ts +7 -0
- package/types/content/src/data/fne/packs.d.ts +4 -0
- package/types/content/src/data/fne/provenance.d.ts +4 -0
- package/types/content/src/data/fne/scenarios.d.ts +3 -0
- package/types/content/src/data/fne/starterDecks.d.ts +2 -0
- package/types/content/src/data/gam/cards.d.ts +3 -0
- package/types/content/src/data/gam/encounterSets.d.ts +2 -0
- package/types/content/src/data/gam/index.d.ts +6 -0
- package/types/content/src/data/gam/packs.d.ts +4 -0
- package/types/content/src/data/gam/provenance.d.ts +4 -0
- package/types/content/src/data/gam/scenarios.d.ts +2 -0
- package/types/content/src/data/gam/starterDecks.d.ts +2 -0
- package/types/content/src/data/gambit/cards.d.ts +3 -0
- package/types/content/src/data/gambit/encounterSets.d.ts +2 -0
- package/types/content/src/data/gambit/index.d.ts +6 -0
- package/types/content/src/data/gambit/packs.d.ts +4 -0
- package/types/content/src/data/gambit/provenance.d.ts +4 -0
- package/types/content/src/data/gambit/scenarios.d.ts +2 -0
- package/types/content/src/data/gambit/starterDecks.d.ts +2 -0
- package/types/content/src/data/gmw/campaign.d.ts +18 -0
- package/types/content/src/data/gmw/cards.d.ts +3 -0
- package/types/content/src/data/gmw/encounterSets.d.ts +2 -0
- package/types/content/src/data/gmw/index.d.ts +7 -0
- package/types/content/src/data/gmw/packs.d.ts +4 -0
- package/types/content/src/data/gmw/provenance.d.ts +4 -0
- package/types/content/src/data/gmw/scenarios.d.ts +3 -0
- package/types/content/src/data/gmw/starterDecks.d.ts +2 -0
- package/types/content/src/data/gob/cards.d.ts +3 -0
- package/types/content/src/data/gob/encounterSets.d.ts +2 -0
- package/types/content/src/data/gob/index.d.ts +6 -0
- package/types/content/src/data/gob/packs.d.ts +4 -0
- package/types/content/src/data/gob/provenance.d.ts +4 -0
- package/types/content/src/data/gob/scenarios.d.ts +3 -0
- package/types/content/src/data/gob/starterDecks.d.ts +2 -0
- package/types/content/src/data/hercules/cards.d.ts +3 -0
- package/types/content/src/data/hercules/encounterSets.d.ts +2 -0
- package/types/content/src/data/hercules/index.d.ts +6 -0
- package/types/content/src/data/hercules/packs.d.ts +4 -0
- package/types/content/src/data/hercules/provenance.d.ts +4 -0
- package/types/content/src/data/hercules/scenarios.d.ts +2 -0
- package/types/content/src/data/hercules/starterDecks.d.ts +2 -0
- package/types/content/src/data/hlk/cards.d.ts +3 -0
- package/types/content/src/data/hlk/encounterSets.d.ts +2 -0
- package/types/content/src/data/hlk/index.d.ts +6 -0
- package/types/content/src/data/hlk/packs.d.ts +4 -0
- package/types/content/src/data/hlk/provenance.d.ts +4 -0
- package/types/content/src/data/hlk/scenarios.d.ts +2 -0
- package/types/content/src/data/hlk/starterDecks.d.ts +2 -0
- package/types/content/src/data/hood/cards.d.ts +3 -0
- package/types/content/src/data/hood/encounterSets.d.ts +2 -0
- package/types/content/src/data/hood/index.d.ts +6 -0
- package/types/content/src/data/hood/packs.d.ts +4 -0
- package/types/content/src/data/hood/provenance.d.ts +4 -0
- package/types/content/src/data/hood/scenarios.d.ts +3 -0
- package/types/content/src/data/hood/starterDecks.d.ts +2 -0
- package/types/content/src/data/iceman/cards.d.ts +3 -0
- package/types/content/src/data/iceman/encounterSets.d.ts +2 -0
- package/types/content/src/data/iceman/index.d.ts +6 -0
- package/types/content/src/data/iceman/packs.d.ts +4 -0
- package/types/content/src/data/iceman/provenance.d.ts +4 -0
- package/types/content/src/data/iceman/scenarios.d.ts +2 -0
- package/types/content/src/data/iceman/starterDecks.d.ts +2 -0
- package/types/content/src/data/index.d.ts +268 -0
- package/types/content/src/data/iron_fist/cards.d.ts +3 -0
- package/types/content/src/data/iron_fist/encounterSets.d.ts +2 -0
- package/types/content/src/data/iron_fist/index.d.ts +6 -0
- package/types/content/src/data/iron_fist/packs.d.ts +4 -0
- package/types/content/src/data/iron_fist/provenance.d.ts +4 -0
- package/types/content/src/data/iron_fist/scenarios.d.ts +2 -0
- package/types/content/src/data/iron_fist/starterDecks.d.ts +2 -0
- package/types/content/src/data/ironheart/cards.d.ts +3 -0
- package/types/content/src/data/ironheart/encounterSets.d.ts +2 -0
- package/types/content/src/data/ironheart/index.d.ts +6 -0
- package/types/content/src/data/ironheart/packs.d.ts +4 -0
- package/types/content/src/data/ironheart/provenance.d.ts +4 -0
- package/types/content/src/data/ironheart/scenarios.d.ts +2 -0
- package/types/content/src/data/ironheart/starterDecks.d.ts +2 -0
- package/types/content/src/data/jj/cards.d.ts +3 -0
- package/types/content/src/data/jj/encounterSets.d.ts +2 -0
- package/types/content/src/data/jj/index.d.ts +6 -0
- package/types/content/src/data/jj/packs.d.ts +4 -0
- package/types/content/src/data/jj/provenance.d.ts +4 -0
- package/types/content/src/data/jj/scenarios.d.ts +2 -0
- package/types/content/src/data/jj/starterDecks.d.ts +2 -0
- package/types/content/src/data/jubilee/cards.d.ts +3 -0
- package/types/content/src/data/jubilee/encounterSets.d.ts +2 -0
- package/types/content/src/data/jubilee/index.d.ts +6 -0
- package/types/content/src/data/jubilee/packs.d.ts +4 -0
- package/types/content/src/data/jubilee/provenance.d.ts +4 -0
- package/types/content/src/data/jubilee/scenarios.d.ts +2 -0
- package/types/content/src/data/jubilee/starterDecks.d.ts +2 -0
- package/types/content/src/data/luke_cage/cards.d.ts +3 -0
- package/types/content/src/data/luke_cage/encounterSets.d.ts +2 -0
- package/types/content/src/data/luke_cage/index.d.ts +6 -0
- package/types/content/src/data/luke_cage/packs.d.ts +4 -0
- package/types/content/src/data/luke_cage/provenance.d.ts +4 -0
- package/types/content/src/data/luke_cage/scenarios.d.ts +2 -0
- package/types/content/src/data/luke_cage/starterDecks.d.ts +2 -0
- package/types/content/src/data/magneto/cards.d.ts +3 -0
- package/types/content/src/data/magneto/encounterSets.d.ts +2 -0
- package/types/content/src/data/magneto/index.d.ts +6 -0
- package/types/content/src/data/magneto/packs.d.ts +4 -0
- package/types/content/src/data/magneto/provenance.d.ts +4 -0
- package/types/content/src/data/magneto/scenarios.d.ts +2 -0
- package/types/content/src/data/magneto/starterDecks.d.ts +2 -0
- package/types/content/src/data/mojo/campaign.d.ts +15 -0
- package/types/content/src/data/mojo/cards.d.ts +3 -0
- package/types/content/src/data/mojo/encounterSets.d.ts +2 -0
- package/types/content/src/data/mojo/index.d.ts +7 -0
- package/types/content/src/data/mojo/packs.d.ts +4 -0
- package/types/content/src/data/mojo/provenance.d.ts +4 -0
- package/types/content/src/data/mojo/scenarios.d.ts +3 -0
- package/types/content/src/data/mojo/starterDecks.d.ts +2 -0
- package/types/content/src/data/msm/cards.d.ts +3 -0
- package/types/content/src/data/msm/encounterSets.d.ts +2 -0
- package/types/content/src/data/msm/index.d.ts +6 -0
- package/types/content/src/data/msm/packs.d.ts +4 -0
- package/types/content/src/data/msm/provenance.d.ts +4 -0
- package/types/content/src/data/msm/scenarios.d.ts +2 -0
- package/types/content/src/data/msm/starterDecks.d.ts +2 -0
- package/types/content/src/data/mts/campaign.d.ts +17 -0
- package/types/content/src/data/mts/cards.d.ts +3 -0
- package/types/content/src/data/mts/encounterSets.d.ts +2 -0
- package/types/content/src/data/mts/index.d.ts +7 -0
- package/types/content/src/data/mts/packs.d.ts +4 -0
- package/types/content/src/data/mts/provenance.d.ts +4 -0
- package/types/content/src/data/mts/scenarios.d.ts +3 -0
- package/types/content/src/data/mts/starterDecks.d.ts +2 -0
- package/types/content/src/data/mut_gen/campaign.d.ts +22 -0
- package/types/content/src/data/mut_gen/cards.d.ts +3 -0
- package/types/content/src/data/mut_gen/encounterSets.d.ts +2 -0
- package/types/content/src/data/mut_gen/index.d.ts +7 -0
- package/types/content/src/data/mut_gen/packs.d.ts +4 -0
- package/types/content/src/data/mut_gen/provenance.d.ts +4 -0
- package/types/content/src/data/mut_gen/scenarios.d.ts +3 -0
- package/types/content/src/data/mut_gen/starterDecks.d.ts +2 -0
- package/types/content/src/data/ncrawler/cards.d.ts +3 -0
- package/types/content/src/data/ncrawler/encounterSets.d.ts +2 -0
- package/types/content/src/data/ncrawler/index.d.ts +6 -0
- package/types/content/src/data/ncrawler/packs.d.ts +4 -0
- package/types/content/src/data/ncrawler/provenance.d.ts +4 -0
- package/types/content/src/data/ncrawler/scenarios.d.ts +2 -0
- package/types/content/src/data/ncrawler/starterDecks.d.ts +2 -0
- package/types/content/src/data/nebu/cards.d.ts +3 -0
- package/types/content/src/data/nebu/encounterSets.d.ts +2 -0
- package/types/content/src/data/nebu/index.d.ts +6 -0
- package/types/content/src/data/nebu/packs.d.ts +4 -0
- package/types/content/src/data/nebu/provenance.d.ts +4 -0
- package/types/content/src/data/nebu/scenarios.d.ts +2 -0
- package/types/content/src/data/nebu/starterDecks.d.ts +2 -0
- package/types/content/src/data/next_evol/campaign.d.ts +18 -0
- package/types/content/src/data/next_evol/cards.d.ts +3 -0
- package/types/content/src/data/next_evol/encounterSets.d.ts +2 -0
- package/types/content/src/data/next_evol/index.d.ts +7 -0
- package/types/content/src/data/next_evol/packs.d.ts +4 -0
- package/types/content/src/data/next_evol/provenance.d.ts +4 -0
- package/types/content/src/data/next_evol/scenarios.d.ts +3 -0
- package/types/content/src/data/next_evol/starterDecks.d.ts +2 -0
- package/types/content/src/data/nova/cards.d.ts +3 -0
- package/types/content/src/data/nova/encounterSets.d.ts +2 -0
- package/types/content/src/data/nova/index.d.ts +6 -0
- package/types/content/src/data/nova/packs.d.ts +4 -0
- package/types/content/src/data/nova/provenance.d.ts +4 -0
- package/types/content/src/data/nova/scenarios.d.ts +2 -0
- package/types/content/src/data/nova/starterDecks.d.ts +2 -0
- package/types/content/src/data/phoenix/cards.d.ts +3 -0
- package/types/content/src/data/phoenix/encounterSets.d.ts +2 -0
- package/types/content/src/data/phoenix/index.d.ts +6 -0
- package/types/content/src/data/phoenix/packs.d.ts +4 -0
- package/types/content/src/data/phoenix/provenance.d.ts +4 -0
- package/types/content/src/data/phoenix/scenarios.d.ts +2 -0
- package/types/content/src/data/phoenix/starterDecks.d.ts +2 -0
- package/types/content/src/data/pool-version.d.ts +51 -0
- package/types/content/src/data/psylocke/cards.d.ts +3 -0
- package/types/content/src/data/psylocke/encounterSets.d.ts +2 -0
- package/types/content/src/data/psylocke/index.d.ts +6 -0
- package/types/content/src/data/psylocke/packs.d.ts +4 -0
- package/types/content/src/data/psylocke/provenance.d.ts +4 -0
- package/types/content/src/data/psylocke/scenarios.d.ts +2 -0
- package/types/content/src/data/psylocke/starterDecks.d.ts +2 -0
- package/types/content/src/data/qsv/cards.d.ts +3 -0
- package/types/content/src/data/qsv/encounterSets.d.ts +2 -0
- package/types/content/src/data/qsv/index.d.ts +6 -0
- package/types/content/src/data/qsv/packs.d.ts +4 -0
- package/types/content/src/data/qsv/provenance.d.ts +4 -0
- package/types/content/src/data/qsv/scenarios.d.ts +2 -0
- package/types/content/src/data/qsv/starterDecks.d.ts +2 -0
- package/types/content/src/data/rogue/cards.d.ts +3 -0
- package/types/content/src/data/rogue/encounterSets.d.ts +2 -0
- package/types/content/src/data/rogue/index.d.ts +6 -0
- package/types/content/src/data/rogue/packs.d.ts +4 -0
- package/types/content/src/data/rogue/provenance.d.ts +4 -0
- package/types/content/src/data/rogue/scenarios.d.ts +2 -0
- package/types/content/src/data/rogue/starterDecks.d.ts +2 -0
- package/types/content/src/data/ron/cards.d.ts +3 -0
- package/types/content/src/data/ron/encounterSets.d.ts +2 -0
- package/types/content/src/data/ron/index.d.ts +6 -0
- package/types/content/src/data/ron/packs.d.ts +4 -0
- package/types/content/src/data/ron/provenance.d.ts +4 -0
- package/types/content/src/data/ron/scenarios.d.ts +2 -0
- package/types/content/src/data/ron/starterDecks.d.ts +2 -0
- package/types/content/src/data/scw/cards.d.ts +3 -0
- package/types/content/src/data/scw/encounterSets.d.ts +2 -0
- package/types/content/src/data/scw/index.d.ts +6 -0
- package/types/content/src/data/scw/packs.d.ts +4 -0
- package/types/content/src/data/scw/provenance.d.ts +4 -0
- package/types/content/src/data/scw/scenarios.d.ts +2 -0
- package/types/content/src/data/scw/starterDecks.d.ts +2 -0
- package/types/content/src/data/shadowland/campaign.d.ts +16 -0
- package/types/content/src/data/shadowland/cards.d.ts +3 -0
- package/types/content/src/data/shadowland/encounterSets.d.ts +2 -0
- package/types/content/src/data/shadowland/index.d.ts +7 -0
- package/types/content/src/data/shadowland/packs.d.ts +4 -0
- package/types/content/src/data/shadowland/provenance.d.ts +4 -0
- package/types/content/src/data/shadowland/scenarios.d.ts +3 -0
- package/types/content/src/data/shadowland/starterDecks.d.ts +2 -0
- package/types/content/src/data/silk/cards.d.ts +3 -0
- package/types/content/src/data/silk/encounterSets.d.ts +2 -0
- package/types/content/src/data/silk/index.d.ts +6 -0
- package/types/content/src/data/silk/packs.d.ts +4 -0
- package/types/content/src/data/silk/provenance.d.ts +4 -0
- package/types/content/src/data/silk/scenarios.d.ts +2 -0
- package/types/content/src/data/silk/starterDecks.d.ts +2 -0
- package/types/content/src/data/sm/campaign.d.ts +22 -0
- package/types/content/src/data/sm/cards.d.ts +3 -0
- package/types/content/src/data/sm/encounterSets.d.ts +2 -0
- package/types/content/src/data/sm/index.d.ts +7 -0
- package/types/content/src/data/sm/packs.d.ts +4 -0
- package/types/content/src/data/sm/provenance.d.ts +4 -0
- package/types/content/src/data/sm/scenarios.d.ts +3 -0
- package/types/content/src/data/sm/starterDecks.d.ts +2 -0
- package/types/content/src/data/spdr/cards.d.ts +3 -0
- package/types/content/src/data/spdr/encounterSets.d.ts +2 -0
- package/types/content/src/data/spdr/index.d.ts +6 -0
- package/types/content/src/data/spdr/packs.d.ts +4 -0
- package/types/content/src/data/spdr/provenance.d.ts +4 -0
- package/types/content/src/data/spdr/scenarios.d.ts +2 -0
- package/types/content/src/data/spdr/starterDecks.d.ts +2 -0
- package/types/content/src/data/spiderham/cards.d.ts +3 -0
- package/types/content/src/data/spiderham/encounterSets.d.ts +2 -0
- package/types/content/src/data/spiderham/index.d.ts +6 -0
- package/types/content/src/data/spiderham/packs.d.ts +4 -0
- package/types/content/src/data/spiderham/provenance.d.ts +4 -0
- package/types/content/src/data/spiderham/scenarios.d.ts +2 -0
- package/types/content/src/data/spiderham/starterDecks.d.ts +2 -0
- package/types/content/src/data/stld/cards.d.ts +3 -0
- package/types/content/src/data/stld/encounterSets.d.ts +2 -0
- package/types/content/src/data/stld/index.d.ts +6 -0
- package/types/content/src/data/stld/packs.d.ts +4 -0
- package/types/content/src/data/stld/provenance.d.ts +4 -0
- package/types/content/src/data/stld/scenarios.d.ts +2 -0
- package/types/content/src/data/stld/starterDecks.d.ts +2 -0
- package/types/content/src/data/storm/cards.d.ts +3 -0
- package/types/content/src/data/storm/encounterSets.d.ts +2 -0
- package/types/content/src/data/storm/index.d.ts +6 -0
- package/types/content/src/data/storm/packs.d.ts +4 -0
- package/types/content/src/data/storm/provenance.d.ts +4 -0
- package/types/content/src/data/storm/scenarios.d.ts +2 -0
- package/types/content/src/data/storm/starterDecks.d.ts +2 -0
- package/types/content/src/data/synthezoid/cards.d.ts +3 -0
- package/types/content/src/data/synthezoid/encounterSets.d.ts +2 -0
- package/types/content/src/data/synthezoid/index.d.ts +6 -0
- package/types/content/src/data/synthezoid/packs.d.ts +4 -0
- package/types/content/src/data/synthezoid/provenance.d.ts +4 -0
- package/types/content/src/data/synthezoid/scenarios.d.ts +3 -0
- package/types/content/src/data/synthezoid/starterDecks.d.ts +2 -0
- package/types/content/src/data/thor/cards.d.ts +3 -0
- package/types/content/src/data/thor/encounterSets.d.ts +2 -0
- package/types/content/src/data/thor/index.d.ts +6 -0
- package/types/content/src/data/thor/packs.d.ts +4 -0
- package/types/content/src/data/thor/provenance.d.ts +4 -0
- package/types/content/src/data/thor/scenarios.d.ts +2 -0
- package/types/content/src/data/thor/starterDecks.d.ts +2 -0
- package/types/content/src/data/toafk/cards.d.ts +3 -0
- package/types/content/src/data/toafk/encounterSets.d.ts +2 -0
- package/types/content/src/data/toafk/index.d.ts +6 -0
- package/types/content/src/data/toafk/packs.d.ts +4 -0
- package/types/content/src/data/toafk/provenance.d.ts +4 -0
- package/types/content/src/data/toafk/scenarios.d.ts +3 -0
- package/types/content/src/data/toafk/starterDecks.d.ts +2 -0
- package/types/content/src/data/trors/campaign.d.ts +15 -0
- package/types/content/src/data/trors/cards.d.ts +3 -0
- package/types/content/src/data/trors/encounterSets.d.ts +2 -0
- package/types/content/src/data/trors/index.d.ts +7 -0
- package/types/content/src/data/trors/packs.d.ts +4 -0
- package/types/content/src/data/trors/provenance.d.ts +4 -0
- package/types/content/src/data/trors/scenarios.d.ts +3 -0
- package/types/content/src/data/trors/starterDecks.d.ts +2 -0
- package/types/content/src/data/tt/cards.d.ts +3 -0
- package/types/content/src/data/tt/encounterSets.d.ts +2 -0
- package/types/content/src/data/tt/index.d.ts +6 -0
- package/types/content/src/data/tt/packs.d.ts +4 -0
- package/types/content/src/data/tt/provenance.d.ts +4 -0
- package/types/content/src/data/tt/scenarios.d.ts +3 -0
- package/types/content/src/data/tt/starterDecks.d.ts +2 -0
- package/types/content/src/data/twc/cards.d.ts +3 -0
- package/types/content/src/data/twc/encounterSets.d.ts +2 -0
- package/types/content/src/data/twc/index.d.ts +6 -0
- package/types/content/src/data/twc/packs.d.ts +4 -0
- package/types/content/src/data/twc/provenance.d.ts +4 -0
- package/types/content/src/data/twc/scenarios.d.ts +3 -0
- package/types/content/src/data/twc/starterDecks.d.ts +2 -0
- package/types/content/src/data/types.d.ts +29 -0
- package/types/content/src/data/valk/cards.d.ts +3 -0
- package/types/content/src/data/valk/encounterSets.d.ts +2 -0
- package/types/content/src/data/valk/index.d.ts +6 -0
- package/types/content/src/data/valk/packs.d.ts +4 -0
- package/types/content/src/data/valk/provenance.d.ts +4 -0
- package/types/content/src/data/valk/scenarios.d.ts +2 -0
- package/types/content/src/data/valk/starterDecks.d.ts +2 -0
- package/types/content/src/data/vision/cards.d.ts +3 -0
- package/types/content/src/data/vision/encounterSets.d.ts +2 -0
- package/types/content/src/data/vision/index.d.ts +6 -0
- package/types/content/src/data/vision/packs.d.ts +4 -0
- package/types/content/src/data/vision/provenance.d.ts +4 -0
- package/types/content/src/data/vision/scenarios.d.ts +2 -0
- package/types/content/src/data/vision/starterDecks.d.ts +2 -0
- package/types/content/src/data/vnm/cards.d.ts +3 -0
- package/types/content/src/data/vnm/encounterSets.d.ts +2 -0
- package/types/content/src/data/vnm/index.d.ts +6 -0
- package/types/content/src/data/vnm/packs.d.ts +4 -0
- package/types/content/src/data/vnm/provenance.d.ts +4 -0
- package/types/content/src/data/vnm/scenarios.d.ts +2 -0
- package/types/content/src/data/vnm/starterDecks.d.ts +2 -0
- package/types/content/src/data/warm/cards.d.ts +3 -0
- package/types/content/src/data/warm/encounterSets.d.ts +2 -0
- package/types/content/src/data/warm/index.d.ts +6 -0
- package/types/content/src/data/warm/packs.d.ts +4 -0
- package/types/content/src/data/warm/provenance.d.ts +4 -0
- package/types/content/src/data/warm/scenarios.d.ts +2 -0
- package/types/content/src/data/warm/starterDecks.d.ts +2 -0
- package/types/content/src/data/winter/cards.d.ts +3 -0
- package/types/content/src/data/winter/encounterSets.d.ts +2 -0
- package/types/content/src/data/winter/index.d.ts +6 -0
- package/types/content/src/data/winter/packs.d.ts +4 -0
- package/types/content/src/data/winter/provenance.d.ts +4 -0
- package/types/content/src/data/winter/scenarios.d.ts +2 -0
- package/types/content/src/data/winter/starterDecks.d.ts +2 -0
- package/types/content/src/data/wolv/cards.d.ts +3 -0
- package/types/content/src/data/wolv/encounterSets.d.ts +2 -0
- package/types/content/src/data/wolv/index.d.ts +6 -0
- package/types/content/src/data/wolv/packs.d.ts +4 -0
- package/types/content/src/data/wolv/provenance.d.ts +4 -0
- package/types/content/src/data/wolv/scenarios.d.ts +2 -0
- package/types/content/src/data/wolv/starterDecks.d.ts +2 -0
- package/types/content/src/data/wonder_man/cards.d.ts +3 -0
- package/types/content/src/data/wonder_man/encounterSets.d.ts +2 -0
- package/types/content/src/data/wonder_man/index.d.ts +6 -0
- package/types/content/src/data/wonder_man/packs.d.ts +4 -0
- package/types/content/src/data/wonder_man/provenance.d.ts +4 -0
- package/types/content/src/data/wonder_man/scenarios.d.ts +2 -0
- package/types/content/src/data/wonder_man/starterDecks.d.ts +2 -0
- package/types/content/src/data/wsp/cards.d.ts +3 -0
- package/types/content/src/data/wsp/encounterSets.d.ts +2 -0
- package/types/content/src/data/wsp/index.d.ts +6 -0
- package/types/content/src/data/wsp/packs.d.ts +4 -0
- package/types/content/src/data/wsp/provenance.d.ts +4 -0
- package/types/content/src/data/wsp/scenarios.d.ts +2 -0
- package/types/content/src/data/wsp/starterDecks.d.ts +2 -0
- package/types/content/src/data/x23/cards.d.ts +3 -0
- package/types/content/src/data/x23/encounterSets.d.ts +2 -0
- package/types/content/src/data/x23/index.d.ts +6 -0
- package/types/content/src/data/x23/packs.d.ts +4 -0
- package/types/content/src/data/x23/provenance.d.ts +4 -0
- package/types/content/src/data/x23/scenarios.d.ts +2 -0
- package/types/content/src/data/x23/starterDecks.d.ts +2 -0
- package/types/content/src/import/aspect-cards.d.ts +10 -0
- package/types/content/src/import/from-marvelcdb-json.d.ts +65 -0
- package/types/content/src/import/from-text.d.ts +38 -0
- package/types/content/src/import/index.d.ts +16 -0
- package/types/content/src/import/pool-index.d.ts +53 -0
- package/types/content/src/import/to-text.d.ts +19 -0
- package/types/content/src/import/types.d.ts +95 -0
- package/types/content/src/import/url.d.ts +20 -0
- package/types/content/src/index.d.ts +9 -0
- package/types/content/src/schema/abilities.d.ts +20 -0
- package/types/content/src/schema/aspects.d.ts +18 -0
- package/types/content/src/schema/cards/attachment-host.d.ts +244 -0
- package/types/content/src/schema/cards/base.d.ts +83 -0
- package/types/content/src/schema/cards/encounter-cards.d.ts +191 -0
- package/types/content/src/schema/cards/evidence.d.ts +59 -0
- package/types/content/src/schema/cards/identity.d.ts +302 -0
- package/types/content/src/schema/cards/index.d.ts +18 -0
- package/types/content/src/schema/cards/player-cards.d.ts +234 -0
- package/types/content/src/schema/cards/schemes.d.ts +156 -0
- package/types/content/src/schema/cards/villain.d.ts +128 -0
- package/types/content/src/schema/common.d.ts +108 -0
- package/types/content/src/schema/decks.d.ts +83 -0
- package/types/content/src/schema/glossary.d.ts +174 -0
- package/types/content/src/schema/house-rules.d.ts +49 -0
- package/types/content/src/schema/ids.d.ts +53 -0
- package/types/content/src/schema/images.d.ts +25 -0
- package/types/content/src/schema/index.d.ts +14 -0
- package/types/content/src/schema/keywords.d.ts +180 -0
- package/types/content/src/schema/modes.d.ts +132 -0
- package/types/content/src/schema/packs.d.ts +454 -0
- package/types/content/src/schema/sets.d.ts +712 -0
- package/types/content/src/schema/validation.d.ts +103 -0
- package/types/engine/src/abilities.d.ts +4417 -0
- package/types/engine/src/accusation.d.ts +37 -0
- package/types/engine/src/actions.d.ts +1239 -0
- package/types/engine/src/attach-cost.d.ts +69 -0
- package/types/engine/src/attachment-hosts.d.ts +67 -0
- package/types/engine/src/attack-cost.d.ts +94 -0
- package/types/engine/src/basic-power-uses.d.ts +68 -0
- package/types/engine/src/campaign/log.d.ts +88 -0
- package/types/engine/src/campaign/ops.d.ts +188 -0
- package/types/engine/src/campaign/result.d.ts +28 -0
- package/types/engine/src/campaign/runner.d.ts +190 -0
- package/types/engine/src/campaign/seal.d.ts +41 -0
- package/types/engine/src/campaign-state.d.ts +75 -0
- package/types/engine/src/campaign.d.ts +1629 -0
- package/types/engine/src/card-types.d.ts +16 -0
- package/types/engine/src/change-form-cost.d.ts +54 -0
- package/types/engine/src/choices.d.ts +721 -0
- package/types/engine/src/choose-target-cost.d.ts +29 -0
- package/types/engine/src/commands.d.ts +288 -0
- package/types/engine/src/cost-damage.d.ts +116 -0
- package/types/engine/src/counter-limit.d.ts +14 -0
- package/types/engine/src/counter-types.d.ts +71 -0
- package/types/engine/src/ctx.d.ts +132 -0
- package/types/engine/src/damage-threshold.d.ts +15 -0
- package/types/engine/src/deal-to-cost.d.ts +25 -0
- package/types/engine/src/deck-discard-choice-cost.d.ts +49 -0
- package/types/engine/src/deck-top.d.ts +39 -0
- package/types/engine/src/deck.d.ts +337 -0
- package/types/engine/src/defend-preview.d.ts +144 -0
- package/types/engine/src/defense-claim.d.ts +84 -0
- package/types/engine/src/each-player-cost.d.ts +41 -0
- package/types/engine/src/effects.d.ts +767 -0
- package/types/engine/src/encounter-discard-cost.d.ts +95 -0
- package/types/engine/src/encounter-look-cost.d.ts +44 -0
- package/types/engine/src/encounter-search-cost.d.ts +35 -0
- package/types/engine/src/enemy-attack-cost.d.ts +62 -0
- package/types/engine/src/engine.d.ts +67 -0
- package/types/engine/src/entered-since.d.ts +86 -0
- package/types/engine/src/errors.d.ts +60 -0
- package/types/engine/src/events.d.ts +2682 -0
- package/types/engine/src/flow.d.ts +27 -0
- package/types/engine/src/form-change-cost.d.ts +68 -0
- package/types/engine/src/form-change-target.d.ts +21 -0
- package/types/engine/src/game-fingerprint.d.ts +41 -0
- package/types/engine/src/game-mode.d.ts +14 -0
- package/types/engine/src/heal-cost.d.ts +32 -0
- package/types/engine/src/hidden-pile-state.d.ts +38 -0
- package/types/engine/src/hidden-reverse.d.ts +33 -0
- package/types/engine/src/ids.d.ts +39 -0
- package/types/engine/src/index.d.ts +122 -0
- package/types/engine/src/keyword-abilities.d.ts +36 -0
- package/types/engine/src/keywords.d.ts +169 -0
- package/types/engine/src/lasting.d.ts +382 -0
- package/types/engine/src/legal.d.ts +434 -0
- package/types/engine/src/linked.d.ts +25 -0
- package/types/engine/src/modifiers.d.ts +74 -0
- package/types/engine/src/outside-facts.d.ts +33 -0
- package/types/engine/src/payable.d.ts +56 -0
- package/types/engine/src/per-player-main-schemes.d.ts +63 -0
- package/types/engine/src/pod.d.ts +189 -0
- package/types/engine/src/preview.d.ts +105 -0
- package/types/engine/src/query.d.ts +553 -0
- package/types/engine/src/ready-cards-cost.d.ts +41 -0
- package/types/engine/src/remove-threat-cost.d.ts +74 -0
- package/types/engine/src/resolve/ability.d.ts +40 -0
- package/types/engine/src/resolve/accusation.d.ts +39 -0
- package/types/engine/src/resolve/apply-effect.d.ts +57 -0
- package/types/engine/src/resolve/attach.d.ts +153 -0
- package/types/engine/src/resolve/attack-ability.d.ts +610 -0
- package/types/engine/src/resolve/basic-power-by.d.ts +37 -0
- package/types/engine/src/resolve/campaign.d.ts +30 -0
- package/types/engine/src/resolve/cards.d.ts +241 -0
- package/types/engine/src/resolve/collection.d.ts +31 -0
- package/types/engine/src/resolve/counters-being-placed.d.ts +41 -0
- package/types/engine/src/resolve/damage-group.d.ts +20 -0
- package/types/engine/src/resolve/deck-discard.d.ts +71 -0
- package/types/engine/src/resolve/declare-wilds.d.ts +26 -0
- package/types/engine/src/resolve/defeat.d.ts +219 -0
- package/types/engine/src/resolve/defeated-together.d.ts +76 -0
- package/types/engine/src/resolve/effects-frame.d.ts +15 -0
- package/types/engine/src/resolve/enemy-activation.d.ts +273 -0
- package/types/engine/src/resolve/enter-play.d.ts +177 -0
- package/types/engine/src/resolve/event.d.ts +257 -0
- package/types/engine/src/resolve/find.d.ts +69 -0
- package/types/engine/src/resolve/frames.d.ts +148 -0
- package/types/engine/src/resolve/friendly-attack.d.ts +85 -0
- package/types/engine/src/resolve/game-areas.d.ts +157 -0
- package/types/engine/src/resolve/hidden-hand-pick.d.ts +36 -0
- package/types/engine/src/resolve/hidden-piles.d.ts +84 -0
- package/types/engine/src/resolve/host-step.d.ts +10 -0
- package/types/engine/src/resolve/imminent-attach.d.ts +40 -0
- package/types/engine/src/resolve/index.d.ts +13 -0
- package/types/engine/src/resolve/initiated-activation.d.ts +124 -0
- package/types/engine/src/resolve/keyword-ignored.d.ts +45 -0
- package/types/engine/src/resolve/leave-to-separate-deck.d.ts +38 -0
- package/types/engine/src/resolve/main-scheme-side.d.ts +42 -0
- package/types/engine/src/resolve/other-face.d.ts +34 -0
- package/types/engine/src/resolve/pair-cards.d.ts +44 -0
- package/types/engine/src/resolve/play-card.d.ts +23 -0
- package/types/engine/src/resolve/pod.d.ts +50 -0
- package/types/engine/src/resolve/put-into-play-setup.d.ts +58 -0
- package/types/engine/src/resolve/rearrange.d.ts +50 -0
- package/types/engine/src/resolve/report-fact.d.ts +18 -0
- package/types/engine/src/resolve/reveal-hold.d.ts +45 -0
- package/types/engine/src/resolve/reveal.d.ts +86 -0
- package/types/engine/src/resolve/scenario-deck-top.d.ts +84 -0
- package/types/engine/src/resolve/sentence-hold.d.ts +86 -0
- package/types/engine/src/resolve/separate-decks.d.ts +21 -0
- package/types/engine/src/resolve/sequential-damage.d.ts +23 -0
- package/types/engine/src/resolve/setup-cards.d.ts +30 -0
- package/types/engine/src/resolve/state-checks.d.ts +33 -0
- package/types/engine/src/resolve/status-being-given.d.ts +54 -0
- package/types/engine/src/resolve/status-discarded.d.ts +19 -0
- package/types/engine/src/resolve/suspend.d.ts +75 -0
- package/types/engine/src/resolve/swap-cards.d.ts +49 -0
- package/types/engine/src/resolve/swap-main-scheme.d.ts +77 -0
- package/types/engine/src/resolve/target-validity.d.ts +275 -0
- package/types/engine/src/resolve/then.d.ts +27 -0
- package/types/engine/src/resolve/thwart-session.d.ts +54 -0
- package/types/engine/src/resolve/triggers.d.ts +91 -0
- package/types/engine/src/resolve/tuck.d.ts +79 -0
- package/types/engine/src/resolve/unpreventable.d.ts +40 -0
- package/types/engine/src/resolve/villain-swap.d.ts +42 -0
- package/types/engine/src/resolve/villainous.d.ts +150 -0
- package/types/engine/src/resolve/window.d.ts +25 -0
- package/types/engine/src/resolve/would-discard.d.ts +81 -0
- package/types/engine/src/resolve-ability-cost.d.ts +88 -0
- package/types/engine/src/resources.d.ts +232 -0
- package/types/engine/src/rng.d.ts +13 -0
- package/types/engine/src/rules.d.ts +874 -0
- package/types/engine/src/select.d.ts +1119 -0
- package/types/engine/src/separated-identity.d.ts +90 -0
- package/types/engine/src/setup-steps.d.ts +84 -0
- package/types/engine/src/setup.d.ts +427 -0
- package/types/engine/src/spec.d.ts +7369 -0
- package/types/engine/src/stack-view.d.ts +49 -0
- package/types/engine/src/stack.d.ts +1340 -0
- package/types/engine/src/starting.d.ts +27 -0
- package/types/engine/src/state.d.ts +1603 -0
- package/types/engine/src/team.d.ts +81 -0
- package/types/engine/src/thwart-cost.d.ts +92 -0
- package/types/engine/src/titles.d.ts +58 -0
- package/types/engine/src/treat-as.d.ts +70 -0
- package/types/engine/src/trigger-events.d.ts +2630 -0
- package/types/engine/src/tuck-limit.d.ts +18 -0
- package/types/engine/src/unique.d.ts +95 -0
- package/types/engine/src/villain/audit.d.ts +71 -0
- package/types/engine/src/villain/authority.d.ts +28 -0
- package/types/engine/src/villain/phase.d.ts +48 -0
- package/types/engine/src/visibility.d.ts +210 -0
- package/types/engine/src/why-not.d.ts +80 -0
- package/types/mod-sdk/npm/testing.d.ts +8 -0
- package/types/mod-sdk/src/build.d.ts +59 -0
- package/types/mod-sdk/src/builtin.d.ts +27 -0
- package/types/mod-sdk/src/campaigns.d.ts +26 -0
- package/types/mod-sdk/src/cli.d.ts +12 -0
- package/types/mod-sdk/src/define.d.ts +10 -0
- package/types/mod-sdk/src/features.d.ts +44 -0
- package/types/mod-sdk/src/game.d.ts +66 -0
- package/types/mod-sdk/src/import-marvelcdb.d.ts +99 -0
- package/types/mod-sdk/src/index.d.ts +17 -0
- package/types/mod-sdk/src/loader.d.ts +5 -0
- package/types/mod-sdk/src/obligation.d.ts +2 -0
- package/types/mod-sdk/src/preview.d.ts +18 -0
- package/types/mod-sdk/src/sha256.d.ts +8 -0
- package/types/mod-sdk/src/smoke.d.ts +73 -0
- package/types/mod-sdk/src/validate.d.ts +81 -0
|
@@ -0,0 +1,1629 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Campaign mode as plain, serializable data.
|
|
3
|
+
*
|
|
4
|
+
* RRG 1.8 "Modes of Play" (p. 29): "Campaign mode allows players to modify standard mode through interconnected
|
|
5
|
+
* scenarios that are played one after another. **No two campaigns are exactly alike, and the rules for each are
|
|
6
|
+
* found in the campaign's associated rulebook.**" That second sentence is the whole design constraint — the engine
|
|
7
|
+
* cannot know what any one campaign does, so this file declares only the *vocabulary* a rulebook's campaign
|
|
8
|
+
* instructions are written in. No campaign and no card is ever named here: a box is a `CampaignDefinition` value
|
|
9
|
+
* authored in `@mc/cards`, exactly the way card text is, and adding a box must not add a member to any union below.
|
|
10
|
+
*
|
|
11
|
+
* The shapes were surveyed against all ten campaign rulebooks (`docs/campaign-modes/markdown/`, the inventory in
|
|
12
|
+
* `docs/campaign-mode-design.md` §1), not against the first box we build, so each non-obvious member cites the
|
|
13
|
+
* printed sentence that forces it — `MC60 p. 9` means page 9 of the Fear No Evil rulebook conversion.
|
|
14
|
+
*
|
|
15
|
+
* **This module is data only.** The runner (`resolveBetweenGames`, `campaignResultOf`, `applyCampaignResult`) and the
|
|
16
|
+
* campaign `DeckContext` are later steps (design §11 steps 4-5). Nothing here has behavior, and every type is plain
|
|
17
|
+
* JSON — no functions, classes, `Map`, `Set` or `Date` — so a log round-trips through `JSON.stringify`. The in-game
|
|
18
|
+
* primitives (design §11 step 3) are declared where the rest of the executable vocabulary lives — `spec.ts`'s
|
|
19
|
+
* `ValueSpec`/`Predicate`/`CardSelector`/`EffectSpec` — and read the frozen `GameState.campaign` snapshot only.
|
|
20
|
+
*/
|
|
21
|
+
import type { CampaignId, CardId, CoreAspect, DeckContents, EncounterSetId, ModePredicate, PlayModes, ScenarioId, Trait } from "../../content/src/index.js";
|
|
22
|
+
import type { RuleSpec } from "./abilities.js";
|
|
23
|
+
import type { RngState } from "./rng.js";
|
|
24
|
+
import type { CardSelector, EffectSpec, Predicate, TargetCategory, TargetQuery, ValueSpec } from "./spec.js";
|
|
25
|
+
/** One box's campaign, as the rulebook prints it. Authored in `@mc/cards`; the engine only interprets it. */
|
|
26
|
+
export interface CampaignDefinition {
|
|
27
|
+
/** Matches a `@mc/content` `Campaign.id`. Opaque to the engine, which never compares it to a literal. */
|
|
28
|
+
readonly campaignId: CampaignId;
|
|
29
|
+
/** Bumped whenever an instruction id, log field id or node id changes. Stamped into every log it creates. */
|
|
30
|
+
readonly version: string;
|
|
31
|
+
readonly logFields: readonly LogFieldDef[];
|
|
32
|
+
readonly graph: CampaignGraph;
|
|
33
|
+
readonly loss: LossPolicy;
|
|
34
|
+
/**
|
|
35
|
+
* Instructions appended to *every* node's setup, in printed order, before the node's own. MC50 p. 11 prints the
|
|
36
|
+
* same board-preparation block in every scenario; MC45 p. 20 prints the same mission-area block.
|
|
37
|
+
*/
|
|
38
|
+
readonly everyNodeSetup?: readonly CampaignInstruction[];
|
|
39
|
+
readonly everyNodeVictory?: readonly CampaignInstruction[];
|
|
40
|
+
/**
|
|
41
|
+
* Instructions the *log itself* can switch on, keyed by id; a `kind: "instructionList"` field names entries here.
|
|
42
|
+
* MC27 p. 22: each marked reputation-track node adds a "Setup:" instruction to every remaining scenario. Without
|
|
43
|
+
* this, a node's instruction list is not a function of the definition alone and MC27 would force an engine change.
|
|
44
|
+
*/
|
|
45
|
+
readonly conditionalInstructions?: Readonly<Record<string, CampaignInstruction>>;
|
|
46
|
+
/**
|
|
47
|
+
* What happens to a player eliminated from a game the rest of the table goes on to win (§4.6b). Absent means
|
|
48
|
+
* nothing does: the eliminated seat takes part in the Victory steps like any other seat, which is what a standard
|
|
49
|
+
* campaign does in every box (none prints the rule outside its expert campaign rules).
|
|
50
|
+
*/
|
|
51
|
+
readonly elimination?: EliminationPolicy;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Not a list. Eight boxes are linear (MC10 p. 3: "win all five scenarios in numerical order"), but MC60 p. 8 says
|
|
55
|
+
* "Unlike other Marvel Champions campaigns, the order of these scenarios is not fixed. Instead, the players choose
|
|
56
|
+
* which scenario to play next after each game", and its choice is preceded by log mutation (MC60 p. 9 steps 1-3).
|
|
57
|
+
*/
|
|
58
|
+
export type CampaignGraph =
|
|
59
|
+
/** MC10, MC16, MC21, MC27, MC32, MC40, MC45, MC50: nodes played in printed order. */
|
|
60
|
+
{
|
|
61
|
+
readonly kind: "linear";
|
|
62
|
+
readonly nodes: readonly CampaignNode[];
|
|
63
|
+
}
|
|
64
|
+
/** MC60 p. 8-9: `beforeChoice` runs first (the progression draw), then `available` gates each node. */
|
|
65
|
+
| {
|
|
66
|
+
readonly kind: "choice";
|
|
67
|
+
readonly nodes: readonly CampaignNode[];
|
|
68
|
+
readonly beforeChoice: readonly CampaignInstruction[];
|
|
69
|
+
/** Gates every unresolved node but the `finale`, which `available` never offers (see `finale`). */
|
|
70
|
+
readonly available: CampaignPredicate;
|
|
71
|
+
/**
|
|
72
|
+
* A node that becomes mandatory once `when` holds and nothing else is available. MC60 p. 9 step 4: "If each
|
|
73
|
+
* scenario is either Completed or Failed, the players must choose the Kingpin scenario".
|
|
74
|
+
*
|
|
75
|
+
* The finale is never one of the `available` nodes (`CampaignChoiceSource` `nodes` `"available"`, the next-node
|
|
76
|
+
* choice): step 4's "choose any scenario to play that has not been Completed or Failed" is over the other
|
|
77
|
+
* scenarios, and the finale is reached only through `when`. It is still `"unresolved"` until it is played to a
|
|
78
|
+
* win, so a draw over the unresolved nodes leaves it out by its own filter (MC60's `excludingTitles`).
|
|
79
|
+
*/
|
|
80
|
+
readonly finale?: {
|
|
81
|
+
readonly nodeId: string;
|
|
82
|
+
readonly when: CampaignPredicate;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* How many `progressNode` marks fail a node. MC60 p. 9 step 3: "If a scenario has three Xs to its right, it
|
|
86
|
+
* has Failed" — three printed boxes on that box's sheet, so the number is the *box's*, not the engine's.
|
|
87
|
+
* Absent means `progressNode` only counts and the definition marks the failure itself.
|
|
88
|
+
*/
|
|
89
|
+
readonly progressToFail?: number;
|
|
90
|
+
};
|
|
91
|
+
export interface CampaignNode {
|
|
92
|
+
/**
|
|
93
|
+
* Stable id, unique within the box. Distinct from a scenario id on purpose: MC60 p. 9 step 5 plays one main
|
|
94
|
+
* scheme against a separately chosen villain, so a node is "a scenario slot", not "a scenario".
|
|
95
|
+
*/
|
|
96
|
+
readonly id: string;
|
|
97
|
+
/** As the rulebook titles it, for the step list and the log sheet. */
|
|
98
|
+
readonly label: string;
|
|
99
|
+
readonly scenario: CampaignScenarioRef;
|
|
100
|
+
/**
|
|
101
|
+
* Between-games steps that decide *what game to build* before setup begins — MC60 p. 9 steps 5-6, "Determine the
|
|
102
|
+
* villain … Gather your chosen main scheme, your chosen villain, and their corresponding encounter sets".
|
|
103
|
+
* Feeds `CampaignGameInput`, not the log, except where an op writes the log as well (step 5 records the villain).
|
|
104
|
+
*/
|
|
105
|
+
readonly composition?: readonly CampaignInstruction[];
|
|
106
|
+
/**
|
|
107
|
+
* Modular encounter sets this campaign requires in the node's scenario, by encounter set id. MC40 p. 14: "The Black
|
|
108
|
+
* Tom Cassidy set can be removed from this scenario and/or added to other scenarios when using the scenario
|
|
109
|
+
* customization rules, but it is required when playing Juggernaut in campaign mode."
|
|
110
|
+
*
|
|
111
|
+
* Not `composeEncounterSets`: that op adds a set's cards to the game *beside* whatever the scenario builder shuffled
|
|
112
|
+
* in, and a required modular set is usually the scenario's own recommended one, so composing it would put the set in
|
|
113
|
+
* twice. This field instead constrains the builder's modular choice: `startGameFromLog` hands it on
|
|
114
|
+
* (`CampaignGameStart.requiredModularSetIds`), `campaignModularSetIds` folds it into the caller's picks, and it is
|
|
115
|
+
* frozen into `CampaignGameInput.requiredModularSetIds`, where `createGame` refuses a game that holds no card of a
|
|
116
|
+
* required set. A required set counts as one of the scenario's modular sets (it is not an extra one). Absent or
|
|
117
|
+
* empty: the builder's choice is free, as it was before this field existed.
|
|
118
|
+
*/
|
|
119
|
+
readonly requiredModularSetIds?: readonly string[];
|
|
120
|
+
/**
|
|
121
|
+
* Rules the campaign puts in force for the whole of this node's game, printed in the rulebook rather than on a card:
|
|
122
|
+
* MC45 p. 5's Mission Rules card (it has no card record), and p. 20's "Professor X cannot enter play during this
|
|
123
|
+
* game." Plain `RuleSpec`s, exactly what a scenario builder passes as `GameSetupConfig.scenarioRuleSpecs`.
|
|
124
|
+
*
|
|
125
|
+
* A rule, not a setup instruction: nothing resolves and nothing is traced. `resolveBetweenGames` freezes the list
|
|
126
|
+
* into `CampaignGameInput.scenarioRuleSpecs`, and `createGame` adds it to the scenario's own rules, after them. So
|
|
127
|
+
* the rules are part of the game's replay baseline and no caller has to remember to pass them. Not gated by mode or
|
|
128
|
+
* by the log: a rule that should hold only sometimes says so in its own `while`. Absent or empty: no rule, and the
|
|
129
|
+
* game input is what it was before the field existed.
|
|
130
|
+
*/
|
|
131
|
+
readonly scenarioRuleSpecs?: readonly RuleSpec[];
|
|
132
|
+
readonly setup: readonly CampaignInstruction[];
|
|
133
|
+
readonly victory: readonly CampaignInstruction[];
|
|
134
|
+
/**
|
|
135
|
+
* The printed "DEFEAT:" block. Absent for the seven boxes whose loss is "they may reset the scenario and try
|
|
136
|
+
* again with no penalty" (MC10 p. 3); present for MC50 p. 19 and MC60 p. 13.
|
|
137
|
+
*/
|
|
138
|
+
readonly defeat?: readonly CampaignInstruction[];
|
|
139
|
+
}
|
|
140
|
+
export type CampaignScenarioRef =
|
|
141
|
+
/**
|
|
142
|
+
* The node plays one scenario record. MC60 p. 9 steps 5-6 ("Determine the villain … Gather your chosen main scheme,
|
|
143
|
+
* your chosen villain, and their corresponding encounter sets") is a `fixed` node too: the main scheme is the
|
|
144
|
+
* scenario and the villain one of its `Scenario.villainOptions`, which `composition`'s `composeVillain` names
|
|
145
|
+
* and the caller passes to the scenario builder (`CampaignGameStart.villain`; docs/phase7-wave11-scenarios.md §S3.3).
|
|
146
|
+
*/
|
|
147
|
+
{
|
|
148
|
+
readonly kind: "fixed";
|
|
149
|
+
readonly scenarioId: ScenarioId;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* A game with no scenario record, built from `composition` alone (`CampaignGameStart.villain` and
|
|
153
|
+
* `encounterSets`). No box uses it: a fixed record already names the main scheme and sets, and MC60's villain
|
|
154
|
+
* follows from the option (above). Kept for a campaign whose game no record describes; only the engine's synthetic
|
|
155
|
+
* campaign fixture (`testing/campaign.ts`) builds one.
|
|
156
|
+
*/
|
|
157
|
+
| {
|
|
158
|
+
readonly kind: "composed";
|
|
159
|
+
};
|
|
160
|
+
/** What one box of the printed campaign log sheet holds. Declared by the box; the engine stores it and nothing more. */
|
|
161
|
+
export type LogFieldType =
|
|
162
|
+
/**
|
|
163
|
+
* Delay counters (MC10 p. 7), unspent units (MC16 p. 5), secret counters (MC50 p. 11), remaining hit points
|
|
164
|
+
* (MC10 p. 17). `clampAtZero` is MC27 p. 5's reputation track, which can score negative but marks no node then.
|
|
165
|
+
*/
|
|
166
|
+
{
|
|
167
|
+
readonly kind: "number";
|
|
168
|
+
readonly min?: number;
|
|
169
|
+
readonly max?: number;
|
|
170
|
+
readonly clampAtZero?: true;
|
|
171
|
+
}
|
|
172
|
+
/** A checkbox: "Trust Established?", "Mary Defeated?", "Completed" (MC60 p. 13); campaign-pool membership (MC21 p. 7). */
|
|
173
|
+
| {
|
|
174
|
+
readonly kind: "flag";
|
|
175
|
+
}
|
|
176
|
+
/** An ordered list of card titles. Duplicates are allowed (ruling June 2, 2026 (3) answer 3). */
|
|
177
|
+
| {
|
|
178
|
+
readonly kind: "cardList";
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* One card, optionally with the face it is recorded on: MC10 p. 12 replaces a "Basic" Condition upgrade "with its
|
|
182
|
+
* 'Improved' side"; MC27 p. 22 flips a S.H.I.E.L.D. Tech upgrade "to its Enhanced side".
|
|
183
|
+
*/
|
|
184
|
+
| {
|
|
185
|
+
readonly kind: "cardRef";
|
|
186
|
+
readonly withFace?: true;
|
|
187
|
+
}
|
|
188
|
+
/** A fixed option set: a role (MC32 p. 5), the chosen villain (MC60 p. 9 step 5), an accusation (MC50 p. 19). */
|
|
189
|
+
| {
|
|
190
|
+
readonly kind: "choice";
|
|
191
|
+
readonly options: readonly string[];
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Named options that stay available until struck. MC45 p. 5: "MISSION side schemes are available unless their
|
|
195
|
+
* name has been struck from the campaign log"; MC40 p. 7 does the same to player side schemes.
|
|
196
|
+
*/
|
|
197
|
+
| {
|
|
198
|
+
readonly kind: "strikeList";
|
|
199
|
+
readonly options: readonly string[];
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Counters, and the face, that ride a named card across scenarios. MC50 p. 6: a Board Member with four secrets
|
|
203
|
+
* "permanently turns against the heroes, flipping to its attachment side", and MC50 p. 11 replaces those counters
|
|
204
|
+
* at the next scenario's setup. This is a card instance whose state is campaign state, not a number about a card.
|
|
205
|
+
*/
|
|
206
|
+
| {
|
|
207
|
+
readonly kind: "cardState";
|
|
208
|
+
readonly cardIds: readonly CardId[];
|
|
209
|
+
}
|
|
210
|
+
/** Ids into `CampaignDefinition.conditionalInstructions` (MC27 p. 22's reputation-track nodes). */
|
|
211
|
+
| {
|
|
212
|
+
readonly kind: "instructionList";
|
|
213
|
+
}
|
|
214
|
+
/** Freeform. Never read by an instruction; rendered on the sheet only ("Notes"). */
|
|
215
|
+
| {
|
|
216
|
+
readonly kind: "text";
|
|
217
|
+
};
|
|
218
|
+
export interface LogFieldDef {
|
|
219
|
+
readonly id: string;
|
|
220
|
+
/** As the printed sheet names it, so the rendered log reads like the paper one. */
|
|
221
|
+
readonly label: string;
|
|
222
|
+
/** MC10 p. 17's "player number" is what makes a per-seat field addressable; see `CampaignSeat.seatNumber`. */
|
|
223
|
+
readonly scope: "shared" | "perSeat";
|
|
224
|
+
readonly type: LogFieldType;
|
|
225
|
+
/** Only tracked under these modes: persistent damage is `{ expertCampaign: true }` (MC10 p. 17). */
|
|
226
|
+
readonly whenModes?: ModePredicate;
|
|
227
|
+
/**
|
|
228
|
+
* Never shown to the players. MC50 p. 5: three evidence cards "are randomly drawn at the start of the campaign,
|
|
229
|
+
* and kept hidden from the players in the A.I.M. envelope". Stored in `CampaignLog.hidden` and excluded from
|
|
230
|
+
* every view model (design §10.2, Q4).
|
|
231
|
+
*
|
|
232
|
+
* Only a hidden field may hold a sealed value (`LogValueSeal`; a sealed `random` draw, docs/phase7-wave9.md §3.75).
|
|
233
|
+
* A hidden field holding an ordinary value is scratch the sheet does not print: it is traced and handed to a game
|
|
234
|
+
* like any other field.
|
|
235
|
+
*/
|
|
236
|
+
readonly hidden?: true;
|
|
237
|
+
/**
|
|
238
|
+
* Scratch the instructions write and read that the paper sheet never prints (a per-seat list of eligible cards, a
|
|
239
|
+
* pick list a later step checks off). Stored and read like any other field — it works per seat, which `hidden` does
|
|
240
|
+
* not — but no player-facing view (the Dossier's Overview, Log or Issues) ever lists it. Display only.
|
|
241
|
+
*/
|
|
242
|
+
readonly working?: true;
|
|
243
|
+
/** The printed page this field comes from, e.g. `"MC10 p. 7"`. Format is pinned by the `@mc/cards` coverage test. */
|
|
244
|
+
readonly citation: string;
|
|
245
|
+
}
|
|
246
|
+
/** One printed bullet of a rulebook's SETUP / VICTORY / DEFEAT block. */
|
|
247
|
+
export interface CampaignInstruction {
|
|
248
|
+
/** Stable and unique within the box, prefixed with it. The coverage test resolves every id an op references. */
|
|
249
|
+
readonly id: string;
|
|
250
|
+
/** The printed sentence, verbatim: shown in the between-games step list and in the log's history. */
|
|
251
|
+
readonly text: string;
|
|
252
|
+
readonly citation: string;
|
|
253
|
+
/**
|
|
254
|
+
* `{ expertCampaign: true }` is the printed "**Expert Campaign Only**" prefix (MC10 p. 3: "Players should ignore
|
|
255
|
+
* these instructions unless they are playing an expert campaign"). `{ expert: true }` is the separate expert-*mode*
|
|
256
|
+
* gate a campaign instruction may also read — MC16 p. 8 reveals a side scheme "(use the reverse side for expert
|
|
257
|
+
* mode)" — which is why `PlayModes.expert` and `campaign.expertCampaign` are independent flags (design Q1).
|
|
258
|
+
*/
|
|
259
|
+
readonly whenModes?: ModePredicate;
|
|
260
|
+
/** A log-state gate: "If Security Breach is in the campaign pool" (MC21 p. 17), "If 'Trust Established?' is checked". */
|
|
261
|
+
readonly when?: CampaignPredicate;
|
|
262
|
+
readonly step: CampaignStep;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* The boundary is exactly "does it need a `GameState`?". `inGame` puts a card into play, shuffles into the
|
|
266
|
+
* encounter deck, places threat or counters, sets hit points. `betweenGames` only touches decks, the log and player
|
|
267
|
+
* choices. `record` is the read half: it reads the *finished* game and writes the log.
|
|
268
|
+
*/
|
|
269
|
+
export type CampaignStep =
|
|
270
|
+
/** Resolved by the engine inside the game, at a named window, as ordinary effects. */
|
|
271
|
+
{
|
|
272
|
+
readonly kind: "inGame";
|
|
273
|
+
readonly window: CampaignWindow;
|
|
274
|
+
readonly effects: readonly EffectSpec[];
|
|
275
|
+
}
|
|
276
|
+
/** Resolved by the campaign runner. No `GameState` exists. */
|
|
277
|
+
| {
|
|
278
|
+
readonly kind: "betweenGames";
|
|
279
|
+
readonly ops: readonly CampaignOp[];
|
|
280
|
+
}
|
|
281
|
+
/** Read the finished game, write the log. Victory and defeat instructions are mostly these. */
|
|
282
|
+
| {
|
|
283
|
+
readonly kind: "record";
|
|
284
|
+
readonly writes: readonly LogWriteSpec[];
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* Where inside RRG Appendix II an `inGame` instruction resolves. All five are printed somewhere:
|
|
288
|
+
*
|
|
289
|
+
* - `beforeScenarioSetup` — MC60 p. 9 steps 1-7, "Before beginning setup for each game, perform the following steps".
|
|
290
|
+
* - `beforePlayerSetup` — MC60 p. 9 step 8, deck surgery between "Proceed with scenario setup until player setup"
|
|
291
|
+
* (step 7) and "Proceed with player setup" (step 9).
|
|
292
|
+
* - `afterScenarioSetup` — **the default.** MC10 p. 3 says only "set up the scenario as per the normal rules of the
|
|
293
|
+
* game. Then, follow that scenario's setup instructions"; MC50 p. 4 pins the same sentence to "**before players
|
|
294
|
+
* draw their starting hands**", i.e. after Appendix II step 12 and before step 13. MC10 p. 7's own "Each player
|
|
295
|
+
* searches their deck for all cards with the setup keyword and puts them into play" is only coherent before the
|
|
296
|
+
* draw, which is the corroboration. Flagged as a *reading* (design Q7): ruling June 2, 2026 (3) answer 2 says
|
|
297
|
+
* "Campaign setup finishes before resolving Collector II's When Revealed damage", which for MC16 would put
|
|
298
|
+
* campaign setup earlier still — a box may override the affected instructions to `beforeScenarioSetup`.
|
|
299
|
+
* - `beforeStartingHands` — MC50 p. 4's own wording, kept as a distinct value so a definition can quote the page it
|
|
300
|
+
* came from rather than silently relying on the default meaning the same thing.
|
|
301
|
+
* - `afterMulligans` — MC50 p. 11, "**After resolving mulligans,** resolve the 'Setup' ability of each evidence card
|
|
302
|
+
* the players have earned", i.e. after Appendix II step 15.
|
|
303
|
+
*/
|
|
304
|
+
export type CampaignWindow = "beforeScenarioSetup" | "beforePlayerSetup" | "afterScenarioSetup" | "beforeStartingHands" | "afterMulligans";
|
|
305
|
+
/** The default window for a setup instruction with no window printed on it (MC10 p. 3 + MC50 p. 4; see above). */
|
|
306
|
+
export declare const DEFAULT_CAMPAIGN_WINDOW: CampaignWindow;
|
|
307
|
+
/**
|
|
308
|
+
* The order the engine resolves the windows in, which is the order the `setup` flow steps run (`setup-steps.ts`).
|
|
309
|
+
*
|
|
310
|
+
* Three of the five — `afterScenarioSetup`, `beforeStartingHands`, `beforePlayerSetup` — name *the same printed gap*:
|
|
311
|
+
* after RRG 1.8 Appendix II step 12 ("Resolve Scenario Setup and When Revealed Abilities", p. 51) and before step 14
|
|
312
|
+
* ("Draw Starting Hands"). MC10 p. 3 ("Then, follow that scenario's setup instructions"), MC50 p. 4 ("before players
|
|
313
|
+
* draw their starting hands") and MC60 p. 9 step 8 (deck surgery between scenario setup and player setup) all land
|
|
314
|
+
* there, and no rulebook prints two of them for one scenario, so their order relative to each other is an **engine
|
|
315
|
+
* convention**, not a rule: latest-sounding last. Flagged in design §6.1/Q7 rather than silently chosen.
|
|
316
|
+
*/
|
|
317
|
+
export declare const CAMPAIGN_WINDOW_ORDER: readonly ["beforeScenarioSetup", "afterScenarioSetup", "beforeStartingHands", "beforePlayerSetup", "afterMulligans"];
|
|
318
|
+
/**
|
|
319
|
+
* One card **face** removed from the campaign (RRG 1.8 p. 29).
|
|
320
|
+
*
|
|
321
|
+
* Removal is by face, not by physical card: ruling **April 30, 2026 (4)** answer 2, on the MC45 campaign — "Prelate
|
|
322
|
+
* versions of minions remain available for the Apocalypse scenario even if their Overseer counterparts were crossed
|
|
323
|
+
* out of the campaign log." The two versions are two faces of one double-sided card, which in `@mc/content` is one
|
|
324
|
+
* `CardId` plus a `flipSide`, so a `CardId` alone cannot say which of them was crossed out.
|
|
325
|
+
*
|
|
326
|
+
* `face` is the printed name of the *other* face (`CardFlipSide.name`), matching how `LogValue` `cardRef` and
|
|
327
|
+
* `CampaignGrant` already name a face; absent means the card's front face, which is every single-sided card.
|
|
328
|
+
*/
|
|
329
|
+
export interface CampaignCardFace {
|
|
330
|
+
readonly cardId: CardId;
|
|
331
|
+
readonly face?: string;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* The value an in-game `recordInCampaignLog` writes, in the engine's own executable vocabulary (`ValueSpec`,
|
|
335
|
+
* `Predicate`, `CardSelector`) rather than the between-games `CampaignGameQuery`: inside a game there *is* a
|
|
336
|
+
* `GameState`, so a write reads it the way any card ability would.
|
|
337
|
+
*
|
|
338
|
+
* Only the log field kinds an in-game instruction can produce are here. `strikeList`, `instructionList` and
|
|
339
|
+
* `cardState` are never written in one sentence in-game: a strike is `mode: "strike"` with a `choice` value (the same
|
|
340
|
+
* way `LogWriteSpec` spells it), and the other two are written between games.
|
|
341
|
+
*/
|
|
342
|
+
export type CampaignLogValueSpec =
|
|
343
|
+
/** "Record the number of delay counters on the main scheme" (MC10 p. 7). */
|
|
344
|
+
{
|
|
345
|
+
readonly kind: "number";
|
|
346
|
+
readonly amount: ValueSpec;
|
|
347
|
+
}
|
|
348
|
+
/** "Check the box" (MC60 p. 13); `when` makes it conditional, absent is simply true. */
|
|
349
|
+
| {
|
|
350
|
+
readonly kind: "flag";
|
|
351
|
+
readonly when?: Predicate;
|
|
352
|
+
}
|
|
353
|
+
/** "Record the name of each Experimental attachment that entered the game" (MC10 p. 5). */
|
|
354
|
+
| {
|
|
355
|
+
readonly kind: "cardList";
|
|
356
|
+
readonly cards: CardSelector;
|
|
357
|
+
}
|
|
358
|
+
/** One card, optionally with the face it is on (MC10 p. 12's "Improved" side). The first card the selector names. */
|
|
359
|
+
| {
|
|
360
|
+
readonly kind: "cardRef";
|
|
361
|
+
readonly card: CardSelector;
|
|
362
|
+
readonly withFace?: true;
|
|
363
|
+
}
|
|
364
|
+
/** A named option of a `choice` or `strikeList` field. */
|
|
365
|
+
| {
|
|
366
|
+
readonly kind: "choice";
|
|
367
|
+
readonly option: string;
|
|
368
|
+
} | {
|
|
369
|
+
readonly kind: "text";
|
|
370
|
+
readonly value: string;
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* What a game has written back to the campaign so far, accumulated in `GameState` as plain data and folded into the
|
|
374
|
+
* `CampaignLog` by the runner (design §7.2) — **the game itself never touches anything outside `GameState`**.
|
|
375
|
+
*
|
|
376
|
+
* Kept apart from the frozen `GameState.campaign` input on purpose: the input is the replay baseline and never
|
|
377
|
+
* changes, and these writes are the only campaign state a game produces. Both stick whatever the outcome, because
|
|
378
|
+
* RRG 1.8 p. 29 keeps a removal "even if players retry the scenario wherein that card was removed", and design §6.2
|
|
379
|
+
* extends the same reading to an in-game log write — which is why a lost game's writes must stay distinguishable
|
|
380
|
+
* from the between-games writes a retry rolls back to `LossPolicy.retryBaseline`.
|
|
381
|
+
*/
|
|
382
|
+
export interface CampaignInGameWrites {
|
|
383
|
+
readonly logWrites: readonly LogWrite[];
|
|
384
|
+
readonly removedFromCampaign: readonly CampaignCardFace[];
|
|
385
|
+
}
|
|
386
|
+
/** A game that has written nothing back yet. */
|
|
387
|
+
export declare const NO_CAMPAIGN_WRITES: CampaignInGameWrites;
|
|
388
|
+
/**
|
|
389
|
+
* What a `record` instruction reads out of the finished game. Answered by `campaignResultOf` as a derived reducer
|
|
390
|
+
* over the final state and the event stream (design §7.2) — never accumulated by a client and handed back.
|
|
391
|
+
*/
|
|
392
|
+
export type CampaignGameQuery =
|
|
393
|
+
/** MC10 p. 5: "Record the name of each Experimental attachment that entered the game in the campaign log." */
|
|
394
|
+
{
|
|
395
|
+
readonly kind: "cardsThatEnteredPlay";
|
|
396
|
+
readonly query: TargetQuery;
|
|
397
|
+
}
|
|
398
|
+
/** MC60 p. 13: "Record the title of each unique ally and support that was removed from the game in the campaign log." */
|
|
399
|
+
| {
|
|
400
|
+
readonly kind: "cardsRemovedFromGame";
|
|
401
|
+
readonly query: TargetQuery;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* MC21 p. 7/13/21: "If Secure the Landing Pad **was defeated**, add Cosmo to the campaign pool." Every scheme or
|
|
405
|
+
* character defeated during the game whose printed name was `name` *when it was defeated*, read off the defeat
|
|
406
|
+
* events (`schemeDefeated`, `characterDefeated`), one entry per defeat. Not "no longer in play": a card that never
|
|
407
|
+
* entered play was not defeated, and a side scheme whose When Defeated flips it (Find the Norn Stones → Retrieve
|
|
408
|
+
* Odin's Armor) was, though no card of that name remains anywhere. Matched by name only, because the defeated
|
|
409
|
+
* face may no longer be the instance's current face, which `TargetQuery` would read.
|
|
410
|
+
*/
|
|
411
|
+
| {
|
|
412
|
+
readonly kind: "cardsDefeated";
|
|
413
|
+
readonly name: string;
|
|
414
|
+
}
|
|
415
|
+
/** MC50 p. 11: "Record the number of Rescued Captive allies in play in the campaign log." */
|
|
416
|
+
| {
|
|
417
|
+
readonly kind: "cardsInPlay";
|
|
418
|
+
readonly query: TargetQuery;
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* MC32 pp. 7/10/12/16: "Add each Future Past card found in the encounter deck, discard pile, and in play to the
|
|
422
|
+
* campaign log." Every encounter deck and every encounter discard pile (each `encounterDeckOrder` deck, so a
|
|
423
|
+
* multi-deck scenario reads all of them), then — with `inPlay` — the cards in play, then the deck and discard pile
|
|
424
|
+
* of each scenario deck named in `scenarioDecks`, in that order; an instance is listed once.
|
|
425
|
+
*
|
|
426
|
+
* Scenario decks are opt-in by name because a scenario deck is not the encounter deck: MC32's own "Future Past"
|
|
427
|
+
* deck is the set-aside remainder of the Future Past set, and naming it here would record every Future Past card
|
|
428
|
+
* still set aside, which the rulebook does not. (A card discarded from a `discardPile: "encounter"` scenario deck
|
|
429
|
+
* is already in the encounter discard pile.) The victory display, the scenario areas, hands and player decks are
|
|
430
|
+
* not read: other kinds name those.
|
|
431
|
+
*/
|
|
432
|
+
| {
|
|
433
|
+
readonly kind: "cardsInEncounterDeckAndDiscard";
|
|
434
|
+
readonly query: TargetQuery;
|
|
435
|
+
readonly inPlay?: true;
|
|
436
|
+
readonly scenarioDecks?: readonly string[];
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* The cards **tucked** under a host card, which `cardsInPlay` deliberately never sees: RRG 1.8 "Tuck" puts a
|
|
440
|
+
* tucked card out of play, and `select.ts` keeps it out of every in-play selection. MC10 p. 12 records "the name
|
|
441
|
+
* of each ally underneath" a side scheme that is still in play. `under` names the host(s) among the cards in
|
|
442
|
+
* play; `query` filters what is beneath them, in tuck order. A host that is no longer in play names nothing,
|
|
443
|
+
* which is how the printed "**If** the … side scheme is still in play" condition resolves with no second
|
|
444
|
+
* predicate: the sentence and its gate are one query.
|
|
445
|
+
*/
|
|
446
|
+
| {
|
|
447
|
+
readonly kind: "cardsTuckedUnder";
|
|
448
|
+
readonly under: TargetQuery;
|
|
449
|
+
readonly query: TargetQuery;
|
|
450
|
+
}
|
|
451
|
+
/** MC60 p. 13: "If the Typhoid Mary/Bloody Mary ally is in the victory display, check the 'Mary Defeated?' box." */
|
|
452
|
+
| {
|
|
453
|
+
readonly kind: "cardsInVictoryDisplay";
|
|
454
|
+
readonly query: TargetQuery;
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* A scenario out-of-play area (docs/phase7-wave3.md §3.14): "In the 'Cards in The Collection' section, record
|
|
458
|
+
* the title of each player card in The Collection" (MC16 p. 10) — the `record`-side twin of the in-game
|
|
459
|
+
* `CardSelector` `scenarioArea` (`effects.ts`'s `scenarioArea`), reading the same `GameState.scenarioAreas`.
|
|
460
|
+
*/
|
|
461
|
+
| {
|
|
462
|
+
readonly kind: "cardsInScenarioArea";
|
|
463
|
+
readonly name: string;
|
|
464
|
+
readonly query: TargetQuery;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* MC10 p. 7: "Record the number of delay counters on the main scheme in the campaign log." MC50 p. 11 does the
|
|
468
|
+
* same per Board Member. `counter` is a counter name as `CardInstance.counters` keys them.
|
|
469
|
+
*/
|
|
470
|
+
| {
|
|
471
|
+
readonly kind: "countersOn";
|
|
472
|
+
readonly query: TargetQuery;
|
|
473
|
+
readonly counter: string;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* MC50 pp. 9 to 15: "Record the number of secret counters on each Board Member card in the campaign log." The state
|
|
477
|
+
* of each card in play that matches `query`, one entry a card, for a `cardState` field: each counter named in
|
|
478
|
+
* `counters` as `CardInstance.counters` keys it (0 when the card has none) and, with `withFace`, the face the card
|
|
479
|
+
* is on. The entries are keyed and the faces named when the value is written (`LogValue` `cardState`), against the
|
|
480
|
+
* field's own `cardIds`: a card the field does not list is an `EngineInvariantError`, and so are two cards in play
|
|
481
|
+
* that would share one key. Written to any other field kind it reads as the matching cards (a count, a card list).
|
|
482
|
+
*/
|
|
483
|
+
| {
|
|
484
|
+
readonly kind: "cardStateOf";
|
|
485
|
+
readonly query: TargetQuery;
|
|
486
|
+
readonly counters: readonly string[];
|
|
487
|
+
readonly withFace?: true;
|
|
488
|
+
}
|
|
489
|
+
/** MC60 p. 13: "If Disturbed Psyche is in play and has at least 2 threat on it…" */
|
|
490
|
+
| {
|
|
491
|
+
readonly kind: "threatOn";
|
|
492
|
+
readonly query: TargetQuery;
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* MC40 pp. 14, 16: "Record the amount of damage on Hope Summers in the campaign log." The sibling of `threatOn`:
|
|
496
|
+
* the **damage tokens** on each card in play matching `query` at the end of the game (`CardInstance.damage`),
|
|
497
|
+
* summed over several. It is not "hit points remaining", so a hit point bonus or a changed maximum does not move
|
|
498
|
+
* it. Nothing matching reads 0, as `threatOn` and `countersOn` do: a card that has left play has no damage on it.
|
|
499
|
+
*/
|
|
500
|
+
| {
|
|
501
|
+
readonly kind: "damageOn";
|
|
502
|
+
readonly query: TargetQuery;
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* MC27 p. 22's reputation condition "(+1) Fewer than 1[per_hero] acceleration tokens in play": every acceleration
|
|
506
|
+
* token on a card in play — each main scheme's own (`MainSchemeState.accelerationTokens`, several with Venom
|
|
507
|
+
* Goblin's) and those on any other card (the `acceleration` counter, docs/phase7-wave5.md §3.4). The "[per_hero]"
|
|
508
|
+
* threshold is `playersInScenario`, compared between games (`CampaignPredicate` `valueAtLeast`).
|
|
509
|
+
*/
|
|
510
|
+
| {
|
|
511
|
+
readonly kind: "accelerationTokensInPlay";
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* MC27 p. 22's "(+1) No defeated identities": the number of players eliminated this game. RRG 1.8 "Player
|
|
515
|
+
* Elimination" (p. 34): "A player is eliminated from the game if their identity is defeated", so the two are one
|
|
516
|
+
* count. Every player, whatever an `EliminationPolicy` does with the seat afterwards.
|
|
517
|
+
*/
|
|
518
|
+
| {
|
|
519
|
+
readonly kind: "defeatedIdentities";
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* MC27 p. 13: "Count the total number of Illusion cards in all player decks. Record that number in the 'Waking
|
|
523
|
+
* Nightmare' section." The cards in each player's **deck** (not hand or discard pile) that match `query`, including
|
|
524
|
+
* encounter cards shuffled in (docs/phase7-wave5.md §3.5). Read off the final state, which still holds them: the
|
|
525
|
+
* same page's "After the scenario ends, remove all encounter cards from your deck …" is not something the engine
|
|
526
|
+
* does to a finished game. An eliminated player's deck is out of the game (RRG 1.8 "Player Elimination" step 5) and
|
|
527
|
+
* counts nothing.
|
|
528
|
+
*/
|
|
529
|
+
| {
|
|
530
|
+
readonly kind: "cardsInPlayerDecks";
|
|
531
|
+
readonly query: TargetQuery;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* The number the per player icon multiplies by: "the number of players who **started** the scenario" (RRG 1.8 "Per
|
|
535
|
+
* Player Icon", p. 32: "If a player is eliminated, this value does not change"). MC27 p. 22's "Fewer than
|
|
536
|
+
* 1[per_hero] acceleration tokens" is `accelerationTokensInPlay` < this. `CampaignValue` `seatCount` is not the
|
|
537
|
+
* same number: it counts the campaign's seats, not the players seated in this game.
|
|
538
|
+
*/
|
|
539
|
+
| {
|
|
540
|
+
readonly kind: "playersInScenario";
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* MC16 p. 8: "Record a number of units … equal to the victory values on encounter cards in the victory display"
|
|
544
|
+
* — the printed `Victory X` keyword's own value (RRG 1.8's Victory X, docs/phase7-wave3.md §3.4), summed across
|
|
545
|
+
* every matching card, not the card *count* `victoryDisplayCount`/`cardsInVictoryDisplay` would give (two
|
|
546
|
+
* Victory 2 cards is 4, not 2). `keyword` is a `KeywordName`; a card with no such keyword contributes 0.
|
|
547
|
+
*/
|
|
548
|
+
| {
|
|
549
|
+
readonly kind: "keywordValueSum";
|
|
550
|
+
readonly query: TargetQuery;
|
|
551
|
+
readonly keyword: string;
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* MC10 p. 17: "each player must record their remaining hit points … If a player's remaining hit point value is
|
|
555
|
+
* higher than their base hit point value, record their base hit points in the campaign log instead." The cap is
|
|
556
|
+
* part of the query because every box prints it, and MC60 p. 9 records it after *each* game, won or lost.
|
|
557
|
+
*/
|
|
558
|
+
| {
|
|
559
|
+
readonly kind: "remainingHitPointsCappedAtBase";
|
|
560
|
+
}
|
|
561
|
+
/** MC10 p. 12: "Each player engaged with an enemy records they are engaged with an enemy in the campaign log." */
|
|
562
|
+
| {
|
|
563
|
+
readonly kind: "isEngagedWithEnemy";
|
|
564
|
+
}
|
|
565
|
+
/** A fixed value, for an instruction that simply marks a box: MC60 p. 13's "Check the 'Completed' box". */
|
|
566
|
+
| {
|
|
567
|
+
readonly kind: "const";
|
|
568
|
+
readonly value: number | string | boolean;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* The printed stage number of the main scheme in play (`MainSchemeStage.stageNumber`), the between-games twin of
|
|
572
|
+
* the in-game `ValueSpec` of the same name. MC16 p. 8 / p. 14, "Record 1 unit for each player if the main scheme
|
|
573
|
+
* is on stage 1B", is `equals(mainSchemeStageNumber, 1)`. There is no side to ask about: a main scheme in play is
|
|
574
|
+
* always on its B side (RRG 1.8 "Main Scheme", p. 27: advancing resolves the A side, then flips to B), so "1B"
|
|
575
|
+
* names stage 1. With separate game areas it reads the central stage, `GameState.mainScheme`.
|
|
576
|
+
*/
|
|
577
|
+
| {
|
|
578
|
+
readonly kind: "mainSchemeStageNumber";
|
|
579
|
+
}
|
|
580
|
+
/** The size of a list-valued query, for "the number of minions and side schemes recorded" (MC50 p. 11). */
|
|
581
|
+
| {
|
|
582
|
+
readonly kind: "count";
|
|
583
|
+
readonly of: CampaignGameQuery;
|
|
584
|
+
}
|
|
585
|
+
/** A list- or number-valued query as a yes/no, for a `flag` field. */
|
|
586
|
+
| {
|
|
587
|
+
readonly kind: "atLeast";
|
|
588
|
+
readonly of: CampaignGameQuery;
|
|
589
|
+
readonly amount: number;
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* `atLeast`'s complement: MC16 p. 8, "Record 1 unit for each player if there are **no minions** in play" is
|
|
593
|
+
* `atMost(cardsInPlay({categories:["minion"]}), 0)` — there is no negation over `CampaignGameQuery` to spell
|
|
594
|
+
* `not(atLeast(…, 1))` instead.
|
|
595
|
+
*/
|
|
596
|
+
| {
|
|
597
|
+
readonly kind: "atMost";
|
|
598
|
+
readonly of: CampaignGameQuery;
|
|
599
|
+
readonly amount: number;
|
|
600
|
+
}
|
|
601
|
+
/** A numeric query as a yes/no for one exact value: "if the main scheme is on stage 1B" (MC16 p. 8). */
|
|
602
|
+
| {
|
|
603
|
+
readonly kind: "equals";
|
|
604
|
+
readonly of: CampaignGameQuery;
|
|
605
|
+
readonly amount: number;
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* MC16 p. 8: "Record a number of units (to a maximum of 3 units) equal to the victory values…" — a numeric
|
|
609
|
+
* query's own printed ceiling. Distinct from `LogFieldDef`'s `number.max`, which caps what the *field* can ever
|
|
610
|
+
* hold, not what one write may add: MC16's `units` field is otherwise unbounded (it carries across scenarios).
|
|
611
|
+
*/
|
|
612
|
+
| {
|
|
613
|
+
readonly kind: "capAt";
|
|
614
|
+
readonly of: CampaignGameQuery;
|
|
615
|
+
readonly amount: number;
|
|
616
|
+
};
|
|
617
|
+
/** How a `record` instruction writes one field. */
|
|
618
|
+
export interface LogWriteSpec {
|
|
619
|
+
readonly field: string;
|
|
620
|
+
/** Absent on a shared field. `"each"` writes every seat's own value ("each identity's remaining hit points"). */
|
|
621
|
+
readonly seat?: "self" | "each";
|
|
622
|
+
readonly mode: LogWriteMode;
|
|
623
|
+
readonly value: CampaignGameQuery;
|
|
624
|
+
/**
|
|
625
|
+
* With `mode: "append"` on a `cardList` field: append only the copies the field does not already hold, so the
|
|
626
|
+
* field becomes the multiset union of what it held and what was found (per card id, the larger of the two counts).
|
|
627
|
+
* MC32 pp. 7/10/12/16's Future Past list: a recorded card is shuffled into the next encounter deck, so the next
|
|
628
|
+
* Victory finds it again, and "add each … card found" must not record it twice. Absent keeps every copy, the
|
|
629
|
+
* default for a `cardList` append ("Record each copy individually", ruling June 2, 2026 (3) answer 3).
|
|
630
|
+
*/
|
|
631
|
+
readonly distinct?: true;
|
|
632
|
+
}
|
|
633
|
+
export type LogWriteMode = "set" | "add" | "append" | "strike";
|
|
634
|
+
/** One computed write, as it goes into the log and into the history trace. The resolved form of a `LogWriteSpec`. */
|
|
635
|
+
export interface LogWrite {
|
|
636
|
+
readonly field: string;
|
|
637
|
+
/** The seat this value belongs to, by `CampaignSeat.seatNumber`; null for a shared or hidden field. */
|
|
638
|
+
readonly seatNumber: number | null;
|
|
639
|
+
readonly mode: LogWriteMode;
|
|
640
|
+
readonly value: LogValue;
|
|
641
|
+
/** `LogWriteSpec.distinct`, carried into the resolved write; absent on every other write, so saves are unchanged. */
|
|
642
|
+
readonly distinct?: true;
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* The between-games value language. Deliberately tiny and separate from `ValueSpec`: there is no `GameState` to
|
|
646
|
+
* read here, so nothing in `ValueSpec`'s vocabulary would resolve. (The in-game half instead extends `ValueSpec`
|
|
647
|
+
* and `Predicate` with a `campaignLog` member — design §4.4, engine step 3.)
|
|
648
|
+
*/
|
|
649
|
+
export type CampaignValue = {
|
|
650
|
+
readonly kind: "const";
|
|
651
|
+
readonly value: number | string | boolean;
|
|
652
|
+
} | {
|
|
653
|
+
readonly kind: "field";
|
|
654
|
+
readonly field: string;
|
|
655
|
+
readonly seat?: "self" | "each";
|
|
656
|
+
} | {
|
|
657
|
+
readonly kind: "count";
|
|
658
|
+
readonly field: string;
|
|
659
|
+
} | {
|
|
660
|
+
readonly kind: "sum" | "difference" | "min" | "max";
|
|
661
|
+
readonly of: readonly CampaignValue[];
|
|
662
|
+
}
|
|
663
|
+
/** MC27 p. 5 and ruling August 3, 2026 (4) answer 2: negative victory points mark no reputation-track nodes. */
|
|
664
|
+
| {
|
|
665
|
+
readonly kind: "clampAtZero";
|
|
666
|
+
readonly of: CampaignValue;
|
|
667
|
+
}
|
|
668
|
+
/** A choice made earlier in this same step list, by `CampaignOp` `choose`/`random` slot. */
|
|
669
|
+
| {
|
|
670
|
+
readonly kind: "choice";
|
|
671
|
+
readonly slot: string;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* The number of seats in the campaign (`CampaignLog.seats.length`), for a threshold a rulebook prints "[per_hero]"
|
|
675
|
+
* rather than as a box constant: MC16 p. 10, "1[per_hero] or fewer cards in The Collection" is `not(valueAtLeast(
|
|
676
|
+
* count("collection"), difference([field("collection", of:"count"), seatCount])))`-style arithmetic over this and
|
|
677
|
+
* `difference`, since `fieldAtLeast`'s `amount` is a fixed number and a per-hero threshold is not one.
|
|
678
|
+
*/
|
|
679
|
+
| {
|
|
680
|
+
readonly kind: "seatCount";
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* Integer division: MC16 p. 12, "for every 2 Galactic Artifacts side schemes in the victory display, record 1
|
|
684
|
+
* unit" is `divide(count("galacticArtifacts"), 2, "down")`. Mirrors the in-game `ValueSpec` `scaled`'s own
|
|
685
|
+
* `divide`, which this type is otherwise deliberately without (see the file header) — needed the moment a
|
|
686
|
+
* between-games write is itself a quotient rather than a sum/difference/min/max of whole values.
|
|
687
|
+
*/
|
|
688
|
+
| {
|
|
689
|
+
readonly kind: "divide";
|
|
690
|
+
readonly of: CampaignValue;
|
|
691
|
+
readonly by: number;
|
|
692
|
+
readonly round: "down" | "up";
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* The progression marks a node holds (`CampaignPosition.progress`, MC60 p. 9 step 3: "marking the first unmarked box
|
|
696
|
+
* to the right of that scenario"), 0 for a node never progressed. A game never reads the position, so a definition
|
|
697
|
+
* copies this into a log field (a `working` number) that the in-game setup reads through `ValueSpec` `campaignLog`,
|
|
698
|
+
* and the copy is traced like any other write: MC60 p. 13, "Place 1 threat … for each check mark in the campaign
|
|
699
|
+
* log beside 'Protection Racket.'" Naming a node the graph does not hold is an `EngineInvariantError`.
|
|
700
|
+
*/
|
|
701
|
+
| {
|
|
702
|
+
readonly kind: "nodeProgress";
|
|
703
|
+
readonly node: string;
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* The identity the scoped seat plays (`CampaignSeat.identityCardId`): MC65 p. 9, "Each player records their identity
|
|
707
|
+
* in the campaign log ... If Daredevil's name or Elektra's name is recorded for this campaign, check off the villain
|
|
708
|
+
* with that name". The card id, or with `as: "name"` its printed name ("Daredevil", the hero's, not the alter ego's),
|
|
709
|
+
* which is what a rulebook compares. The name is read from the card pool, so an identity the pool does not hold has
|
|
710
|
+
* no name (the value is empty, and an id is still returned for `cardRef`). Written to a
|
|
711
|
+
* `cardRef` or `text` field the definition declares; read by `fieldContains` like any other field. Inside a
|
|
712
|
+
* `forEachSeat` it is that seat's identity, and outside one the first seat's (as `field` with a `seat` does).
|
|
713
|
+
*/
|
|
714
|
+
| {
|
|
715
|
+
readonly kind: "seatIdentity";
|
|
716
|
+
readonly as?: "name";
|
|
717
|
+
};
|
|
718
|
+
export type CampaignPredicate = {
|
|
719
|
+
readonly kind: "fieldAtLeast";
|
|
720
|
+
readonly field: string;
|
|
721
|
+
readonly amount: number;
|
|
722
|
+
readonly seat?: "self";
|
|
723
|
+
} | {
|
|
724
|
+
readonly kind: "fieldIsSet";
|
|
725
|
+
readonly field: string;
|
|
726
|
+
readonly seat?: "self";
|
|
727
|
+
} | {
|
|
728
|
+
readonly kind: "fieldContains";
|
|
729
|
+
readonly field: string;
|
|
730
|
+
readonly value: string;
|
|
731
|
+
readonly seat?: "self";
|
|
732
|
+
}
|
|
733
|
+
/** MC45 p. 5: an option "is available unless their name has been struck from the campaign log". */
|
|
734
|
+
| {
|
|
735
|
+
readonly kind: "notStruck";
|
|
736
|
+
readonly field: string;
|
|
737
|
+
readonly option: string;
|
|
738
|
+
}
|
|
739
|
+
/** MC60 p. 9 step 4: "choose any scenario to play that has not been Completed or Failed". */
|
|
740
|
+
| {
|
|
741
|
+
readonly kind: "nodeResolved";
|
|
742
|
+
readonly nodeId: string;
|
|
743
|
+
readonly as?: "completed" | "failed";
|
|
744
|
+
}
|
|
745
|
+
/**
|
|
746
|
+
* Whether a `choose`/`random` slot **earlier in this same step list** picked anything.
|
|
747
|
+
*
|
|
748
|
+
* The counterpart of `optional` on those two ops: a seat that declined picked nothing, so `not` of this is "this
|
|
749
|
+
* seat declined" — MC10 p. 12's "each player in hero form **may** replace their 'Basic' Condition upgrade", where
|
|
750
|
+
* the ops that carry out the replacement must not run for a player who said no. Scoped like every other per-seat
|
|
751
|
+
* read: inside a `forEachSeat` it asks about that seat's own pick, and outside one about a group pick.
|
|
752
|
+
*
|
|
753
|
+
* A slot no op in this list has reached yet reads as "not picked", the same way an unwritten field reads as
|
|
754
|
+
* unset: the between-games vocabulary has no undefined, only "nothing recorded".
|
|
755
|
+
*/
|
|
756
|
+
| {
|
|
757
|
+
readonly kind: "choiceMade";
|
|
758
|
+
readonly slot: string;
|
|
759
|
+
} | {
|
|
760
|
+
readonly kind: "modes";
|
|
761
|
+
readonly of: ModePredicate;
|
|
762
|
+
} | {
|
|
763
|
+
readonly kind: "not";
|
|
764
|
+
readonly of: CampaignPredicate;
|
|
765
|
+
} | {
|
|
766
|
+
readonly kind: "and" | "or";
|
|
767
|
+
readonly of: readonly CampaignPredicate[];
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* `fieldAtLeast` generalized to a *computed* threshold: MC16 p. 10's "1[per_hero] or fewer" needs `seatCount` on
|
|
771
|
+
* one side, which is not a literal a definition can write into `fieldAtLeast.amount: number`. `fieldAtLeast`
|
|
772
|
+
* stays as the common case (its literal reads more plainly than `valueAtLeast(field(...), const(n))` would).
|
|
773
|
+
*/
|
|
774
|
+
| {
|
|
775
|
+
readonly kind: "valueAtLeast";
|
|
776
|
+
readonly value: CampaignValue;
|
|
777
|
+
readonly amount: CampaignValue;
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* Every op is derived from a printed sentence in one of the ten rulebooks. This union is the foundation's real
|
|
781
|
+
* surface area: **adding a box must not require adding to it.** If a new box needs a new member, the shape is
|
|
782
|
+
* wrong, not the box (design §11 step 12 is the acceptance gate for exactly that).
|
|
783
|
+
*/
|
|
784
|
+
export type CampaignOp = {
|
|
785
|
+
readonly kind: "setField";
|
|
786
|
+
readonly field: string;
|
|
787
|
+
readonly seat?: "self";
|
|
788
|
+
readonly value: CampaignValue;
|
|
789
|
+
} | {
|
|
790
|
+
readonly kind: "addToField";
|
|
791
|
+
readonly field: string;
|
|
792
|
+
readonly seat?: "self";
|
|
793
|
+
readonly value: CampaignValue;
|
|
794
|
+
} | {
|
|
795
|
+
readonly kind: "appendToList";
|
|
796
|
+
readonly field: string;
|
|
797
|
+
readonly seat?: "self";
|
|
798
|
+
readonly value: CampaignValue;
|
|
799
|
+
}
|
|
800
|
+
/** MC45 p. 5 / MC40 p. 7: strike a named option so it is no longer available. */
|
|
801
|
+
| {
|
|
802
|
+
readonly kind: "strike";
|
|
803
|
+
readonly field: string;
|
|
804
|
+
readonly seat?: "self";
|
|
805
|
+
readonly option: CampaignValue;
|
|
806
|
+
} | {
|
|
807
|
+
readonly kind: "clearField";
|
|
808
|
+
readonly field: string;
|
|
809
|
+
readonly seat?: "self";
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* MC10 p. 3: "Added cards must be included in the player's deck for the rest of the campaign. Cards added to the
|
|
813
|
+
* deck as part of a campaign do not count toward a player's minimum or maximum deck size."
|
|
814
|
+
* `permanence: "thisGame"` is MC32 p. 5's role-building, where the card is added "to their deck for that game".
|
|
815
|
+
*/
|
|
816
|
+
| {
|
|
817
|
+
readonly kind: "grantCard";
|
|
818
|
+
readonly seat: "self" | "each";
|
|
819
|
+
readonly card: CampaignValue;
|
|
820
|
+
readonly permanence: GrantPermanence;
|
|
821
|
+
/**
|
|
822
|
+
* Absent: one copy per card named. `"maximum"`: MC27 p. 22's Aspect Advantage, "adds the maximum number of
|
|
823
|
+
* copies of that card, by title". Granted copies count toward the copy limit (docs/campaign-mode-design.md Q8,
|
|
824
|
+
* decided 2026-09-25), so this tops the title up to its limit counting the copies the deck already holds, and
|
|
825
|
+
* adds none when it is already there (`copiesUpToLimit`). It never produces an illegal deck.
|
|
826
|
+
*/
|
|
827
|
+
readonly copies?: "maximum";
|
|
828
|
+
/**
|
|
829
|
+
* How each granted copy counts toward deck size (`GrantDeckSize`; docs/phase7-wave8.md §3.45): MC45 p. 24's
|
|
830
|
+
* "That card does not count against your minimum deck size" is not MC10 p. 3's exemption from both limits.
|
|
831
|
+
* Absent: `"exempt"`, and the grant is recorded without the field, exactly as before it existed.
|
|
832
|
+
*/
|
|
833
|
+
readonly deckSize?: GrantDeckSize;
|
|
834
|
+
/**
|
|
835
|
+
* `"optional"`: the player decides, each game, whether the granted copy is in the deck (`CampaignGrant.optional`,
|
|
836
|
+
* `CampaignGrant.leftOut`). MC45 p. 24: "They may include 1 copy of that card in their deck for the rest of the
|
|
837
|
+
* campaign." The copy starts in the deck. Absent: MC10 p. 3's "Added cards must be included in the player's
|
|
838
|
+
* deck", and the grant is recorded without the field.
|
|
839
|
+
*/
|
|
840
|
+
readonly inclusion?: "optional";
|
|
841
|
+
} | {
|
|
842
|
+
readonly kind: "revokeCard";
|
|
843
|
+
readonly seat: "self" | "each";
|
|
844
|
+
readonly card: CampaignValue;
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* RRG 1.8 p. 29: "If a card is removed from a campaign, that card can no longer be used during the rest of the
|
|
848
|
+
* campaign, even if players retry the scenario wherein that card was removed." Applies to every seat and to the
|
|
849
|
+
* encounter side, and survives a retry — hence it is not restored by `LossPolicy.retryBaseline`.
|
|
850
|
+
*/
|
|
851
|
+
| {
|
|
852
|
+
readonly kind: "removeFromCampaign";
|
|
853
|
+
readonly cards: readonly CampaignValue[];
|
|
854
|
+
/**
|
|
855
|
+
* Remove every copy of each named card, not only the card id named. MC60 p. 9 step 8: "Each player searches
|
|
856
|
+
* their deck for each card whose title is recorded in the 'Allies/Supports Removed from the Campaign' section …
|
|
857
|
+
* and removes those cards", so a reprint or another pack's printing of a recorded ally goes too. A copy shares
|
|
858
|
+
* title **and** subtitle (RRG 1.8 "Copy", p. 13): Spider-Man (Miles Morales) recorded leaves Spider-Man (Peter
|
|
859
|
+
* Parker) in the deck. Matched over the cards that can be in a player deck (RRG 1.8 "Player Deck", p. 33): the
|
|
860
|
+
* search is of the decks, so a hero identity or an encounter card sharing the title is untouched. A named id
|
|
861
|
+
* with no card in the pool is removed by that id alone. Each printing is one front-face removal, so
|
|
862
|
+
* `withoutRemovedCards`, the choice sources and `validateDeck` need nothing new. A deck this leaves below its
|
|
863
|
+
* minimum is the deck editor's existing `deck_size` check (step 8: "must add cards to their deck"). Absent: by
|
|
864
|
+
* card id, as before.
|
|
865
|
+
*/
|
|
866
|
+
readonly byTitle?: true;
|
|
867
|
+
}
|
|
868
|
+
/** MC10 p. 12 ("replace their 'Basic' Condition upgrade with its 'Improved' side"); MC27 p. 22's Enhanced side. */
|
|
869
|
+
| {
|
|
870
|
+
readonly kind: "setGrantFace";
|
|
871
|
+
readonly card: CampaignValue;
|
|
872
|
+
readonly face: string;
|
|
873
|
+
}
|
|
874
|
+
/** MC10 p. 5's Tech upgrade choice; MC27 p. 22's "chooses an aspect card in their collection"; MC60 p. 9 step 4. */
|
|
875
|
+
| {
|
|
876
|
+
readonly kind: "choose";
|
|
877
|
+
readonly slot: string;
|
|
878
|
+
readonly chooser: "eachSeat" | "group" | "firstPlayer";
|
|
879
|
+
readonly from: CampaignChoiceSource;
|
|
880
|
+
readonly count?: number;
|
|
881
|
+
readonly optional?: true;
|
|
882
|
+
/**
|
|
883
|
+
* MC40 p. 7: "When the players replay a scenario after losing, they must choose the same player side scheme
|
|
884
|
+
* for that scenario". A retry of a lost node does not ask: the pick the lost attempt recorded for this
|
|
885
|
+
* instruction, slot and seat (`CampaignHistoryEntry.steps[].choices`) is taken as the answer, and the trace
|
|
886
|
+
* records it with `CampaignChoiceRecord.repeated`. The ops after it then run as they did the first time, from
|
|
887
|
+
* the restored `LossPolicy.retryBaseline`.
|
|
888
|
+
*
|
|
889
|
+
* - **Only a retry.** The log's *latest* history entry must be an attempt at this same node that was not won;
|
|
890
|
+
* any other node, and this node's first attempt, asks as usual. So does a retry whose lost attempt never
|
|
891
|
+
* made the choice (its instruction was skipped by a `whenModes` or `when` gate that time).
|
|
892
|
+
* - **Only before the game** (a node's `composition` and setup, with `everyNodeSetup`). A graph's
|
|
893
|
+
* `beforeChoice` block runs before the node is known, and a victory or defeat instruction is not replayed
|
|
894
|
+
* by a retry, so the flag does nothing in either.
|
|
895
|
+
* - **No new log state.** The history already holds the pick, so a log saved before the flag existed loads
|
|
896
|
+
* and retries the same way.
|
|
897
|
+
* - **Never re-asked silently.** The recorded pick is checked against the options like any answer; one that
|
|
898
|
+
* is no longer offered is an `EngineInvariantError`. With the baseline restored it always is offered,
|
|
899
|
+
* unless the lost game removed it from the campaign (RRG 1.8 p. 29 keeps that through a retry), which a
|
|
900
|
+
* definition using the flag must not allow for its options.
|
|
901
|
+
* - An answer a caller supplies for a repeated choice is ignored: the choice was never offered.
|
|
902
|
+
*/
|
|
903
|
+
readonly repeatOnRetry?: true;
|
|
904
|
+
/**
|
|
905
|
+
* An optional pick with no options left is not asked: the seat records an empty pick (what declining records,
|
|
906
|
+
* so `choiceMade` reads false) and the ops after it run. MC16 p. 5's Market offers each price tier as up to four
|
|
907
|
+
* slots, and once every card of a tier is bought the slots after it have nothing to sell (#679): asking them
|
|
908
|
+
* showed a prompt with only Decline on it. Off by default, because some boxes show an empty offer on purpose
|
|
909
|
+
* (the Aftermath's "Nothing on offer." column). Only with `optional`: a required pick with nothing to pick is
|
|
910
|
+
* a definition fault the runner should still surface.
|
|
911
|
+
*/
|
|
912
|
+
readonly skipWhenEmpty?: true;
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* MC27 p. 22 ("Deal 3 … upgrades at random"), MC45 p. 5 ("randomly select one of the available MISSION side
|
|
916
|
+
* schemes"), MC60 p. 9 step 2. Drawn from `CampaignLog.rng`, so a campaign is replayable and a client cannot
|
|
917
|
+
* reroll by reloading.
|
|
918
|
+
*/
|
|
919
|
+
| {
|
|
920
|
+
readonly kind: "random";
|
|
921
|
+
readonly slot: string;
|
|
922
|
+
readonly from: CampaignChoiceSource;
|
|
923
|
+
readonly count?: number;
|
|
924
|
+
/**
|
|
925
|
+
* A draw the players may decline: MC10 p. 7 (and p. 10, p. 12, p. 15) prints "Each player **may** add 1
|
|
926
|
+
* random obligation from their expert campaign set to their deck", and MC50 p. 11 prints the same "may" over
|
|
927
|
+
* a random evidence card. The players never pick *which* card — that is the whole difference from `choose`
|
|
928
|
+
* with `optional` — so the answer is only whether to take the draw (`CAMPAIGN_ACCEPT`), and the card itself
|
|
929
|
+
* still comes from `CampaignLog.rng`. A declined draw records an empty choice, which `choiceMade` reads.
|
|
930
|
+
*/
|
|
931
|
+
readonly optional?: true;
|
|
932
|
+
/**
|
|
933
|
+
* A fresh draw on every attempt at the node (MC45 p. 5, owner decision docs/phase7-wave8.md §4.1 Q22 = B: a
|
|
934
|
+
* lost scenario that is retried "runs setup again", so the mission and the Overseer are drawn again from what
|
|
935
|
+
* is still available). Without it a retry repeats its draw, because a loss restores the campaign's RNG with the
|
|
936
|
+
* log (`LossPolicy.retryBaseline: "nodeStart"`).
|
|
937
|
+
*
|
|
938
|
+
* - **The RNG advances exactly as without the flag**: one value for each card drawn, none when one option or
|
|
939
|
+
* none is left. So every later draw of the block keeps its place, the game's own seed included.
|
|
940
|
+
* - **Which option** comes from that value mixed with the number of times the node has already been played
|
|
941
|
+
* (`CampaignLog.history` entries at this node, won or lost), by `mixWithAttempt`, the mix the game's seed
|
|
942
|
+
* uses. A node's first attempt is the plain draw, so the flag changes nothing until a node is replayed.
|
|
943
|
+
* Each attempt is a draw over all the options offered: it may land on the last attempt's pick.
|
|
944
|
+
* - **A pure function of the log**: the history is part of it, so a replay reproduces every attempt's draw.
|
|
945
|
+
* - **Traced** with the attempt number (`CampaignChoiceRecord.attempt`, 1 for the first).
|
|
946
|
+
* - Outside a node (a graph's `beforeChoice` block) there is no attempt to count: the draw is the plain one
|
|
947
|
+
* and no attempt number is traced.
|
|
948
|
+
*
|
|
949
|
+
* The opposite of `choose.repeatOnRetry`, which makes a retry keep a pick (MC40 p. 7).
|
|
950
|
+
*/
|
|
951
|
+
readonly perAttempt?: true;
|
|
952
|
+
/**
|
|
953
|
+
* A draw nobody may look at (MC50 p. 5: "put one card from each set into the A.I.M. envelope **without looking
|
|
954
|
+
* at them**"; docs/phase7-wave9.md §3.75).
|
|
955
|
+
*
|
|
956
|
+
* - **Drawn exactly as an open draw**: the same options, the same values off `CampaignLog.rng`, `perAttempt`
|
|
957
|
+
* included. So the log replays from its seed to the same sealed cards, with nothing written down.
|
|
958
|
+
* - **Traced without its cards**: the record holds `sealed`, how many were drawn (`drawn`) and an empty `picked`.
|
|
959
|
+
* - **One use**: a later op of the same step list may read the slot only as the value of a `setField` or an
|
|
960
|
+
* `appendToList` on a `hidden` field. The value it writes is itself sealed (`LogValue.sealed`). Any other read
|
|
961
|
+
* of the slot (another field, a grant, a choice's options, a composition, a filter) is an
|
|
962
|
+
* `EngineInvariantError`. `choiceMade` may still ask whether anything was drawn.
|
|
963
|
+
*/
|
|
964
|
+
readonly sealed?: true;
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
* MC16 p. 5: "Subtract that card's Unit Cost value from the value recorded in your 'Unspent Units' box, then add
|
|
968
|
+
* that card to your deck." The per-card price is card data, not campaign data.
|
|
969
|
+
*/
|
|
970
|
+
| {
|
|
971
|
+
readonly kind: "spend";
|
|
972
|
+
readonly field: string;
|
|
973
|
+
readonly seat: "self";
|
|
974
|
+
readonly amount: CampaignValue;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* MC60 p. 9 step 3: "**progress** each scenario matching a drawn environment by marking the first unmarked box to
|
|
978
|
+
* the right of that scenario … If a scenario has three Xs to its right, it has Failed."
|
|
979
|
+
*/
|
|
980
|
+
| {
|
|
981
|
+
readonly kind: "progressNode";
|
|
982
|
+
readonly node: CampaignValue;
|
|
983
|
+
} | {
|
|
984
|
+
readonly kind: "markNode";
|
|
985
|
+
readonly node: CampaignValue;
|
|
986
|
+
readonly as: "completed" | "failed";
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* MC45 p. 20: winning the last scenario can still lose the campaign — "If the Protect the Professor MISSION side
|
|
990
|
+
* scheme was not defeated, the players failed to save Professor X and lose the campaign."
|
|
991
|
+
*/
|
|
992
|
+
| {
|
|
993
|
+
readonly kind: "endCampaign";
|
|
994
|
+
readonly result: "won" | "lost";
|
|
995
|
+
}
|
|
996
|
+
/** MC60 p. 9 step 5: "Determine the villain … and record the name of the chosen villain next to the scenario". */
|
|
997
|
+
| {
|
|
998
|
+
readonly kind: "composeVillain";
|
|
999
|
+
readonly villain: CampaignValue;
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* MC60 p. 9 step 6: "Gather your chosen main scheme, your chosen villain, and their corresponding encounter
|
|
1003
|
+
* sets." `into` is where the gathered cards land in the composed game: `"deck"` (the default, MC60's own
|
|
1004
|
+
* reading — Appendix II step 10 shuffles them straight into the assembled encounter deck) or `"setAside"`
|
|
1005
|
+
* (RRG 1.8 "Set Aside", p. 39) for a set a scenario needs *available* to an in-game instruction's own selective
|
|
1006
|
+
* pick rather than pre-shuffled — MC16 p. 8/p. 10/p. 12/p. 14/p. 18's escalating Badoon Headhunter draws and
|
|
1007
|
+
* p. 14's Galactic Artifacts side schemes (row 31, row 30): the box names a card by its printed id or by a
|
|
1008
|
+
* campaign-log-recorded title, and only some of a gathered set's cards are meant to enter the deck this game.
|
|
1009
|
+
* A card a `campaignLog` `CardSelector`/`moveCards` instruction names must already be a `GameState` instance
|
|
1010
|
+
* (`select.ts`'s `campaignLog` case only matches existing instances) — `"setAside"` is what makes that true for
|
|
1011
|
+
* a card whose origin set is not itself part of the next scenario's own base `encounterSetIds`.
|
|
1012
|
+
*/
|
|
1013
|
+
| {
|
|
1014
|
+
readonly kind: "composeEncounterSets";
|
|
1015
|
+
readonly sets: readonly CampaignValue[];
|
|
1016
|
+
readonly into?: "deck" | "setAside";
|
|
1017
|
+
}
|
|
1018
|
+
/**
|
|
1019
|
+
* MC27 p. 13/15: "Put the Venom (190) ally card into play under the first player's control"; MC27 p. 22: "Each
|
|
1020
|
+
* player may search their collection for a Helicarrier support … and put it into play under their control." A
|
|
1021
|
+
* card named by id that belongs to no composed set and to no seat's deck, brought into the game from outside it.
|
|
1022
|
+
* Each named card gets `copies` instances (default 1; `seatCount` for "each player may"), created **set aside**
|
|
1023
|
+
* (RRG 1.8 "Set Aside", p. 39) with no owner, in `CampaignGameInput.setAsideCards`; an `inGame` instruction then
|
|
1024
|
+
* picks them out of `encounterSetAside` and puts them into play. Whoever they enter play under becomes their owner
|
|
1025
|
+
* (RRG 1.8 "Ownership and Control", p. 31, the `putIntoPlay` effect), so a card that leaves play goes to that
|
|
1026
|
+
* player's discard pile. Which player is decided in-game, where "the first player" is known.
|
|
1027
|
+
*/
|
|
1028
|
+
| {
|
|
1029
|
+
readonly kind: "setAsideCards";
|
|
1030
|
+
readonly cards: readonly CampaignValue[];
|
|
1031
|
+
readonly copies?: CampaignValue;
|
|
1032
|
+
}
|
|
1033
|
+
/**
|
|
1034
|
+
* "Repeat this process for each player" (MC27 p. 22). Inner ops see `seat: "self"` as the scoped seat.
|
|
1035
|
+
*
|
|
1036
|
+
* `scope` defaults to `"participating"` — every seat but those `CampaignDefinition.elimination` is sitting out of
|
|
1037
|
+
* this scenario's Victory steps (§4.6b), the same set `targetSeats`'s `"each"` reads. `"sittingOut"` is the
|
|
1038
|
+
* complement: the seats an elimination policy's own `rejoinGrant` runs *for*, e.g. MC10 p. 17's "adding an
|
|
1039
|
+
* obligation to their deck" as the price of rejoining. No printed box content ever needs `"sittingOut"` directly —
|
|
1040
|
+
* only `EliminationPolicy.rejoinGrant`'s synthetic instruction does — but it is a general seat-selection axis, not
|
|
1041
|
+
* a special case wired to one box.
|
|
1042
|
+
*/
|
|
1043
|
+
| {
|
|
1044
|
+
readonly kind: "forEachSeat";
|
|
1045
|
+
readonly ops: readonly CampaignOp[];
|
|
1046
|
+
readonly scope?: "participating" | "sittingOut";
|
|
1047
|
+
} | {
|
|
1048
|
+
readonly kind: "if";
|
|
1049
|
+
readonly when: CampaignPredicate;
|
|
1050
|
+
readonly then: readonly CampaignOp[];
|
|
1051
|
+
readonly else?: readonly CampaignOp[];
|
|
1052
|
+
};
|
|
1053
|
+
/** MC10 p. 3 (rest of the campaign) vs. MC32 p. 5's role-building, which is "for that game" only. */
|
|
1054
|
+
export type GrantPermanence = "campaign" | "thisGame";
|
|
1055
|
+
/** What a `choose` or `random` op draws from. */
|
|
1056
|
+
export type CampaignChoiceSource =
|
|
1057
|
+
/** An explicit list, for an option set the rulebook enumerates. */
|
|
1058
|
+
{
|
|
1059
|
+
readonly kind: "cards";
|
|
1060
|
+
readonly cardIds: readonly CardId[];
|
|
1061
|
+
}
|
|
1062
|
+
/**
|
|
1063
|
+
* Cards of a campaign-specific encounter set (MC10 p. 5's Tech upgrades, MC50 p. 5's evidence cards).
|
|
1064
|
+
*
|
|
1065
|
+
* `filter` is needed because one printed set is not one printed choice: MC10's Hydra Campaign set holds two
|
|
1066
|
+
* unrelated pools offered by two different scenarios — "choose one of the TECH upgrades" (p. 5) and "choose one
|
|
1067
|
+
* of the 'Basic' Condition upgrades" (p. 7) — and MC50 p. 5 deals evidence out of a set that also holds its
|
|
1068
|
+
* envelope cards. Absent means the whole set, which is what every single-pool box prints.
|
|
1069
|
+
*/
|
|
1070
|
+
| {
|
|
1071
|
+
readonly kind: "campaignSet";
|
|
1072
|
+
readonly encounterSetId: EncounterSetId;
|
|
1073
|
+
readonly excludeGranted?: true;
|
|
1074
|
+
readonly filter?: CollectionFilter;
|
|
1075
|
+
}
|
|
1076
|
+
/**
|
|
1077
|
+
* MC10 p. 17: "When a player is instructed to add a card from their expert encounter set to their deck, they must
|
|
1078
|
+
* take that card from the set that matches their player number" — the seat's own numbered copy of
|
|
1079
|
+
* `Campaign.perSeatSetIds`. `filter` narrows it exactly as it does a `campaignSet`.
|
|
1080
|
+
*/
|
|
1081
|
+
| {
|
|
1082
|
+
readonly kind: "perSeatSet";
|
|
1083
|
+
readonly excludeGranted?: true;
|
|
1084
|
+
readonly filter?: CollectionFilter;
|
|
1085
|
+
}
|
|
1086
|
+
/**
|
|
1087
|
+
* MC27 p. 22 / MC32 p. 5 / MC45 p. 24: "an aspect card in their collection", filtered. A deckbuilding choice, so
|
|
1088
|
+
* only cards legal for the choosing seat's identity are offered (`cardLegalForIdentity`; Q8, decided 2026-09-25):
|
|
1089
|
+
* never another hero's signature or hero-specific cards.
|
|
1090
|
+
*/
|
|
1091
|
+
| {
|
|
1092
|
+
readonly kind: "collection";
|
|
1093
|
+
readonly filter: CollectionFilter;
|
|
1094
|
+
}
|
|
1095
|
+
/** Options of a `choice` or `strikeList` field (MC45 p. 5's available missions). */
|
|
1096
|
+
| {
|
|
1097
|
+
readonly kind: "fieldOptions";
|
|
1098
|
+
readonly field: string;
|
|
1099
|
+
readonly unstruckOnly?: true;
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
* MC60 p. 9 steps 2 and 4: the unresolved scenarios, or the ones the players may currently choose (never the
|
|
1103
|
+
* graph's `finale`). `"completed"`: the nodes marked Completed, for MC60 p. 23's expert DEFEAT, "If there is at
|
|
1104
|
+
* least one environment on its Completed side, choose and flip one to its Failed side" (`markNode as: "failed"`).
|
|
1105
|
+
* Graph order in every case.
|
|
1106
|
+
*/
|
|
1107
|
+
| {
|
|
1108
|
+
readonly kind: "nodes";
|
|
1109
|
+
readonly filter: "unresolved" | "available" | "completed";
|
|
1110
|
+
}
|
|
1111
|
+
/** MC27 p. 22's "Planning Ahead": "Each player chooses one card from their deck". */
|
|
1112
|
+
| {
|
|
1113
|
+
readonly kind: "ownDeck";
|
|
1114
|
+
readonly filter?: CollectionFilter;
|
|
1115
|
+
}
|
|
1116
|
+
/**
|
|
1117
|
+
* Whatever a `CampaignValue` names, as options: MC27 p. 22's "Deal 3 … upgrades at random to a player. That
|
|
1118
|
+
* player may choose 1" is a `random` (count 3) into a slot, then a `choose` from `values(choice(slot))` — the
|
|
1119
|
+
* dealt cards and nothing else. A slot read here is scoped like every other `choice` read (inside a
|
|
1120
|
+
* `forEachSeat`, that seat's own deal). Duplicates collapse to one option; order is the value's own order.
|
|
1121
|
+
*/
|
|
1122
|
+
| {
|
|
1123
|
+
readonly kind: "values";
|
|
1124
|
+
readonly of: CampaignValue;
|
|
1125
|
+
}
|
|
1126
|
+
/**
|
|
1127
|
+
* Another source, minus every option whose **title** matches a card the value names: MC27 p. 11/13/15, "Choose 1
|
|
1128
|
+
* 'Campaign - Community Service' … side scheme at random that does not have its title recorded in the 'Community
|
|
1129
|
+
* Service' section" is `excludingTitles(cards(176-180), field("communityService"))`. By title, not id, because
|
|
1130
|
+
* the rulebook says title (a card and its reprint, or a recorded id of another printing, share one). An option
|
|
1131
|
+
* with no card in the pool (a node id, an option string) is excluded only by an exact id match.
|
|
1132
|
+
*
|
|
1133
|
+
* An exhausted source offers nothing: a `random` over it draws nothing and a `choose` over it has no options.
|
|
1134
|
+
*/
|
|
1135
|
+
| {
|
|
1136
|
+
readonly kind: "excludingTitles";
|
|
1137
|
+
readonly from: CampaignChoiceSource;
|
|
1138
|
+
readonly titlesIn: CampaignValue;
|
|
1139
|
+
};
|
|
1140
|
+
/**
|
|
1141
|
+
* How a between-games choice over cards is narrowed — a collection, a seat's own deck, or one pool of a mixed
|
|
1142
|
+
* campaign set. Mirrors `TargetQuery`'s vocabulary where the two overlap, but is its own type because it filters
|
|
1143
|
+
* *card data*, not cards in play (there is no game here).
|
|
1144
|
+
*
|
|
1145
|
+
* The filter says nothing about whether a card may legally be *in a deck*: that is the source's own rule, and only
|
|
1146
|
+
* `collection` and `ownDeck` (which are deckbuilding choices, RRG 1.8 "Player Deck", p. 33) apply it. A campaign
|
|
1147
|
+
* set's cards are whatever the box printed in it — MC50 p. 5's evidence cards go into an envelope, not a deck.
|
|
1148
|
+
*/
|
|
1149
|
+
export interface CollectionFilter {
|
|
1150
|
+
/** MC32 p. 5: "up to 1 copy of an event and/or 1 copy of an upgrade"; MC45 p. 24's upgrade/support/ally. */
|
|
1151
|
+
readonly categories?: readonly TargetCategory[];
|
|
1152
|
+
/** MC32 p. 5's "their role's associated aspects"; MC27 p. 22's "from any aspect" is simply this being absent. */
|
|
1153
|
+
readonly aspects?: readonly string[];
|
|
1154
|
+
readonly traits?: readonly Trait[];
|
|
1155
|
+
/** MC45 p. 20: "When playing expert campaign, the ally you choose during Setup must share a trait with your hero." */
|
|
1156
|
+
readonly sharesTraitWithIdentity?: true;
|
|
1157
|
+
/** MC16 p. 5's Unit Cost ceiling reads a numeric log field instead; this is a printed-cost filter. */
|
|
1158
|
+
readonly maxPrintedCost?: number;
|
|
1159
|
+
/**
|
|
1160
|
+
* `PlayerCardCommon.unitCost` (MC16 p. 5's "Unit Cost X."), not `maxPrintedCost`'s printed resource cost —
|
|
1161
|
+
* a card's Market price and its play cost are unrelated numbers (most Market cards print cost 0). Exact rather
|
|
1162
|
+
* than a ceiling: splitting one Market-wide choice into one `campaignSet` per price tier is what lets `spend`'s
|
|
1163
|
+
* `amount` be a per-tier constant instead of needing to read the *chosen* card's own price back out of `deps.pool`.
|
|
1164
|
+
*/
|
|
1165
|
+
readonly unitCostExactly?: number;
|
|
1166
|
+
readonly excludeCardIds?: readonly CardId[];
|
|
1167
|
+
/**
|
|
1168
|
+
* MC32 p. 5, role-building: "If a player's deck does not already include their chosen event and/or upgrade, they
|
|
1169
|
+
* may add either or both." Leaves out every card the choosing seat's own deck (`CampaignSeat.deck`, granted copies
|
|
1170
|
+
* included) already holds a copy of, by title, so a reprint of a card in the deck is left out too (RRG 1.8 "Player
|
|
1171
|
+
* Deck" counts copies by title). With no seat in scope there is no deck, and nothing is left out.
|
|
1172
|
+
*/
|
|
1173
|
+
readonly notInOwnDeck?: true;
|
|
1174
|
+
}
|
|
1175
|
+
/** What a lost game costs. There is **no engine default**: a box must state its policy, and the coverage test checks it. */
|
|
1176
|
+
export interface LossPolicy {
|
|
1177
|
+
/**
|
|
1178
|
+
* `"free"`: MC10 p. 3 (and MC16, MC21, MC27, MC32, MC40, MC45) — "If the players lost, they may reset the
|
|
1179
|
+
* scenario and try again with no penalty."
|
|
1180
|
+
* `"byInstruction"`: MC50 p. 19 and MC60 p. 13 print a "DEFEAT:" block whose instructions run first.
|
|
1181
|
+
*/
|
|
1182
|
+
readonly retry: "free" | "byInstruction";
|
|
1183
|
+
/** The box's own printed page for its retry rule (e.g. `"MojoMania insert p. 4"`), for the Dossier's rewind row. */
|
|
1184
|
+
readonly citation?: string;
|
|
1185
|
+
/** Defeat instructions appended to every node's own — MC60 p. 13's "Expert Campaign Only: Progress …" pattern. */
|
|
1186
|
+
readonly everyNodeDefeat?: readonly CampaignInstruction[];
|
|
1187
|
+
/**
|
|
1188
|
+
* What a retry restores. `"nodeStart"` replays the node against the log exactly as it stood when the node began,
|
|
1189
|
+
* *minus* anything the lost game removed from the campaign (RRG 1.8 p. 29) and minus whatever the `defeat`
|
|
1190
|
+
* instructions wrote. MC40 p. 7 depends on it: "When the players replay a scenario after losing, they must choose
|
|
1191
|
+
* the same player side scheme for that scenario and defeat it in order to earn its reward, **even if they
|
|
1192
|
+
* defeated it during a game they lost**." A per-box value, never an engine default (design Q6).
|
|
1193
|
+
*
|
|
1194
|
+
* `"keepLog"` restores nothing: the log stays as the lost attempt left it (its between-games writes and draws, the
|
|
1195
|
+
* RNG included), then the game's writes and the `defeat` instructions go on top. A `choice` graph then goes back to
|
|
1196
|
+
* its choice (`beforeChoice` runs again, and the players pick from what is available); a `linear` graph replays the
|
|
1197
|
+
* node. MC60 p. 8: a lost scenario "does not automatically cause it to fail and it may be able to be attempted
|
|
1198
|
+
* again", and every underling DEFEAT block ends "Go to 'Campaign Setup' on page 9", whose steps 1 to 3 draw anew and
|
|
1199
|
+
* whose step 5a reads the villain already recorded (rules expert, 2026-10-19; docs/phase7-wave11-scenarios.md E30).
|
|
1200
|
+
*/
|
|
1201
|
+
readonly retryBaseline: "nodeStart" | "keepLog";
|
|
1202
|
+
}
|
|
1203
|
+
/**
|
|
1204
|
+
* A player defeated during a scenario their teammates go on to win "does not participate in the Victory steps of
|
|
1205
|
+
* that scenario". All nine boxes print it in their expert campaign rules (MC10 p. 17, MC16 p. 5, MC21 p. 25, MC27
|
|
1206
|
+
* p. 6, MC32 p. 5, MC40 p. 7, MC45 p. 20, MC50 p. 6, MC60 p. 9). For such a seat `campaignResultOf` writes no
|
|
1207
|
+
* `"each"`/`"self"` record, and the between-games Victory ops (`forEachSeat`, a per-seat `choose`, a per-seat write
|
|
1208
|
+
* outside a seat scope) skip it. Shared writes belong to the team and still happen.
|
|
1209
|
+
*
|
|
1210
|
+
* How the seat rejoins differs by box. Eight print a paid heal in the next scenario's setup (MC10's obligation,
|
|
1211
|
+
* MC21's acceleration token, …), which their own setup instructions carry. MC16 p. 5 alone rejoins the seat free,
|
|
1212
|
+
* "healing their identity to its printed hit point value" (ruling June 2, 2026 (3) #1: "Heal identity to printed HP
|
|
1213
|
+
* at no cost"). `rejoinAtPrintedHitPoints` names the per-seat number field the next setup reads hit points from;
|
|
1214
|
+
* the seat's printed hit points are written there in place of the record it did not make.
|
|
1215
|
+
*/
|
|
1216
|
+
export interface EliminationPolicy {
|
|
1217
|
+
/** The trace entry for the rejoin write, so the log says why an eliminated seat's hit points changed. */
|
|
1218
|
+
readonly id: string;
|
|
1219
|
+
readonly text: string;
|
|
1220
|
+
readonly citation: string;
|
|
1221
|
+
/** Every box prints the rule for its expert campaign only. */
|
|
1222
|
+
readonly whenModes?: ModePredicate;
|
|
1223
|
+
readonly rejoinAtPrintedHitPoints?: {
|
|
1224
|
+
readonly field: string;
|
|
1225
|
+
};
|
|
1226
|
+
/**
|
|
1227
|
+
* MC10 p. 17 alone: rejoining is not free — "they can rejoin their teammates for the next scenario **by adding an
|
|
1228
|
+
* obligation to their deck** during setup to restore their identity to full hit points." Maintainer decision
|
|
1229
|
+
* 2026-09-23 (no FFG ruling addresses it): unlike MC16's free rejoin, MC10's "by adding" reads as the *price* of
|
|
1230
|
+
* rejoining, not an option, so this runs unconditionally for every seat `rejoinAtPrintedHitPoints` heals — there
|
|
1231
|
+
* is no `optional` here the way `trors.ts`'s own volunteered obligation draw has one.
|
|
1232
|
+
*
|
|
1233
|
+
* Drawn once per rejoining seat via a synthetic `forEachSeat` (`scope: "sittingOut"`) `random` + `grantCard`,
|
|
1234
|
+
* following the same convention `trors.ts`'s `obligationSetup` already uses for every other obligation grant in
|
|
1235
|
+
* this box: `permanence: "campaign"`, no `excludeGranted` (MC10's four numbered Expert Campaign Sets are
|
|
1236
|
+
* identical, so two seats may hold the same obligation title).
|
|
1237
|
+
*/
|
|
1238
|
+
readonly rejoinGrant?: {
|
|
1239
|
+
readonly from: CampaignChoiceSource;
|
|
1240
|
+
/** MC10 p. 17/p. 20's "Obligations" log column — the same field a volunteered draw appends to. */
|
|
1241
|
+
readonly appendToField?: string;
|
|
1242
|
+
};
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* A value no player may read (docs/phase7-wave9.md §3.75; MC50 p. 5, "without looking at them"), marked on the value
|
|
1246
|
+
* itself so the mark goes wherever the value is copied: a retry baseline, a history entry, a stored log.
|
|
1247
|
+
*
|
|
1248
|
+
* - `sealed`: the value was drawn by a sealed `random` op (or copied or added to from one). It lives only in a
|
|
1249
|
+
* `hidden` field (`CampaignLog.hidden`). The runner traces a write of it with its contents taken out, hands it to a
|
|
1250
|
+
* game only in `CampaignLogView.hidden`, and refuses to read it between games except to count it, to filter a draw
|
|
1251
|
+
* by it (`excludingTitles`) or to write another hidden field.
|
|
1252
|
+
* - `sealedSize`: on a value whose contents have been taken out (a trace, a `sealCampaignLog` copy), how many entries
|
|
1253
|
+
* the real value holds. Never set on the stored value itself.
|
|
1254
|
+
*/
|
|
1255
|
+
export interface LogValueSeal {
|
|
1256
|
+
readonly sealed?: true;
|
|
1257
|
+
readonly sealedSize?: number;
|
|
1258
|
+
}
|
|
1259
|
+
/** One field's value. The `kind` always matches its `LogFieldDef.type.kind`. */
|
|
1260
|
+
export type LogValue = LogValueContent & LogValueSeal;
|
|
1261
|
+
/** What a field holds, by kind (`LogValue` without the seal marks). */
|
|
1262
|
+
export type LogValueContent = {
|
|
1263
|
+
readonly kind: "number";
|
|
1264
|
+
readonly value: number;
|
|
1265
|
+
} | {
|
|
1266
|
+
readonly kind: "flag";
|
|
1267
|
+
readonly value: boolean;
|
|
1268
|
+
} | {
|
|
1269
|
+
readonly kind: "cardList";
|
|
1270
|
+
readonly cardIds: readonly CardId[];
|
|
1271
|
+
} | {
|
|
1272
|
+
readonly kind: "cardRef";
|
|
1273
|
+
readonly cardId: CardId;
|
|
1274
|
+
readonly face?: string;
|
|
1275
|
+
} | {
|
|
1276
|
+
readonly kind: "choice";
|
|
1277
|
+
readonly option: string;
|
|
1278
|
+
} | {
|
|
1279
|
+
readonly kind: "strikeList";
|
|
1280
|
+
readonly struck: readonly string[];
|
|
1281
|
+
}
|
|
1282
|
+
/**
|
|
1283
|
+
* MC50 p. 6/p. 11: counters *by name* plus the face the card is on, because the flip is permanent ("that board
|
|
1284
|
+
* member permanently turns against the heroes, flipping to its attachment side").
|
|
1285
|
+
*
|
|
1286
|
+
* Keyed by the card id the field lists (`LogFieldType` `cardState.cardIds`), which is the card's front face. `face`
|
|
1287
|
+
* is absent while the card is on that face. On its other face it is that face's own card id when the two faces are
|
|
1288
|
+
* two card records (`BaseCard.otherFaceId`), and the printed name of the other face (`CardFlipSide.name`) when they
|
|
1289
|
+
* are one record, as `cardRef` names a face. Written by a `record` instruction's `cardStateOf` query and by nothing
|
|
1290
|
+
* else; read in a game by `ValueSpec campaignLog { card, counter }` and `Predicate campaignLog { card, face }`.
|
|
1291
|
+
*/
|
|
1292
|
+
| {
|
|
1293
|
+
readonly kind: "cardState";
|
|
1294
|
+
readonly cards: Readonly<Record<string, {
|
|
1295
|
+
readonly counters: Readonly<Record<string, number>>;
|
|
1296
|
+
readonly face?: string;
|
|
1297
|
+
}>>;
|
|
1298
|
+
} | {
|
|
1299
|
+
readonly kind: "instructionList";
|
|
1300
|
+
readonly ids: readonly string[];
|
|
1301
|
+
} | {
|
|
1302
|
+
readonly kind: "text";
|
|
1303
|
+
readonly value: string;
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* How a card the campaign put in a deck counts toward the deck's size (RRG 1.8 Appendix I: 40 to 50 cards). A grant's
|
|
1307
|
+
* own data, because the boxes print different sentences (docs/phase7-wave8.md §3.45, §4.1 Q25):
|
|
1308
|
+
*
|
|
1309
|
+
* - `"exempt"`, the default: counted toward neither limit. MC10 p. 3: "Cards added to the deck as part of a campaign
|
|
1310
|
+
* do not count toward a player's minimum or maximum deck size."
|
|
1311
|
+
* - `"maximumOnly"`: counted toward the maximum, not toward the minimum. MC45 p. 24's rewards as printed: "That card
|
|
1312
|
+
* does not count against your minimum deck size." A deck of 40 other cards becomes 41 and is legal; a deck of 50
|
|
1313
|
+
* must drop a card to take it; a deck of 39 other cards is still one short.
|
|
1314
|
+
* - `"counted"`: an ordinary card of the deck, counted toward both. A deck of 39 other cards plus the grant is legal;
|
|
1315
|
+
* a deck of 50 must drop a card.
|
|
1316
|
+
*
|
|
1317
|
+
* Only the size check reads it (`validateDeck`): a grant is legal in the deck and counts toward the copy limit
|
|
1318
|
+
* whatever its value (docs/campaign-mode-design.md Q8). A granted obligation and a permanent card are counted toward
|
|
1319
|
+
* no deck size whatever it says (MC10 p. 17; RRG 1.8 "Permanent", p. 32).
|
|
1320
|
+
*/
|
|
1321
|
+
export type GrantDeckSize = "exempt" | "maximumOnly" | "counted";
|
|
1322
|
+
/** One granted copy whose deck-size rule is not the default: what `validateDeck` is told about it. */
|
|
1323
|
+
export interface GrantDeckSizeRule {
|
|
1324
|
+
readonly cardId: CardId;
|
|
1325
|
+
readonly deckSize: Exclude<GrantDeckSize, "exempt">;
|
|
1326
|
+
}
|
|
1327
|
+
/**
|
|
1328
|
+
* The grants whose copy is in the seat's deck: every grant but an optional one the player has left out
|
|
1329
|
+
* (`CampaignGrant.leftOut`). These are the copies the deck list holds, so they are what deck validation and the
|
|
1330
|
+
* game's setup are told about (`CampaignDeckContext.grantedCardIds`, `CampaignSeatInput.grantedCardIds`).
|
|
1331
|
+
*/
|
|
1332
|
+
export declare const includedGrantsOf: (grants: readonly CampaignGrant[]) => readonly CampaignGrant[];
|
|
1333
|
+
/**
|
|
1334
|
+
* The deck-size rules of a seat's grants, one entry for each granted copy that is not `"exempt"`, in grant order
|
|
1335
|
+
* (`DeckContext.campaign.grantDeckSizes`, `CampaignSeatInput.grantDeckSizes`). Empty for every grant made without a
|
|
1336
|
+
* rule, which is every grant of the boxes before MC45. A copy the player has left out of the deck states no rule.
|
|
1337
|
+
*/
|
|
1338
|
+
export declare const grantDeckSizesOf: (grants: readonly CampaignGrant[]) => readonly GrantDeckSizeRule[];
|
|
1339
|
+
/** A card the campaign put in a seat's deck (MC10 p. 3; MC16 p. 5; MC27 p. 22; MC32 p. 5). */
|
|
1340
|
+
export interface CampaignGrant {
|
|
1341
|
+
readonly cardId: CardId;
|
|
1342
|
+
readonly permanence: GrantPermanence;
|
|
1343
|
+
/** How the copy counts toward deck size (`GrantDeckSize`). Absent: `"exempt"`, as every grant was before the field. */
|
|
1344
|
+
readonly deckSize?: GrantDeckSize;
|
|
1345
|
+
/**
|
|
1346
|
+
* The player may leave this copy out of the deck (`grantCard`'s `inclusion: "optional"`; MC45 p. 24, "They may
|
|
1347
|
+
* include 1 copy of that card in their deck for the rest of the campaign"). The grant itself is the record that the
|
|
1348
|
+
* card was chosen and stays for the campaign either way. Absent: the copy must be in the deck (MC10 p. 3).
|
|
1349
|
+
*/
|
|
1350
|
+
readonly optional?: true;
|
|
1351
|
+
/**
|
|
1352
|
+
* An optional grant whose copy is not in `CampaignSeat.deck` right now. Written down rather than read off the deck
|
|
1353
|
+
* list, because the list cannot tell a reward from a copy of the same title the player chose (the two count
|
|
1354
|
+
* differently toward deck size). Set and cleared between games by whoever edits the deck; never set on a grant
|
|
1355
|
+
* that is not `optional`.
|
|
1356
|
+
*/
|
|
1357
|
+
readonly leftOut?: true;
|
|
1358
|
+
/** Which face the grant is on: MC10 p. 12's "Improved" side, MC27 p. 22's Enhanced side. */
|
|
1359
|
+
readonly face?: string;
|
|
1360
|
+
/** The node that granted it, for the sheet and for `LossPolicy.retryBaseline`. */
|
|
1361
|
+
readonly grantedAtNodeId: string;
|
|
1362
|
+
}
|
|
1363
|
+
export interface CampaignSeat {
|
|
1364
|
+
/**
|
|
1365
|
+
* 1-based. MC10 p. 17: "each player is assigned a number from 1 to 4 in the campaign log. Each Expert Campaign
|
|
1366
|
+
* Set is also numbered from 1 to 4" — a seat attribute with rules consequences, not cosmetic ordering.
|
|
1367
|
+
*/
|
|
1368
|
+
readonly seatNumber: number;
|
|
1369
|
+
/** MC10 p. 3: "Each player must use their chosen identity for the entire campaign." */
|
|
1370
|
+
readonly identityCardId: CardId;
|
|
1371
|
+
/**
|
|
1372
|
+
* The campaign's own **copy** of this seat's deck (design Q5). A `DeckId` into `mc-decks` would let an edit made
|
|
1373
|
+
* outside the campaign silently change the next scenario; `history[n].logBefore` keeps the copy the lost game
|
|
1374
|
+
* used, so a retry replays that deck.
|
|
1375
|
+
*/
|
|
1376
|
+
readonly deck: DeckContents;
|
|
1377
|
+
readonly grants: readonly CampaignGrant[];
|
|
1378
|
+
readonly fields: Readonly<Record<string, LogValue>>;
|
|
1379
|
+
}
|
|
1380
|
+
/**
|
|
1381
|
+
* Everything a retry has to be able to restore, and the unit `CampaignHistoryEntry.logBefore` stores. It is the
|
|
1382
|
+
* mutable half of `CampaignLog`: the identity fields (`id`, `campaignId`, `schema`, `status`, `history`) are not
|
|
1383
|
+
* here because a retry never changes them.
|
|
1384
|
+
*/
|
|
1385
|
+
export interface CampaignLogSnapshot {
|
|
1386
|
+
readonly definitionVersion: string;
|
|
1387
|
+
readonly shared: Readonly<Record<string, LogValue>>;
|
|
1388
|
+
readonly hidden: Readonly<Record<string, LogValue>>;
|
|
1389
|
+
readonly seats: readonly CampaignSeat[];
|
|
1390
|
+
readonly removedFromCampaign: readonly CampaignCardFace[];
|
|
1391
|
+
readonly position: CampaignPosition;
|
|
1392
|
+
readonly rng: RngState;
|
|
1393
|
+
}
|
|
1394
|
+
/** The storage shape of a `CampaignLog`. Bumped like `SAVE_SCHEMA`; an older log is retired, not silently misread. */
|
|
1395
|
+
export declare const CAMPAIGN_LOG_SCHEMA = 1;
|
|
1396
|
+
export interface CampaignLog {
|
|
1397
|
+
readonly schema: number;
|
|
1398
|
+
readonly id: string;
|
|
1399
|
+
readonly campaignId: CampaignId;
|
|
1400
|
+
/** The `CampaignDefinition.version` this log was created against. A mismatch marks the log `incompatible`. */
|
|
1401
|
+
readonly definitionVersion: string;
|
|
1402
|
+
/** `@mc/content` pool version at creation, so errata landing under a running campaign is *detected*, not applied. */
|
|
1403
|
+
readonly poolVersion: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* Campaign-level modes — in practice `campaign.expertCampaign`. Per-scenario modes live on each history entry,
|
|
1406
|
+
* because RRG 1.8 p. 29 says "During campaign mode or expert campaign mode, players can choose which other
|
|
1407
|
+
* mode(s) they wish to play for each individual scenario."
|
|
1408
|
+
*/
|
|
1409
|
+
readonly modes: PlayModes;
|
|
1410
|
+
readonly seats: readonly CampaignSeat[];
|
|
1411
|
+
readonly shared: Readonly<Record<string, LogValue>>;
|
|
1412
|
+
/** Fields declared `hidden` (MC50 p. 5). Never crosses into a view model. */
|
|
1413
|
+
readonly hidden: Readonly<Record<string, LogValue>>;
|
|
1414
|
+
/** RRG 1.8 p. 29: no longer usable "during the rest of the campaign, even if players retry". By face — see `CampaignCardFace`. */
|
|
1415
|
+
readonly removedFromCampaign: readonly CampaignCardFace[];
|
|
1416
|
+
readonly position: CampaignPosition;
|
|
1417
|
+
/** The seed the campaign RNG was created from, kept beside the advancing state so a campaign can be re-derived. */
|
|
1418
|
+
readonly seed: number;
|
|
1419
|
+
/** Seeded RNG for every `random` op. Advancing it is part of the log's state. */
|
|
1420
|
+
readonly rng: RngState;
|
|
1421
|
+
/** One entry per game *attempted*, won or lost, in order: the campaign's replay trace. */
|
|
1422
|
+
readonly history: readonly CampaignHistoryEntry[];
|
|
1423
|
+
readonly status: CampaignStatus;
|
|
1424
|
+
/**
|
|
1425
|
+
* The game the runner has composed and that has not reported a result yet. Absent between games.
|
|
1426
|
+
*
|
|
1427
|
+
* **Declared while building the runner**, because the paper campaign has this state too ("we have set the
|
|
1428
|
+
* scenario up and are playing it") and nothing else could hold it: `LossPolicy.retryBaseline` needs the log as it
|
|
1429
|
+
* stood when the node began, and `CampaignHistoryEntry` cannot carry it before the outcome is known. Keeping it
|
|
1430
|
+
* inside the log is what makes a campaign resumable from storage alone — `resolveBetweenGames` then
|
|
1431
|
+
* `applyCampaignResult` survive a `JSON` round trip in between.
|
|
1432
|
+
*/
|
|
1433
|
+
readonly attempt?: CampaignAttempt;
|
|
1434
|
+
}
|
|
1435
|
+
/** A composed, unfinished game: everything `applyCampaignResult` needs that the finished game itself cannot say. */
|
|
1436
|
+
export interface CampaignAttempt {
|
|
1437
|
+
readonly nodeId: string;
|
|
1438
|
+
/** The per-scenario modes this attempt is being played under (RRG 1.8 p. 29). */
|
|
1439
|
+
readonly modes: PlayModes;
|
|
1440
|
+
/** The log as it stood before this attempt's instructions ran — the `retryBaseline: "nodeStart"` baseline. */
|
|
1441
|
+
readonly logBefore: CampaignLogSnapshot;
|
|
1442
|
+
/** The composition and setup instructions that have already resolved, for the history entry this becomes. */
|
|
1443
|
+
readonly steps: readonly CampaignStepTrace[];
|
|
1444
|
+
/** What the game is handed (design §7.1). Frozen here so a resumed campaign hands the identical value twice. */
|
|
1445
|
+
readonly input: CampaignGameInput;
|
|
1446
|
+
/** `composeVillain` (MC60 p. 9 step 5). Null when the node's composition names no villain. */
|
|
1447
|
+
readonly composedVillain: string | null;
|
|
1448
|
+
/** `composeEncounterSets` (MC60 p. 9 step 6), in the order the ops named them, split by `into`. */
|
|
1449
|
+
readonly composedEncounterSets: {
|
|
1450
|
+
readonly deck: readonly string[];
|
|
1451
|
+
readonly setAside: readonly string[];
|
|
1452
|
+
};
|
|
1453
|
+
}
|
|
1454
|
+
export type CampaignStatus = "active" | "won" | "lost" | "abandoned" | "incompatible";
|
|
1455
|
+
export interface CampaignPosition {
|
|
1456
|
+
/** `linear`: the next node. `choice`: null until the players choose (MC60 p. 9 step 4). Null also when finished. */
|
|
1457
|
+
readonly nextNodeId: string | null;
|
|
1458
|
+
readonly resolved: Readonly<Record<string, "completed" | "failed">>;
|
|
1459
|
+
/** MC60 p. 9 step 3: progression marks per node id; three means Failed. */
|
|
1460
|
+
readonly progress: Readonly<Record<string, number>>;
|
|
1461
|
+
}
|
|
1462
|
+
export interface CampaignHistoryEntry {
|
|
1463
|
+
readonly nodeId: string;
|
|
1464
|
+
/** The per-scenario modes chosen for this attempt (RRG 1.8 p. 29: modes are chosen per scenario). */
|
|
1465
|
+
readonly modes: PlayModes;
|
|
1466
|
+
readonly outcome: CampaignAttemptOutcome;
|
|
1467
|
+
/** The `mc-saves` game id, so the played game can be replayed from the campaign browser. Null once pruned. */
|
|
1468
|
+
readonly gameId: string | null;
|
|
1469
|
+
/** The log exactly as it stood before this node's instructions ran — `LossPolicy.retryBaseline`. */
|
|
1470
|
+
readonly logBefore: CampaignLogSnapshot;
|
|
1471
|
+
/** Every step that ran, in order. This is what makes a campaign inspectable the way the game log is. */
|
|
1472
|
+
readonly steps: readonly CampaignStepTrace[];
|
|
1473
|
+
/** Epoch milliseconds, supplied by the caller. Never read from a clock here, so the engine stays pure. */
|
|
1474
|
+
readonly at: number;
|
|
1475
|
+
/**
|
|
1476
|
+
* The in-game seed this attempt was dealt from (`CampaignGameInput.seed`), so a client can offer to replay a lost
|
|
1477
|
+
* attempt's exact deal. Absent on entries written before it was recorded.
|
|
1478
|
+
*/
|
|
1479
|
+
readonly seed?: number;
|
|
1480
|
+
}
|
|
1481
|
+
export type CampaignAttemptOutcome = "won" | "lost" | "abandoned";
|
|
1482
|
+
/** One resolved (or deliberately skipped) instruction, for the step list and for `rules-qa-engineer`'s replay. */
|
|
1483
|
+
export interface CampaignStepTrace {
|
|
1484
|
+
readonly instructionId: string;
|
|
1485
|
+
/** Copied from the instruction so the trace reads without the definition to hand. */
|
|
1486
|
+
readonly text: string;
|
|
1487
|
+
readonly citation: string;
|
|
1488
|
+
readonly kind: CampaignStep["kind"];
|
|
1489
|
+
/** Set when the instruction did not run: its `whenModes` gate or its `when` predicate failed. */
|
|
1490
|
+
readonly skipped?: "modes" | "condition";
|
|
1491
|
+
readonly writes: readonly LogWrite[];
|
|
1492
|
+
readonly choices: readonly CampaignChoiceRecord[];
|
|
1493
|
+
readonly removedFromCampaign: readonly CampaignCardFace[];
|
|
1494
|
+
readonly grants: readonly CampaignGrant[];
|
|
1495
|
+
}
|
|
1496
|
+
/** What a `choose`/`random` op actually picked, so a step list is replayable from `(logBefore, result, choices)`. */
|
|
1497
|
+
export interface CampaignChoiceRecord {
|
|
1498
|
+
readonly slot: string;
|
|
1499
|
+
/** The seat that chose, by `CampaignSeat.seatNumber`; null for a group or first-player choice. */
|
|
1500
|
+
readonly seatNumber: number | null;
|
|
1501
|
+
/** Card ids, node ids or option strings, depending on the source. */
|
|
1502
|
+
readonly picked: readonly string[];
|
|
1503
|
+
/** True when the pick came from `CampaignLog.rng` rather than from a human. */
|
|
1504
|
+
readonly random?: true;
|
|
1505
|
+
/**
|
|
1506
|
+
* True when the choice was not offered: a retry of a lost node took the lost attempt's pick (`CampaignOp` `choose`
|
|
1507
|
+
* with `repeatOnRetry`, MC40 p. 7). A client reads it to say "same as before" instead of asking.
|
|
1508
|
+
*/
|
|
1509
|
+
readonly repeated?: true;
|
|
1510
|
+
/**
|
|
1511
|
+
* A `random` op with `perAttempt`: which attempt at the node this draw was made for, 1 for the first
|
|
1512
|
+
* (docs/phase7-wave8.md §3.45, Q22 = B). Absent on every other record.
|
|
1513
|
+
*/
|
|
1514
|
+
readonly attempt?: number;
|
|
1515
|
+
/**
|
|
1516
|
+
* A `random` op with `sealed` (docs/phase7-wave9.md §3.75): `picked` is empty and `drawn` is how many cards the draw
|
|
1517
|
+
* took. The cards are in no trace: a replay of the log from its seed draws them again.
|
|
1518
|
+
*/
|
|
1519
|
+
readonly sealed?: true;
|
|
1520
|
+
readonly drawn?: number;
|
|
1521
|
+
}
|
|
1522
|
+
/**
|
|
1523
|
+
* What the campaign hands a game. It becomes `GameSetupConfig.campaign` and therefore lands in `GameState` and in
|
|
1524
|
+
* the save's replay baseline — which is the property that keeps replay deterministic while the log keeps evolving
|
|
1525
|
+
* underneath: **a saved campaign game replays without consulting the campaign log at all.**
|
|
1526
|
+
*/
|
|
1527
|
+
export interface CampaignGameInput {
|
|
1528
|
+
readonly campaignId: CampaignId;
|
|
1529
|
+
readonly nodeId: string;
|
|
1530
|
+
readonly definitionVersion: string;
|
|
1531
|
+
readonly modes: PlayModes;
|
|
1532
|
+
/** Every log value this game may read, flattened and frozen. */
|
|
1533
|
+
readonly log: CampaignLogView;
|
|
1534
|
+
/** Already filtered by mode and by `when`, already in printed order; the engine runs each window's list as given. */
|
|
1535
|
+
readonly instructions: readonly ResolvedInstruction[];
|
|
1536
|
+
/** RRG 1.8 p. 29 removals, so nothing can re-enter the game through a search. By face (ruling April 30, 2026 (4)). */
|
|
1537
|
+
readonly removedFromCampaign: readonly CampaignCardFace[];
|
|
1538
|
+
readonly seats: readonly CampaignSeatInput[];
|
|
1539
|
+
/** Seed for anything the *in-game* instructions randomize; drawn from the log's RNG so it is not a second source. */
|
|
1540
|
+
readonly seed: number;
|
|
1541
|
+
/**
|
|
1542
|
+
* Cards `CampaignOp` `setAsideCards` named, one id per instance, created set aside and ownerless at setup
|
|
1543
|
+
* alongside `GameSetupConfig.setAside`. Absent when no op named any, so every earlier game input is unchanged.
|
|
1544
|
+
*/
|
|
1545
|
+
readonly setAsideCards?: readonly CardId[];
|
|
1546
|
+
/**
|
|
1547
|
+
* `CampaignNode.requiredModularSetIds`, copied here so the requirement is part of the game's own replay baseline:
|
|
1548
|
+
* `createGame` refuses a config in which no card of one of these sets exists. Absent when the node requires none,
|
|
1549
|
+
* so every earlier game input is unchanged.
|
|
1550
|
+
*/
|
|
1551
|
+
readonly requiredModularSetIds?: readonly string[];
|
|
1552
|
+
/**
|
|
1553
|
+
* `CampaignNode.scenarioRuleSpecs`, copied here so the rules are part of the game's own replay baseline: `createGame`
|
|
1554
|
+
* puts them in force with the scenario's own (`GameSetupConfig.scenarioRuleSpecs`), after them. Absent when the node
|
|
1555
|
+
* states none, so every earlier game input is unchanged.
|
|
1556
|
+
*/
|
|
1557
|
+
readonly scenarioRuleSpecs?: readonly RuleSpec[];
|
|
1558
|
+
}
|
|
1559
|
+
/**
|
|
1560
|
+
* The readable part of the log, flattened for in-game reads. Narrower than `CampaignLogSnapshot` on purpose: the
|
|
1561
|
+
* game never needs the decks, the RNG or the graph position, and a hidden field appears here only if an instruction
|
|
1562
|
+
* of this game reads it (MC50 p. 5's envelope stays shut otherwise).
|
|
1563
|
+
*/
|
|
1564
|
+
export interface CampaignLogView {
|
|
1565
|
+
readonly shared: Readonly<Record<string, LogValue>>;
|
|
1566
|
+
/**
|
|
1567
|
+
* The sealed values (`LogValueSeal`) an instruction of this game reads, apart from `shared` and nowhere else
|
|
1568
|
+
* (docs/phase7-wave9.md §3.75). No `campaignLog` value, predicate or selector reads this record: the one reader is
|
|
1569
|
+
* `EffectSpec seedHiddenPiles`, which moves the cards into `GameState.hiddenPiles`. It is part of the game's replay
|
|
1570
|
+
* baseline (a saved game replays without the campaign log), so the authority's copy holds it; a state given to a
|
|
1571
|
+
* player has it taken out (`sealHiddenPiles`). Absent when the game reads no sealed value, so every earlier game
|
|
1572
|
+
* input is unchanged.
|
|
1573
|
+
*/
|
|
1574
|
+
readonly hidden?: Readonly<Record<string, LogValue>>;
|
|
1575
|
+
readonly perSeat: readonly {
|
|
1576
|
+
readonly seatNumber: number;
|
|
1577
|
+
readonly fields: Readonly<Record<string, LogValue>>;
|
|
1578
|
+
}[];
|
|
1579
|
+
}
|
|
1580
|
+
/** A seat as the campaign composed it, in the shape `PlayerSetup` consumes. */
|
|
1581
|
+
export interface CampaignSeatInput {
|
|
1582
|
+
readonly seatNumber: number;
|
|
1583
|
+
readonly identityCardId: CardId;
|
|
1584
|
+
/** The expanded deck list, grants included (less an optional grant the player left out, `CampaignGrant.leftOut`). */
|
|
1585
|
+
readonly deck: readonly CardId[];
|
|
1586
|
+
readonly aspects: readonly CoreAspect[];
|
|
1587
|
+
/** Which of `deck` are campaign grants: legal here, and exempt from min/max deck size (MC10 p. 3). */
|
|
1588
|
+
readonly grantedCardIds: readonly CardId[];
|
|
1589
|
+
/**
|
|
1590
|
+
* The granted copies that are not exempt from deck size (`grantDeckSizesOf`; docs/phase7-wave8.md §3.45). Absent
|
|
1591
|
+
* when every grant is exempt, so an input composed before the field existed is unchanged.
|
|
1592
|
+
*/
|
|
1593
|
+
readonly grantDeckSizes?: readonly GrantDeckSizeRule[];
|
|
1594
|
+
}
|
|
1595
|
+
/** An instruction the runner has already gated and ordered, ready for the engine to resolve at its window. */
|
|
1596
|
+
export interface ResolvedInstruction {
|
|
1597
|
+
readonly instructionId: string;
|
|
1598
|
+
readonly text: string;
|
|
1599
|
+
readonly citation: string;
|
|
1600
|
+
readonly window: CampaignWindow;
|
|
1601
|
+
readonly effects: readonly EffectSpec[];
|
|
1602
|
+
}
|
|
1603
|
+
/**
|
|
1604
|
+
* What the finished game hands the campaign. Derived by `campaignResultOf` from the final state and the event
|
|
1605
|
+
* stream, never accumulated by a client.
|
|
1606
|
+
*/
|
|
1607
|
+
export interface CampaignGameResult {
|
|
1608
|
+
readonly nodeId: string;
|
|
1609
|
+
readonly outcome: "won" | "lost";
|
|
1610
|
+
/** Each `record` instruction's computed value, in printed order, with the instruction id that produced it. */
|
|
1611
|
+
readonly records: readonly {
|
|
1612
|
+
readonly instructionId: string;
|
|
1613
|
+
readonly write: LogWrite;
|
|
1614
|
+
}[];
|
|
1615
|
+
/**
|
|
1616
|
+
* `removeFromCampaign` resolved *in game* — MC10 p. 3's Tech upgrades print "Discard this card and remove it from
|
|
1617
|
+
* the campaign log". Applied whatever the outcome, because RRG 1.8 p. 29 keeps it across a retry.
|
|
1618
|
+
*/
|
|
1619
|
+
readonly removedFromCampaign: readonly CampaignCardFace[];
|
|
1620
|
+
/** `recordInCampaignLog` resolved in game. Applied whatever the outcome, for the same reason. */
|
|
1621
|
+
readonly logWrites: readonly LogWrite[];
|
|
1622
|
+
/** Grants with `permanence: "thisGame"` expiring now — MC32 p. 5's "use it or lose it" role upgrades. */
|
|
1623
|
+
readonly expiringGrants: readonly CardId[];
|
|
1624
|
+
/**
|
|
1625
|
+
* Seats sitting out this scenario's Victory steps under `CampaignDefinition.elimination` (§4.6b): eliminated in a
|
|
1626
|
+
* game the team won, in a mode the policy applies to. Absent or empty when nobody sits out.
|
|
1627
|
+
*/
|
|
1628
|
+
readonly sittingOut?: readonly number[];
|
|
1629
|
+
}
|