Open Dunbaratu opened 11 years ago
That is because the stage resources are built up from an active engine. Shutting off one engine in your example will half the fuel claimed to be in stage. I'll look into reworking the code @palaslet was working on before he vanished. Though i can't see how you'd go about doing that just yet.
Sorry for being vanished guys... I've been preoccupied with more than my usual 200% load at work. I'm painfully aware of the limitations of the code, but haven't had time to review it. I even added this line of code in my proposal: " /* Need to support FuelLine here? */"
Yeah its a bit tricky. Theres lots of weird cases.
actually # 4 isn't done right by the main game either so mimicking the game behavior here is fine I guess.
The values STAGE:LIQUIDFUEL and STAGE:OXIDIZER report incorrect values when the rocket design includes a yellow fuel feed hose linking tanks. It seems that they ignore the tank on the other side of the hose and only list the value of the tank immediately connected to the engine.
Example:
In that example, the
*****
lines are the stage separators. In the current stage the "AAA" fuel shouldn't be displayed because it's part of the next stage up, but the "BBB" fuel should be part ofstage:liquidfuel
andstage:oxidier
, and it's not being added in. Only the CCC and DDD fuel is being added in to the stage total. .