Search found 6 matches

by Lihop
Mon Jun 16, 2025 12:25 pm
Forum: Modding help
Topic: CaptureSpawnerTechnologyTrigger entity
Replies: 1
Views: 569

[CLOSED]Re: CaptureSpawnerTechnologyTrigger entity

My bad, it's an error
Topics closed
by Lihop
Wed Jun 11, 2025 5:11 am
Forum: Modding help
Topic: cannot read recipe subgroup from data.raw
Replies: 8
Views: 1185

Re: cannot read recipe subgroup from data.raw

According to your code If recipe_subgroup comes back as nil, you get an error because concatenate nil and string is not possible.(Line 2)
If you get an error when loading, send us the error if it pass can you send us the newly named subgroup

Copying with deepcopy copy all the table, there is no ...
by Lihop
Tue Jun 10, 2025 9:56 pm
Forum: Modding help
Topic: cannot read recipe subgroup from data.raw
Replies: 8
Views: 1185

Re: cannot read recipe subgroup from data.raw



local function process_recipe(name, recipe)

if not recipe.results or next(recipe.results) == nil then return end
if ends_with(name,"_rcomb") then return end


local new_recipe=table.deepcopy(recipe)
new_recipe.name=new_recipe.name.."_rcomb"
new_recipe.hide_from_signal_gui = false
new ...
by Lihop
Tue Jun 10, 2025 4:45 am
Forum: Modding help
Topic: Placing pipes in response to placing underground pipes, a variety of roadblocks
Replies: 1
Views: 376

Re: Placing pipes in response to placing underground pipes, a variety of roadblocks

Hello,

Maybe, you can get the tile where the pipe should be placed with surface.get_tile(x,y)
And then determine if you need concrete and/or ice platform
by Lihop
Tue Jun 10, 2025 4:30 am
Forum: Not a bug
Topic: [2.0.55] Copying Constant combinator makes them link values
Replies: 2
Views: 362

Re: [2.0.55] Copying Constant combinator makes them link values

Hello,

This is how logistique group works,
https://factorio.com/blog/post/fff-382

All combinator using the same group are synchronized
by Lihop
Tue Jun 03, 2025 7:26 pm
Forum: Modding help
Topic: CaptureSpawnerTechnologyTrigger entity
Replies: 1
Views: 569

CaptureSpawnerTechnologyTrigger entity

Hello there,

I tried to trigger a technology by capturing a spawner.
So I'm using the CaptureSpawnerTechnologyTrigger. In the documentation, I see we can define an entity but even if a define a spawner, capturing any other spawner will trigger the tech
Is that normal ?

Go to advanced search