Date: 2014/02/11 15:31:59 UTC-08: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
KillQuestAssignement:
type: assignment
interact scripts:
- 10 KillQuest
KillQuest:
type: interact
steps:
1:
click trigger:
script:
- chat "Hey <player.name>!"
- wait 1
- chat "I Thank goodness your here."
- wait 1
- chat "I have a problem with zombies killing my cows at night!"
- wait 1
- chat "Think you could help?"
chat trigger:
1:
trigger: /Yes/, I'll take care of them.
script:
- chat "I need you to kill some zombies at my farm tonight."
- wait 1
- chat "Hurry before they kill all my cows!"
- zap step:2
- listen kill type:entity name:zombie qty:5 script:ZombieQuestTask
2:
trigger: /No/, I am busy.
script:
- chat "Oh, come back when you have the time, please."
2:
click trigger:
script:
- chat "Hurry up, my cows keep dying!!"
3: click trigger:
script:
- chat "Oh thank goodenss my cows are safe.."
- wait 1
- chat "Heres 100 Coins for your help."
- give money qty:100
- zap step:4
4:
click trigger:
script:
- chat "Thanks again for killing the"
ZombieQuestTask:
type: task
script:
- narrate "You've killed all the zombies! Return to the farmer!"
- zap step:3 script:KillQuest