Date: 2017/07/09 04:08:13 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
DiamondsQuest:
type: assignment
interact scripts:
- 10 DiamondsQuest
DiamondsStart:
type: interact
steps:
1:
click trigger:
script:
- chat "Hello World"
- wait 1
- chat "My name is <npc.name>"
chat trigger:
1:
trigger: /Yes/, I will help you!
script:
- chat "Nice... Awesome!!! I need 10 Diamonds!!!"
- wait 1
- chat "Come back when you have them!!!"
- zap step:2
2.
trigger: /No/ I am too busy...
script:
- chat "Oh darn, come back if you want to have a donut..."
2:
click trigger:
script:
- if <player.inventory.contains[Diamond].qty[10]> {
- ^take diamond qty:10
- chat "OKAY I SEE YOU!!! You have the Diamonds"
- wait 1
- chat "Thank you so much"
- give DEAD_BUSH qty:10
- zap step:3
} else {
- chat "Oh, come back when you have DE DIAMONDS!!!"
- wait 1
- narrate "<npc.name> frowns at you..."
}
3.
click trigger:
script:
- chat "Thanks my dude!!!"
- wait 1
- chat "You are my only friend in the world!!!"