-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdialogue example.xml2
382 lines (382 loc) · 18.8 KB
/
dialogue example.xml2
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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<dialogues>
<dialogue name="SINGULARITY_CAPTAIN">
<start>M1</start>
<message id="M1" text="Greeting my friend!">
<reply id="R2" text="Shit, I don't have time for this."></reply>
<reply id="R1" text="[ACTION]Hi. Who are you?" next="M2"></reply>
</message>
<message id="M2" text="My name is [NPC_NAME]. I am the station's captain.">
<reply id="R2" text="Uh huh, what ever..." any_condition="1">
<condition type="SHIP_COMBAT_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
</condition>
<condition type="SHIP_COMBAT_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
</condition>
<condition type="SHIP_SYSTEM_PRESENT">
<!-- Check_target_ship and check_shooter_ship are used only by events -->
<!-- that are triggered by ship projectiles on hit. -->
<!-- Available in all SHIP_... events. -->
<condition_param check_target_ship="1"></condition_param>
<condition_param check_shooter_ship="1"></condition_param>
<condition_param system_type="SHIELDS"></condition_param>
<condition_param system_model="SHIELDS1"></condition_param>
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param active_system="1"></condition_param>
<condition_param qty="1"></condition_param>
</condition>
<condition type="SHIP_SYSTEM_ABSENT">
<condition_param system_type="SHIELDS"></condition_param>
<condition_param system_model="SHIELDS1"></condition_param>
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param active_system="1"></condition_param>
<condition_param qty="1"></condition_param>
</condition>
<condition type="SHIP_CARGO_PRESENT">
<condition_param cargo_type="SHIP_SYSTEM"></condition_param>
<condition_param system_type="SHIELDS"></condition_param>
<condition_param system_model="SHIELDS1"></condition_param>
<condition_param target_player="0"></condition_param>
<condition_param qty="1"></condition_param>
</condition>
<condition type="SHIP_CARGO_ABSENT">
<condition_param cargo_type="SHIP_SYSTEM"></condition_param>
<condition_param system_type="SHIELDS"></condition_param>
<condition_param system_model="SHIELDS1"></condition_param>
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="1"></condition_param>
</condition>
<condition type="SHIP_SCRAP_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="100"></condition_param>
</condition>
<condition type="SHIP_SCRAP_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="500"></condition_param>
</condition>
<condition type="SHIP_HULL_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="10"></condition_param>
</condition>
<condition type="SHIP_HULL_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="13"></condition_param>
</condition>
<condition type="SHIP_SCRAP_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="100"></condition_param>
</condition>
<condition type="SHIP_SCRAP_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="200"></condition_param>
</condition>
<condition type="SHIP_MISSILES_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="10"></condition_param>
</condition>
<condition type="SHIP_MISSILES_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="15"></condition_param>
</condition>
<condition type="SHIP_DRONES_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="12"></condition_param>
</condition>
<condition type="SHIP_DRONES_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="16"></condition_param>
</condition>
<condition type="SHIP_LEVEL_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="6"></condition_param>
</condition>
<condition type="SHIP_LEVEL_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="8"></condition_param>
</condition>
<condition type="SHIP_POSITION_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param area_start="1000:5000"></condition_param>
<condition_param area_end="2000:6000"></condition_param>
</condition>
<condition type="SHIP_POSITION_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param area_start="1000:5000"></condition_param>
<condition_param area_end="2000:6000"></condition_param>
</condition>
<condition type="SHIP_SHIELDS_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="3"></condition_param>
</condition>
<condition type="SHIP_SHIELDS_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param qty="4"></condition_param>
</condition>
<condition type="SHIP_NAME_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param ship_name="BLACK PEARL"></condition_param>
</condition>
<condition type="SHIP_NAME_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param ship_name="WHITE PEARL"></condition_param>
</condition>
<condition type="SHIP_RACE_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param race="HUMAN"></condition_param>
</condition>
<condition type="SHIP_RACE_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param race="SPIDER"></condition_param>
</condition>
<condition type="SHIP_CLASS_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param ship_class="CRUISER"></condition_param>
</condition>
<condition type="SHIP_CLASS_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param ship_class="BATTLESHIP"></condition_param>
</condition>
<condition type="SHIP_AI_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param all_req="0"></condition_param>
<condition_param ai_type="SENTRY"></condition_param>
<condition_param ai_type="EXPLORER"></condition_param>
</condition>
<condition type="SHIP_AI_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param all_req="1"></condition_param>
<condition_param ai_type="SENTRY"></condition_param>
<condition_param ai_type="EXPLORER"></condition_param>
</condition>
<condition type="MOB_HEALTH_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param qty="500"></condition_param>
</condition>
<condition type="MOB_HEALTH_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param qty="1000"></condition_param>
</condition>
<condition type="MOB_NAME_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param mob_name="[PLAYER_NAME]"></condition_param>
<condition_param mob_name="[NPC_NAME]"></condition_param>
<condition_param mob_name="VAR(PIRATE_LEADER_NAME)"></condition_param>
<condition_param mob_name="Bob"></condition_param>
</condition>
<condition type="MOB_NAME_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param mob_name="[PLAYER_NAME]"></condition_param>
<condition_param mob_name="[NPC_NAME]"></condition_param>
<condition_param mob_name="VAR(PIRATE_LEADER_NAME)"></condition_param>
<condition_param mob_name="Frank"></condition_param>
</condition>
<condition type="MOB_SCRAP_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param qty="100"></condition_param>
</condition>
<condition type="MOB_SCRAP_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param qty="200"></condition_param>
</condition>
<condition type="MOB_OXYGEN_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param qty="1000"></condition_param>
</condition>
<condition type="MOB_OXYGEN_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param qty="2000"></condition_param>
</condition>
<condition type="MOB_RACE_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param race="HUMAN"></condition_param>
</condition>
<condition type="MOB_RACE_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param race="SPIDER"></condition_param>
</condition>
<condition type="MOB_AI_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_req="0"></condition_param>
<condition_param ai_type="NPC_REPAIRMAN"></condition_param>
<condition_param ai_type="NPC_FIREMAN"></condition_param>
<condition_param ai_type="NPC_WORKER"></condition_param>
</condition>
<condition type="MOB_AI_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_req="1"></condition_param>
<condition_param ai_type="NPC_REPAIRMAN"></condition_param>
<condition_param ai_type="NPC_FIREMAN"></condition_param>
<condition_param ai_type="NPC_WORKER"></condition_param>
</condition>
<condition type="SECTOR_AREA_PRESENT">
<condition_param threat_start="VAR(PIRATE_LANDS_START)"></condition_param>
<condition_param threat_end="VAR(PIRATE_LANDS_END)"></condition_param>
</condition>
<condition type="SECTOR_TYPE_PRESENT">
<condition_param sector_type="0"></condition_param>
<condition_param sector_type="1"></condition_param>
<condition_param sector_type="2"></condition_param>
<condition_param sector_type="3"></condition_param>
<condition_param sector_type="4"></condition_param>
</condition>
<condition type="SECTOR_TYPE_ABSENT">
<condition_param sector_type="0"></condition_param>
<condition_param sector_type="1"></condition_param>
<condition_param sector_type="2"></condition_param>
<condition_param sector_type="3"></condition_param>
<condition_param sector_type="4"></condition_param>
</condition>
<condition type="SECTOR_COORDS_PRESENT">
<condition_param coords="100:500"></condition_param>
<condition_param coords="100:501"></condition_param>
<condition_param coords="100:502"></condition_param>
<condition_param coords="VAR(PIRATE_BASE_SECTOR)"></condition_param>
<condition_param coords="VAR([SHIP_ID]_HOME_BASE_SECTOR)"></condition_param>
</condition>
<condition type="SECTOR_COORDS_ABSENT">
<condition_param coords="101:502"></condition_param>
<condition_param coords="100:501"></condition_param>
<condition_param coords="100:502"></condition_param>
<condition_param coords="VAR(PIRATE_BASE_SECTOR)"></condition_param>
</condition>
<condition type="SECTOR_AREA_PRESENT">
<condition_param area_start="VAR(PIRATE_LANDS_START)"></condition_param>
<condition_param area_end="VAR(PIRATE_LANDS_END)"></condition_param>
</condition>
<condition type="SECTOR_AREA_ABSENT">
<condition_param area_start="VAR(PIRATE_LANDS_START)"></condition_param>
<condition_param area_end="VAR(PIRATE_LANDS_END)"></condition_param>
</condition>
<condition type="SECTOR_SHIPS_PRESENT">
<condition_param ship_name="Falcon"></condition_param>
<condition_param owner="[PLAYER_NAME] [NPC_NAME] VAR(PIRATE_LEADER_NAME) Frank"></condition_param>
<condition_param crew="[PLAYER_NAME] [NPC_NAME] VAR(PIRATE_LEADER_NAME) Frank"></condition_param>
<condition_param race="HUMAN"></condition_param>
<condition_param ship_class="STATION"></condition_param>
<condition_param pos_area_start="200:3000"></condition_param>
<condition_param pos_area_end="500:4000"></condition_param>
<condition_param qty="1"></condition_param>
</condition>
<condition type="SECTOR_SHIPS_ABSENT">
<condition_param ship_name="Falcon"></condition_param>
<condition_param owner="[PLAYER_NAME] [NPC_NAME] VAR(PIRATE_LEADER_NAME) Frank"></condition_param>
<condition_param crew="[PLAYER_NAME] [NPC_NAME] VAR(PIRATE_LEADER_NAME) Frank"></condition_param>
<condition_param race="HUMAN"></condition_param>
<condition_param ship_class="STATION"></condition_param>
<condition_param pos_area_start="200:3000"></condition_param>
<condition_param pos_area_end="500:4000"></condition_param>
<condition_param qty="3"></condition_param>
</condition>
<condition type="SECTOR_NPCS_PRESENT">
<condition_param name="[PLAYER_NAME]"></condition_param>
<condition_param name="[NPC_NAME]"></condition_param>
<condition_param name="VAR(PIRATE_LEADER_NAME)"></condition_param>
<condition_param name="Frank"></condition_param>
<condition_param qty="4"></condition_param>
</condition>
<condition type="SECTOR_NPCS_ABSENT">
<condition_param name="[PLAYER_NAME]"></condition_param>
<condition_param name="[NPC_NAME]"></condition_param>
<condition_param name="VAR(PIRATE_LEADER_NAME)"></condition_param>
<condition_param name="Frank"></condition_param>
<condition_param qty="6"></condition_param>
</condition>
<condition type="SECTOR_PLAYERS_PRESENT">
<condition_param name="[NPC_NAME]"></condition_param>
<condition_param name="VAR(PIRATE_LEADER_NAME)"></condition_param>
<condition_param name="Frank"></condition_param>
<condition_param qty="1"></condition_param>
</condition>
<condition type="SECTOR_PLAYERS_ABSENT">
<condition_param name="[NPC_NAME]"></condition_param>
<condition_param name="VAR(PIRATE_LEADER_NAME)"></condition_param>
<condition_param name="Frank"></condition_param>
<condition_param qty="5"></condition_param>
</condition>
<condition type="SECTOR_THREAT_PRESENT">
<condition_param threat_start="0"></condition_param>
<condition_param threat_end="5"></condition_param>
</condition>
<condition type="SECTOR_THREAT_ABSENT">
<condition_param threat_start="0"></condition_param>
<condition_param threat_end="5"></condition_param>
</condition>
<condition type="SECTOR_DEBRIS_PRESENT">
<condition_param qty="10"></condition_param>
</condition>
<condition type="SECTOR_DEBRIS_ABSENT">
<condition_param qty="20"></condition_param>
</condition>
<condition type="SERVER_VARIABLE_PRESENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param var_name="[MOB_NAME] [MOB_ID] [SECTOR] JIM_DEAD"></condition_param>
<condition_param var_value="1"></condition_param>
<condition_param var_value="VAR([MOB_NAME]_ISDEAD)"></condition_param>
<condition_param any_value="1"></condition_param>
</condition>
<condition type="SERVER_VARIABLE_ABSENT">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param var_name="[SECTOR] RIOT_STARTED[MOB_NAME] [MOB_ID] [SECTOR] SAM_DEAD"></condition_param>
<condition_param var_value="HE IS"></condition_param>
<condition_param var_value="VAR([MOB_NAME]_ISDEAD)"></condition_param>
<condition_param any_value="1"></condition_param>
</condition>
<condition type="SERVER_VARIABLE_BIGGER">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param var_name="JUMPS_MADE_BY_[MOB_NAME]_[MOB_ID]_FROM_[SECTOR]"></condition_param>
<condition_param var_value="10"></condition_param>
<condition_param var_value="VAR(JUMPS_TILL_[MOB_NAME]_DIES)"></condition_param>
</condition>
<condition type="SERVER_VARIABLE_SMALLER">
<condition_param target_player="1"></condition_param> <condition_param all_mob_ships="1"></condition_param>
<condition_param var_name="[MOB_NAME] [MOB_ID] [SECTOR] ASTEROID SECTORS VISITED"></condition_param>
<condition_param var_value="10"></condition_param>
<condition_param var_value="VAR(JUMPS_TILL_[MOB_NAME]_DIES)"></condition_param>
</condition>
</reply>
<reply id="R1" text="[SKIP]Nice to meet you. I'm [PLAYER_NAME]" next="M3"></reply>
</message>
<message id="M3" text="[ACTION]Welcome aboard! There's a big asteroid at [SECTOR]">
<random_event>0</random_event>
<event id="SPAWN_A1" target="PLAYER"></event>
</message>
<message id="M41" text="[ACTION]Welcome aboard! There's a big asteroid at [SECTOR]">
<random_event>0</random_event>
<event id="SPAWN_A1" target="NPC"></event>
</message>
</dialogue>
</dialogues>