Jump to content

The fuel consumed by Batteryuser when charging from the two Winona generators is inconsistent


Cassielu
  • Pending
  • If WX-78 is charged in a regular Winona Generator, the fuel consumed each time is sufficient to keep a Catapult running for 9 days.
  • But if it is charged in the G.E.M.erator, the fuel consumed each time is only enough to keep a Catapult running for 3.6 days.

Compared to the GEM generator, the ordinary generator has an additional "rate_modifier" which enables it to operate for a longer period when using nitres as fuel.

In winona_battery_low.lua line:547,  the ConsumeBatteryAmount function calculates this part additionally. It divides the expected fuel consumption by that variable to convert it into the fuel consumption amount in a regular generator, while the same-named function in winona_battery_hight.lua does not have this part. 

Therefore, when calling the ConsumeBatteryAmount function of the two generators, should be input the same cost argument. So that the "electricity consumption" they exhibit be the same. (Just like the Teletransport Station and the Catapult, they are correct.)

 


Steps to Reproduce
  1. A generator with full energy (only nitre) can operate for 10 days.
  2. If charge the WX-78 with this, the remaining energy will only be enough to operate for 1 day.
  3. A GEM generator with one gem can operate for 20 days.
  4. Charge WX-78. the remaining energy can still operate for 16.4 days.
  • Like 1



User Feedback


Also, in   winona_battery_low.lua   line 187 and line 33

Obviously there is an unexistent parameter.

 

 

 

I didn't investigate further, but I have reason to suspect that there are other issues between the original function of the Winona's generator and the Battery function. It would be best to check them out.

 

Edited by Cassielu

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...