Quantum Resource Distribution

by eliont

Special chest can send placed items to ship quantum storage unit and retrieve from it. Also works for player inventory (optional). It's make resource management more like RTS for playing combat-oriented settings/mods. Compatible with multi-surface mods like Space Exploration - item transportation works on surface, but not between them. Should be UPS-friendly because using events to track entities, not find_entities_filtered.

Content
5 months ago
1.1
1.11K
Logistics Logistic network Circuit network Storage

b Can't put starting buildings into network

1 year, 9 months ago

I'm playing a Krastorio 2 + Space exploration playthough, and while this mod really helped with speeding through alot of early game, I ran into an issue when attempting to insert large buildings like burner and electric drills into the network. No matter what, I can't put certain buildings into the network, they just sit in the chest.

1 year, 9 months ago

Toggle "debug info in tooltip" and look for item info ids.

Then put this ids, or whole subgroups / categories ids in appropriate fields in settings.

By default there are only raw / intermediates / ammo / consumables should go to storage.

1 year, 9 months ago

Hmm, I tried doing that just now, updating the 7th data:extend table to this.
data:extend({
{
type = "string-setting",
name = "QuantumResourceDistribution_allowed",
setting_type = "runtime-per-user",
default_value = 'intermediate-products,resources,science,storage,production,logistics,combat',
allow_blank = true,
auto_trim = true,
order = "5"
}
})
Yet I still run into the issue.

1 year, 9 months ago

You need to enter this in game in runtime-per-user mod settings tab.
In file there are DEFAULT values, so it has no effect if changed with mod installed.

1 year, 9 months ago

Is there a default value for all items, like ALL?

1 year, 9 months ago

No, but you can try to hijack function "can_be_put_in_storage" in control.lua.

function can_be_put_in_storage(prototype)
if not prototype then return false end
return true
end

1 year, 9 months ago

Oh that works now, thank you so much!

This thread has been locked.