• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Recipe don't get remove

ZzzSmileYzzZ

New member
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,

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

Like this:

Code:
<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>
 
Recipes in Forge use material_based="true" to works.
Like this:

Code:
<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,

 
Code:
<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>
Code:
<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,

 
N/M Found the issue, I was using the same item id for both macheteBlade and weedCleaverBlade, the game was in conflict with both. Using the weedCleaverBlade as desc and the macheteBlade as recipe.

Cheers,

 
Back
Top