Date: 2016/03/27 17:22:37 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
Waldo:
type: assignment
interact scripts:
- 10 WheresWaldo
WheresWaldo:
Type: interact
steps:
1.
proximity trigger:
entry:
script:
- chat: "Hello <player.name>, welcome to my shop! Would you like to see my wares?"
exit:
script:
- chat: "Goodbye!"
click trigger:
script:
- chat: No need to touch me, stranger... would you like to see what I have to sell?
chat trigger:
1.
trigger: /Yes/!
script:
- chat "Alright, would you like to see weapons or armor?"
- zap step:2
2:
trigger: /No/, thank you.
script:
- chat "That's fine, come back anytime!"
- zap step:1
2.
chat trigger:
1.
trigger: /Weapon/s please!
script:
- chat: "Sounds good! Take a look!"
- wait 1
- execute as_op "shop_page_open_weapons"
- zap s@Goodbye
2.
trigger: /Armor/ please!
script:
- chat: "Fantastic! Have a look-see!"
- wait 1
- execute as_op "shop_page_open_Armor"
- ^zap s@Goodbye
Goodbye:
type: task
script:
on player closes inventory:
- chat: "Do come again!"
- cooldown 20s s:s@WheresWaldo.cool_down<player>