Semar-PersonalLogistics icon

PersonalLogistics

Manage inventory by requesting items from logistics stations as well as recycling items by sending them to logistics stations. Can also send littered items to logistics network. Now with updated UI

Last updated 3 days ago
Total downloads 6468
Total rating 8 
Categories Info Logistics Mecha Nebula Compatible Quality of Life
Dependency string Semar-PersonalLogistics-2.6.1
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

xiaoye97-LDBTool-1.8.0 icon
xiaoye97-LDBTool

A pre mod for add and edit Proto data, show Proto data, config mod Proto id, custom localization, custom build bar. 一个用于添加修改查看Proto数据、自定义Mod Proto ID、自定义翻译、自定义建造快捷栏的前置Mod。

Preferred version: 1.8.0
xiaoye97-BepInEx-5.4.17 icon
xiaoye97-BepInEx

BepInEx5.4.17 mod plugin framework, Mod框架

Preferred version: 5.4.17
CommonAPI-CommonAPI-1.2.1 icon
CommonAPI-CommonAPI

A modding library for Dyson Sphere Program. Currently is under development.

Preferred version: 1.2.1
CommonAPI-DSPModSave-1.1.3 icon
CommonAPI-DSPModSave

Library that allows to store mod save data separately from vanilla saves

Preferred version: 1.1.3
nebula-NebulaMultiplayerModApi-1.1.2 icon
nebula-NebulaMultiplayerModApi

API for other mods to work with the Nebula Multiplayer Mod. (Does NOT require Nebula)

Preferred version: 1.1.2

README

PersonalLogistics

Overview

This mod is an inventory management system backed by your logistics network. Features:

  • Set auto-request amounts for items. For example, always keep 4 stacks of conveyor belts in your inventory
  • Set auto-recycle limits for items (can be 0) to automatically send extras of those items the logistics stations
  • Send littered items to your logistics stations instead of holding 'Z' and running around like a crazy person
  • Add fuel from your inventory to the Mecha automatically. Combine this with an auto-request of your preferred fuel to keep the Mecha running at full power
  • Keep the Mecha's warper supply topped off from your inventory
  • Adds a Recycle area to the inventory window where you can drop items you don't want

Glossary of Terms/Abbreviations

  • ILS - Interstellar Logistics Station - relevant because it's capable of shipping items between planets/systems to player
  • PLS - Planetary Logistics Station - only capable of supplying the player with items from the local planet
  • Mecha - Icarus - relevant because it's the local source of inventory and power
  • Buffer - A subsystem of PersonalLogistics (this mod), see the Buffer section for more info

Getting started

Open the request management window using this button

Config

Manual recycling

Recycle items from inventory by dropping them into the Recycle window. To disable, set the ShowRecycleWindow config property to false. Items added here will first go the local Buffer (details below) and then will be sent to the nearest Logistics Station with capacity. Of course, if you try and recycle an item you're currently requesting, it's just going to come back to your inventory.

Note that items that have no Logistics Stations will not be removed from Recycle area

Recycle

Requests window

Below is an example of how you would configure the mod to always keep 5 stacks of Plane smelters in inventory and also to send extra Plane smelters to logistics stations (when you have more than 5 stacks)

Ban

Example showing how to keep crude oil out of your inventory completely.

Requested

Trash can be sent to logistics network also (disable using SendLitterToLogisticsNetwork config property)

Requested

(New in 2.3.0)

Numerical indicators on item icons in Requests window let you quickly see what is currently requested/banned. Requested

Numerical indicator FAQ

Q: I hate these new indicators, they look terrible
A: That's not really a question, but you can disable them by opening the legacy UI, going to Config section and
 disabling 'showAmountsInRequestWindow'. Or edit the config the old-fashioned way

Q: What does the red '0' next to iron ore mean?
A: That item is banned, not allowed to be in your inventory. It will be immediately auto-recycled 

Q: Ok, so why does copper ore have a red '1' next to it?
A: That item is not being auto-requested, AND anything more than 1 stack of it in your inventory it will be auto-recyled 

Q. In the example above why doesn't titanium glass have a number next to it?
A. That item is not managed by the Personal Logistics System, it's ignored

Q. All right, what about regular glass, does the blue '1' next to it mean that 1 stack of that item is kept in inventory?
 How do I know what the max allowed for that item is?
A. Yes, 1 stack will be kept in your inventory, but there's only so much info you can convey with an overview UI like this.
 To see the auto-recycle amount you have to click the item for more details

Q. These questions are dumb
A. Check the contact info at the end of this readme and send in smarter ones?    

Details

Usage

This mod does not alter save games in any way, and as of the latest release available on 2021-Dec-02 does not trigger the game's abnormality checks so should not affect achievements or milestones. Its intent is to improve QOL and a good deal of effort has been taken to respect the game's built-in costs for item transportation. Logistics vessel speed is the limiting factor on item delivery (as well as warper availability) so leveling up vessel speed should provide noticeable increases in transportation time

Buffer

Requested items are loaded into a local Buffer which requests 1 logistic vessel capacity worth of an item at a time. This is done to save on warpers & energy needed by vessels for transporting items. It also allows for faster loading when laying down blueprints.

The Buffer is persisted locally next to your game save (using DSPModSave) so that your items won't get lost if you load up a different save.

To clear your local Buffer of an item type, you can set that item to be neither requested nor banned (Request 0, Recycle Inf). The Buffer won't be cleared immediately, so if you are uninstalling the mod, make sure to look at the Buffered items window (click Buffered section in the settings window) to make sure everything is returned to either your inventory or to logistics stations.

Litter

By default, littered items will be sent to the closest logistics station with capacity to hold them. This can be disabled using the SendLitterToLogisticsNetwork config property. Litter, like banned items are first sent to the local Buffer where they will be automatically sent to stations (provided the item type is not currently requested).

Littered items are not completely intercepted to avoid affecting the game's responsiveness. Instead, when littered items are detected a task is created that gets processed later. That task will only cleanup litter that is less than 1km away from the player, (so basically on the local planet). Because of this, some litter may be missed.

Mecha

In some cases, warpers and energy from the Mecha will be used. This happens when the nearby source for an item is a station with low energy or no warpers. When this happens a UI message will be shown.

Add Fuel to Mecha Fuel Chamber

The plugin can be configured to automatically keep your Mecha's fuel chamber filled. This must be enabled in the Config section (Add fuel to mecha fuel chamber). Which items are used are decided in the using these priorities (highest priority first)

  • Item is currently being burned by Mecha and either an empty slot is available or a partially filled slot for that item type exists (top priority)
  • Item is in one of the slots, but stack is not full. Note that empty slots will be filled with this item, if available
  • Item is requested from logistics network and empty slot exists for it
  • Item is fuel - any available fuel in inventory will be used to fill Mecha, starting with the fuel with the highest energy

Add Warpers To Mecha

Similar to adding fuel, the mecha's supply of warpers can be kept topped-off using this setting in the Config section of UI. This will only be done automatically if the logistics network has warpers available and the requested minimum for warpers is at least 1 (can't be banned or unset).

Request Modes

The Station Request Mode config option can be used to change which stations will be used for supplying your mecha's inventory. The different modes are

  • All - Takes items from any station that has it, regardless of supply or demand. Closest stations have highest priority
  • AnySupply - Takes items from any station with item set to, "Supply" (PLS) or "Remote Supply", "Local Supply" (ILS)
  • IlsDemandRules (default) - Follows the same rules as a nearby ILS with Remote Demand/Local Demand set. Will not take from PLS on other planets
  • Planetary - Only take items from supplying stations on the local planet

Note that pre-2.2.1 All was the default. The change to the default value only affects new users since it is stored as a config property which does change unless you delete the config file

Planetary Request Mode

Planetary request mode is for players who just want to automate the process of taking items from logistics stations, so it has a few additional options

  • Unrestricted - When you go to a new planet, buffered items can still be used to refill inventory. So, as you use items on the new planet, your inventory will be replenished from your buffer until empty
  • OnlyLocallyAvailable - When you go to a new planet, buffered items can still be used to refill inventory, but only if the item is also available on the new planet
  • ReturnBufferOnDepart - When you leave a planet, all buffered items are returned to the logistics network

Incoming Item Notifications (updated in v2.4.0)

To make it easier to understand what is happening with your requested items, an area on the left side of the screen shows the status of each requested item that is being delivered. This can be disabled by opening settings from the Request window and disabling ShowIncomingItemProgress from the config tab

Incoming

There are a few different messages depending on where the requested items are in their journey to you.

  • Copper ingot (7) in-transit to local buffer, ETA 25s
    • A shipment of copper ingots has been removed from logistics stations and is on its way to the local Buffer. After the Buffer, 7 they will be loaded to inventory (~5 seconds later)
  • Loading Artificial star (2) from buffer to inventory - Artificial stars that are already in your Buffer will be added to your inventory shortly, usually less than 5 seconds
  • Failed to load Artificial star (7) from Logistics Stations The mod was not able to find any stations providing Artificial stars. Check the item tooltip to see how many are available in the network. If the tooltip shows: "Supplied: 0" but "Total Items: X" where X > 0 then the item is probably in a PLS on a remote planet
  • Shipment of Iron ingot delayed due to lack of warpers - no warpers in inventory or in supplying station, item can't be transported yet
  • Shipment of Iron ingot delayed due to lack of available energy - the station supplying the ingots didn't have enough power available to power the drones and Icarus was too low on power also

Note that the Failed to load message is only shown periodically for each item type, and won't appear if it was able to find any of the item (even if it's less than the requested amount). If these failure messages are too annoying, they can be disabled using the HideIncomingItemFailures option from the config window. Also, if these items are only available in a PLS on a remote planet then you'll have to fly to that planet before the items will be loaded. Add them to ILS to make them available everywhere

Translations

Some work has been done to support localization. Sadly the only translations right now come either from the game (by re-using labels that the game uses) or from Google Translate. This is very much a WIP so please send along any recommendations for better translations. At the moment, the only languages supported by the game are EN, CN & FR.

Nebula

This mod has been updated to be compatible with Nebula Multiplayer Mod. Note that it relies on the host to store the client's state so the first time a client connects they won't have any requested items set up. Note: Nebula Multiplayer mod itself is NOT required. Only its API plugin is a dependency

How to install

This mod requires BepInEx to function, download and install it first: link

Manually

First install the CommonAPI mod. Next install the DSPModSave mod. Next, install the Nebula Multiplayer Mod API mod Then, extract the archive file and drag PersonalLogistics.dll and pui into the BepInEx/plugins directory.

Mod manager

Click the Install with Mod Manager link above. Make sure dependencies are installed, when prompted

Changelog

v2.6.1

Bugfix: Fixed issue where warper calculation was not honoring new config property for in-system planets

v2.6.0

  • Update: Changed incoming item message to show the actual amount being transported to buffer instead of the amount needed for request. This amount will be up to the current logistic vessel capacity and the extra items are stored in your local buffer until needed
  • Feature: Added new request mode (Planetary), see "Request Modes" section for more info (thanks zxcvbnm3057 for suggestion)
  • Bugfix: No Warpers in ILS, happens if you turn the min distance to enable warp on a station down, but leave "warpers required" checked (thanks DogHogan for report)
  • Feature: New config, "Warp Enable Min AU". Setting this above 0 lets you override the min distance to enable warp set on individual stations
  • Feature: Added stack size for items to request window

v2.5.3

Bugfix: Fixed issue where exception would be thrown when quitting one game and creating another (thanks Valoneu for report)

v2.5.2

Bugfix: Fixed issue where 'New Text' is shown when game is started with ShowIncomingItemProgress disabled (thanks Valoneu for report)

v2.5.1

Feature: Added config for minimum stacks to load from network. Open config tab of legacy UI to configure Feature: Added configs to disable using mecha energy & warpers for shipping costs. Use with caution, especially the warpers one. Open config tab of legacy UI to set up Bugfix: Fixed issue where 'Shipment delayed' messages would be shown before shipping costs were attempted the first time

v2.5.0

Feature: Added support for the Nebula Multiplayer mod. This worked previously, but the item buffer and requested items would not be saved between sessions for clients

v2.4.0

Feature: added messages to the incoming items area for items that are being loaded from the Buffer into the inventory, see the 'Incoming Item Notifications' section for more detail

v2.3.0

Feature: added numerical indicators to Requests window icons to make it easier to tell what is requested/banned at a glance

v2.2.1

Bugfix: fixed issue where item icons would not appear in the recycle area (Thanks Speedy on Discord for report)

v2.2.1

Bugfix: fixed a longstanding issue where the nearest station would be used to compute costs even if most of the items are actually coming from other, more distant stations. Now the station that supplies the most items in the shipment is used for computing the cost. (Thanks Speedy on discord for bug report) Tweak: adjusted incoming item text to be a little easier to read against light colored backgrounds

v2.2.0

Feature: added play/pause button to request window Refactor: overhauled state persistence to a more robust approach

v2.1.1

Bugfix: fixed issue with loading save where actions for items in recycle area were persisted

v2.1.0

Feature: switched desired inventory state to be persisted with game save, removed support for copying state from another seed. Added persistence for recycle window contents

v2.0.4

Feature: Added popup confirmation before the first time trashed items are recycled automatically.

v2.0.3

Features:

  • Added tip for +/- buttons to indicate shift/control for 5 or max
  • Added configurable minimum delay for recycle area. Gives more time to get items back if they were accidentally added

v2.0.2

Bugfix: handled destruction of logistics station while items are being removed from it Bugfix: fixed issue where recycled item icons were not appearing (blank white square)

v2.0.1

Bugfix: resolved issue where request window would not open until after inventory was first opened.

v2.0.0

  • Overhauled UI for configuring requested items. Updated tooltips to refer to the number of stacks requested/auto-recycled instead of counts. Legacy request config window is left in place for now, in case of bugs. It can be accessed by clicking the Settings button in the Request Window

Pre 2.0 changes

Contact

Bugs? Contact me on discord: Semar#1983 or create an issue in the github repository.

Icon credit, B.E. Cimino

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-1-16 2.6.1 321 Version 2.6.1 Install
2022-1-16 2.6.0 9 Version 2.6.0 Install
2022-1-14 2.5.3 289 Version 2.5.3 Install
2022-1-9 2.5.2 466 Version 2.5.2 Install
2022-1-8 2.5.1 266 Version 2.5.1 Install
2022-1-7 2.5.0 150 Version 2.5.0 Install
2022-1-4 2.4.0 266 Version 2.4.0 Install
2021-12-30 2.3.0 293 Version 2.3.0 Install
2021-12-16 2.2.2 460 Version 2.2.2 Install
2021-12-16 2.2.1 38 Version 2.2.1 Install
2021-12-16 2.2.0 40 Version 2.2.0 Install
2021-12-15 2.1.1 112 Version 2.1.1 Install
2021-12-14 2.1.0 98 Version 2.1.0 Install
2021-12-13 2.0.4 119 Version 2.0.4 Install
2021-12-13 2.0.3 47 Version 2.0.3 Install
2021-12-12 2.0.2 128 Version 2.0.2 Install
2021-12-11 2.0.1 43 Version 2.0.1 Install
2021-12-11 2.0.0 106 Version 2.0.0 Install
2021-12-9 1.6.3 148 Version 1.6.3 Install
2021-12-7 1.6.2 147 Version 1.6.2 Install
2021-12-7 1.6.1 38 Version 1.6.1 Install
2021-12-5 1.6.0 141 Version 1.6.0 Install
2021-11-30 1.5.0 227 Version 1.5.0 Install
2021-11-8 1.4.0 489 Version 1.4.0 Install
2021-11-5 1.3.1 205 Version 1.3.1 Install
2021-11-2 1.3.0 159 Version 1.3.0 Install
2021-10-20 1.2.1 397 Version 1.2.1 Install
2021-10-20 1.2.0 62 Version 1.2.0 Install
2021-10-19 1.1.2 88 Version 1.1.2 Install
2021-10-19 1.1.1 35 Version 1.1.1 Install
2021-10-18 1.1.0 123 Version 1.1.0 Install
2021-10-14 1.0.9 191 Version 1.0.9 Install
2021-10-14 1.0.8 32 Version 1.0.8 Install
2021-10-12 1.0.7 137 Version 1.0.7 Install
2021-10-11 1.0.6 109 Version 1.0.6 Install
2021-10-9 1.0.5 121 Version 1.0.5 Install
2021-10-9 1.0.4 97 Version 1.0.4 Install
2021-10-5 1.0.3 135 Version 1.0.3 Install
2021-10-5 1.0.2 70 Version 1.0.2 Install
2021-10-4 1.0.1 66 Version 1.0.1 Install