-
Notifications
You must be signed in to change notification settings - Fork 6
/
踢海豹带多指令加取名版本.yaml
91 lines (91 loc) · 5.81 KB
/
踢海豹带多指令加取名版本.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
enable: true
interval: 0
items:
- enable: true
conditions:
- condType: textMatch
matchType: matchExact
value: 开始踢海豹
results:
- resultType: replyToSender
delay: 0
message:
- - "{% \n if $gSealKick==0 {$gSealKick=1;$gSealDistance=100;$t输出=`踢海豹的游戏开始了。目前还有{$gSealDistance}格要走。用“海豹取名+名字”给游戏内的海豹重命名,也可以用“海豹名字清空”来复原设置。`} else {$t输出=`你们似乎有正在进行的游戏。请输入“踢海豹”继续游戏,或“结束踢海豹”结束游戏。`}\n %}\n {$t输出}"
- 1
- enable: true
conditions:
- condType: textMatch
matchType: matchRegex
value: ^踢(.+)
- condType: exprTrue
value: $gSealKick==1
- condType: exprTrue
value: $t1=="海豹"||$t1==$mSealName
results:
- resultType: replyToSender
delay: 0
message:
- - |-
{% if $mSealName==0 {$tSealName="海豹"} else {$tSealName=$mSealName};
if 1 {$t单次步数=d6;$t海豹逃走=d100;$gSealDistance=$gSealDistance-$t单次步数;$t输出0=`{$t玩家}一脚踢向{$tSealName},踢了{$t单次步数}格。`};
if $gSealDistance==0 {$gSealKick=0;$t输出1=`\n{$tSealName}抵达了终点。恭喜{$t玩家}获得了胜利。放归前别忘了给{$tSealName}一个大比兜。`};
if $gSealDistance>0 {$t输出1=`\n{$tSealName}现在离终点还有{$gSealDistance}格。`};
if $gSealDistance<0 {$gSealDistance=-$gSealDistance;$t输出1=`\n踢过头了!{$tSealName}现在离终点还有{$gSealDistance}格。`};
if $gSealDistance==93 {$t判定=1;$gSealDistance=56;$t输出2=`\n触发了梯子事件!{$tSealName}从第7格爬到了第44格,现在离终点还有{$gSealDistance}格。`};
if $gSealDistance==39&&$t判定==0 {$t判定=1;$gSealDistance=87;$t输出2=`\n触发了滑道事件!{$tSealName}从第61格滑到了第13格,现在离终点还有{$gSealDistance}格。`};
if $gSealDistance==5&&$t判定==0 {$t判定=1;$gSealDistance=74;$t输出2=`\n触发了滑道事件!{$tSealName}从第95格滑到了第26格,现在离终点还有{$gSealDistance}格。`};
if $gSealDistance==65&&$t判定==0 {$t判定=1;$gSealDistance=28;$t输出2=`\n触发了梯子事件!{$tSealName}从第35格爬到了第72格,现在离终点还有{$gSealDistance}格。`};
if $gSealDistance==48&&$t判定==0 {$t判定=1;$gSealDistance=63;$t输出2=`\n触发了滑道事件!{$tSealName}从第52格滑到了第37格,现在离终点还有{$gSealDistance}格。`};
if $gSealDistance==77&&$t判定==0 {$t判定=1;$gSealDistance=49;$t输出2=`\n触发了梯子事件!{$tSealName}从第23格爬到了第51格,现在离终点还有{$gSealDistance}格。`};
if $gSealDistance==61&&$t判定==0 {$t判定=1;$gSealDistance=84;$t输出2=`\n触发了滑道事件!{$tSealName}从第39格滑到了第16格,现在离终点还有{$gSealDistance}格。`};
if $gSealDistance==80&&$t判定==0 {$t判定=1;$gSealDistance=21;$t输出2=`\n触发了梯子事件!{$tSealName}从第20格爬到了第79格,现在离终点还有{$gSealDistance}格。`};
if $gSealDistance==15&&$t判定==0 {$t判定=1;$gSealDistance=35;$t输出2=`\n触发了滑道事件!{$tSealName}从第85格滑到了第65格,现在离终点还有{$gSealDistance}格。`};
if $gSealDistance==17&&$t判定==0 {$t判定=1;$gSealDistance=10;$t输出2=`\n触发了梯子事件!{$tSealName}从第83格爬到了第90格,现在离终点还有{$gSealDistance}格。`};
if $t判定==0 {$t输出2=""} else {$t判定=0};
if $t海豹逃走==1 {$gSealKick=0;$t输出3=`\n{$tSealName}的逃走骰:1d100=1!大成功!{$tSealName}逃走了!游戏终止!`} else {$t输出3=`\n{$tSealName}的逃走骰:1d100={$t海豹逃走},{$tSealName}没能逃脱凶猛恶汉们的掌控!`}
%}
{$t输出0}{$t输出1}{$t输出2}{$t输出3}
- 1
- enable: true
conditions:
- condType: textMatch
matchType: matchExact
value: 结束踢海豹
results:
- resultType: replyToSender
delay: 0
message:
- - "{% \n if $gSealKick==1 {$gSealKick=0;$t输出=`要结束游戏了吗?好的。海豹现在离终点还有{$gSealDistance}格,不过你们放走了它,并且给了它一个大比兜。`} else {$t输出=`并没有海豹在被踢的样子。输入“开始踢海豹”以抓一只新的海豹开始游戏。`}\n %}\n {$t输出}"
- 1
- enable: true
conditions:
- condType: textMatch
matchType: matchRegex
value: ^海豹取名(.+)
- condType: exprTrue
value: $gSealKick==1
results:
- resultType: replyToSender
delay: 0
message:
- - '{% if 1 {$mSealName=$t1} %}好的,那么{$t玩家}在心里管这只海豹叫{$mSealName}。'
- 1
- enable: true
conditions:
- condType: textMatch
matchType: matchExact
value: 海豹名字清空
- condType: exprTrue
value: $gSealKick==1
results:
- resultType: replyToSender
delay: 0
message:
- - '{% if 1 {$mSealName=0} %}好的,那么{$t玩家}决定老老实实地喊它海豹。'
- 1
name: "踢海豹"
author: ["于言诺"]
version: "1.1.0"
createTimestamp: 0
updateTimestamp: 0
desc: "是1.1.0的原因是之前其实还有过两版没有现在这个取名功能的(,预计出数组之后做一版随机地图的"