Better support for "wind"

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
SWeini
Long Handed Inserter
Long Handed Inserter
Posts: 75
Joined: Mon Apr 04, 2022 6:43 am
Contact:

Better support for "wind"

Post by SWeini »

TL;DR
Make it easier and for mods to define wind turbines.
What?
LuaSurface currently has a few wind properties, but they only affect smoke/clouds.

Please make it possible to:
  • bind an electric-energy-interface to the surface's wind speed or a user-defined per-surface runtime variable. I don't want to adjust the power output of every entity regularly.
  • allow entities with visuals depending on the surface's wind orientation or a user-defined per-surface runtime variable. I don't want to change sprites of every entity regularly.
Why?
Wind is a common theme among mods and they are a pain to develop due to the lack of mentioned features.
User avatar
Osmo
Fast Inserter
Fast Inserter
Posts: 205
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: Better support for "wind"

Post by Osmo »

With some recent features, you can make a solar panel with performance tied to a surface property https://lua-api.factorio.com/latest/pro ... t_property and then update the surface property at runtime, without having to iterate over all entities
Post Reply

Return to “Modding interface requests”