Action Templates¶
SillyCore uses a powerful "Template" system for game actions. Instead of configuring an action every time you use it in a phase, you can create reusable Variations that act as global templates.





The Engineering Hierarchy¶
Building game mechanics follows a logical flow from broad categories down to granular settings.
The Root Level
Identify which module provides the desired mechanic. Selecting a plugin (e.g., SillyCore or a specialized module) filters the actions to that specific extension.
Functional Choice
Navigate through the module's registered actions (e.g., "Potion Pulse" or "Random Drop"). This defines the core logic being configured.
Template Management
Create or select a specific Variation. This acts as your reusable template.
- JSON Preview: Hover over any variation to see a color-coded preview of its current data.
- Deep Editing: Click to open the Visual Editor and fine-tune parameters.
Technical Advantages¶
Reusability & Consistency
A Variation is a Global Template. You can assign the same variation to multiple different Game Phases. Changing the variation in one place updates it everywhere it is used.
Dependency Safety
Before a variation is deleted, the framework performs a Dependency Check. It prevents accidental breaking of your game logic by listing all phases currently utilizing that template.
Experience the Flow
Click through our Interactive Exploration to see how an action is transformed into a ready-to-use template.