Storage - Obtain across district boundary.
This is a feature request as an upgrade for the district system. Currently the system of importing only fills to the extent that both sides are balanced by % fullness. When Supply is tagged on a storage the current implementation will treat it as zero across the district boundary, this is ok, but I think a better system is to treat Obtain, Accept and Supply as three different classes in a fill first priority order. The current system ignores Obtain.
In order to implement this system, the change needs to take into account the three split total storage capacities, rather than simply treat Supply as zero. Example,
District 1 capacities, will be 120 Obtain, 200 Accept, 1800 Supply
District 2 capacities, will be 400 Obtain, 150 Accept, 1200 Supply
If there is less than 520 units, the distribution is sent to balance Obtains, e.g. 30%(156), D1-36 and D2-120 remainder zero.
If there is less than, 870 units, the first 520 Obtains are full and the remain are to balance the Accepts.
and...
Comments: 1
Oldest
•
Newest
•
Most likes
•
Fewest likes
-
24 Feb, '25
NobodyMinor Revision: Proportional sharing is actually, extremely unbalanced - True Goal, equal 1:1 sharing with Priority Categories.
Why?
If two adjacent districts have an extreme difference in storage capacity e.g. left side 30 units and right side 3000 units, then only 1% of the resources will go to the left, which will cause starvation on the left. Even if the left was able to produce enough to support itself, almost all resources would be exported.
If they were equally shared the first 60 units would be evenly split and additional would accumulate into the larger district. This avoids starvation on the left and is relatively low impact to the right (1%). Then allowing the left to further support the right.
As the two districts approach similar size, the behavior approaches equivalence to the current proportional sharing behaviour.
----
This would be a huge improvement to resource distribution, to aid development attached is a reference implementation.
https://pastebin.com/EE96YJPp