Skip to content

cu_item_set_decay en

mouse114514 edited this page Sep 12, 2026 · 1 revision

Set Item Decay

Set Item Decay

Overview

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 in register item, or wait for a future version with runtime decay support.

Slots

Slot Type Description
VALUE Number slot the decay value (float)

Dropdown Options

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

Connections

Connection Type Description
Top Statement connects after a previous statement
Bottom Statement continues to the next statement

Generated Code

Currently emits /* item.decayMinutes is registration-time only (ItemInfo.decayMinutes), cannot be set at runtime */.

Block ID: cu_item_set_decay


中文 | Item Action Blocks | Block Reference

Clone this wiki locally