Search found 4 matches

by TacticalMook
Thu Jul 23, 2026 2:49 am
Forum: Documentation Improvement Requests
Topic: [2.1.12] Fix description of RecipeCategory linking to RecipePrototype::category, which was removed+replaced
Replies: 0
Views: 182

[2.1.12] Fix description of RecipeCategory linking to RecipePrototype::category, which was removed+replaced

lua-api.factorio.com/latest/prototypes/RecipeCategory.html
Description field:

RecipeCategory 'recipe-category'

A recipe category. The built-in categories can be found here . See RecipePrototype::category . Recipe categories can be used to specify which machine can craft which recipes .

The ...
by TacticalMook
Tue May 12, 2026 2:51 am
Forum: Modding interface requests
Topic: Add LuaSurface::show_fog, similar to LuaSurface::show_clouds
Replies: 1
Views: 213

Add LuaSurface::show_fog, similar to LuaSurface::show_clouds

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 ...
by TacticalMook
Mon May 11, 2026 9:24 am
Forum: Modding help
Topic: Is it possible to directly generate pollution within a trigger?
Replies: 2
Views: 638

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 ...
by TacticalMook
Sun May 10, 2026 9:25 am
Forum: Modding help
Topic: LuaSurface::show_clouds default value?
Replies: 1
Views: 232

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.

Go to advanced search