(Mini-mod) Edible clay, salt for food and etc.

Users who are viewing this thread

Oltopeteeh

Regular
The mini mod is suitable for all non-food products and makes them edible.

Because some products are really edible.
And the other part can be eaten by force, because of hunger.
Like sailors who got lost in the ocean, who cooked for a long time and carefully chewed leather garments :smile:


____
Source file (for the mod):
.../Modules/SandBoxCore/ModuleData/spitems/horses_and_others.xml
____

Example. Salt.

Original code
Code:
<Item id="salt"
        name="{=IK2IPJi1}Salt{@Plural}sacks of salt{\@}"
        mesh="merchandise_salt"
        item_category="salt"
        value="40"
        weight="10"
        Type="Goods">
    <Flags Civilian="true" />
  </Item>

add
IsFood="true"
and
Code:
    <ItemComponent>
      <Trade morale_bonus="2" />
    </ItemComponent>

Mod code
Code:
  <Item id="salt"
        name="{=IK2IPJi1}Salt{@Plural}sacks of salt{\@}"
        mesh="merchandise_salt"
        item_category="salt"
        IsFood="true"
        value="40"
        weight="10"
        Type="Goods">
    <ItemComponent>
      <Trade morale_bonus="2" />
    </ItemComponent>
    <Flags Civilian="true" />
  </Item>

___
Other options
___

Clay
Code:
<Item id="clay"
        name="{=Zwb65ufG}Clay{@Plural}loads of clay{\@}"
        mesh="merchandise_clay"
        item_category="clay"
        IsFood="true"
        value="20"
        weight="10"
        Type="Goods">
    <ItemComponent>
      <Trade morale_bonus="1" />
    </ItemComponent>
    <Flags Civilian="true" />
  </Item>

Flax
Code:
<Item id="flax"
        name="{=xsu6bPTv}Flax{@Plural}sacks of flax{\@}"
        mesh="merchandise_flax"
        item_category="flax"
        IsFood="true"
        value="15"
        weight="10"
        Type="Goods">
    <ItemComponent>
      <Trade morale_bonus="1" />
    </ItemComponent>
    <Flags Civilian="true" />
  </Item>
and etc.

===
P.S.: If you want, you can also make expensive spices edible... If you don't mind losing money on them :smile:
 
Back
Top Bottom