Surface create_entity fast_replace simulation

Ideas that are too old (too many things have changed since) and ones which won't be implemented for certain reasons or if there are obviously better suggestions.

Moderator: ickputzdirwech

rtssmkn
Inserter
Inserter
Posts: 20
Joined: Sun May 22, 2016 10:36 am
Contact:

Surface create_entity fast_replace simulation

Post by rtssmkn »

It would be nice to have an additional parameter on Surface.create_entity that works in conjunction with fast_replace = true called no_item, which is also a boolean. When true, the fast replace will not yield an item, when false, which is the default, fast_replace will operate as normal.

The rationale behind this is that I am trying to speed up chest/container deconstruction in a mod and I need to preserve existing wirings and other stuff like filters and control logic conditions etc. The easiest and most efficient way to that will be to reuse the fast_replace mechanic already in place. This, however, will either drop an item onto the map or give the player an item, requiring me to add additional logic to the mod, whereas the simple parameter would free me from this terrible task of adding more logic to the mod :D

How about it?
StevilKnevil
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu May 25, 2017 8:03 pm
Contact:

Re: Surface create_entity fast_replace simulation

Post by StevilKnevil »

Might be better to post this here: viewforum.php?f=28 as that's the place for API change requests :)
rtssmkn
Inserter
Inserter
Posts: 20
Joined: Sun May 22, 2016 10:36 am
Contact:

Re: Surface create_entity fast_replace simulation

Post by rtssmkn »

Thanks for the hint, will do.
rtssmkn
Inserter
Inserter
Posts: 20
Joined: Sun May 22, 2016 10:36 am
Contact:

Re: Surface create_entity fast_replace simulation

Post by rtssmkn »

Moved to viewtopic.php?f=28&t=49015

So this can be closed/deleted...
Post Reply

Return to “Outdated/Not implemented”