Date: 2018/10/08 07:54:58 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
halloween:
type: assignment
actions:
on assigment:
- trigger name:click state:true
- trigger name:chat state:true
interact scripts:
- 10 halloween_interact
halloween_interact:
type: interact
steps:
1:
click trigger:
script:
- if <player.has_flag[hallowen_completed]> {
- random {
- chat "Do you like....scary movies?"
- chat "Heeeeeeeeeeere's Pocky!"
- chat "I see dead people"
- chat "BOO!"
- chat "They all float down here"
- chat "You're my wife now, Dave"
- chat "Hello Daaaave"
- chat "We can't stop here, this is bat country"
- chat "The only one I think I can deal with is Edgar Allan Poe's daughter. I think she understands me."
}
- queue clear
}
- if <player.inventory.contains[i@halloween_item].quantity[1]> && !<player.has_flag[pennywise_complete]> {
- chat "CHEATER!!"
- hurt 10 <player>
- queue clear
}
- if <player.has_flag[pennywise]> {
- random {
- chat "In't there someone you should be looking for?"
- chat "Whats the matter? ... Scared?"
- hurt 4 <player>
- chat "Get a move on sunshine, I don't got all night..."
}
- queue clear
}
- if <player.inventory.contains[i@halloween_item].quantity[1]> && <player.has_flag[pennywise_complete]> {
- chat "Ah ha! My lost key! Excellent, now I can access my chest!"
- take i@halloween_item quantity:1
- execute as_op "points give <player.name> 2"
- flag <player> halloween_chest
- disengage
- queue clear
}
- if <player.has_flag[halloween_chest]>
- chat "Hey, you're not bad kid."
- wait 5t
- chat "The trouble is, I can't get too my chest. I need someone to go for me and get me the item in it."
- wait 5t
- chat "whaddaya say kid?"
- narrate [Yes] or [No]
- disengage
- if <player.inventory.contains[i@chest_item].quantity[1]> && <player.has_flag[halloween_chest_complete]> {
- chat "Nice job! Now I have almost everything I need!"
- take i@chest_item quantity:1
- execute as_op "points give <player.name> 2"
- flag <player> halloween_one
- disengage
- queue clear
}
- chat "You know that part in scary movies when somebody does something really stupid and everyone hates them for it? Well, now's your chance to go and do it."
- wait 10t
- chat "I dropped a very important key down a drain. A friend of mine must have found it. You need to go and find him. He won't hurt you"
- wait 10t
- chat "much...."
- wait 10t
- chat "Waddaya say, are you up to the challenge?"
- wait 10t
- narrate "[Yes] or [No]"
chat trigger:
1:
trigger: /Yes/
script:
- if <player.has_flag[halloween_chest]> {
- engage
- chat "My friend Skye is at south warp"
- wait 5t
- chat "I say friend...more like...well......"
- wait 5t
- chat "Go talk to her and she'll point you to where i left my chest"
- wait 5t
- chat "Only...Don't tell her I sent you?"
- flag <player> halloween_one_chest
- queue clear
- disengage
}
- engage
- wait 5t
- chat "Well aren't you just sugar, spice, and everything nice. Head out from /warp north and you'll find him."
- wait 5t
- chat "oh...and don't get too close..."
- flag <player> pennywise
- disengage
2:
trigger: /No/
script:
- engage
- hurt 6 <player>
- chat "Wrong answer"
- disengage