New fuel type suggestion: Nothing
Gliese-832-c opened this issue ยท 6 comments
There should be a fuel/engine setting that uses no fuels, does not need to be started, has no gears, etc.
I want to use this for sailboats (for now I just set a custom fuel type that uses water so it's cheap), but ideally there should be some native representation for this.
This can be somewhat accomplished using superchargerFuelConsumption (and superchargerFuelEfficiency), you'll still need a fuel type to be defined on the engine and the vehicle will need a defaultFuelQty. However you can make an engine that consumes approximately 0 millibuckets of fuel per tick.
Here's one example; you can set the SCFC to be equal to FC, ideally you won't want the SCE to be define at positive 1... otherwise you end up with an engine that doesn't have any power. You can do what I did by setting it to -1 (this actually gives it double its power) or just 0, which means it won't consume any extra fuel while still producing the same amount of power it normally should.
With that being said, I do not know if the latter will get legacy-compat'ed or not, but you'll know what you can do otherwise if that's the case.
Eh, I can see this being a good thing to add anyways. Something for stuff like bikes, sailboats, and horse-drawn carriadges N such. Will add, IF the feller up thar tests in via Discord betas. So @Gliese-832-c ping me there when you're ready.
Thanks for the reply. I'll hop onto Discord and ping you so we can discuss it further.
Here's one example; you can set the SCFC to be equal to FC, ideally you won't want the SCE to be define at positive 1... otherwise you end up with an engine that doesn't have any power. You can do what I did by setting it to -1 (this actually gives it double its power) or just 0, which means it won't consume any extra fuel while still producing the same amount of power it normally should.
What I did for now is make the main fuel consumption ridiculously small, and added a supercharger with a very high efficiency. However, I was not aware that you can use 0 or even negative numbers. Either way, it seems like DonBruce is willing to add a real nothing fuel type, but I appreciate the suggestion anyways.