Jump to content

Recipe don't get remove


ZzzSmileYzzZ

Recommended Posts

I decide to add the weedCleaver from Valmod into my mod, so I decide to use the macheteBlade recipe for the blade of the Cleaver. When I did, it work fine, so decide to make some change in the recipe again by changing the require material for it. unit_iron 200 to 100 and unit_clay 40 to 20 and using the anvil instead of the forgeCrucible. Then I load the game to see the change. The modify recipe require 100 iron and 20 clay and anvil appear in the forge and works fine but the recipes of the first cleaver blade I made(200 iron - 40 clay and forgeCrucible) is still there, even if it's not in the recipes file anymore. I've been trying to figure out what happen and try many time to remove the cleaver using the forgeCrucible but no succes. I try replacing the file with an old version that don't have the cleaver at all in it and still the cleaver blade recipe still in the forge when I load a new game. Then though the file get corrupt so I remake the entire file of the recipe.xml but still no success, the recipe remain into the forge.

 

Anyone encounter a similar situation and manage to fix it?

 

Cheers,

Link to comment
Share on other sites

Recipes in Forge use material_based="true" to works.

 

Like this:

 

<recipe name="weedCleaver" count="1" craft_area="forge" craft_tool="anvil" [b][color="#FFFF00"]material_based="true"[/color][/b]>
<ingredient name="unit_iron" count="100"/>
<ingredient name="unit_clay" count="20"/>
</recipe>

Link to comment
Share on other sites

Recipes in Forge use material_based="true" to works.

 

Like this:

 

<recipe name="weedCleaver" count="1" craft_area="forge" craft_tool="anvil" [b][color="#FFFF00"]material_based="true"[/color][/b]>
<ingredient name="unit_iron" count="100"/>
<ingredient name="unit_clay" count="20"/>
</recipe>

 

I'm using the exact same code so it's not the issue.

 

Cheers,

Link to comment
Share on other sites

<recipe name="weedCleaverBlade" count="1" craft_area="forge" craft_tool="anvil" material_based="true">
<ingredient name="unit_iron" count="100"/>
<ingredient name="unit_clay" count="20"/>
</recipe>

 

<item id="1358" name="weedCleaverBlade">
<property name="CustomIcon" value="weedCleaver"/>
<property name="CustomIconTint" value="a0a0ff"/>
<property name="Meshfile" value="Items/Misc/sackPrefab"/>
<property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab"/>
<property name="Material" value="metal"/>
<property name="HoldType" value="45"/>
<property name="Stacknumber" value="50"/>
<property name="EconomicValue" value="150"/>
<property name="Group" value="Resources,Ammo/Weapons"/>
<property name="CraftingSkillGroup" value="craftSkillTools"/>
</item>

 

Cheers,

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...