Open fibonatic opened 10 years ago
stage:resource only shows you the resources that are connected to activated engines. Thereby giving you the fuel left in your current stage.
You're current about
It doesn't return an error because you might have a mod that adds a resource called "blablabla" which just happens to not be present on the current ship.
I'm currently working on this one here: https://github.com/palaslet/KOS/commit/e89943e76fb54cb8e2fe2f64accb9e737de9e534
I have an issue where stage:xenongas is returning 0, but ship:xenongas is returning 700 -- and the xenongas is indeed in the current stage.
@aewing this is the repo for a very old version of kOS.
the current mod issue list is hosted over here https://github.com/KSP-KOS/KOS
one thing to check, are you running 0.15.5?
First of all I am having trouble getting the amount of a resource of the entire ship (I thought that this was just "" instead of the current stage "stage:").
Second, the command "stage:" does not calculate the amount correctly. I did a quick test and here is a printscreen: http://i.imgur.com/rgTAC2e.png which shows that not all the available electric charge are added together to return the amount in the current stage and the xenongas even returns zero.
Third, there does not seem to be an error when typing in a random string after "stage:". For example: "stage:blablabla." returns "0" and does not return an error.