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