Date: 2014/01/02 10:11:48 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
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
Starter:
type: assignment
Interact scripts:
- 10 Welcome
- 10 TalkToPriest
- 10 Crystal2
actions:
on assignment:
- TRIGGER name:click state:true
- TRIGGER name:chat state:true
Welcome:
type: interact
steps:
1:
click trigger:
script:
- chat "Welcome To the World of Archan Choose the Quest you want"
- chat "Your Choices are"
- chat "<&f>Talk To Quests Priest, Warrior, or Mage"
- chat "<&B>Hunter-Get the Magic Crystal"
- zap 2 duration:10
2:
Chat trigger:
1:
trigger: I to go talk to the /Priest/
script:
- chat "Ok he's in the church across the path"
- run TalkToPriest
2:
trigger: I want to go talk to the /Warrior/
script:
- chat "Ok he's most likely fighting or in the inn"
- run TalkToWarrior
3:
trigger: I want to go talk to the /Mage/
script:
- chat "Ok if you can find his tower send him my respects"
- run TalkToMage
4:
trigger: I want to go /hunt/ing
script:
- chat "Ok go kill 10 cows, 5 pigs, and 5 zombies"
- run Hunter
5:
trigger: I want to go get the magic /crystal/
script:
- chat "Ok i will teleport you to the house overrun by enemies you will have to battle your way through to the chest containing the crystal"
- run script Crystal
6:
trigger: /No/ i don't want to go on a quest
script:
- zap 1
- chat "Ok come back later if you want a quest"
Crystal:
type: task
script:
- teleport <player> l@-5,64,146,Moirae
- narrate "<&3>You get Teleported to room"
- run step Crystal2
Crystal2:
type: interact
script:
- if diamond = 1 {
- take diamond qty:1
- give player money 100
- narrate "You have gotten the crystal"
- chat "Thanks for helping come back tommorow to redo quest"
- run Come Again Tommorow
- run script WaitADay
} else {
- chat "<&b>Your Not Done!"
}
WaitADay:
type: task
script:
- wait 86400
- zap Starter