-
Notifications
You must be signed in to change notification settings - Fork 81
/
df.interaction.xml
462 lines (408 loc) · 22.7 KB
/
df.interaction.xml
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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
<data-definition>
<enum-type type-name='interaction_flags'> bay12: InteractionFlagType
<enum-item name='GENERATED'/>
<enum-item name='EXPERIMENT_ONLY'/>
</enum-type>
<struct-type type-name='interaction'
instance-vector='$global.world.raws.interactions' key-field='id'
original-name='interactionst'>
<stl-string name="name"/>
<int32_t name="id"/>
<code-helper name='describe'>$.name</code-helper>
<stl-vector name="str" pointer-type='stl-string' comment='interaction raws'/>
<df-flagarray name='flags' index-enum='interaction_flags'/>
<stl-vector name="sources" pointer-type='interaction_source' comment='I_SOURCE'/>
<stl-vector name="targets" pointer-type='interaction_target' comment='I_TARGET'/>
<stl-vector name="effects" pointer-type='interaction_effect' comment='I_EFFECT'/>
<int32_t name='source_hfid' ref-target='historical_figure'/>
<int32_t name='source_enid' ref-target='historical_entity' since='v0.42.01'/>
</struct-type>
<enum-type type-name='interaction_effect_type' base-type='int16_t'> bay12: InteractionEffectType
<enum-item name='NONE' value='-1'/>
<enum-item name='ANIMATE'/>
<enum-item name='ADD_SYNDROME'/>
<enum-item name='RESURRECT'/>
<enum-item name='CLEAN'/>
<enum-item name='CONTACT'/>
<enum-item name='MATERIAL_EMISSION'/>
<enum-item name='HIDE'/>
<enum-item name='PROPEL_UNIT'/>
<enum-item name='SUMMON_UNIT'/>
<enum-item name='CHANGE_WEATHER'/>
<enum-item name='RAISE_GHOST'/>
<enum-item name='CREATE_ITEM'/>
<enum-item name='CHANGE_ITEM_QUALITY'/>
</enum-type>
<enum-type type-name='interaction_effect_location_hint' base-type='int32_t'> bay12: LocationHintType
<enum-item name='NONE' value='-1'/>
<enum-item name='IN_WATER'/>
<enum-item name='IN_MAGMA'/>
<enum-item name='NO_WATER'/>
<enum-item name='NO_MAGMA'/>
<enum-item name='NO_THICK_FOG'/>
<enum-item name='OUTSIDE'/>
</enum-type>
<enum-type type-name='intermittent_frequency_type' base-type='int32_t'> bay12: IntermittentFrequencyType
<enum-item name='NONE' value='-1'/>
<enum-item name='WEEKLY'/>
</enum-type>
<class-type type-name='interaction_effect' original-name='interaction_effectst'>
<int32_t name='index' comment='index of the effect within the parent interaction.effects'/>
<stl-vector name='targets' pointer-type='stl-string'/>
<stl-vector name='targets_index' type-name='int32_t' comment='for each target used in this effect, list the index of that target within the parent interaction.targets'/>
<enum name='intermittent' type-name='intermittent_frequency_type'/>
<stl-vector name='locations' type-name='interaction_effect_location_hint' comment='IE_LOCATION'/>
<bitfield name='flags' base-type='uint32_t'> bay12: INTERACTION_EFFECT_FLAG_*
<flag-bit name='IMMEDIATE' comment='IE_IMMEDIATE'/>
</bitfield>
<int32_t name='interaction_id' ref-target='interaction'/>
<stl-string name='arena_name' comment='IE_ARENA_NAME'/>
<virtual-methods>
<vmethod ret-type='interaction_effect_type' name='getType'/>
<vmethod name='write_file'> <pointer name='file' type-name='file_compressorst'/> </vmethod>
<vmethod name='read_file'>
<pointer name='file' type-name='file_compressorst'/>
<enum name='loadversion' type-name='save_version'/>
</vmethod>
<vmethod is-destructor='true'/>
<vmethod name='activateOnUnit'>
<pointer name='target' type-name='unit'/>
<pointer name='instance' type-name='interaction_instance'/>
<bool name='new_unit'/>
</vmethod>
<vmethod name='activateOnItem'><pointer name='target' type-name='item'/></vmethod>
<vmethod name='parseRaws' ret-type='bool'>
<pointer name='token' type-name='stl-string'/>
<pointer name='pos' type-name='int32_t'/>
<pointer name='curstr' type-name='stl-string'/>
<pointer name='context'/>
<bool name='allow_internal_tokens'/>
</vmethod>
<vmethod name='finalize'><int32_t name='idx'/></vmethod>
<vmethod name='applySyndromes' comment='init_material_information'/>
<vmethod name='activateOnHistfig'>
<pointer name='hf' type-name='historical_figure'/>
<pointer name='instance' type-name='interaction_instance'/>
<bool name='worldgen'/>
</vmethod>
<vmethod name='hasSyndrome' ret-type='bool'><pointer type-name='syndrome'/></vmethod>
</virtual-methods>
</class-type>
<struct-type type-name='creature_interactionst'>
<stl-vector name='syndrome' pointer-type='syndrome'/>
</struct-type>
<class-type type-name='interaction_effect_animatest' inherits-from='interaction_effect'>
<uint32_t name='spec_flags'/>
<compound name='creature_interaction' type-name='creature_interactionst'/>
</class-type>
<class-type type-name='interaction_effect_add_syndromest' inherits-from='interaction_effect'>
<uint32_t name='spec_flags'/>
<compound name='creature_interaction' type-name='creature_interactionst'/>
</class-type>
<class-type type-name='interaction_effect_resurrectst' inherits-from='interaction_effect'>
<uint32_t name='spec_flags'/>
<compound name='creature_interaction' type-name='creature_interactionst'/>
</class-type>
<class-type type-name='interaction_effect_cleanst' inherits-from='interaction_effect'>
<uint32_t name='spec_flags'/>
<int32_t name='grime_level' comment='IE_GRIME_LEVEL'/>
<bitfield name='syndrome_tag' type-name='syndrome_flags' comment='IE_SYNDROME_TAG'/>
</class-type>
<class-type type-name='interaction_effect_contactst' inherits-from='interaction_effect'>
<uint32_t name='spec_flags'/>
</class-type>
<class-type type-name='interaction_effect_material_emissionst' inherits-from='interaction_effect'>
<uint32_t name='spec_flags'/>
</class-type>
<class-type type-name='interaction_effect_hidest' inherits-from='interaction_effect'>
<uint32_t name='spec_flags'/>
</class-type>
<class-type type-name='interaction_effect_change_item_qualityst' inherits-from='interaction_effect'>
<int32_t name='quality_added' comment='IE_CHANGE_QUALITY'/>
<int32_t name='quality_set' comment='IE_SET_QUALITY'/>
</class-type>
<class-type type-name='interaction_effect_change_weatherst' inherits-from='interaction_effect'>
<uint32_t name='spec_flags'/>
<int16_t name='add_weather_flag'/>
<int16_t name='remove_weather_flag'/>
</class-type>
<class-type type-name='interaction_effect_raise_ghostst' inherits-from='interaction_effect'>
<uint32_t name='spec_flags'/>
<compound name='creature_interaction' type-name='creature_interactionst'/>
</class-type>
<class-type type-name='interaction_effect_create_itemst' inherits-from='interaction_effect'>
<enum name='item_type' type-name='item_type' base-type='int16_t' comment='IE_ITEM'/>
<int16_t name='item_subtype' comment='IE_ITEM'/>
<int16_t name='mat_type' comment='IE_ITEM'/>
<int32_t name='mat_index' init-value='-1' comment='IE_ITEM'/>
<int16_t name='probability' comment='IE_ITEM'/>
<int16_t name='quantity' comment='IE_ITEM'/>
<int32_t name='quality_min' comment='IE_ITEM_QUALITY'/>
<int32_t name='quality_max' comment='IE_ITEM_QUALITY'/>
<bitfield name='spec_flags' base-type='uint32_t'> bay12: INTERACTION_EFFECT_CREATE_ITEM_FLAG_*
<flag-bit name='named_artifact'/>
<flag-bit name='crafts'/>
</bitfield>
<stl-string name='item_str1'/>
<stl-string name='item_str2'/>
<stl-string name='mat_str1'/>
<stl-string name='mat_str2'/>
<stl-string name='mat_str3'/>
</class-type>
<class-type type-name='interaction_effect_propel_unitst' inherits-from='interaction_effect'>
<uint32_t name='spec_flags'/>
<int32_t name='propel_force' comment='IE_PROPEL_FORCE'/>
</class-type>
<class-type type-name='interaction_effect_summon_unitst' inherits-from='interaction_effect'>
<bitfield name='spec_flags' base-type='uint32_t'> bay12: INTERACTION_EFFECT_SUMMON_UNIT_FLAG_*
<flag-bit name='make_pet_if_possible'/>
</bitfield>
<stl-string name='race_str' comment='CREATURE'/>
<stl-string name='caste_str' comment='CREATURE'/>
<stl-vector name='races' type-name='int32_t' ref-target='creature_raw'/>
<stl-vector name='castes' type-name='int16_t'/>
<stl-vector type-name='int32_t' name='required_creature_flags' comment='contains indexes of flags in creature_raw_flags, IE_CREATURE_FLAG'/>
<stl-vector type-name='int32_t' name='forbidden_creature_flags' comment='contains indexes of flags in creature_raw_flags, IE_FORBIDDEN_CREATURE_FLAG'/>
<stl-vector type-name='int32_t' name='required_caste_flags' comment='contains indexes of flags in caste_raw_flags, IE_CREATURE_CASTE_FLAG'/>
<stl-vector type-name='int32_t' name='forbidden_caste_flags' comment='contains indexes of flags in caste_raw_flags, IE_FORBIDDEN_CREATURE_CASTE_FLAG'/>
<int32_t name='min_gait_speed' init-value='-1' comment='effortless gaits only'/>
<int32_t name='max_gait_speed' init-value='-1'/>
<int32_t name='time_range_min' comment='IE_TIME_RANGE'/>
<int32_t name='time_range_max' comment='IE_TIME_RANGE'/>
</class-type>
<enum-type type-name='interaction_source_type' base-type='int16_t'> bay12: InteractionSourceType
<enum-item name='REGION'/>
<enum-item name='SECRET'/>
<enum-item name='DISTURBANCE'/>
<enum-item name='DEITY'/>
<enum-item name='ATTACK'/>
<enum-item name='INGESTION'/>
<enum-item name='CREATURE_ACTION'/>
<enum-item name='UNDERGROUND_SPECIAL'/>
<enum-item name='EXPERIMENT'/>
</enum-type>
<class-type type-name='interaction_source' original-name='interaction_sourcest' key-field='id'>
<code-helper name='find-instance'>
(find-by-id $(find-instance $interaction $$).sources $id $)
</code-helper>
<int32_t name='id'/>
<int32_t name='frequency' comment='IS_FREQUENCY'/>
<stl-string name='name' comment='IS_NAME'/>
<stl-string name='hist_string_1' comment='IS_HIST_STRING_1'/>
<stl-string name='hist_string_2' comment='IS_HIST_STRING_2'/>
<stl-string name='trigger_string_second' comment='IS_TRIGGER_STRING_SECOND'/>
<stl-string name='trigger_string_third' comment='IS_TRIGGER_STRING_THIRD'/>
<stl-string name='trigger_string' comment='IS_TRIGGER_STRING'/>
<virtual-methods>
<vmethod ret-type='interaction_source_type' name='getType'/>
<vmethod name='write_file'> <pointer name='file' type-name='file_compressorst'/> </vmethod>
<vmethod name='read_file'>
<pointer name='file' type-name='file_compressorst'/>
<enum name='loadversion' type-name='save_version'/>
</vmethod>
<vmethod is-destructor='true'/>
<vmethod name='parseRaws' ret-type='bool'>
<pointer name='token' type-name='stl-string'/>
<pointer name='pos' type-name='int32_t'/>
<pointer name='curstr' type-name='stl-string'/>
<pointer name='context'/>
<bool name='allow_internal_tokens'/>
</vmethod>
<vmethod name='finalize'><int32_t name='idx'/></vmethod>
<vmethod name='subregion_match' ret-type='bool'><pointer name='sr' type-name='world_region'/></vmethod>
<vmethod name='sphere_match_all' ret-type='bool'><pointer name='spheres'><stl-vector><enum type-name='sphere_type' base-type='int16_t'/></stl-vector></pointer></vmethod>
</virtual-methods>
</class-type>
<class-type type-name='interaction_source_regionst' inherits-from='interaction_source'>
<bitfield name='region_flags' base-type='uint32_t'> bay12: INTERACTION_SOURCE_REGION_FLAG_*
<flag-bit name='NORMAL_ALLOWED'/>
<flag-bit name='EVIL_ALLOWED'/>
<flag-bit name='GOOD_ALLOWED'/>
<flag-bit name='SAVAGE_ALLOWED'/>
<flag-bit name='EVIL_ONLY'/>
<flag-bit name='GOOD_ONLY'/>
<flag-bit name='SAVAGE_ONLY'/>
</bitfield>
<static-array name='regions' type-name='int8_t' count='10' index-enum='world_region_type'/>
</class-type>
<class-type type-name='interaction_source_secretst' inherits-from='interaction_source'>
<bitfield name='learn_flags' base-type='uint32_t'> bay12: IS_SECRET_FLAG_*
<flag-bit name='SUPERNATURAL_LEARNING_POSSIBLE'/>
<flag-bit name='MUNDANE_RESEARCH_POSSIBLE'/>
<flag-bit name='MUNDANE_RECORDING_POSSIBLE'/>
<flag-bit name='MUNDANE_TEACHING_POSSIBLE'/>
</bitfield>
<stl-vector name='spheres' type-name='sphere_type'/>
<stl-vector name='goals' type-name='goal_type'/>
<stl-string name='book_title_filename'/>
<stl-string name='book_name_filename'/>
<int32_t name='book_title_idx'/>
<int32_t name='book_name_idx'/>
</class-type>
<class-type type-name='interaction_source_disturbancest' inherits-from='interaction_source'>
<uint32_t name='spec_flags'/>
</class-type>
<enum-type type-name='interaction_source_usage_hint' base-type='int32_t'> bay12: UsageHintType
<enum-item name='MAJOR_CURSE'/>
<enum-item name='GREETING'/>
<enum-item name='CLEAN_SELF'/>
<enum-item name='CLEAN_FRIEND'/>
<enum-item name='ATTACK'/>
<enum-item name='FLEEING'/>
<enum-item name='NEGATIVE_SOCIAL_RESPONSE'/>
<enum-item name='TORMENT'/>
<enum-item name='DEFEND'/>
<enum-item name='MEDIUM_CURSE'/>
<enum-item name='MINOR_CURSE'/>
<enum-item name='MEDIUM_BLESSING'/>
<enum-item name='MINOR_BLESSING'/>
</enum-type>
<class-type type-name='interaction_source_deityst' inherits-from='interaction_source'>
<uint32_t name='spec_flags'/>
<stl-vector name='usage_hint' type-name='interaction_source_usage_hint' comment='IS_USAGE_HINT'/>
</class-type>
<class-type type-name='interaction_source_attackst' inherits-from='interaction_source'>
<uint32_t name='spec_flags'/>
</class-type>
<class-type type-name='interaction_source_ingestionst' inherits-from='interaction_source'>
<uint32_t name='spec_flags'/>
</class-type>
<class-type type-name='interaction_source_creature_actionst' inherits-from='interaction_source'>
<uint32_t name='spec_flags'/>
</class-type>
<class-type type-name='interaction_source_underground_specialst' inherits-from='interaction_source'/>
<class-type type-name='interaction_source_experimentst' inherits-from='interaction_source'>
<uint32_t name='spec_flags'/>
</class-type>
<enum-type type-name='interaction_target_type' base-type='int16_t'> bay12: InteractionTargetType
<enum-item name='CORPSE'/>
<enum-item name='CREATURE'/>
<enum-item name='MATERIAL'/>
<enum-item name='LOCATION'/>
</enum-type>
<enum-type type-name='interaction_target_location_type' base-type='int32_t'> bay12: TargetLocationType
<enum-item name='CONTEXT_NONE' value='-1'/>
<enum-item name='CONTEXT_REGION'/>
<enum-item name='CONTEXT_CREATURE'/>
<enum-item name='CONTEXT_ITEM'/>
<enum-item name='CONTEXT_BP'/>
<enum-item name='CONTEXT_LOCATION'/>
<enum-item name='CONTEXT_CREATURE_OR_LOCATION'/>
<enum-item name='RANDOM_NEARBY_LOCATION'/>
</enum-type>
<class-type type-name='interaction_target' original-name='interaction_targetst'>
<int32_t name='index'/>
<stl-string name='name'/>
<stl-string name='manual_input' comment='IT_MANUAL_INPUT'/>
<enum name='location' type-name='interaction_target_location_type' comment='IT_LOCATION'/>
<stl-string name='reference_name' comment='IT_LOCATION:RANDOM_NEARBY_LOCATION'/>
<int32_t name='reference_distance' comment='IT_LOCATION:RANDOM_NEARBY_LOCATION'/>
<virtual-methods>
<vmethod ret-type='interaction_target_type' name='getType'/>
<vmethod name='write_file'> <pointer name='file' type-name='file_compressorst'/> </vmethod>
<vmethod name='read_file'>
<pointer name='file' type-name='file_compressorst'/>
<enum name='loadversion' type-name='save_version'/>
</vmethod>
<vmethod is-destructor='true'/>
<vmethod name='parseRaws' ret-type='bool'>
<pointer name='token' type-name='stl-string'/>
<pointer name='pos' type-name='int32_t'/>
<pointer name='curstr' type-name='stl-string'/>
<pointer name='context'/>
<bool name='allow_internal_tokens'/>
</vmethod>
<vmethod name='finalize'><int32_t name='idx'/></vmethod>
<vmethod name='affects_body_component' ret-type='bool'><pointer name='bodypart' type-name='item_body_component'/><pointer name='interaction' type-name='interaction'/></vmethod>
<vmethod name='affects_unit' ret-type='bool'><int32_t/><pointer name='interaction' type-name='interaction'/></vmethod>
<vmethod name='affects_histfig' ret-type='bool'>
<pointer name='histfig' type-name='historical_figure'/>
<pointer name='interaction' type-name='interaction'/>
</vmethod>
<vmethod name='affects_race' ret-type='bool'><int32_t name='race'/><int16_t name='Caste'/></vmethod>
</virtual-methods>
</class-type>
<struct-type type-name='interaction_target_info' original-name='interaction_target_creature_informationst'>
<static-array name='affected_creature_str' count='2'><stl-vector pointer-type='stl-string'/></static-array>
<stl-vector name='affected_creature' type-name='int32_t' comment='IT_AFFECTED_CREATURE'/>
<stl-vector name='affected_class' pointer-type='stl-string' comment='IT_AFFECTED_CLASS'/>
<static-array name='immune_creature_str' count='2'><stl-vector pointer-type='stl-string'/></static-array>
<stl-vector name='immune_creature' type-name='int32_t' comment='IT_IMMUNE_CREATURE'/>
<stl-vector name='immune_class' pointer-type='stl-string' comment='IT_IMMUNE_CLASS'/>
<stl-vector name='forbidden_syndrome_class' pointer-type='stl-string'/>
<bitfield name='required_property' type-name='cie_add_tag_mask2'/>
<bitfield name='required_flag' type-name='cie_add_tag_mask1'/>
<bitfield name='forbidden_property' type-name='cie_add_tag_mask2'/>
<bitfield name='forbidden_flag' type-name='cie_add_tag_mask1'/>
<bitfield name='restrictions' base-type='uint32_t'> bay12: ITCI_FLAG_*
<flag-bit name='CANNOT_TARGET_IF_ALREADY_AFFECTED' comment='CHECK_FOR_EXISTING_SYNDROME'/>
</bitfield>
</struct-type>
<class-type type-name='interaction_target_corpsest' inherits-from='interaction_target'>
<compound name='target_info' type-name='interaction_target_info'/>
</class-type>
<class-type type-name='interaction_target_creaturest' inherits-from='interaction_target'>
<compound name='target_info' type-name='interaction_target_info'/>
</class-type>
<enum-type type-name='breath_attack_type' base-type='int16_t'> bay12: BreathAttackType
<enum-item name='TRAILING_DUST_FLOW'/>
<enum-item name='TRAILING_VAPOR_FLOW'/>
<enum-item name='TRAILING_GAS_FLOW'/>
<enum-item name='SOLID_GLOB'/>
<enum-item name='LIQUID_GLOB'/>
<enum-item name='UNDIRECTED_GAS'/>
<enum-item name='UNDIRECTED_VAPOR'/>
<enum-item name='UNDIRECTED_DUST'/>
<enum-item name='WEB_SPRAY'/>
<enum-item name='DRAGONFIRE'/>
<enum-item name='FIREJET'/>
<enum-item name='FIREBALL'/>
<enum-item name='WEATHER_CREEPING_GAS'/>
<enum-item name='WEATHER_CREEPING_VAPOR'/>
<enum-item name='WEATHER_CREEPING_DUST'/>
<enum-item name='WEATHER_FALLING_MATERIAL'/>
<enum-item name='SPATTER_POWDER'/>
<enum-item name='SPATTER_LIQUID'/>
<enum-item name='UNDIRECTED_ITEM_CLOUD'/>
<enum-item name='TRAILING_ITEM_FLOW'/>
<enum-item name='SHARP_ROCK'/>
other: root around in, lick, head-bump, scratch, tusk, retract into shell, roll into a ball
often [CDI:CAN_BE_MUTUAL] but not always
<enum-item name='OTHER'/>
</enum-type>
<class-type type-name='interaction_target_materialst' inherits-from='interaction_target'>
<static-array name='material_str' type-name='stl-string' count='3'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int32_t name='mat_index'/>
<enum name='mat_state' type-name='matter_state'/>
<enum type-name='breath_attack_type' name='breath_attack_type'/>
<bitfield name='restrictions' base-type='uint32_t'> bay12: INTERACTION_TARGET_MATERIAL_FLAG_*
<flag-bit name='CONTEXT_MATERIAL'/>
</bitfield>
</class-type>
<class-type type-name='interaction_target_locationst' inherits-from='interaction_target'/>
<struct-type type-name='interaction_target_instance_listst'>
<stl-vector name='gen_ref' pointer-type='general_ref'/>
<bitfield name='flags' base-type='uint32_t'> bay12: ITIL_FLAG_*
<flag-bit name='needs_manual_input'/>
</bitfield>
</struct-type>
<struct-type type-name='interaction_instance' original-name='interaction_instancest' instance-vector='$global.world.interaction_instances.all' key-field='id'>
<int32_t name='id'/>
<int32_t name='interaction_id' ref-target='interaction'/>
<compound name='source_context'> bay12: interaction_instance_contextst
<enum name='type' base-type='int32_t'> bay12: IIContextType
<enum-item name='NONE' value='-1'/>
<enum-item name='SUBREGION'/>
</enum>
<int32_t name='region_index' comment='presumably matches the type above'/>
</compound>
<stl-vector name='affected_units' type-name='int32_t' ref-target='unit' comment='IDs of units affected by the regional interaction'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->