项目

一般

简介

DrillHole » 历史记录 » 版本 3

tejie, 2025-07-16 15:56

1 2 tejie
h4. _*%{color:green}drillHole%*_
2 1 machenhe
3 2 tejie
指定装备位装备,指定孔位打孔.
4 1 machenhe
5 2 tejie
标签:命令定义^drillHole
6
7 1 machenhe
*格式*
8
|_.命令名	|_.参数1	|_.参数2	|_.参数3|_.参数4	|_.参数5	|_.参数6	|_.参数7	|_.参数8	|_.参数9	|_.参数10	|
9
|drillHole	|无效参数	|无效参数	|装备位 |无效参数 	|无效参数	|孔位id		|无效参数	|是否开孔	|无效参数	|无效参数	|
10
11
*说明*
12 2 tejie
|参数1|无效参数,请写*|
13
|参数2|无效参数,请写*|
14 3 tejie
|^.参数3| *装备位id*
15 2 tejie
0-16 指定id装备位中的道具
16 1 machenhe
参见 *[[装备位置|装备位id说明]]*
17 3 tejie
*-1*
18 1 machenhe
当前打开的自定义道具栏中的道具
19 3 tejie
当前拾取道具
20
*装备实例id*
21
背包中道具属性变更后,需要加上 [[updItem]] 命令刷新|
22 2 tejie
|参数4|无效参数,请写*|
23
|参数5|无效参数,请写*|
24
|参数6|孔位id[0-4]|
25
|参数7|无效参数,请写*|
26
|^.参数8|是否开孔
27
 0, 不开孔
28
 1, 开孔|
29
|参数9|无效参数,请写*|
30
|参数10|无效参数,请写*|
31 1 machenhe
32
-
33
-
34
35 2 tejie
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
36 1 machenhe
37
bq. [@main]
38
#if
39
[[equal]] <$dress>
40
#act
41
[[messageBox]] 请穿戴衣服后测试
42
break
43
&nbsp;
44
#if
45
#say
46
<衣服打孔/<notextile>@</notextile>打孔>\\ \\
47
<打孔检测/<notextile>@</notextile>打孔检测>\\ \\
48
<打孔数量检测/<notextile>@</notextile>打孔数量检测>\\ \\
49
&nbsp;
50
[<notextile>@</notextile>打孔]
51
#if
52
#act
53
*{color:green}drillHole* * * 0 * * 0 * 1 * *
54
messageBox 装备位衣服_0号孔位_打孔成功
55
&nbsp;
56
[<notextile>@</notextile>打孔检测]
57
#if
58
[[checkDrillHole]] 0 0
59
#act
60
messageBox 装备位衣服_0号孔位_已打孔
61
&nbsp;
62
[<notextile>@</notextile>打孔数量检测]
63
#if
64
[[checkDrillHoleCount]] 0 = 1
65
#act
66
messageBox 装备位衣服_打孔数量_等于1
67
&nbsp;
68
#if
69
checkDrillHoleCount 0 > 1
70
#act
71
messageBox 装备位衣服_打孔数量_大于1
72
&nbsp;
73
#if
74
checkDrillHoleCount 0 < 1
75
#act
76
messageBox 装备位衣服_打孔数量_小于1