-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathdf.identity.xml
More file actions
82 lines (65 loc) · 3.73 KB
/
df.identity.xml
File metadata and controls
82 lines (65 loc) · 3.73 KB
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
<data-definition>
<enum-type type-name='identity_type' original-name='identity_purpose_type' base-type='int32_t'> bay12: IdentityPurposeType
<enum-attr name='id_tag' comment='for identity.id'/>
<enum-item name='None' original-name='NONE' value='-1'>
<item-attr name='id_tag' value='histfig_id'/>
</enum-item>
<enum-item name='HidingCurse' original-name='HIDDEN_PREDATOR'>
<item-attr name='id_tag' value='histfig_id'/>
</enum-item>
<enum-item name='Impersonating' original-name='GOD_PRETENDER'>
<item-attr name='id_tag' value='histfig_id'/>
</enum-item>
<enum-item name='TrueName' original-name='TRUE_NAME' comment="E.g. of demonic overlords. Can be used by adventurers to gain sway over them">
<item-attr name='id_tag' value='histfig_id'/>
</enum-item>
<enum-item name='FalseIdentity' original-name='SCOUT_COVER'>
<item-attr name='id_tag' value='nemesis_id'/>
</enum-item>
<enum-item name='InfiltrationIdentity' original-name='IMPROMPTU_SITE_ID'>
<item-attr name='id_tag' value='histfig_id'/>
</enum-item>
<enum-item name='Identity' original-name='VILLAIN'>
<item-attr name='id_tag' value='histfig_id'/>
</enum-item>
</enum-type>
<struct-type type-name='identity' original-name='identityst'
instance-vector='$global.world.identities.all' key-field='id'>
dtor 0x8C17FA0
<int32_t name='id' original-name='global_id'/>
<compound type-name='language_name' name='name' comment="Not used when Impersonating"/>
<code-helper name='describe'>
(describe-obj $.name)
(awhen (find-creature $.race)
(fmt "~:(~A ~A~)" $it.caste[$.caste].caste_id $it.creature_id))
</code-helper>
<int32_t name='race' ref-target='creature_raw'/>
<int16_t name='caste' ref-target='caste_raw' aux-value='$$.race'/>
<int32_t name='impersonated_hf' original-name='fake_hfid' ref-target='historical_figure' comment="only when Impersonating"/>
<compound is-union='true' union-tag-attr='id_tag'> Toady apparently stores Nemesis IDs here too
<int32_t name='histfig_id' original-name='originator_hfid' ref-target='historical_figure'/>
<int32_t name='nemesis_id' ref-target='nemesis_record'/>
</compound>
<enum base-type='int32_t' type-name='identity_type' name='type' original-name='purpose'/>
<int32_t name='birth_year' original-name='fake_birth_year' comment='the fake one, that is'/>
<int32_t name='birth_second' original-name='fake_birth_season_count'/>
<int32_t name='belief_system' original-name='fake_belief_system_id' ref-target='belief_system'/>
<int32_t name='worship_hf' original-name='fake_worship_hfid' ref-target='historical_figure'/>
<enum type-name='religious_practice_type' name='fake_practice_type'/>
<int32_t name='fake_practice_id' init-value='-1'/>
<enum type-name='profession' name='profession' original-name='fake_unit'/>
<int32_t name='entity_id' original-name='fake_entity_id' ref-target='historical_entity'/>
<stl-vector pointer-type='entity_personal_reputation_profilest' name='entity_profile'/>
<stl-vector pointer-type='ci_personal_reputation_profilest' name='cultural_identity_profile'/>
</struct-type>
<struct-type type-name='identity_handlerst'>
<stl-vector pointer-type='identity' name='all' original-name='global'/>
<stl-vector pointer-type='identity' name='order_load' has-bad-pointers='true'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->