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
1 year, 1 month ago
1.1
1.13K
Logistics Logistic network Circuit network Storage

b Is it available in multiplayer?

7 months ago

The second person entered the server and reported an error.

Error while running event QuantumResourceDistribution:on nth_ tick(60)
Unknown sprite "item/logistic chest- buffer"
stack traceback:
[C]: in function 'add'
QuantumResourceDistribution__ /control. lua:27: in function 'update_ gui'
QuantumResourceDistribution__ /control. lua:298: in function
QuantumResourceDistribution__ /control.lua:267>

7 months ago

May be you have different mod versions?
This one for legacy 1.1 version, and other one updated for Space Age.
Though not tested in multiplayer but should work.

6 months ago
(updated 6 months ago)

If your using the "QuantumResourceDistribution" instead of "QuantumResourceDistribution2" then you can open the control.lua and head for line 27
It looks like this ->
local button = player.gui.top.add{type="sprite-button",sprite="item/logistic-chest-buffer",name='QuantumResourceDistributionButton'}

Change it to this ->
local button = player.gui.top.add{type="sprite-button",sprite="item/active-provider-chest",name='QuantumResourceDistributionButton'}

Change the sprite to:
"
sprite="item/active-provider-chest",
"
No idea why that works and the other doesn't, except it may be the item name has changed, maybe? idk it worked for me

Also a FYI, if anyone opens/close the menu, like click the button, then it opens/close/whatever for every single player, but it wont crash

New response