项目

一般

简介

UpdateBoxItem » 历史记录 » 版本 1

machenhe, 2022-05-10 19:03

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
* 参数1
13
itemBox编号
14
15
*%{color:deepskyblue}脚本示例:%*
16
17
bq. [<notextile>@</notextile>main]
18
#ACT
19
#say
20
<ITEMBOX:0:0:0:0:0:40:40:*:tips>
21
<ITEMBOX:1:0:0:200:0:40:40:*:tips>
22
23
bq. <text:放入0:0:400/<notextile>@</notextile>放入0>
24
<text:放入1:200:400/<notextile>@</notextile>放入1>
25
26
bq. <text:删除0:0:600/<notextile>@</notextile>删除0>
27
<text:删除1:200:600/<notextile>@</notextile>删除1>
28
29
30
bq. [<notextile>@</notextile>放入0]
31
#act
32
bagItemIntoBox 粗铁 0 5
33
34
bq. [<notextile>@</notextile>放入1]
35
#act
36
bagItemIntoBox 麻布 1 5
37
38
bq. [<notextile>@</notextile>删除0]
39
#act
40
delBoxItem 0 5
41
updateBoxItem 0
42
43
bq. [<notextile>@</notextile>删除1]
44
#act
45
delBoxItem 1 5
46
updateBoxItem 0