Petrol generator doesnt work when it has 100g of ethanol and 19kg of petrol.
Petrol generator doesnt work when it has 100g of ethanol and 19kg of petrol. Steps to Reproduce While i had too little ethanol, i tried piping in petrol to compensate. It stopped the generator. 3
Report reply Nightinggale 971 Posted July 15, 2019 EnergyGenerator is consistently assuming just one fuel and finds it with this.storage.FindFirst(inputItem.tag); This happens both in IsConvertible (the cause of this bug... I think) and in EnergySim200ms, where the meter display assumes only one element when counting (display bug only). EnergySim200ms removes fuel from storage by calling this.storage.ConsumeIgnoringDisease, which I think is ok. It looks like it loops through the list until it consumed enough mass. It's just not called if IsConvertible says "not enough fuel". I better keep an eye on this one. I have a mod with a modded version of EnergyGenerator (hence my interest) and I must have copy pasted this bug. 1 Share this comment Link to comment Share on other sites More sharing options...
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 accountSign in
Already have an account? Sign in here.
Sign In Now