Date: 2015/04/28 17:16:44 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
"LadyEvangalia":
type: assignment
interact scripts:
- 10 Silkquest
"Silkquest":
type: interact
steps:
1:
click trigger:
script:
- chat "<aqua>I have nothing for you pesant."
- narrate "<red><npc.name> Looks away from you."
2:
proximity trigger:
- chat "<aqua>I hope that string will be here soon, I've been waiting a long time."
click trigger:
script:
- chat "<aqua>Ah, you are the young subject who has been asking to meet me..."
- narrate "<blue><npc.name>Inspects player cautiously."
- wait 1
- chat "<aqua>I am a silk maker for the king. A long time ago, the king lost some his children to an evil witch."
- wait 1
- chat "<aqua>The same witch that has been taking the children of royal families over the years..."
- wait 1
- chat "<aqua>Every summer the king of Hollow sends off a brave subject to kill the evil witch, on their leave he throws a marvellous party."
- wait 1
- chat "<aqua>All the noblemen and women wear only the finest clothes. My clothes to be exact. I make the finest cloth around. Now."
- chat "<aqua>Enough babbling and time to get to work. Bring me the silk of <red>20<aqua> spiders from the Cave of Naut to the east of here."
- wait 1
- chat "<aqua>Are you ready to start your quest?"
- ^narrate "<red>Say<&co>"
- ^narrate "<blue>Yes<blue> <gray>or<red> No"
chat trigger:
'Start Questline':
Trigger: /Yes/, I'm on it.
script:
- listen itemdrop item:silk qty:1 script:silkspiderkill
- chat "<aqua>Good, now go <white><player.name><aqua>, head to the east past the mushrooms you will find the cave, it is surrounded by a waterfall at the edge of a lake."
- narrate "<red>Gather Silk - Quest Started"
- flag player silkcount:0
- ^zap step:2
'Deny Questline':
Trigger: /No/, I cant do that right now.
script:
- chat "<aqua>Then don't come to me for anything."
- narrate "<white><npc.name>Goes back to sewing."
'What did you say':
trigger: /REGEX:\w+/
script:
- chat "<white><player.name><yellow>, I don<&sq>t what <&sq><white><context.message><yellow><&sq> means."
- ^narrate "<red>Say<&co>"
- ^narrate " <blue>Yes<blue> <gray>or<red> No"
3:
click trigger:
script:
- chat "<aqua>I've got a lot of sewing to do, come back when you have all the silk."
- wait 1
- chat "<aqua>You only gotten <player.flag[silkcount].asint> silk."
4:
click trigger:
script:
- chat "<aqua>This is better than I had imagined! <player.name> You didn't even get blood on the silk!"
- wait 1
- narrate "<Gather Silk - Quest Completed>"
- narrate "<aqua>You have received $2000 from Lady Evangalia for completing this quest."
- zap step:1 script:gettinggems
- take i@silk qty:20
- give
"silkspiderkill":
type: task
script:
- flag player silkcount:++
- narrate "<red>You collected<player.flag[silkcount].asint>/20 silk."
- if <player.flag[silkcount].asint> >= 3 run silkquestreward
else run silkquestcontinue
"silkquestcontinue":
type: task
script:
- ^listen item type:craft silk qty:1 script:silkspiderkill
"silkquestreward":
type: task
script:
- narrate "<red>Your Quest should be completed by now, return to Madam Molly."
"gettinggems":
type: interact
steps:
1:
proximity trigger:
- chat "<aqua>I hope that string will be here soon, I've been waiting a long time."
click trigger:
script:
- chat "<aqua>Ah, you are the young subject who has been asking to meet me..."
- narrate "<blue><npc.name>Inspects player cautiously."
- wait 1
- chat "<aqua>I am a silk maker for the king. A long time ago, the king lost some his children to an evil witch."
- wait 1
- chat "<aqua>The same witch that has been taking the children of royal families over the years..."
- wait 1
- chat "<aqua>Every summer the king of Hollow sends off a brave subject to kill the evil witch, on their leave he throws a marvellous party."
- wait 1
- chat "<aqua>All the noblemen and women wear only the finest clothes. My clothes to be exact. I make the finest cloth around. Now."
- chat "<aqua>Enough babbling and time to get to work. Bring me the silk of <red>20<aqua> spiders from the Cave of Naut to the east of here."
- wait 1
- chat "<aqua>Are you ready to start your quest?"
- ^narrate "<red>Say<&co>"
- ^narrate "<blue>Yes<blue> <gray>or<red> No"
chat trigger:
'Start Questline':
Trigger: /Yes/, I'm on it.
script:
- listen itemdrop item:silk qty:1 script:silkspiderkill
- chat "<aqua>Good, now go <white><player.name><aqua>, head to the east past the mushrooms you will find the cave, it is surrounded by a waterfall at the edge of a lake."
- narrate "<red>Gather Silk - Quest Started"
- flag player silkcount:0
- ^zap step:2
'Deny Questline':
Trigger: /No/, I cant do that right now.
script:
- chat "<aqua>Then don't come to me for anything."
- narrate "<white><npc.name>Goes back to sewing."
'What did you say':
trigger: /REGEX:\w+/
script:
- chat "<white><player.name><yellow>, I don<&sq>t what <&sq><white><context.message><yellow><&sq> means."
- ^narrate "<red>Say<&co>"
- ^narrate " <blue>Yes<blue> <gray>or<red> No"
2:
click trigger:
script:
- chat "<aqua>I've got a lot of sewing to do, come back when you have all the silk."
- wait 1
- chat "<aqua>You only gotten <player.flag[silkcount].asint> silk."
3:
click trigger:
script:
- chat "<aqua>This is better than I had imagined! <player.name> You didn't even get blood on the silk!"
- wait 1
- narrate "<Gather Silk - Quest Completed>"
- narrate "<aqua>You have received $2000 from Lady Evangalia for completing this quest."
- zap step:1 script:gettinggems
- take i@silk qty:20