Hi guys,
I just started modding, and i want to add a fruit-tree type of entity to the game. Mining this tree type should give you both raw wood and the fruit item.
I have added my entity to the game, but cannot find out if (and how) i can have mining one tree give you multiple items
is this at all possible? if so, how can i do this?
Thanks in advance!
Ghosrath
minable result with multiple items
Re: minable result with multiple items
minable property:
Code: Select all
minable =
{
mining_particle = "wooden-particle",
mining_time = 1,
results =
{
{type="item", name="raw-wood", amount=5},
{type="item", name="fruit", amount=1},
},
},
Last edited by L0771 on Mon Dec 15, 2014 5:17 pm, edited 1 time in total.
-
- Filter Inserter
- Posts: 310
- Joined: Fri Nov 07, 2014 3:46 am
- Contact:
Re: minable result with multiple items
Not understanding modding very well, why did you have mining_time twice?
Re: minable result with multiple items
Chose oneLordFedora wrote:Not understanding modding very well, why did you have mining_time twice?
- Sleppy
- Wrote in the post
- I'm special
Thanks for the correction