Items as "building blocks"?
Posted: Sat Mar 19, 2016 2:07 pm
Is there a way to use one item as the "building block" for multiple entities? Mining result of multiple entities can be one item, but one item capable of building multiple types of entities is not possible from what I see. /edit: should be a bit more clear; this question is for blueprints and construction robots more specificly. Unless they have an exact match, they won't comply. Being able to use some items as "building blocks", they may take those items and construct the entities with them instead. /edit
I noticed that a LuaEntityPrototype has something called as "items_to_place_this", and it returns a table of LuaItemPrototype's. So I assume multiple items can be used to construct one type of entity. What I seek is "opposite", though. One item that can be used to construct multiple types of entities. But seeing that LuaItemPrototype has "place_result" which is singular, I guess there is no way to achieve what I'd like to do?
I noticed that a LuaEntityPrototype has something called as "items_to_place_this", and it returns a table of LuaItemPrototype's. So I assume multiple items can be used to construct one type of entity. What I seek is "opposite", though. One item that can be used to construct multiple types of entities. But seeing that LuaItemPrototype has "place_result" which is singular, I guess there is no way to achieve what I'd like to do?