Here's the example:
1. There are multiple items which have a place-result of the same entity.
2. I shift-click to place ghost.
3. The item I have in my cursor is not used to build the ghost, only the first item in the LuaEntityPrototype.items_to_place_this is.
What I would like:
The item requested to be the item I have in my cursor. I do not care about the ghost being rebuilt* on destruction (which would require an entity having a stored item-prototype name and a ton of other changes for migration compatibility, etc). I do not care about blueprints (that's a would-be-nice). I do not care about reading/writing the item-to-place-this information anywhere, or having it come up in any event.
In the single-instance of shift-clicking, I would like the item from my cursor to be used to place the entity.
Specific mod example:
https://mods.factorio.com/mod/fill-storage-tanks
If I shift-click to hopefully have robots use the fill-[fluid.name]-storage-tank in cursor to place the entity, instead they want a storage-tank item.
In a generally related example of how this "item to use" behavior can't be changed, for surface.create_entity() I can specify only the inner-name of the ghost-entity, and not the item to build it. For my mod, if I *could* specify an item, I could destroy an existing ghost (which requests the wrong item) and instead a new ghost (which would use the right item). To be clear, this is not the behavior I would like to have implemented, but would be a nice work-around. All I would like is in the instance of shift-clicking, that the item in my cursor is used to place the entity, and not the first item in the items_to_place_this array of SimpleItemStack.
[0.18.19] robots disregard if using specific item to ghost-place (not quite a bug)
Moderator: ickputzdirwech
[0.18.19] robots disregard if using specific item to ghost-place (not quite a bug)
I have mods! I guess!
Link
Link
Re: [0.18.19] robots disregard if using specific item to ghost-place (not quite a bug)
Thanks for the report however that's not a bug. It works that way by design.
Moving to ideas and suggestions.
Moving to ideas and suggestions.
If you want to get ahold of me I'm almost always on Discord.

