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

Sets a target item's decay time.
⚠️ Currently a placeholder block: item decay is registration-time data (ItemInfo.decayMinutes) and cannot be changed at runtime. The generator currently only emits a comment (/* item.decayMinutes is registration-time only (ItemInfo.decayMinutes), cannot be set at runtime */) and does not actually change game state. Decide it inregister item, or wait for a future version with runtime decay support.
| Slot | Type | Description |
|---|---|---|
| VALUE | Number slot | the decay value (float) |
| Field | Option | Value | Description |
|---|---|---|---|
| TARGET | Current item | this |
current handheld item |
| TARGET | Left hand | left |
left-hand item |
| TARGET | Right hand | right |
right-hand item |
| Connection | Type | Description |
|---|---|---|
| Top | Statement | connects after a previous statement |
| Bottom | Statement | continues to the next statement |
Currently emits /* item.decayMinutes is registration-time only (ItemInfo.decayMinutes), cannot be set at runtime */.
Block ID: cu_item_set_decay