I'm writing a mod to conditionally disable cloud effects while the editor is open.
LuaSurface::show_clouds lets us toggle cloud shadows ( CloudsEffectProperties ) at runtime. Would you please implement a similar function to toggle the fog effects ( FogEffectProperties ) used on Vulcanus and Gleba ...
Search found 3 matches
- Tue May 12, 2026 2:51 am
- Forum: Modding interface requests
- Topic: Add LuaSurface::show_fog, similar to LuaSurface::show_clouds
- Replies: 1
- Views: 67
- Mon May 11, 2026 9:24 am
- Forum: Modding help
- Topic: Is it possible to directly generate pollution within a trigger?
- Replies: 2
- Views: 458
Re: Is it possible to directly generate pollution within a trigger?
Necro post, but I came across the function definition and remembered seeing this thread while looking for something else.
The code that OP linked can be found here .
This is a local table (array), so where is it used? It's used in two LuaTilePrototype declarations in the same file. Here's one of ...
The code that OP linked can be found here .
This is a local table (array), so where is it used? It's used in two LuaTilePrototype declarations in the same file. Here's one of ...
- Sun May 10, 2026 9:25 am
- Forum: Modding help
- Topic: LuaSurface::show_clouds default value?
- Replies: 1
- Views: 93
LuaSurface::show_clouds default value?
classes/LuaSurface.html#show_clouds
Is this value always true unless a mod sets it false? I don't see a 1:1 equivalent in the prototypes or settings.
Is this value always true unless a mod sets it false? I don't see a 1:1 equivalent in the prototypes or settings.