UpdateBoxItem » 历史记录 » 版本 2
yangdefeng, 2022-05-20 16:07
| 1 | 1 | machenhe | _*%{color:green}updateBoxItem%*_ |
|---|---|---|---|
| 2 | |||
| 3 | 刷新指定itemBox格子,例如删除itemBox格子中的物品后使用updateBoxItem刷新为空的itemBox |
||
| 4 | |||
| 5 | 标签:命令定义|updateBoxItem |
||
| 6 | |||
| 7 | *格式* |
||
| 8 | |命令名 |参数1 | |
||
| 9 | |updateBoxItem |itemBox编号 | |
||
| 10 | |||
| 11 | 说明: |
||
| 12 | 2 | yangdefeng | * 参数1: itemBox编号 |
| 13 | 1 | machenhe | |
| 14 | 2 | yangdefeng | *%{color:deepskyblue}特戒引擎脚本示例:%* |
| 15 | 1 | machenhe | |
| 16 | bq. [<notextile>@</notextile>main] |
||
| 17 | #say |
||
| 18 | 2 | yangdefeng | <[[dlg_itemBox_|itemBox]]:0:0:0:0:0:40:40:*:tips> |
| 19 | <itemBox:1:0:0:200:0:40:40:*:tips> |
||
| 20 | |
||
| 21 | <[[dlg_text_|text]]:放入0:0:400/<notextile>@</notextile>放入0> |
||
| 22 | 1 | machenhe | <text:放入1:200:400/<notextile>@</notextile>放入1> |
| 23 | 2 | yangdefeng | |
| 24 | <text:删除0:0:600/<notextile>@</notextile>删除0> |
||
| 25 | 1 | machenhe | <text:删除1:200:600/<notextile>@</notextile>删除1> |
| 26 | 2 | yangdefeng | |
| 27 | |
||
| 28 | [<notextile>@</notextile>放入0] |
||
| 29 | 1 | machenhe | #act |
| 30 | 2 | yangdefeng | [[bagItemIntoBox]] 粗铁 0 5 |
| 31 | |
||
| 32 | [<notextile>@</notextile>放入1] |
||
| 33 | 1 | machenhe | #act |
| 34 | bagItemIntoBox 麻布 1 5 |
||
| 35 | 2 | yangdefeng | |
| 36 | [<notextile>@</notextile>删除0] |
||
| 37 | 1 | machenhe | #act |
| 38 | 2 | yangdefeng | [[delBoxItem]] 0 5 |
| 39 | *{color:green}updateBoxItem* 0 |
||
| 40 | |
||
| 41 | [<notextile>@</notextile>删除1] |
||
| 42 | 1 | machenhe | #act |
| 43 | delBoxItem 1 5 |
||
| 44 | updateBoxItem 0 |