Jump to content
bbh_blocked_dnftl

Smelting help


Recommended Posts

I'm trying to find out how to modify the forge's smelting process. For example one raw iron gets smelted into five iron whereas one raw lead gets smelted into one lead. My problem lies within the amount of bullets automatic weapons go through so I'm trying to modify raw lead being smelted into five lead so as to lessen the burden of mining lead to keep weapons fed. I've looked in attempt to make the mod myself but I'm hitting a wall, please help.

Link to comment
Share on other sites

Get an XML editor. BBEdit for Mac and Notepad++ for Windows. Navigate to your Config folder in you 7DTD directory. Open the "recipes.xml" in you fancy new editor. Near the top (Line 59) of the file you should see:

 

<recipe name="resourceScrapLead" count="[color="#FF0000"]1[/color]" tooltip="ttScrapMetalLead" always_unlocked="true">
<wildcard_forge_category />
</recipe>

 

You'll want to change the red colored number in position 41 above and that will get you more scrap lead in the smelter. Then in order to not make a game-breaking infinite item generation loop or drain you'll need to adjust the following code (Line 96 Position 41) to counteract the change.

 

<recipe name="resourceScrapLead" count="1" craft_area="forge" material_based="true" craft_time="1" craft_exp_gain="0" always_unlocked="true">
<ingredient name="unit_lead" count="[color="#FF0000"]1[/color]"/>
</recipe>

 

Make sure these two numbers are the same and are whole positive integers only (the game doesn't like decimals in recipes and it will crash). If the first one is bigger you'll create an infinite loop for generating lead. If the second one is bigger you'll have diminishing returns (which is technically more immersive but when you're killing zombies you can only handle so much immersion).

 

There are other changes you can make too such as changing the resourceBulletTip recipe to require much less lead. I did this. I got to thinking about it: Bullet tips weigh grams. Lead typically is weighed in Pounds/Kilos. So it would make more sense to get 100+ resourceBulletTip per scrap lead. I can walk you through how to do this too if you'd like. Its all going to be part of my mod which should be live within the week too. PM me if you want a full scale tutorial.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...