

- #1.13.2 inventory tweaks mod
- #1.13.2 inventory tweaks upgrade
- #1.13.2 inventory tweaks software
- #1.13.2 inventory tweaks code
In a 200 chest torture test it went from 8 use time down to 1.5.

Output per side is basically double 2 per cycle, so 12 items a second or ~yellow belt throughput.
#1.13.2 inventory tweaks mod
refactored most of the mod to focus on performance and slowed the output rate down a hair (6 times a second vs 10). Some chests in 1.0.0 might lose their entry in the master list and need to be replaced.ĭug in the world of lua optimization.
#1.13.2 inventory tweaks upgrade
Should upgrade from 1.0.0 if anyone is using it. Instead of filtered search I am now just getting whatever is on the tile and looking through my known list of types my chest can work with and see what it is: I could also slow the chests down from ~compressed redbelt speed to yellow belt speed and reduce the load further. In first pass on performance I have 50% improvement 200 chests went from 8-9 to 4ish. While it was throttled to not do the tile search every tick I am refactoring that now.
#1.13.2 inventory tweaks code
Maybe as a first test change the code so it only looks north for input and only south for output and place a few dozen chests along with belts, etc and observe the timing of your mod. It's unlikely that they change every tick, so the more complex work might be worth the effort. You seem to use LuaSurface:find_entities_filtered up to 24 times per chest per tick (12 times for getInputBelts, 12 times for getOutputBelts) in the worst case, i guess you could save a lot of time if you do this in the various events related to placing/mining/rotating/dying entities and save them along with the InterfaceChests in global. Input/Output is per side and each side can send/receive a compressed blue belt of materials.Ĭonsumes 3kw idle, 100kw per output side, and 50k per input side for yellow belt input/output.Ĭhoumiko wrote:Without having used it, i can maybe give some hints: Trash can will eat items belted into it and clear anything in it's inventory every few seconds. Trash can added to advanced material process with it's own item and cheaper recipe. When next to a straight piece of rail it can also detect stopped cars/tanks and refill all their input slots + trunk. If you now run belts into or out of the interface chest it will try to place or pull items it receives from belts into or pull out of the external inventory. If you place it next to a wagon, locomotive, or any logistic chest it will pair with it. Works with all speed belts, underground, and splitters.

If you run a belt out of the chest it will place items on it. If you run a belt into with items it will suck them up. current recipe is 2 processing units, 4 red belt, 4 fast inserter, and a steel chest. The mod adds an "Interface Chest" at advanced circuits.
#1.13.2 inventory tweaks software
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, IN NO EVENT SHALL THEĪUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,įITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR The above copyright notice and this permission notice shall be included in allĬopies or substantial portions of the Software. To use, copy, modify, merge, publish, distribute, sublicense, and/or sellĬopies of the Software, and to permit persons to whom the Software isįurnished to do so, subject to the following conditions: In the Software without restriction, including without limitation the rights

Of this software and associated documentation files (the "Software"), to deal Permission is hereby granted, free of charge, to any person obtaining a copy
