API request: runtime data on LuaPlanet's clouds

Things that we aren't going to implement
Kugamo
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Jan 24, 2025 11:03 pm
Contact:

API request: runtime data on LuaPlanet's clouds

Post by Kugamo »

It'd be great to have runtime data on LuaPlanet's clouds.

Currently all the clouds and their data seems to be assembled in the data stage and is inaccessible at runtime. I want to access it to determine which part of a surface's xy coordinate plane is currently under the clouds' shadows, but without any data other than wind speed its practically impossible.

I initially thought If I had the constructed sprite of the clouds I could manage it, but excluding that maybe I could accomplish this using all the data generated for the planets' CloudsEffectProperties but thats also a stretch. I had a brief convo in the discord's mod help channel but it was concluded that without an API change it'd be impossible.

Image
Rseding91
Factorio Staff
Factorio Staff
Posts: 15222
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: API request: runtime data on LuaPlanet's clouds

Post by Rseding91 »

This information is not available for mods because it's a simple sprite file which is not deterministic and so not available for mods to read.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Won't implement”