AutoTakeOffItem » 历史记录 » 版本 4
yangdefeng, 2022-06-22 07:44
1 | 3 | yangdefeng | h4. _*%{color:green}autoTakeOffItem%*_ |
---|---|---|---|
2 | |||
3 | 2 | chenjun | 脱下指定[[装备位置|装备位]]装备,放入背包 |
4 | 1 | machenhe | |
5 | 标签:命令定义|autoTakeOffItem |
||
6 | |||
7 | *格式* |
||
8 | |_.命令名 |_.参数1 | |
||
9 | |autoTakeOffItem|装备位id | |
||
10 | |||
11 | *说明* |
||
12 | 2 | chenjun | * 参数1: 装备位id,参见 *[[装备位置|装备位id说明]]* |
13 | 4 | yangdefeng | nbsp; 命令支持的装备位id |
14 | ** 0-16,24,25,26 (角色装备) |
||
15 | ** 17,18,20-23 (时装装备) |
||
16 | ** 30-41 (生肖装备) |
||
17 | ** 51-56 (神佑首饰盒装备) |
||
18 | ** 60-83 (ok框用装备位) |
||
19 | 1 | machenhe | |
20 | 2 | chenjun | * 脱装备时,如背包已满,则不会脱下 |
21 | 1 | machenhe | |
22 | - |
||
23 | - |
||
24 | |||
25 | 3 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
26 | 1 | machenhe | |
27 | bq. [<notextile>@</notextile>main] |
||
28 | #if |
||
29 | [[equal]] [[装备位置|<$dress>]] |
||
30 | #act |
||
31 | [[messageBox]] 未穿戴衣服,穿上再试试 |
||
32 | break |
||
33 | #elseAct |
||
34 | [[mov]] s$衣服名称 <$dress> |
||
35 | |
||
36 | #if |
||
37 | #say |
||
38 | 2 | chenjun | <脱下衣服(autoTakeOffItem)/<notextile>@</notextile>脱下衣服>\ \ |
39 | <穿上衣服(autoTakeOnItem)/<notextile>@</notextile>穿上衣服>\ \ |
||
40 | 1 | machenhe | |
41 | 2 | chenjun | <查看衣服装备位/<notextile>@</notextile>查看>\ \ |
42 | 1 | machenhe | |
43 | [<notextile>@</notextile>脱下衣服] |
||
44 | #if |
||
45 | equal <$dress> |
||
46 | #act |
||
47 | [[sendTipsMsg]] 衣服穿戴情况--未穿戴/scolor=222 |
||
48 | #elseAct |
||
49 | *{color:green}autoTakeOffItem* 0 |
||
50 | sendTipsMsg 衣服穿戴情况--刚脱下/scolor=222 |
||
51 | |
||
52 | #if |
||
53 | #act |
||
54 | goto <notextile>@</notextile>查看 |
||
55 | |
||
56 | [<notextile>@</notextile>穿上衣服] |
||
57 | #if |
||
58 | equal <$dress> |
||
59 | #act |
||
60 | [[autoTakeOnItem]] s$衣服名称 0 |
||
61 | sendTipsMsg 衣服穿戴情况--刚穿上/scolor=222 |
||
62 | #elseAct |
||
63 | sendTipsMsg 衣服穿戴情况--没空位/scolor=222 |
||
64 | |
||
65 | #if |
||
66 | #act |
||
67 | goto <notextile>@</notextile>查看 |
||
68 | |
||
69 | [<notextile>@</notextile>查看] |
||
70 | #act |
||
71 | [[openSysUi]] 1 0 |