Date: 2015/10/30 20:26: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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# - flag ({player}/npc/global/<entity>) [<name>([<#>])](:<action>)[:<value>] (duration:<value>)
survival:
type: world
debug: false
events:
on player exits spawntower:
- flag <player> quest_1
- wait 1t
- define book i@written_book[book=author|<i@quest_0.book.author>|title|<i@quest_0.book.title>|pages|<i@quest_0.book.pages.include[<i@quest_1.book.pages>].replace[li@]>]
- run Open_Book def:<def[book]>
- give <def[book]>
- wait 45t
- if <player.has_flag[quest_1]> {
- foreach <player.location.find_path[l@-11572,72,3363,world].reverse> {
- showfake cake_block %value%
- wait 5t
}
}
on player enters googletower:
- flag <player.name> googletower
- wait 1s
- narrate "<&6>Bedazled_Bacon<&f>: Hello, <player.name>, welcome to Google Tower."
- wait 1s
- narrate "<&6>HeyItsWonka<&f>: We can help you find the office you are looking for."
- wait 1s
- narrate "<&6>Bedazled_Bacon<&f>: Which person or department are you here to see today?"
- wait 1s
- inventory open d:in@CUI_enterGoogleTower
on player enters fwizoffice:
- flag <player.name> fwizoffice
- wait 1s
- narrate "<&4>Fwiz<&f>: Hi, <player.name>, glad you could make it. I wish you had come sooner."
- wait 1s
- narrate "<&4>Fwiz<&f>: I respect your time so I will cut right to the chase."
- wait 1s
- narrate "<&4>Fwiz<&f>: We have lost contact with one of our researchers out in the field."
- wait 1s
- narrate "<&4>Fwiz<&f>: She hasn't checked in with us for 30 days."
- wait 1s
- narrate "<&4>Fwiz<&f>: We want you to go to her last known location and find out what is going on."
- wait 1s
- narrate "<&4>Fwiz<&f>: The project she is working on is Top Secret."
- wait 1s
- narrate "<&4>Fwiz<&f>: Take this airship pass and leave immediately."
- wait 1s
- narrate "<&4>Fwiz<&f>: Let me know when you arrive."
on player exits fwizoffice:
- narrate "<&4>Fwiz<&f>: Oh and one more thing, <player.name>, there are lots of strange things occuring the further you get away from home here. Things you haven't heard about on the news, so stay sharp."
on player enters opticjoffice:
- flag <player.name> opticjoffice
- wait 1t
- narrate "OpTicJ: Hi, <player.name>, thanks for coming to visit me at work!"
on player exits opticjoffice:
- narrate "OpTicJ: Be safe on your adventure, pal!"