DEVMODE

Slay the Spire 2 developer tools & extension API

Slay the Spire 2

Overview

A developer rail for Slay the Spire 2. Modify cards, relics, gold, and encounters mid-run; configure test setups from the main menu; run SpireScratch scripts, event hooks, and view in-game logs; tweak developer settings; and an extensible tab API for other mods.

  • Run controls

    Add or remove cards, relics, potions, and powers; adjust gold and encounters; spawn enemies mid-combat.

  • Test setup

    Configure starting relics, cards, gold, and encounters from the main menu before launching a test run; supports seed-based and repeatable flows.

  • Console, scripts, and hooks

    Command console, SpireScratch script runner with live reload, event hooks, and an in-game log viewer.

  • Developer settings

    Game speed, skip animation, UI theme, and other developer options; save / load state via named slots.

  • Extensibility

    Other mods register rail tabs via DevPanelRegistry / RegisterPanelWhenReady, use browser-rail layout through DevPanelModApi, and access Material Design Icons via MdiIcon.

  • Localization

    Built-in English and Simplified Chinese; pull requests for more languages are welcome.