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

Farming changes

wolfbain5

Well-known member
<recipe name="foodSteakAndPotato" count="1" craft_area="campfire" craft_tool="toolCookingGrill" tags="perkMasterChef,learnable">
<ingredient name="foodRawMeat" count="5"/>
<ingredient name="foodCropPotato" count="2"/>
<ingredient name="foodCropMushrooms" count="2"/>
<ingredient name="resourceAnimalFat" count="1"/>
<effect_group>
<passive_effect name="CraftingIngredientCount" level="1,3" operation="base_add" value="-1,-2" tags="foodRawMeat"/>
</effect_group>
</recipe>



Code:
<recipe name="plantedPumpkin1" count="1" craft_time="1" tags="perkLivingOffTheLand,learnable">
	<ingredient name="foodCropPumpkin" count="5"/>
	<effect_group>
		<passive_effect name="CraftingIngredientCount" level="3" operation="base_add" value="-1" tags="foodCropPumpkin"/>
	</effect_group>
</recipe>

using the food recipe as a basis, do you think this could work for farming?

tho I am not sure if I will also need progression edits

 
Last edited by a moderator:
thank you bdubyah

<append xpath="/recipes/recipe[starts-with(@name, 'planted')]/@tags">,perkLivingOffTheLandCrafting</append>

<append xpath="/recipes/recipe[@name='plantedPumpkin1']">
<effect_group>
<passive_effect name="CraftingIngredientCount" level="1,2,3" operation="base_add" value="0,0,-1" tags="foodCropPumpkin"/>
</effect_group>
</append>


this works well and can be applied to all crops

 
Back
Top