Multiple items when breaking entity

Place to get help with not working mods / modding interface.
keeper317
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Dec 01, 2024 6:13 pm
Contact:

Multiple items when breaking entity

Post by keeper317 »

I am trying to have 1 entity give 2 items when broken.

Currently I have the code as

Code: Select all

entity.mineable = {mining_time=0.1, results={{type="item",name="item1 name", amount=1},{type="item",name="item2 name", amount=1}}}
but is setting a different item as the mineable result instead.
Post Reply

Return to “Modding help”