Allow reading camera zoom in LuaSimulation

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
KikuGIe
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Feb 22, 2024 9:06 pm
Contact:

Allow reading camera zoom in LuaSimulation

Post by KikuGIe »

Pretty straightforward, in https://lua-api.factorio.com/latest/cla ... amera_zoom is write only, but if there's a need to track the zoom level, it can be assigned to a separate variable, since the default zoom is constant. However it adds extra complexity, so it would be easier to be able to read the zoom level as well.
Koub
Global Moderator
Global Moderator
Posts: 7955
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Allow reading camera zoom in LuaSimulation

Post by Koub »

[Koub] Moved to Modding interface requests
Koub - Please consider English is not my native language.
Post Reply

Return to “Modding interface requests”