-
Notifications
You must be signed in to change notification settings - Fork 0
cu_register_status en
mouse114514 edited this page Sep 12, 2026
·
1 revision

Registers a custom status effect (buff/debuff) with its ID, name, type, description and sprite. Once registered it can be referenced via the status value block and applied to the player with set status.
Usually placed under the when mod awakes event.
| Slot | Type | Description |
|---|---|---|
| ID | Status slot | Unique identifier of the status. Fill with a status value block |
| NAME | String slot (text) | Display name, default My Status
|
| TYPE | Dropdown slot |
正面效果(buff) / 负面效果(debuff)
|
| DESC | String slot (text) | Description, default A status effect
|
| SPRITE_REF | Sprite slot | Status icon. Fill with a sprite value block |
| Connection | Type | Description |
|---|---|---|
| Top / Bottom | - | no statement connections (declaration block) |
| Option | Value |
|---|---|
| Buff | buff |
| Debuff | debuff |
Emits status registration code that adds the status to the game's status table.
when mod awakes
└── register status id "bleeding" name "Bleeding" type debuff desc "Continuous blood loss" sprite "bleed.png"
Block ID: cu_register_status