ZzzSmileYzzZ Posted May 20, 2018 Share Posted May 20, 2018 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 More sharing options...
SAMUELPV Posted May 20, 2018 Share Posted May 20, 2018 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 More sharing options...
ZzzSmileYzzZ Posted May 20, 2018 Author Share Posted May 20, 2018 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 More sharing options...
SAMUELPV Posted May 20, 2018 Share Posted May 20, 2018 I'm using the exact same code so it's not the issue. Cheers, So... post your code here or recipe.xml file so I can take a look Link to comment Share on other sites More sharing options...
ZzzSmileYzzZ Posted May 20, 2018 Author Share Posted May 20, 2018 <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 More sharing options...
ZzzSmileYzzZ Posted May 21, 2018 Author Share Posted May 21, 2018 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, Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.