Date: 2015/05/31 17:12:10 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
npcchat:
type: format
format: "<dark_gray><npc.name>: <white><text>"
Knight:
type: assignment
interact scripts:
- 10 StartingQuests
actions:
- announce "Questing ready!"
StartingQuests:
type: interact
steps:
1:
click trigger:
script:
- if <player.flag[TalkToKnight]> {
- narrate format:npcchat "!!!!"
- wait 1
- narrate format:npcchat "Oh you must be the new member our Guildmaster sent"
- wait 1
- narrate format:npcchat "Would you like to do an assignment?"
- wait 0.7
}
else {
- random 6
- narrate format:npcchat "Hello fellow adventurer!"
- narrate format:npcchat ".....Sometimes I wish I was a bird....."
- narrate format:npcchat "...Mhm, Yes it'll be done. Hello <player.name>, I didn't see you there."
- narrate format:npcchat "I shall forever help my Guildmaster!"
- narrate format:npcchat "The Guardians Guild serves you!"
- narrate format:npcchat "Talk to the Guildmaster if you want to take up assignments.
}
chat trigger:
1:
trigger: /Yes/, i'd like to do an assignment
script:
- narrate format:npcchat "Great!"
- wait 1
- narrate format:npcchat "We have 3 assignments: Zombie Outbreak!, Rising Dead! and Moving Cacti!"
- wait 0.7
- narrate "You can choose Zombie, Dead or Cacti"
- ^flag player CanQuest
chat trigger:
1:
trigger: I'll take the /Zombie/ Outbreak.
script:
- if <player.flag[CanQuest]> {
- narrate format:npcchat "Oooooo, You're going to be a ZHunter."
- wait 1
- narrate format:npcchat "There's been a Zombie Outbreak outside of the city."
- wait 1
- narrate format:npcchat "Talk to the Zombie Hunter next to the stables outside of the town."
- flag player TalkToZHunter
}
else {
- narrate format:npcchat "Sorry you can't quest right now.
}
2:
trigger: Lemme' at the Rising /Dead/.
script:
- if <player.flag[CanQuest]> {
- narrate format:npcchat "I see, so you're into graves."
- wait 1
- narrate format:npcchat "The dead have been popping up everywhere outside of the town."
- wait 1
- narrate format:npcchat "Talk to the Grave Digger to the left of the main entrance."
- flag player TalkToGDigger
}
else {
- narrate format:npcchat "Sorry you can't quest right now."
}
3:
trigger: Lets stop these Moving /Cacti/.
script:
- if <player.flag[CanQuest]> {
- narrate format:npcchat "So you like milk."
- wait 1
- narrate format:npcchat "We've had multiple sightings of moving cacti."
- wait 1
- narrate format:npcchat "Talk to the monk on the hill outside of town."
- flag player TalkToMonk
}
else {
- narrate format:npcchat "Sorry you can't quest right now."
}
2:
trigger: /No/, I'm too busy.
script:
- random 3
- narrate format:npcchat "Dont waste my time!"
- narrate format:npcchat "I see, Come back when you're ready."
- narrate format:npcchat "Darn, I needed your help."
- narrate "<yellow> You stop talking to the <white>Knight."