defines.events.on_surface_property_changed
Posted: Fri Jul 08, 2022 11:11 pm
Factorio modding today has never been quite so evolved... Once this wasn't a big deal, but I'm running into it more and more - I would like to be able to have an event that tells me when another mod modifies a surface; it would really help a lot with improving compatibility between mods and not needing to do things like store the current values and poll for changes.
This event exists for changing the surface name, but I would also like an event for the following LuaSurface properties:
always_day
freeze_daytime
brightness_visual_weights
daytime
dawn
dusk
evening
morning
This event exists for changing the surface name, but I would also like an event for the following LuaSurface properties:
always_day
freeze_daytime
brightness_visual_weights
daytime
dawn
dusk
evening
morning