Jump to content

Open Community  ·  102 members

7 Days To Die

Mod Request: Faster Smelting in forges


slothix

Recommended Posts

Hi there.

If a kind soul could possibly make forges smelt faster, that'd be really awesome.
It'd probably be a good idea to make variations. Like, 50% 75% 25% instant. People have different opinions.

Thank you in advance.

Link to comment
Share on other sites

  • 1 month later...

As far as we know from vanilla xml files, there is not a global timer that affects all items when you craft them.

 

Each item has its own crafting time. You could modify all items in the game with this property and reduce it by 25% 50% or 75%. You just need to modify the property "CraftingIngredientTime" in those.

 

Example for an empty jar:

 

Vanilla content in items.xml:

<item name="drinkJarEmpty">
	...
	<property name="CraftingIngredientTime" value="9"/>
	...
</item>

XPath example to reduce by 50%:

<set xpath="/items/item[@name='drinkJarEmpty']/property[@name='CraftingIngredientTime']/@value">4.5</set>

I think decimals are valid. If not, just stick to integer numbers.

Edited by Turbero
Link to comment
Share on other sites

  • 3 months later...

I know this is an old thread, but in case anyone else needs this I got this from a video tutorial by a guy named Buggi from the official 7 Days To Die forums. In the Youtube video description he linked some example mods and this was part of one of them. So if you use it please make sure you give him credit for his work because it's just the right and respectful thing to do.

 

Here is a link to his video and there are a lot of other handy mod examples you can download in the links in the description. Worth looking at, you might just learn something.

 

https://www.youtube.com/watch?time_continue=1463&v=wtVfBjUlSN4

<MeltTimes>
	<append xpath="/items/item[@name='resourceRockSmall']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>
	<append xpath="/items/item[@name='resourceScrapBrass']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>
	<append xpath="/items/item[@name='resourceScrapLead']">
		<property name="MeltTimePerUnit" value="0.03"/>
	</append>
	<append xpath="/items/item[@name='resourceScrapIron']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>
	<append xpath="/items/item[@name='resourceIronFragment']">
		<property name="MeltTimePerUnit" value="0.02"/>
	</append>
	<append xpath="/items/item[@name='resourceBrokenGlass']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>
	<append xpath="/items/item[@name='resourceClayLump']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>
	<append xpath="/items/item[@name='resourceCrushedSand']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>	
	<append xpath="/items/item[@name='resourceCandleStick']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>	
	<append xpath="/items/item[@name='resourceDoorKnob']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>
	<append xpath="/items/item[@name='resourceRadiator']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>
	<append xpath="/items/item[@name='resourceTrophy1']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>
	<append xpath="/items/item[@name='resourceTrophy2']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>
	<append xpath="/items/item[@name='toolAnvil']">
		<property name="MeltTimePerUnit" value="0.01"/>
	</append>
	<append xpath="/items/item[@name='toolAndDieSet']">
		<property name="MeltTimePerUnit" value="0.05"/>
	</append>	
	<set xpath="/items/item[@name='unit_iron']/property[@name='MeltTimePerUnit']/@value">0.01</set>
</MeltTimes>
Edited by Lucifer2166
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...