Nimbatus - The Space Drone Constructor

Nimbatus - The Space Drone Constructor

View Stats:
Yowst Oct 12, 2018 @ 11:14am
Feul tank drain order
Is there a way to know or to setup the order in which fuel tank drains first? For example I have a booster fuel tank as some kind of spare next to the other fuel tanks which do refill. I want the booster tank to be used as last.
< >
Showing 1-9 of 9 comments
lvl 10 mage Oct 12, 2018 @ 11:41am 
As far as I know, no, there is no way to know or control the order in which batteries or fuel tanks get used up.
Eldrad Oct 12, 2018 @ 12:07pm 
It is knowable and controllable.

It is a breadth first search through the placement order of parts.

So if you have 3 tanks attached directly to the core they will drain in the order you placed them.

If you have two attached to the core and a third attached to an armor block which is attached to the core then the order you placed the armor block matters but when you placed the fuel tank attached to the armor doesn't matter.
Yowst Oct 12, 2018 @ 2:41pm 
Interesting part with the armour bit and all. I assume that within that armour block it's own hierarchy exists? For example the first tank you place on that armour block will be drained first if it is the turn to the armour block?
Eldrad Oct 13, 2018 @ 8:55am 
Correct. You can see details of how depth first search works here: https://en.m.wikipedia.org/wiki/Depth-first_search
lvl 10 mage Oct 13, 2018 @ 10:27am 
Originally posted by Eldrad:
It is knowable and controllable.

It is a breadth first search through the placement order of parts.

So if you have 3 tanks attached directly to the core they will drain in the order you placed them.

If you have two attached to the core and a third attached to an armor block which is attached to the core then the order you placed the armor block matters but when you placed the fuel tank attached to the armor doesn't matter.

Well this is interesting to know. I wonder was this posted on the Nimbatus forum anywhere? It would be nice if parts could be assigned priority so they dont always need to be placed keeping this order in mind.
Go Seigen Oct 17, 2018 @ 6:24am 
If you have a part decouple, how does it determine which fuel tank gets used first from it?
Eldrad Oct 17, 2018 @ 9:57am 
Same mechanism. In the case of a disconnected drone they all share a single parent so you can ignore that node and everything before it (or think of it as the order they were connected to that part). But works exactly the same with the added restriction that a thruster can only drain a fuel tank that it is currently connected to.

Note this same mechanism is used to determine the order in which thrusters get fuel if there isn't enough for everything.
Sanaret Mar 17, 2019 @ 10:52pm 
The description is really confusing IMO so I made a video to demonstrate instead
https://youtu.be/bXCqu3SQogI
Ishkabo Mar 22, 2019 @ 9:29am 
Originally posted by Eldrad:
Correct. You can see details of how depth first search works here: https://en.m.wikipedia.org/wiki/Depth-first_search

That diagram is amazing at helping to visualize this, thank you so much!
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Oct 12, 2018 @ 11:14am
Posts: 9