Space Engineers

Space Engineers

219 ratings
AI Logistics Automation - Alpha 0.3.1
4
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Production
File Size
Posted
Updated
1.518 MB
16 May, 2023 @ 3:41pm
9 Sep, 2024 @ 10:11am
53 Change Notes ( view )

Subscribe to download
AI Logistics Automation - Alpha 0.3.1

Description
Description
This mod adds blocks that allow you to configure Inventory Management and Production Queues without the need for scripts.

Complete information
I set up a wiki and a discord to keep discussions, roadmap information and bug reporting.
https://www.wikiful.com/@ogrimdooh/ogrimdooh-se-mods/ai-logistics-automation
https://discord.gg/rTd2P6pbEu

How to use
AI Inventory Manager
This block is responsible for organizing and stocking inventory items. To use this block just add one to your main grid, it will only work if there is only one of it in the grid, if you put more than one all will stop to work.
The block will start working after define the dump containers, all block behavior can be set accessing the terminal, so first it is necessary to access block terminal and define the dump containers, just choose from the list and activate it.

AI Refinery Controller
This block is responsible for sorting ore in the refineries. To use this block just add one to your main grid, it will only work with one AI Inventory Manager in the same grid and if there is only one of it in the grid, if you put more than one all will stop to work.
The block will start working after define the first ore priority, just select from the filter options and added to the prioritized ones, is possible to select and move up, move down and remove if wanted.
Ps.: No need to add all ore types to the list, only the ones that you want to take priority in refine.

AI Assembler Controller
This block is responsible to keep stock using assemblers to build components. To use this block just add one to your main grid, it will only work with one AI Inventory Manager in the same grid and if there is only one of it in the grid, if you put more than one all will stop to work.
The block will start work after define the first meta produce type or id.

AI Ignore Map
This block is responsible for storing all ignore blocks from a grid (large and small). To use this block just add one to your sub-grids or not main grids, it will only work with no AI Inventory Manager in the same grid and if there is only one of it in the grid, if you put more than one all will stop to work.
The block will start working after define the first ignore block.

AI Quota Map
This block is responsible for storing all quota config from a grid (large and small). To use this block just add one to your sub-grids or not main grids, it will only work with no AI Inventory Manager in the same grid and if there is only one of it in the grid, if you put more than one all will stop to work.
The block will start working after define the first quota definition.

Power Cost
To avoid abuse of the block, and to enable its use on servers, each operation has an energy cost.

+ 10W per grid inventory not ignored (functional blocks not included).
+ 25W per inventory configured to pull.
+ 2.5W per filter configured.
+ 25W if sort itens enabled.
+ 15W per sub-function enabled.

Road Map
For this mod it is planned to build 1 more blocks:
AI Display Monitor: Can display data from others blocks into LCDs.

Multiplayer & Dedicated Servers
The block works fine on dedicated servers and in cooperative multiplayer, it still has some desync issues but only on the client side, but I added a button to force synchronization in the terminal on the client side.

Want to Support me
https://ko-fi.com/ogrimdooh

This workshop item cannot be redistributed without explicit permission.
This item is not authorized for posting on Steam, except under the Steam account named ogrimdooh
147 Comments
Gohei 15 hours ago 
any way to assign a connector that ai inventory wont pull from?
ogrimdooh  [author] 6 May @ 2:26pm 
@Digi: Thx man, i will do a fix! \o/
Digi 30 Apr @ 2:52pm 
Just so you know, the AILogisticsAutomationLogging.Close() is never called which prevents the world from being deleted until game is closed.
Mr. Pestbird 5 Feb @ 10:53am 
wow. this mod is awesome! thx!
Dark_453 22 Oct, 2024 @ 12:45am 
This looks amazing something the game has sorly needed for a very very long time. more so with influx of new players who may or maynot wanna mess with scripts
Wob 20 Oct, 2024 @ 3:30pm 
Ye ye assumed that, more suggesting that information on the block would be helpful. Quota seems to have some issues, only the first quota ever seems to be full filled.
Nill 18 Oct, 2024 @ 4:54pm 
This mod makes the assemblers to co-work? Like, put one recipe using shift + scroll and all the available assemblers will work for the same recipe. If no, this feature can be added? Surely will be a hand in the wheel. TY
ogrimdooh  [author] 18 Oct, 2024 @ 3:00pm 
@Rob: you need a quota block in a sub-grid or connected grid to set custom cargos quotas.
@Luduaver: Thx for the feedback, if I understand your sample (AI Block didn't reach quota in Chest3 but let ingots in filter) seens a bug hahaha xD i will take a look.
Luduaver 17 Oct, 2024 @ 8:29pm 
A problem I encountered using AI Inventory Manager occurs in the following example:

I set Chest1 to filter Ingot
Chest2 remains undefined, it will only be a chest for receiving items.
I set Chest3 to Cobalt quota 1,000,000

If I put 140,000 Cobalt bars in Chest2, it will send all the bars to Chest3 (quota).
Then if I put another 140,000 Cobalt Bars inside Chest2, it will send them to Chest1 (filter).
Now, if I remove half of the Cobalt Bars from Chest3 (quota), it will keep half, because it won't take any Cobalt from Chest1 (filter).
But the right thing would be for Chest3 (quota) to always have the priority of getting the right amount, or at least have an option to activate or deactivate this!
Luduaver 17 Oct, 2024 @ 8:06pm 
My friend, your mod should become part of the game!
You've fixed all the sorter's problems in one mod!
You're a genius!
I recently posted a suggestion on the KEEN forum and my suggestion was exactly that, to put pull filters and white/black list and they said it would complicate the sorter system more!
But your mod simply does the trick!
The game should add an AI manager natively, thanks for this work!
I hope you finish version 1.0 and that there are never any problems in future versions, because as of today this will be on my servers haha