Date: 2017/07/07 21:33:19 UTC-07:00
Type: Denizen Script
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
SigilGuard:
type: assignment
actions:
on assignment:
- trigger name:proximity state:true radius:10
interact scripts:
- 1 SigilMain
SigilMain:
type: interact
steps:
1:
proximity trigger:
entry:
script:
- lookclose true range:5 realistic
- ^chat "You! What is your business here?"
- if <player.inventory.contains.material[NETHER_STAR]> {
- chat " wait.. is that? "
- wait 3
- zap step:2
} else {
- chat "That's not the Kings Sigil! You are not permitted here!!"
- zap step:3
}
exit:
script:
- anchor walkto i:tguardstart
2:
proximity trigger:
entry:
script:
- if "<player.inventory.contains.display[strict:Kings Sigil]>" {
- ^chat "it is! Forgive my rudeness my lord, Please!"
- wait 2
- chat " I was only doing my job! I should get back to that presently.. "
- wait 1
- anchor walkto i:tguardstart
- zap step:6
} else {
- ^chat "no!! you are not permitted here!!"
- chat " If you are not gone in 5 seconds I will have no choice but to kill you."
- wait 3
- zap step:3
}
3:
proximity trigger:
entry:
script:
- if "<player.inventory.contains.display[strict:Kings Sigil]>" {
- chat " Shoulda had that in the first place "
- anchor walkto i:tguardstart
- zap step:4
} else {
- adjust n@26 speed:1.1
- attack
}
exit:
script:
- ^adjust n@26 speed:0.8
- attack cancel
- wait 1
- anchor walkto i:tguardstart
- wait 3
- zap step:5
4:
click trigger:
script:
- if "<player.inventory.contains.display[strict:Kings Sigil]>" {
- chat " it's a good thing you found the kings pass! "
- wait 1
- chat " I really don't enjoy having to hurt people :["
- zap step:5
} else {
- chat " You lost the kings sigil?"
- wait 1
- chat " You'd better find it, and quickly. Or i'm going to kill you. "
- wait 1
- chat " You have 5 seconds to find it or leave. "
- wait 5
- zap step:3
}
5:
proximity trigger:
entry:
script:
- if "<player.inventory.contains.display[strict:Kings Sigil]>" {
- chat " aaah, I see you've gained the Kings right of passage."
- wait 2
- chat " We have no qualm now, you may pass peacefully "
- zap step:6
} else {
- chat " You still cannot enter here. Leave or die "
- wait 5
- chat " You were warned!!"
- adjust n@26 speed:1.1
- attack
}
exit:
script:
- attack cancel
- adjust n@26 speed:0.8
6:
proximity trigger:
entry:
script:
- ^look <npc> <player.location>
- wait 1
- chat " How's it goin m'lord "
exit:
script: