UpdateBoxItem » 历史记录 » 版本 3
yangdefeng, 2022-05-20 16:25
1 | 3 | yangdefeng | h4. _*%{color:green}updateBoxItem%*_ |
---|---|---|---|
2 | 1 | machenhe | |
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 | 3 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
15 | |||
16 | *使用前提1* |
||
17 | 请开启配置开关"isUseCustomOKPanel" |
||
18 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
19 | |配置节点|[[tjconfig|[tjconfig]]] | |
||
20 | |配置项 |isUseCustomOkPanel=1 | |
||
21 | |||
22 | - |
||
23 | - |
||
24 | 1 | machenhe | |
25 | bq. [<notextile>@</notextile>main] |
||
26 | #say |
||
27 | 2 | yangdefeng | <[[dlg_itemBox_|itemBox]]:0:0:0:0:0:40:40:*:tips> |
28 | <itemBox:1:0:0:200:0:40:40:*:tips> |
||
29 | |
||
30 | <[[dlg_text_|text]]:放入0:0:400/<notextile>@</notextile>放入0> |
||
31 | 1 | machenhe | <text:放入1:200:400/<notextile>@</notextile>放入1> |
32 | 2 | yangdefeng | |
33 | <text:删除0:0:600/<notextile>@</notextile>删除0> |
||
34 | 1 | machenhe | <text:删除1:200:600/<notextile>@</notextile>删除1> |
35 | 2 | yangdefeng | |
36 | |
||
37 | [<notextile>@</notextile>放入0] |
||
38 | 1 | machenhe | #act |
39 | 2 | yangdefeng | [[bagItemIntoBox]] 粗铁 0 5 |
40 | |
||
41 | [<notextile>@</notextile>放入1] |
||
42 | 1 | machenhe | #act |
43 | bagItemIntoBox 麻布 1 5 |
||
44 | 2 | yangdefeng | |
45 | [<notextile>@</notextile>删除0] |
||
46 | 1 | machenhe | #act |
47 | 2 | yangdefeng | [[delBoxItem]] 0 5 |
48 | *{color:green}updateBoxItem* 0 |
||
49 | |
||
50 | [<notextile>@</notextile>删除1] |
||
51 | 1 | machenhe | #act |
52 | delBoxItem 1 5 |
||
53 | updateBoxItem 0 |