Date: 2015/07/02 13:59:14 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
Rajeshnpc:
type: assignment
interact scripts:
- 30 Rajesh
"Rajesh":
type: interact
steps:
1:
click trigger:
script:
- chat "blah"
2:
click trigger:
script:
- engage
- chat "<yellow>Amareth must have sent you..."
- wait 2
- chat "<yellow>We are a dyeing people and even more so now that the fire demons have lay claim to our land."
- wait 3
- chat "<yellow>Are you here to help us friend?"
- disengage
chat trigger:
'Start Questline':
Trigger: /Yes/, I am here to help you sir, what can I do?
script:
- engage
- chat "<aqua>You are a very brave soul, there is only one way to slow this bloodshed..."
- wait 2
- chat "<aqua>If you defeat the master fire demon the rest should dwindle."
- wait 2
- chat "<aqua>Do not worry about our people out there, they can hold their own for now."
- animate <npc> animation:ARM_SWING
- cast Health_Boost <player> duration: 300 p:2
- wait 2
- narrate "<red>Defeat Fire God - Quest Started"
- flag player firegod:0
- disengage
- ^zap step:2
'Deny Questline':
Trigger: /No/, I cant do that right now.
script:
- chat "<aqua>Good luck on your journey!"
'What did you say':
trigger: /REGEX:\w+/
script:
- chat "<aqua><white><player.name><yellow>, I don<&sq>t what <&sq><white><context.message><yellow><&sq> means."
- ^narrate "<red>Say<&co>"
- ^narrate " <white>[<blue>Yes<blue> <gray>or<red> No<white>]"
3:
click trigger:
script:
- chat "<aqua>Go <player.name> and kill the Fire god.."
4:
click trigger:
script:
- engage
- chat "<aqua>You have defeated the firegod..."
- wait 2
- chat "<aqua>I will send word to Tyrithian of your good deed and the progress of our war."
- wait 2
- chat "<aqua>I do not have much <player.name> but please have this..."
- give emerald <player>
- give xp qty:200
- zap step:5
- zap step:8 "script:beasty"
- zap step:2 "script:tyrithian"
- disengage
5:
click trigger:
script:
- engage
- chat "<aqua>Return to Tyrithian, I am sure he will commend you for your great deeds."
- wait 20
- disengage
firegodworld:
type: world
events:
on npc killed by player:
- if <npc.name> == "Fire God" {
- run locally delay:1t Count
}
Count:
- zap step:4 "script:Rajesh"
- title stay:3s 'subtitle:<&6>Defeat The Fire God Quest Finished'
- wait 5s
- title stay:3s 'subtitle:<&6>Rajesh to Complete'
- queue clear
- narrate "<red>The Fire God is Dead, Return to Rajesh."