Date: 2015/11/17 20:43:07 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
ScriptName: EarthQuest
Type: assignment
interact scripts:
- 10 EarthQuestPart1
EarthQuestPart1:
type: interact
steps:
1:
click trigger:
script:
- chat "Greetings traveler, would you be willing to help me?"
chat trigger:
1:
trigger: /Yes/, I'd be happy to!
script:
- chat "Great thank you so much."
- wait 2
- chat "My name is Gaea, this is my World Tree, Toparite."
- wait 2
- chat "Recently I, as well as Toparite, have grown weak."
- wait 2
- chat "We need to gain our power back in order to preserve balance in the world."
- wait 2
- chat "I can give power back to Toparite with sapplings of other trees."
- wait 2
- chat "Please bring me 16 of each type of Sappling!"
- zap step:2
2:
trigger: /No/, I am too busy exploring.
script:
- chat "Well thanks anyway, please come back when you have the time."
2:
click trigger:
script:
- if <player.inventory.contains[SAPLING].qty[16]> && <player.inventory.contains[SAPLING:1].qty[16]> && <player.inventory.contains[SAPLING:2].qty[16]> && <player.inventory.contains[SAPLING:3].qty[16]> && <player.inventory.contains[SAPLING:4].qty[16]> && <player.inventory.contains[SAPLING:5].qty[16]> {
- ^take sapling qty:16
- ^take sapling:1 qty:16
- ^take sapling:2 qty:16
- ^take sapling:3 qty:16
- ^take sapling:4 qty:16
- ^take sapling:5 qty:16
- chat "You brought me all the sapplings! Thank you."
} else {
- chat "You don't have all the saplings yet!"
- wait 1
- chat "Remember, there are 6 different types of saplings."
- wait 1
- chat "Please come back when you have them all!"
}