Date: 2016/01/22 00:40:53 UTC-08: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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
#####################
# File for NPC Xoar #
#####################
##################################
# Assignment script for NPC Xoar #
##################################
NPC_Banker:
type: assignment
actions:
on assignment:
- run Assign_Triggers
- run Esteem_Responses
interact scripts:
- 1 NPC_Banker_Interact
############################
# Interact script for Xoar #
############################
NPC_Banker_Interact:
type: interact
steps:
1:
click trigger:
script:
- inject NPC_Banker_Greeting_Event
chat trigger:
1:
trigger: /Swine/
script:
- inject NPC_Banker_Rude_Event
2:
trigger: /Greedy pig/
script:
- inject NPC_Banker_Rude_Event
3:
trigger: /Hi/
script:
- inject NPC_Banker_Greeting_Event
4:
trigger: /Hello/
script:
- inject NPC_Banker_Greeting_Event
5:
trigger: /Hullo/
script:
- inject NPC_Banker_Greeting_Event
6:
trigger: /Sup/?
script:
- inject NPC_Banker_Greeting_Event
7:
trigger: /What's up/?
script:
- inject NPC_Banker_Greeting_Event
8:
trigger: /Greeting/s!
script:
- inject NPC_Banker_Greeting_Event
9:
trigger: /Who are you/?
script:
- inject NPC_Banker_Who_Event
10:
trigger: What's your /job/?
script:
- inject NPC_Banker_Who_Event
11:
trigger: What do you /work/ as?
script:
- inject NPC_Banker_Who_Event
12:
trigger: /What do you/?
script:
- inject NPC_Banker_Who_Event
13:
trigger: /How are you/ doing?
script:
- inject NPC_Banker_How_Event
14:
trigger: /How have you been/?
script:
- inject NPC_Banker_How_Event
15:
trigger: /How has it been/?
script:
- inject NPC_Banker_How_Event
16:
trigger: /How's life/?
script:
- inject NPC_Banker_How_Event
17:
trigger: /How has life been/?
script:
- inject NPC_Banker_How_Event
18:
trigger: /How is life/?
script:
- inject NPC_Banker_How_Event
19:
trigger: /credits/?
script:
- narrate format:Talk_Format "Credits: PlanetMinecraft user: Rakqoi http://www.planetminecraft.com/skin/rpg-skin-merchant/"
############################
# Task script for greeting #
############################
NPC_Banker_Greeting_Event:
type: task
script:
- if <proc[Esteem_Determine]> == "liked" {
- random {
- narrate format:Talk_Format "Good day sir! We can inveest your money into a money market mutual account....anddddd it's gone!"
- narrate format:Talk_Format "Great to see you! How may I help you today?"
- narrate format:Talk_Format "Great to see you <player.name>! Here to deposit your money I suppose?"
- narrate format:Talk_Format "Hello <player.name>, what brings you here today?"
- narrate format:Talk_Format "Oh hello <player.name>, I didn't know it was payday today!"
- narrate format:Talk_Format "Hello <player.name>! What may I help you with?"
}
}
else if <proc[Esteem_Determine]> == "neutral" {
- random {
- narrate format:Talk_Format "*Cough* sorry, about that....I've been having a bad cough since this morning."
- narrate format:Talk_Format "Hey, <player.name>, is it just me or does it smell like sulfur in here?"
- narrate format:Talk_Format "Hello <player.name>, are you here today to lose.. I man invest some money?"
- narrate format:Talk_Format "Good to see you <player.name>! How may I help you today?"
- narrate format:Talk_Format "Don't mind me asing, but does this place smell like sulfur to you? The stench has been here all morning!"
- narrate format:Talk_Format "Hello <player.name>. Sorry for the smell! I've already called for the plumber to look into the drainage at the back of the bank..."
}
}
else if <proc[Esteem_Determine]> == "disliked" {
- random {
- narrate format:Talk_Format "Hello again <player.name>! Unfornuately, your bank account was mysteriously frozen yesterday night for some reason..."
- narrate format:Talk_Format "Hello <player.name>, may I know when you're going to repay the debt you owe the bank?"
- narrate format:Talk_Format "May I help you?"
- narrate format:Talk_Format "Hello. Here to invest your money in the property market?"
- narrate format:Talk_Format "Hey <player.name>, where's the money you owe the bank?"
- narrate format:Talk_Format "Hey <player.name>, we invested your life-saving in stocks andddd it's gone."
}
}
######################################
# Task script for handling how event #
######################################
NPC_Banker_How_Event:
type: task
script:
- if <proc[Esteem_Determine]> == "liked" {
- random {
- narrate format:Talk_Format "I'm doing so good! Thank you!"
- narrate format:Talk_Format "Good! Good! A healthy bank account is a healthy person after all."
- narrate format:Talk_Format "Great! Unfornuately I can't the same about the bank account of others."
- narrate format:Talk_Format "I'm doing pretty well I guess. Maybe it would better if I had taken the money and ran!"
- narrate format:Talk_Format "Great! Great! Banking is the legalised form of stealing money after all!"
- narrate format:Talk_Format "I'm doing pretty well. Thanks for asking."
}
}
else if <proc[Esteem_Determine]> == "neutral" {
- random {
- narrate format:Talk_Format "I'm doing well...how about you?"
- narrate format:Talk_Format "I'm doing well! Thank you."
- narrate format:Talk_Format "Pretty good, my pocket lining is so full!"
- narrate format:Talk_Format "I'm doing really well, after all the root of all happiness is money!"
- narrate format:Talk_Format "It's going all fine and dandy!"
- narrate format:Talk_Format "Not so good, there's this sulfur smell plauging me for the entire morning!"
}
}
else if <proc[Esteem_Determine]> == "disliked" {
- random {
- narrate format:Talk_Format "About the same as the economy..."
- narrate format:Talk_Format "That's none of concern."
- narrate format:Talk_Format "Good good. Would you like to invest in our bank?"
- narrate format:Talk_Format "I'm sorry but I'm not allowed to tell bank customers.."
- narrate format:Talk_Format "It's fine."
- narrate format:Talk_Format "Doing well."
}
}
- ^run Esteem_Modify def:<npc.flag[modifyPolite]>
######################################
# Task script for handling who event #
######################################
NPC_Banker_Who_Event:
type: task
script:
- if <proc[Esteem_Determine]> == "liked" {
- random {
- narrate format:Talk_Format "I'm so sorry but the bank is rather strict on revealing who we are!"
- narrate format:Talk_Format "I'm sorry but I'm afraid I can't tell you!"
- narrate format:Talk_Format "I'm sorry but I cannot tell you."
- narrate format:Talk_Format "The bank does not permit me to reveal my identity"
- narrate format:Talk_Format "I'm afraid I can't do that"
- narrate format:Talk_Format "I'm sorry but I'm not allowed to do that."
}
}
else if <proc[Esteem_Determine]> == "neutral" {
- random {
- narrate format:Talk_Format "Who am I? Oh! That's a pretty obvious question isn't it?"
- narrate format:Talk_Format "Oh I'm a Banker!"
- narrate format:Talk_Format "Hi <player.name>, I'm a banker here!"
- narrate format:Talk_Format "I work as a banker here."
- narrate format:Talk_Format "I'm a banker....what where you expecting me to say?"
- narrate format:Talk_Format "Oh I'm just one of the many bankers here!"
}
}
else if <proc[Esteem_Determine]> == "disliked" {
- random {
- narrate format:Talk_Format "Oh I'm afraid I'm not allowed to disclose anything apart from the fact that I'm a banker!"
- narrate format:Talk_Format "I'm afraid I cannot tell you."
- narrate format:Talk_Format "I'm a Banker."
- narrate format:Talk_Format "I'm sorry I'm not allowed to disclose my identity"
- narrate format:Talk_Format "Unfornuately I cannot reveal who I am as that's agaisnt the bank's policy."
- narrate format:Talk_Format "I am a Banker here."
}
}
########################################
# Task script for handling rude events #
########################################
NPC_Banker_Rude_Event:
type: task
script:
- if <proc[Esteem_Determine]> == "liked" {
- random {
- narrate format:Talk_Format "Please show some respect towards the staff."
- narrate format:Talk_Format "Calm down please."
- narrate format:Talk_Format "Please stop this."
- narrate format:Talk_Format "Calm down."
- narrate format:Talk_Format "How dare you call me that!"
- narrate format:Talk_Format "Hey!"
}
}
else if <proc[Esteem_Determine]> == "neutral" {
- random {
- narrate format:Talk_Format "If you continue to do this, I'm going to have to call security."
- narrate format:Talk_Format "Pleae show some respect."
- narrate format:Talk_Format "I'm going to have to ask you to stop being so abusive."
- narrate format:Talk_Format "Please refrain from abusing me."
- narrate format:Talk_Format "If you continue I'm going to have to get seucrity to escort you out."
- narrate format:Talk_Format "Stop it please"
}
}
else if <proc[Esteem_Determine]> == "disliked" {
- random {
- narrate format:Talk_Format "I'm sorry but I'll have to call security to escort you out."
- narrate format:Talk_Format "Security will escort you out of here."
- narrate format:Talk_Format "I hope you know accidents CAN happen to your bank account."
- narrate format:Talk_Format "Security will escort you out now."
- narrate format:Talk_Format "Seucirty is here now."
- narrate format:Talk_Format "I hope you understand that accounts can be frozen without reason."
}
}
- ^run Esteem_Modify def:<npc.flag[modifyRude]>