Make culture an element instead of an attribute

Users who are viewing this thread

Csatádi

Grandmaster Knight
An attribute can only have one value, so items with multiple cultures are only possible by multiplying the whole item entry, and insterting it on other names. So if I want an item to be available for Vlandia, Sturgia, Empire and Battania, there will be 4 separate items with the same stats, models etc., just because the culture is an attribute. That's a lot. When modders want to change some values, they need to edit all 4 items.

My WFAS mod uses cultures intensively, It was easy, but doing the same in Bannerlord would be a nightmare.
There will be overlapping cultures in many mods, for example when a team wants to make a European mod. They would want separate Spanish, French, English, etc. cultures, many items would be common in these regions, but Eastern European, or Islamic cultures would be other culture groups which would share some items with each other, too. That would mean insane amount of item entries.

So please, consider making the culture attribute to an element in case of items including smithing parts. It would be very important for many mods.
 
Example
From this
<Item id="mail_shirt"
name="{=GzgUzrFY}Mail Shirt"
mesh="armor_roman_mail_shirt"
culture="Culture.vlandia"
subtype="body_armor"
weight="7.5"
difficulty="0"
appearance="1.2"
Type="BodyArmor">
<ItemComponent>
<Armor body_armor="30"
leg_armor="13"
arm_armor="11"
covers_body="true"
modifier_group="chain"
material_type="Chainmail" />
</ItemComponent>
<Flags UseTeamColor="true" />
</Item>

Into this
<Item id="mail_shirt"
name="{=GzgUzrFY}Mail Shirt"
mesh="armor_roman_mail_shirt"
culture="Culture.vlandia"
subtype="body_armor"
weight="7.5"
difficulty="0"
appearance="1.2"
Type="BodyArmor">
<Culture>Culture.vlandia</Culture>
<Culture>Culture.empire</Culture>

<ItemComponent>
<Armor body_armor="30"
leg_armor="13"
arm_armor="11"
covers_body="true"
modifier_group="chain"
material_type="Chainmail" />
</ItemComponent>
<Flags UseTeamColor="true" />
</Item>
 
Back
Top Bottom