Examples
The following examples are all included in ModTemplate and can be built and run out of the box. They are intentionally simple and focused on a single mechanic each — use them as starting points for your own content.
All examples share a gold theme to keep the localization and logic easy to follow at a glance.
| Category | Example | What it demonstrates |
|---|---|---|
| Potions | Drop of Gold | Simple potion that grants gold with a VFX splash |
| Potions | Gold Paint | Potion that applies a custom power to enemies |
| Cards | Coin Flip | Card with RNG, dynamic variables, upgrade behavior, and banter text |
| Relics | Gold Armor | Relic with a turn-start hook, conditional logic, and multiple dynamic variables |
| Powers | Made of Gold | Debuff power that triggers after damage is received |
| Events | The Gold Coin Room | Multi-page event with branching choices and state transitions |
| Ancients | Gold Guy | Ancient event that offers a choice of relics |