Item Network

by y_e_a_r

This mod adds a new logistics mechanic: The Item Network. It replaces trains and logistics bots by teleporting items and fluids directly between Network Chests and Tanks.

Tweaks
1 year, 1 month ago
1.1
2.19K
Logistics Fluids Logistic network Storage Cheats

i Custom Chest amount

1 year, 2 months ago

Hey, was wondering if you could add custom chest amount each time it runs?

So I don't have to edit the mod every time there is an update xD

What I did was this:
Added this to settings.lua -->

{
  type = "int-setting",
  name = "item-network-item-transfer",
  setting_type = "runtime-global",
  default_value = 20,
  minimum_value = 1,
},

Added a locale for it in the config.cfg

Changed line 484 in GlobalState.lua in the function M.update_queue(update_entity)
From --> local MAX_ENTITIES_TO_UPDATE = 20
To --> local MAX_ENTITIES_TO_UPDATE = settings.global["item-network-item-transfer"].value

1 year, 2 months ago

Ah yes I have an issue on Github to do this. I'll prioritize this since it sounds like it might be useful.

What do you usually set the number of updates to?

1 year, 2 months ago
(updated 1 year, 2 months ago)

Well in the start of the game I set it to 150 then as the game starts slowing down I lower the value in the mod settings. This is with,~160 mods, so it can be set depending on the pc

-Its at around 2k chests that I slow it down - Due to all the other assembly, refinery, power and so on - its not needed thou since what it falls to is to around 58, thou it spikes to around 55

1 year, 2 months ago
(updated 1 year, 2 months ago)

1

1 year, 2 months ago

Implemented in 0.7.4.

1 year, 2 months ago

Thank you

New response