dfhack/library/xml/df.raws.xml

238 lines
7.2 KiB
XML

<data-definition>
<struct-type type-name='world_raws'>
-- Materials
<stl-vector name='material_templates'>
<pointer type-name='material_template'/>
</stl-vector>
-- Inorganic
<stl-vector name='inorganics'>
<pointer type-name='material_inorganic'/>
</stl-vector>
<stl-vector name='inorganics_subset'>
<pointer type-name='material_inorganic'/>
</stl-vector>
-- Plants
<compound name='plants'>
dtor 852cc20
<stl-vector name='all'>
<pointer type-name='material_plant'/>
</stl-vector>
<stl-vector name='bushes'>
<pointer type-name='material_plant'/>
</stl-vector>
<stl-vector name='bushes_idx' index-refers-to='$$._parent.bushes[$]'>
<int32_t ref-target='material_plant'/>
</stl-vector>
<stl-vector name='trees'>
<pointer type-name='material_plant'/>
</stl-vector>
<stl-vector name='trees_idx' index-refers-to='$$._parent.trees[$]'>
<int32_t ref-target='material_plant'/>
</stl-vector>
<stl-vector name='grasses'>
<pointer type-name='material_plant'/>
</stl-vector>
<stl-vector name='grasses_idx' index-refers-to='$$._parent.grasses[$]'>
<int32_t ref-target='material_plant'/>
</stl-vector>
</compound>
-- Creature RAWs
<stl-vector name='tissue_templates' type-name='pointer'/>
dtor 89bab50
<stl-vector name='misc_templates' type-name='pointer'/>
dtor 8527e40
<stl-vector name='body_templates' type-name='pointer'/>
<stl-vector name='part_name_pairs'>
<pointer key-field='id'>
<stl-string name='id'/>
<stl-string name='human_singular'/>
<stl-string name='animal_singular'/>
<stl-string name='human_plural'/>
<stl-string name='animal_plural'/>
</pointer>
</stl-vector>
dtor 89ba980
<stl-vector name='mutant_templates' type-name='pointer'/>
-- Creatures
<compound name='creatures'>
dtor 81448c0
<stl-vector name='alphabetic'>
<pointer type-name='creature_raw'/>
</stl-vector>
<stl-vector name='all'>
<pointer type-name='creature_raw'/>
</stl-vector>
<int32_t name='unk1'/>
<stl-vector name='list_creature' type-name='int32_t'
comment='Together with list_caste, a list of all caste indexes in order.'/>
<stl-vector name='list_caste' type-name='int32_t'/>
</compound>
-- Item RAWs
<compound name='itemdefs'>
dtor 852e080
<stl-vector name='all'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='weapons'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='trapcomps'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='toys'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='tools'>
<pointer type-name='itemdef'/>
</stl-vector>
<static-array name='tools_by_type' count='14'>
<stl-vector>
<pointer type-name='itemdef'/>
</stl-vector>
</static-array>
<stl-vector name='instruments'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='armor'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='ammo'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='siege_ammo'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='gloves'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='shoes'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='shields'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='helms'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='pants'>
<pointer type-name='itemdef'/>
</stl-vector>
<stl-vector name='food'>
<pointer type-name='itemdef'/>
</stl-vector>
</compound>
-- Sapient species
<stl-vector name='species'>
<pointer/>
</stl-vector>
-- Language RAWs
dtor 852bc90
<stl-vector name='language_words'>
<pointer type-name='language_word'/>
</stl-vector>
<stl-vector name='language_symbols'>
<pointer type-name='language_symbol'/>
</stl-vector>
<stl-vector name='translations'>
<pointer type-name='language_translation'/>
</stl-vector>
<static-array name='unknown_54c88' count='2'>
<static-array count='58'>
<static-array count='12'>
<stl-vector type-name='int32_t'/>
</static-array>
</static-array>
</static-array>
-- Words
<stl-vector name='color_words'>
<pointer key-field='id'>
<stl-string name="id"/>
<stl-vector name="unk_1c"/>
<stl-vector name="unk_2c"/>
<stl-string name="name"/>
<int16_t name="unk_58"/>
<s-float name="unk_5c"/>
<s-float name="unk_60"/>
<s-float name="unk_64"/>
</pointer>
</stl-vector>
<stl-vector name='shape_words'>
<pointer key-field='id'>
<stl-string name="id"/>
<stl-vector name="unk_1c"/>
<stl-vector name="unk_2c"/>
<stl-string name="name"/>
<stl-string name="name_plural"/>
<stl-vector name="unk_74"/>
<int8_t name="unk_84"/>
</pointer>
</stl-vector>
<stl-vector name='all_color_words' type-name='pointer'/>
-- Reaction RAWs
<stl-vector name='reactions'>
<pointer/>
</stl-vector>
-- Workshops
<compound name='buildings'>
<stl-vector name='all'>
<pointer type-name='building_def'/>
</stl-vector>
<stl-vector name='workshops'>
<pointer type-name='building_def'/>
</stl-vector>
<stl-vector name='furnaces'>
<pointer type-name='building_def'/>
</stl-vector>
<int32_t name='unk3'/>
</compound>
-- Material index
<compound name='mat_table' type-name='special_mat_table'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->