arcade.module
README.md
arcade
Tumblestep's Prize Arcade rules, on gachaKit and slotsKit. setup() (main scene and arcade scene, every machine) defines the three capsule banners (Tumblers, Outfits, Course Toys: tickets pay first, else Bonks), the six slot machines (bet in Bonks; Bonks, Prize Tickets and next-run boosts as prizes), bridges incrementalKit Bonks into both kits, and feeds the Prizes upgrades in as luck (gachaLuck, slotLuck). attachMain() grants Prize Tickets on every runEnd (floor(distance/100) + floor(snaps/4), x (1 + Ticket Printer)) and writes result.tickets.
Read by the game: toyBoost(kind) / toyWeights(base) (pulled toys show up more on the stair), charBonus(charId) (duplicate tumbler levels: +10% Bonks a level), boost() / consumeBoost() and Bus.state.prizeBoost ({ bonksMul, shoves } for the next run), presentation() / setPresentation(p) / nextPresentation() (the pull presentation setting, saved in the player's settings). Pulled tumblers and outfits unlock through game.economy.prizeUnlock.