Date: 2015/06/17 17:31:23 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
52
Historybookquest:
type: assignment
interact scripts:
- 10 Historybookstart
Historybookstart:
type: interact
steps:
1:
click trigger:
script:
- chat "<player.name>, have you seen my history textbook?"
- wait 1
- chat "I can't remember where I left it..."
- wait 1
- chat "Could you help me find it?"
- chat "(type 'yes' or 'no')"
chat trigger:
1:
trigger: /Yes/, I'll help you out.
script:
- chat "Oh thank you!"
- wait 1
- chat "I had it at the train station earlier...try looking there."
- zap step:2
2:
trigger: /No/, I'm too busy right now.
script:
- chat "Alright then. I'll just keep looking on my own."
2:
click trigger:
script:
- if <player.inventory.contains[i@HistoryBook].qty[1]> {
- chat "What a strange book! Clockworks? What rubbish!"
- wait 1
- chat "That's not my book though, keep it."
- wait 1
- chat "I'll just keep looking, thanks anyways!"
- give 264 qty:2
- zap step:3
} else {
- chat "Have you found my book yet?"
}
3:
click trigger:
script:
- chat "Oh hey, it's you! I found my book in the restroom."
- wait 1
- chat "What...I had the burritos last night"
- wait 2
- chat "...don't ask."