Categories
Visual Commands
Control backgrounds, characters, CGs, and visual effects.
Game Commands
Manage battles, events, items, gold, time, and audio.
Functions
Query player attributes, game state, and localization.
Command Syntax
Commands are wrapped in<<>> and can take parameters:
- Strings: Usually unquoted (
BG-1,Lilith), but some commands use quotes for specific parameters - Numbers:
123,45.6 - Booleans:
true,false - Variables:
$my_variable - Coordinates:
x,yformat like0,0or-200,100
Function Syntax
Functions are called within expressions or inline text:Common Patterns
Starting a Scene
Ending a Scene
Conditional Dialogue
Giving Rewards
ID Conventions
Many commands and functions use numeric IDs:| Type | Example | Description |
|---|---|---|
| Item IDs | 12345 | Reference specific inventory items |
| Event IDs | 900001 | Map event identifiers |
| Condition IDs | 900001 | Unlock condition references |
| Place IDs | 9 | Map location identifiers |
IDs are based on game data analysis. Use values from 900000+ for custom content to avoid conflicts.
Parameter Conventions
Most parameters in the game scripts are unquoted:Error Handling
Commands that fail typically:- Do nothing silently
- Log errors to the BepInEx console
- Continue executing subsequent commands
Browse Commands
Visual Commands
back_creat, char_creat, cg_creat, blink, and more.Game Commands
start_battle, change_gold, next_day, set_bgm, and more.Functions
get_gold(), get_value(), get_player_attribute(), l10n(), and more.