Date: 2014/01/06 23:31:27 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
"StartDungeon":
type: assignment
interact scripts:
- 10 MewStar
Actions:
on assignment:
- trigger name:click toggle:true
MewStar:
type: interact
steps:
1:
click trigger:
script:
- chat "<yellow>Hello <white><player.name>."
- wait 1
- chat "<yellow>Here to enter the <red>Fel Horn Dungeon<yellow>? I hope you brought friends."
- wait 1
- chat "<yellow>I also suggest you have all diamond aromor too!"
- wait 1
- chat "<yellow>Oh, also to get in I need 1 Mew Star to grant you passage."
- wait 1
- chat "<yellow>Do you wish to enter?"
- chat "<white>Yes <GREEN>or <white>No<GREEN>."
chat trigger:
1:
trigger: /Yes/, I'm ready!
- wait 1
- zap step:2
2:
trigger: /No/, I changed my mind.
script:
- chat "<yellow>Fear not. I don't have the courage to enter either!"
- wait 1
- narrate "<npc.name> nods."
2:
click trigger:
script:
- if <player.inventory.contains[MewNetherStar].qty[1]> {
- chat "<yellow>Ok. Hold on I will use the power of the star to get you inside!"
- wait 1
- narrate "<white><npc.name><yellow> ignites the star..."
- wait 1
- teleport <player> location:-4117,87,4,MewsPlace3
} else {
- chat "<yellow>I'm sorry <white><player.name>. <yellow>You need to bring me a <gold>Mew Star<gold> to gain passage."
- wait 1
- narrate "<npc.name> cries for you."
}