Hi! I like the style of this mod a lot, but I wanted to be able to use them on other planets. So I implemented it!
- I added two settings, one for minimum build-able pressure, and one for maximum build-able pressure.
- Those settings are then referenced in the surface conditions of the entity.
- Finally I adjusted the control script to only check if it's on a planet instead of both on a planet and on Nauvis when calculating wind speed changes, that way it can change the wind speed on all of the planets.
- - Also added a sanity check to the wind speed as I managed to make the wind speed value an absurd number during testing. This probably doesn't need to be kept, but I think having a sanity check isn't a bad thing, maybe it should be moved into an init function?
I initially wanted to try and make the turbines more efficient, but with diminishing returns, on planets with higher pressure, but I think implementing that would require a lot more work. Instead I decided to not bother with it for now.
I've never done a project like this and am very new to programming in general, I know the license for this permits that I can re-upload the mod with my changes so long as I credit you, but I felt that these changes aren't substantial enough to warrant a re-upload. Would you like the files with the changes I made? (If so, how should I send them to you?)
Thank you for your time!
PS: Unfortunately I only speak English, so that was the only locale file I could update.