-
Notifications
You must be signed in to change notification settings - Fork 81
/
df.legends.xml
163 lines (137 loc) · 8.24 KB
/
df.legends.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
<data-definition>
<enum-type type-name='mission_type' base-type='int16_t'> bay12: MissionType
<enum-item name='NONE' value='-1'/>
<enum-item name='SUPPORT_THIEVES'/>
<enum-item name='KILL_ALL_AT_SITE'/>
</enum-type>
<struct-type type-name='invasion_info' original-name='plot_invasionst'
instance-vector='$global.plotinfo.invasions.list' key-field='id'>
<int32_t name='id'/>
<int32_t name='civ_id' ref-target='historical_entity'/>
<int32_t name='active_size1' comment='0 unless active'/>
<int32_t name='active_size2'/>
<int32_t name='size'/>
<int32_t name='duration_counter'/>
<bitfield base-type='uint16_t' name='flags'> bay12: PLOTFLAG_INVASION_*
<flag-bit name='active'/>
<flag-bit name='siege' comment='announced'/>
<flag-bit name='layer_source'/>
<flag-bit name='undead_source'/>
<flag-bit name='want_parley'/>
<flag-bit name='parley'/>
<flag-bit name='created_parley'/>
</bitfield>
<enum type-name='mission_type' name='mission'/>
<int32_t name='parley_year' since='v0.44.01'/>
<int32_t name='parley_season_count' since='v0.44.01'/>
<int32_t name='refused_demand_start_year' since='v0.44.01'/>
<int32_t name='refused_demand_start_season_count' since='v0.44.01'/>
<int32_t name='origin_master_army_controller_id' ref-target='army_controller' since='v0.44.01'/>
</struct-type>
<struct-type type-name='entity_population' key-field='id' instance-vector='$global.world.entity_populations' original-name='entity_populationst'>
<compound name='name' type-name='language_name'/>
<code-helper name='describe'>
(describe-obj $.name)
</code-helper>
<stl-vector name='races' type-name='int16_t' ref-target='creature_raw' comment="all the 3 vectors are always the same length, and thus coupled"/>
<stl-vector name='counts' type-name='int32_t'/>
<stl-vector name='population_cap' type-name='int32_t' init-value='-1' comment="Set only for cave civs. When set, >= counts. Pre first embark all those are equal"/>
<stl-vector name='gene_pool' pointer-type='gene_poolst'/>
<int32_t name='subregion_id' ref-target='world_region'/>
<int32_t name='layer_id' ref-target='world_underground_region'/>
<int32_t name='id'/>
<bitfield name='flags' base-type='uint32_t'> bay12: ENTITY_POPULATION_FLAG_*
<flag-bit name='all_local_links'/>
</bitfield>
<int32_t name='civ_id' ref-target='historical_entity'/>
</struct-type>
<enum-type type-name='nemesis_flags'> bay12: NemesisFlagType
<enum-item name='ACTIVE_ADVENTURER' comment='used when loading save. Swapping the player character via tactical mode disables this flag on the old player character and sets it for the new one.'/>
<enum-item/>
<enum-item name='ADVENTURER' comment='blue color and guided by forces unknown description in legends mode'/>
<enum-item name='TEMP_FLAG_ASSOCIATE_PEOPLE_TO_REALIZATION'/>
<enum-item name='BRAG_ON_KILL'/>
<enum-item name='KILL_QUEST'/>
<enum-item name='CHAT_WORTHY'/>
<enum-item name='FLASHES' comment='Causes the unit tile to flash between dark and light.'/>
<enum-item name='DO_NOT_CULL'/>
<enum-item name='HERO' comment='Set after assigning the Hero status during adventure mode character creation, produces the vanguard of destiny description in legends mode.'/>
<enum-item name='CHOSEN' comment='Set after assigning the Demigod status during adventure mode character creation, produces the divine parentage description in legends mode.'/>
<enum-item name='POTENTIAL_CIVILIZED_ACTOR'/>
<enum-item name='CHECK_FOR_POSITION_CLAIM'/>
<enum-item name='POTENTIAL_PLOTTER_ACTOR'/>
</enum-type>
<struct-type type-name='nemesis_record' key-field='id' instance-vector='$global.world.nemesis.all' original-name='nemesisst'>
<int32_t name='id' comment='sequential index in the array'/>
<int32_t name='unit_id' ref-target='unit'/>
<int32_t name='save_file_id' ref-target='unit_chunk' comment='unit-*.dat'/>
<int16_t name='member_idx' comment='index in the file'/>
<pointer name='figure' type-name='historical_figure'/>
<pointer name='unit' type-name='unit'/>
<code-helper name='describe'>
(describe-obj $.figure)
</code-helper>
<int32_t name='group_leader_id' ref-target='nemesis_record'/>
<stl-vector name='companions' type-name='int32_t' ref-target='nemesis_record'/>
<int16_t name='activeplotindex' init-value='-1'/>
<int32_t name='travel_link_nemid' ref-target='nemesis_record'/>
<int32_t name='ideal_item_container_id' init-value='-1'/>
<int32_t name='next_plot_year'/>
<int32_t name='next_plot_season_count'/>
<df-flagarray name='flags' index-enum='nemesis_flags'/>
</struct-type>
<enum-type type-name='artifact_flags'> bay12: ArtifactFlagType
<enum-item name='ART_REVEALED'/>
<enum-item name='LAST_SITE_PLACEMENT_WAS_BEING_LOST'/>
<enum-item name='LAST_GLOBALLY_KNOWN_LOCATION_WAS_BEING_LOST'/>
</enum-type>
<struct-type type-name='artifact_record' original-name='artifactst' key-field='id'
instance-vector='$global.world.artifacts.all'>
<int32_t name='id'/>
<code-helper name='describe'>
(describe-obj $.name)
</code-helper>
<compound name='name' type-name='language_name'/>
<df-flagarray name='flags' index-enum='artifact_flags'/>
<pointer name='item' type-name='item'/>
<int32_t name='abs_tile_x'/>
<int32_t name='abs_tile_y'/>
<int32_t name='abs_tile_z'/>
<int32_t name='last_local_bld_id' ref-target='building' since='v0.44.01'/>
<int32_t name='site' ref-target='world_site'/>
<int32_t name='structure_local' ref-target='abstract_building'/>
<int32_t name='site_building_profile' init-value='-1' since='v0.47.01'/>
<int32_t name='subregion' ref-target='world_region'/>
<int32_t name='feature_layer' ref-target='world_underground_region'/>
<int32_t name='owner_hf' ref-target='historical_figure' comment="namer/creator does not seem to require a claim to be shown"/>
<stl-vector name='remote_claims' type-name='int32_t' ref-target='historical_figure' since='v0.44.01' comment="all afar, heirloom from afar seen"/>
<stl-vector name='entity_claims' type-name='int32_t' ref-target='historical_entity' since='v0.44.01'/>
<stl-vector name='family_claims' type-name='int32_t' ref-target='historical_figure' since='v0.44.01'/>
<int32_t name='storage_site' ref-target='world_site' since='v0.44.01'/>
<int32_t name='storage_structure_local' ref-target='abstract_building' since='v0.44.01'/>
<int32_t name='loss_region' ref-target='world_region' since='v0.44.01'/>
<int32_t name='last_layer' ref-target='world_underground_region' since='v0.44.01'/>
<int32_t name='holder_hf' since='v0.44.01' ref-target='historical_figure' comment="doesn't seem to require a claim"/>
<int32_t name='year' since='v0.44.01' init-value='-1' comment="seems to be current year or -1"/>
<int32_t name='season_tick' since='v0.44.01' init-value='-1'/>
<int32_t name='temp_sort' init-value='0'/>
</struct-type>
<struct-type type-name='artifact_rumor_locationst'>
<pointer name='art' type-name='artifact_record'/>
<int32_t name='stid' init-value='-1' ref-target='world_site'/>
<int32_t name='abid' init-value='-1' ref-target='abstract_building'/>
<int32_t name='hfid' init-value='-1' ref-target='historical_figure'/>
<int32_t name='srid' init-value='-1' ref-target='world_region'/>
<int32_t name='flid' init-value='-1' ref-target='world_underground_region'/>
<int32_t name='latest_year' init-value='-1'/>
<int32_t name='latest_season_count' init-value='-1'/>
<uint32_t name='flag'/>
<pointer name='latest_wi' type-name='witness_incidentst'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->