Make an `item-entity` minable?

Place to get help with not working mods / modding interface.
Post Reply
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Make an `item-entity` minable?

Post by aubergine18 »

I'm trying to create a `raw-wood-on-ground` as an `item-entity` to allow `raw-wood` (an `item` with `place_result='raw-wood-on-ground'` setting) to be placed on the ground and mined in to `wood`.

However...

I'm not entirely sure that the custom `item-entity` called `raw-wood-on-ground` is being created, and furthermore, it seems that if it is being created it's not minable.

Has anyone done any experimentations with `item-entity` prototypes, and if so what did you find out about them?

EDIT: The reason I don't want to use a normal entity is that I'd like to retain the ability to pick up the logs (`F` key) should I decide not to mine them.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Make an `item-entity` minable?

Post by aubergine18 »

bump
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

Post Reply

Return to “Modding help”