Date: 2014/06/24 11:12:01 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
classquest:
type: assignment
interact scripts:
- 10 cqstart1
cqstart1:
type: interact
steps:
1:
Click trigger:
script:
- narrate "<red>ClassMaster:<white> Oy <player.name>, Welcome to the ranks."
- wait 4
- narrate "<red>ClassMaster:<white> I hear ya heardt about classes, and wanting to learn more, ja?"
- wait 4
- narrate "<red>ClassMaster:<white> Ya know, it isn't an easy road up ahead if ye be wanting to know the secrets."
- wait 4
- narrate "<red>ClassMaster:<white> Countless boys and girls have tried and they be failin'."
- wait 4
- narrate "<red>ClassMaster:<white> You will be battling hordes of monsters, slaying a boss, and more."
- wait 4
- narrate "<red>ClassMaster:<white> Are you sure ya want to test ye skills?"
- wait 1
- narrate "Type either <green>Yes<white> or<red> No"
- wait 1
chat trigger:
1:
trigger: /Yes/, I am no dog, I can take a beatening and give it right back!
script:
- narrate "<red>ClassMaster:<white> Great to hear ye aboard lad"
- wait 3
- narrate "<red>ClassMaster:<white> for ye first task, it be monster slaying"
- wait 3
- narrate "<red>ClassMaster:<white> we have been having an over run of ye zombies lately"
- wait 3
- narrate "<red>ClassMaster:<white> So naturally I want ye to hunt some zombies down, ten to be exact"
- narrate "<gold>Class Quest started"
- ^flag player "quest classone:0"
- ^listen kill "ID:<player.name>_quest" "SCRIPT:cquestzombie" type:entity target:zombie qty:1
2:
trigger: /No/, I am not ready for such a task.
script:
- narrate "<red>ClassMaster:<white> Come back ye, when ya ready."
2:
click trigger:
script:
- ^narrate "<red>ClassMaster:<white> Ye have only killed <gold><flag.p:quest classone> zombies"
- wait 2
- narrate "<red>ClassMaster:<white> Come back when ye job is done"
3:
click trigger:
script:
- narrate "<red>ClassMaster:<white> Blimey lad, bravo on the first task"
- wait 3
- narrate "<red>ClassMaster:<white> Now let's see how good ye skill is shall we?"
- wait 3
- narrate "<red>ClassMaster:<white> Show me 5 emerlads and then we shall talk"
- ^narrate "<green> Class Quest Completed"
- ^narrate "<gold> In the hand's of the believer started"
- ^zap step:4
4:
click trigger:
script:
- if <player.inventory.contains[388].qty[5]> {
- narrate "<red>ClassMaster:<white> So ye seen a lot of this world ya have, let's talk" }
- wait 3
- narrate "<red>ClassMaster:<white> First thing is first, Which class ya looking to be lad?"
- wait 3
- narrate "Type <gold>Healer<white>, Tank, or <red>Rogue"
- ^zap step:5
else {
- narrate "<red>ClassMaster:<white> Ye need to show me 5 emeralds then we shall talk" }
"questclassone":
type: task
script:
- ^narrate "<red>ClassMaster:<white> Ye have killed all the zombies, come back for further instructions"
- ^zap step:3 script:cqstart1
- ^flag player "quest classone:!
'cquestzombie':
type: task
script:
- ^flag player "quest classone:+"
- ^zap step:2 script:cqstart1
- ^narrate "<red>Class Quest:<white> You have killed <flag.p:quest classone.asint>/10 zombies"
- ^if "<flag.p:quest classone>" > 9 runtask "script:questclassone"
else listen kill "ID:<player.name>_quest" "SCRIPT:cquestzombie" type:entity target:zombie qty:1