Date: 2018/08/18 11:56:36 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
Quest1:
type: assignment
interact script:
- 10 Quest1start
Quest1start:
type: interact
steps:
1:
click trigger:
script:
- chat "Hello <player.name>, I could use your help!"
- wait 1
- chat "Are you up for an adventure?"
chat trigger:
1:
trigger: /yes/, Ofcourse i am!
script:
- chat "Good! now i would like you to get me the book of Galia!
- wait 1
- chat "The book of Galia is found in a cave inside Mourgrav!"
- wait 1
- chat "becareful <player.name>, come back once you have it!"
- zap step:2
2:
trigger: /No/, Sorry im busy.
script:
- chat "Oh okay, come back whenever you have time.."
2:
click trigger:
script:
- if <player.inventory.contains[BOOK].qty[1]> {
- ^take book qty:1
- chat "Extrodinary! you acually found it! thanks a lot <player.name>!"
- give diamond qty:2
- zap step:3
} else {
- chat "Please return once you retrived the book!"
- wait 1
- narrate "<npc.name> frowns at you."
}
3:
click trigger:
script:
- chat "Thanks for your help!"