Electric Boiler

by Mobius1

Adds an Electric Boiler building, compatible with bob's mods. Blue glow based on ElAdamo's Gas Boiler.

Content
a month ago
0.15 - 2.0
15.9K
Power

g [Fixed][2.0.0] Space Age update?

a month ago

Is there any chance we'll get an update of this mod to Space Age? There are uses for Steam besides making power, so it would be really nice to have an electric boiler that doesn't require fuel.

a month ago
(updated a month ago)

Will look into updating it, might even add the efficiency slider as well

a month ago

Thank you kindly :) That would be most useful.

a month ago

Started the update and seems like everything in the modAPI changed, will take some time to put the update together

a month ago

Started the update and seems like everything in the modAPI changed, will take some time to put the update together

Yup. The way that sprites are handled is basically entirely different. There are no more HR sprites - the legacy high-rez are now the default. Probably need to make a new set of fire and light sprites with a higher resolution. I'd recommend hue-chroma shifting the vanilla ones. Should also probably source a larger icon, though I'm not sure how realistic this is.

For the Boiler, sprites are all contained in a pictures (a BoilerPictureSet). You can't access "fire_glow" directly, has to be through that. The "minable" struct doesn't seem to have a "hardness" field in it, but I don't think that matters - it's probably just ignored. "energy_source" doesn't seem to have a light_flicker field at all. Probably ignored. "input_priority" also doesn't seem to exist. Should probably set fire_flicker_enabled and fire_glow_flicker_enabled to true, instead. It seems like that's controlled by power input in native code now - though I'm speculating.

Those are all the differences I could find in the Boiler. Could keep looking if you'd like, but I'd rather not intrude.

a month ago

I'll publish the repository and if you wish you could send a PR with the suggestions. I believe that collaborative projects are better to maintain

a month ago

Thank you for the PR, I merged it and will make the package as soon as I get in my PC

a month ago
(updated a month ago)

Word. Cheers, man.

a month ago

Oh, geez. I actually only saw this :) Someone else did that, but I'll have a look. Never figured out how to work GitHub, but it's worth learning.

a month ago
(updated a month ago)

Don't feel too bad. I'm a professional so it took me like 15 minutes. Yes, it's worth learning. And it doesn't mean I did it completely right -- but I'm sure Mobius will find any remaining errors.

a month ago

Just sent the update for the mod with the changes provided by ElAdamo (thanks!)

This thread has been locked.