zer0Kerbal / SimpleLogistics

An add-on for simple resources sharing between vessels within physics range for Kerbal Space Program.
https://forum.kerbalspaceprogram.com/index.php?/topic/191045-*/
GNU General Public License v3.0
4 stars 5 forks source link

vessel priorities #12

Open zer0Kerbal opened 4 years ago

zer0Kerbal commented 4 years ago

vessel priorities (from -20 to 20; higher number > the priority)

this would allow for nearly automated refueling/mining operations - just set the warehouse to -10; the mining/refining to -15 and since default priority would be 0, it would automatically flow uphill - autorefuel. This would add some complexity, but would greatly improve logistics.
zer0Kerbal commented 4 years ago

suggest four (five) states: public enum states : byte { error, off, store, pump, pull }; private static readonly string[] STATES_STR = { "ERROR!", "Off", "Produce", "Store", "Pull" }; private static readonly string[] STATES_COLOUR = { "<color=orange>", "<color=black>", "<#ADFF2F>", "<color=yellow>", "<#6495ED>", "<color=red>" };

this would simplify priorities enough where it should have minimal impact on performance.