Two Penguins
New member
I have changed up a few things wanting to make an iron bone shiv. please see below. Problem is that it can be made, but has no icon till in hand. no icon in bag or belt, just the quality band and that is it. but in hand it looks like the hunting knife, which is fine. I made it to be a mid ground between the bone and hunting. If you can look at files and tell me how can i get the icon to appear and not just the quality band at bottom. Again the icon appears when you equip it. Thank you all, you have been and are a wonderful help to me in my learning.
Chaplain
<recipe name="ironShiv" count="1">
<ingredient name="scrapIron" count="50"/>
<ingredient name="leather" count="2"/>
</recipe>
and here....
<item id="20" name="ironShiv">
<property name="Meshfile" value="Items/Weapons/Melee/Knives/hunting_knifePrefab"/>
<property name="Material" value="metal"/>
<property name="RepairTools" value="scrapIron"/>
<property name="EconomicValue" value="34"/>
<property name="SellableToTrader" value="false"/>
<property name="HoldType" value="36"/>
<property name="SoundJammed" value="ItemNeedsRepair"/>
<property name="SoundDestroy" value="wooddestroy1"/>
<property class="Action0"> <!-- AttackAction -->
<property name="Class" value="Melee"/>
<property name="Delay" value="1.2"/>
<property name="Range" value="2.2"/>
<property name="Sphere" value="0.1"/>
<property name="Sound_start" value="swoosh"/>
<property name="Stamina_usage" value="5"/>
<property name="DamageBonus.head" value="5"/>
<property name="DamageBonus.glass" value="1"/>
<property name="DamageBonus.leaves" value="25"/>
<property name="DamageBonus.organic" value="9"/>
<property name="ToolCategory.Butcher" value="0.85" param1="10"/>
<property name="Sound_harvesting" value="open_animal" param1="organic" /> <!-- Special harvest sound only plays if the target has ANY matching ToolCategory harvest.
Limit it by: if ( Sound_harvesting.param1 = TargetBlockOrEntity.material.surface_category ) -->
</property>
Thank You All Again,
Chaplain
Chaplain
<recipe name="ironShiv" count="1">
<ingredient name="scrapIron" count="50"/>
<ingredient name="leather" count="2"/>
</recipe>
and here....
<item id="20" name="ironShiv">
<property name="Meshfile" value="Items/Weapons/Melee/Knives/hunting_knifePrefab"/>
<property name="Material" value="metal"/>
<property name="RepairTools" value="scrapIron"/>
<property name="EconomicValue" value="34"/>
<property name="SellableToTrader" value="false"/>
<property name="HoldType" value="36"/>
<property name="SoundJammed" value="ItemNeedsRepair"/>
<property name="SoundDestroy" value="wooddestroy1"/>
<property class="Action0"> <!-- AttackAction -->
<property name="Class" value="Melee"/>
<property name="Delay" value="1.2"/>
<property name="Range" value="2.2"/>
<property name="Sphere" value="0.1"/>
<property name="Sound_start" value="swoosh"/>
<property name="Stamina_usage" value="5"/>
<property name="DamageBonus.head" value="5"/>
<property name="DamageBonus.glass" value="1"/>
<property name="DamageBonus.leaves" value="25"/>
<property name="DamageBonus.organic" value="9"/>
<property name="ToolCategory.Butcher" value="0.85" param1="10"/>
<property name="Sound_harvesting" value="open_animal" param1="organic" /> <!-- Special harvest sound only plays if the target has ANY matching ToolCategory harvest.
Limit it by: if ( Sound_harvesting.param1 = TargetBlockOrEntity.material.surface_category ) -->
</property>
Thank You All Again,
Chaplain