Space Engineers

Space Engineers

261 个评价
[QoL] Easy Inventory Management
5
2
2
2
2
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Script, Other
文件大小
发表于
更新日期
528.293 KB
2022 年 12 月 2 日 下午 12:41
7 月 11 日 上午 7:59
39 项改动说明 ( 查看 )

订阅以下载
[QoL] Easy Inventory Management

在 DraygoKorvan 的 1 个合集中
Quality of Life Mods
7 件物品
描述
Tired of assemblers jamming up? Not having the ability to easily fill a weld ship with needed components? Prioritize refineries to specific ores? This mod will let you control all this!

This mod is also intended to be server friendly, and has controls for server admins to limit the number of inventory actions that can happen in a tick.

Using this mod will set Use Conveyor System to Off on all blocks (as this mod completely takes over), if you remove this mod you will have to re-enable that setting on all blocks

Note that this mod is still under active development. Some ship configurations may not work, see notes below

Dev Branch: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2912290967

Inventory Management
Players are able to set Limits and Quotas for items on individual blocks. Think of limits as the upper limit as to the number of items that the block is allowed to have, quotas are minimums, if the block has less than the minimum it will attempt to pull items from other inventories in the grid until it reaches that minimum.

The Inventory Manager will manually adjust quotas on production blocks if quota is not set based on the needs of the block. It will move any item that is unneeded out of the input inventory and back into storage. No more Gravel filling up and jamming your assembler!

You can copy settings to other blocks using the copy button in the terminal, you can also paste the settings to multiple blocks at a time.

Please note that this mod does not support non-weaponcore sorters. It is best to build and use your inventory without this block, as it should not be needed anymore.

Server Settings
The Text HUD API Admin menu (Alt+F10 or Shift+Alt+F10) in the top left corner contains a few options to control how much compute the server spends on inventory per tick.
  • Max Compute Per Tick - Maximum amount of compute the server is allowed to do per tick for Inventory Management
  • Max Compute Per Grid - Maximum amount of compute the server is allowed to do per grid per tick, this is to prevent single grids from consuming the entire global pool of work.
  • Network Compute Cost - Extra compute cost for network related operations (operations that generate network traffic)
  • Per Grid Delay - How many ticks must pass before the next audit of a grid. Defaults to 10.
  • Start Profiler - Starts the profiler on the server, note that output is only given to the log and console on DS, if you are locally hosting or playing singleplayer it will output to chat and the log.
These options let you control how much CPU the mod will use on a server per tick to manage inventories. As this will replace all keen inventory operations this should result in better performance and stability for large worlds. If you notice your sim speed dropping you may lower the Max Compute value to free up resources for other operations. Note that lowering this value will make automatic inventory operations take longer but should result in a stable simspeed (not barring other things slowing inventory down).

If network bandwidth is an issue increase the network compute cost value to slow down inventory operations that use network.

Mod API

Modders can create their own inventory requests using this mod:
Api file is here:
Steam\steamapps\workshop\content\244850\2896517058\Data\Scripts\InventoryQOL\EasyInventoryManagerAPI.cs
Note do not register in OnAddedToContainer. Questions, ask on my discord.

Future plans / Known Issues

Removing this mod from a world will result in Use Conveyor Systems to be set to Off on all blocks, just be aware.

Known issues:
  • Sorters are not properly used by this mod, and can cause inventory functions to cease
  • Actions do not currently apply to block groups, this seems to be a limitation in the game itself
  • Build and repair mod blocks will not auto-pull components, you should be able to set a quota on the B&R block to make it pull components.
  • Welders do not weld projections.
  • Assemblers on co-op mode no longer share queue with other assemblers
  • Shift+MMB shortcut does not work

Future plans:

  • Offload inventory management to this mod from weaponcore
  • Optimize Inventory Group formation
  • Proper Sorter support for Inventory Group separation
  • Perhaps add priority settings for inventory quota's
  • Configurable Per grid audit delay in ticks done

Bugs?

Blueprint your non-functional grid and share on my Discord in the #quality-of-life-bugs channel, please keep in mind known issues above.

Discord
Questions, ask on my discord server. I do not read or accept unsolicited direct messages.
Discord[discord.gg]
热门讨论 查看全部(1)
8
8 月 31 日 下午 4:11
[Bug Reports]
'KeithFromCanada' Olson
283 条留言
Gear Shift 10 月 28 日 下午 4:55 
Doesn't seem to be working with Industrial Overhaul currently. Setting production quotas does nothing.
Askyras 10 月 10 日 上午 7:29 
ok seems like they do appear as MyObjectBuilder_SeedItem but only when there are already some in the container, a little unintuitive but workable
Askyras 10 月 10 日 上午 6:29 
The new seeds and spores do not show up in the quotas list, probably because they don't fit into any of the listed categories. Could you add them please? And maybe future-proof by just listing all items instead of limiting it to certain categories :er_wave:
pierce3383 10 月 6 日 下午 2:06 
I'm looking for an inventory management script that will keep Safe Zone blocks filled with Zone chips. On a multiplayer server that runs 24/7 Safe Zones use up chips but will not pull them automatically from Cargo. You have to manually move chips into the Safe Zone block at least every 24 hours. Ideally I want the script to check once a day (hour?) and fill the Safe Zone block with chips from cargo containers. Some inventory management scripts can do that but they mess with all the containers and all items.
KEJWII 7 月 28 日 上午 6:47 
can i please add searchbox? and
example:
type:ingots/ores/components
etc?
Engineer Chad 1 月 28 日 上午 7:52 
Is this mod working? It was broken for a long time. I'm still running an old version that is not doing much anymore, even turns off my Oxygen/hydrogen generators ability to use the conveyor system off and only leaves 2 . lol. I miss Tim helping me in my HUGE ship with 200 O2/hydrogen generators due to a bug with huge ships not getting oxygen to certain parts of the ship. lol.
Raizil 2024 年 8 月 6 日 下午 1:31 
Conveyor system set to off breaks so many of my assemblers and refineries, also i no longer have the Conveyor Access option on my HUD, how do i fix this???
Omega 2024 年 5 月 21 日 上午 1:20 
like orangelemongamer has asked, the defaulting of the conveyor system off breaks a saddening amount of things, having the option to enable it would be appreciated, even if it disables the Inventory Management system.
Chinchipos 2024 年 5 月 7 日 下午 2:37 
Хрень несусветная, очень неудобно по сравнению с скриптовыми сортировщиками
KEJWII 2024 年 4 月 30 日 上午 6:57 
I don't know why, but this mod seems a bit... "worse" than Automated Inventory Sorting

maybe it's because there is no tutorial video about it