<!-- Spacemarine Helmets -->
<Item multiplayer_item="true" id="spacemarine_helmet" name="Spacemarine helmet" mesh="spacemarine_helmet" culture="Culture.imperium" subtype="head_armor" weight="5" difficulty="0" appearance="3.2" Type="headArmor">
<ItemComponent>
<Armor head_armor="100" covers_head="true" has_gender_variations="false" hair_cover_type="all" beard_cover_type="type1" modifier_group="plate" material_type="Plate" />
</ItemComponent>
<Flags />
</Item>
private void LoadFromXML(XmlDocument doc)
{
...
XmlAttributeCollection attributes = childNodes[i].Attributes;
if (attributes != null)
{
int weight = 1;
XmlAttribute xmlAttribute = attributes["weight"];
GameTextManager.ChoiceTag item = new GameTextManager.ChoiceTag(attributes["tag_name"].Value, weight);
list.Add(item);
}
...
}