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

设置指定物品的价值。
⚠️ 当前为占位积木:物品价值属于注册期数据(ItemInfo.value),运行期无法修改。生成器当前只输出一条注释(/* item.value is registration-time only (ItemInfo.value), cannot be set at runtime */),不会真正改变游戏状态。若要修改请在注册物品时决定,或等待后续版本实现面向物品实例的价值字段。
| 插槽 | 类型 | 说明 |
|---|---|---|
| VALUE | 数字插槽 | 价值数值(浮点数) |
| 下拉栏 | 选项 | 值 | 说明 |
|---|---|---|---|
| TARGET | 当前物品 | this |
操作当前手中物品 |
| TARGET | 左手 | left |
操作左手物品 |
| TARGET | 右手 | right |
操作右手物品 |
| 连接 | 类型 | 说明 |
|---|---|---|
| 顶部 | 语句 | 可接在上一个语句后 |
| 底部 | 语句 | 可继续连接下一个语句 |
当前生成注释 /* item.value is registration-time only (ItemInfo.value), cannot be set at runtime */。
Block ID: cu_item_set_value