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

Sets a target item's value.
⚠️ Currently a placeholder block: item value is registration-time data (ItemInfo.value) and cannot be changed at runtime. The generator currently only emits a comment (/* item.value is registration-time only (ItemInfo.value), cannot be set at runtime */) and does not actually change game state. Decide the value inregister item, or wait for a future version with a runtime value field on item instances.
| Slot | Type | Description |
|---|---|---|
| VALUE | Number slot | the 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.value is registration-time only (ItemInfo.value), cannot be set at runtime */.
Block ID: cu_item_set_value