Date: 2015/10/18 15:23:54 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
#################################
#
# NPC that wanders the caves of Mines. Think M'aiq the liar.
#
# LAST:
# Carisus (2015/10/18) - initial creation of script
#
#################################
zephane_assignment:
Type: assignment
actions:
on assignment:
- trigger name:proximity state:true radius:10
interact scripts:
- 0 zephane_interact
zephane_interact:
Type: interact
Steps:
1:
proximity trigger:
entry:
script:
- if <player.has_flag[Zephane_timeout]> queue clear
- if <player.has_flag[mineboss_sentfrom_mike]> {
- random {
- narrate format:chat2 "Maybe Zephane should go tell MineBoss he has seen <player.name>?"
- narrate format:chat2 "Why hasn't <player.name> gone to see MineBoss like Mike says? Zephane does not know."
- narrate format:chat2 "Why does <player.name> wander caves like Zephane? Does he not know where Mineboss is?"
- narrate format:chat2 "Does <player.name> not like Mike?"
- narrate format:chat2 "Zephane must tell Mike <player.name> doesn't listen well."
}
} else if <player.has_flag[mineboss_seen]> && ( <player.has_flag[forman_ralf_work]> || <player.has_flag[forman_ralf_problem] ) {
- random {
- narrate format:chat2 "<player.name> has seen MineBoss, but not Forman Ralf. Zephane does not know why."
- narrate format:chat2 "Forman Ralf is in Mine 1. Zephane is sure of this."
- narrate format:chat2 "Zephane knows where to find Forman Ralf, why does <player.name> not know?"
- narrate format:chat2 "Mine 1. That is where Forman Ralf is. Not here with Zephane."
}
} else {
- random {
- narrate format:chat2 "Zephane does not know <player.name>"
- narrate format:chat2 "Why does <player.name> not go looking for the Wild Man hiding in the upper forest? Zephane does not know."
- narrate format:chat2 "Zephane knows all the secrets. And never tells <player.name>."
- narrate format:chat2 "<player.name> should be kind to the spiders. They are Zephanes friends."
- narrate format:chat2 "There is no such thing as a dog park. Zephane knows this to be true."
}
}
- flag player Zephane_timeout duration:5s