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