Surface create_entity fast_replace simulation
Posted: Wed May 31, 2017 9:44 pm
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
How about it?
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
How about it?