defines.events.on_surface_property_changed

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
Yehn
Fast Inserter
Fast Inserter
Posts: 111
Joined: Tue Jul 12, 2016 3:45 am
Contact:

defines.events.on_surface_property_changed

Post by Yehn »

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

Post Reply

Return to “Modding interface requests”