-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathdf.divination_set.xml
37 lines (32 loc) · 2.01 KB
/
df.divination_set.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
<data-definition>
-- Unused: FortuneType
<enum-type type-name='divination_outcome_type' base-type='int32_t'> bay12: DivinationOutcomeType
<enum-item name='MediumBlessing'/>
<enum-item name='MinorBlessing'/>
<enum-item name='MediumCurse'/>
<enum-item name='MinorCurse'/>
<enum-item name='Fortune'/>
</enum-type>
<struct-type type-name='divination_set_roll' original-name='divination_outcomest'>
<stl-vector name='result' type-name='int32_t' ref-target='image_set' comment="When the divination die linked to the parent divination_set is rolled, the effect of this particular divination_set_roll will be carried out if the die lands on any of the values specified here."/>
<enum name='effect_type' type-name='divination_outcome_type'/>
<int32_t name='effect' comment="When effect_type is MediumBlessing, MinorBlessing, MediumCurse or MinorCurse, this is the ID of the interaction to be carried out (targeting the creature who rolled the divination die). When effect_type is Fortune, this determines which of the hardcoded divination fortune messages is to be displayed."/>
</struct-type>
<struct-type type-name='divination_set' original-name='divination_setst' instance-vector='$global.world.divination_sets.all' key-field='id'>
<int32_t name='id' comment="currently matches index into vector"/>
<int32_t name='deity_id' ref-target='historical_figure'/>
<int32_t name='owner_id' ref-target='historical_entity' comment="religion owning the set"/>
<stl-vector name='image_set_ids' type-name='int32_t' ref-target='image_set'/>
<stl-vector name='rolls' pointer-type='divination_set_roll'/>
</struct-type>
<struct-type type-name='divination_set_handlerst'>
<stl-vector name='all' pointer-type='divination_set'/>
<stl-vector name='order_load' pointer-type='divination_set' has-bad-pointers='true'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->