Search found 86 matches

by yaim904
Fri Nov 19, 2021 1:31 am
Forum: Modding help
Topic: [1.1][Solved] Why doesn't the allow_decomposition property work for me?
Replies: 11
Views: 1597

Re: [1.1] Why doesn't the allow_decomposition property work for me?

I have started a new game and everything is fine. Now I will concentrate on something else. I found some code that works well in migration. I had a hard time understanding it, but I already did. for _, force in pairs( game.forces ) do force.reset_technologies( ) for _, technology in pairs( force.te...
by yaim904
Thu Nov 18, 2021 3:57 pm
Forum: Modding help
Topic: [1.1][Solved] Why doesn't the allow_decomposition property work for me?
Replies: 11
Views: 1597

Re: [1.1] Why doesn't the allow_decomposition property work for me?

You're right, the default is true, deleting it won't fix it. I already tried changing the value to false and it didn't fix it either. Thanks for the key combination. But I don't see anything different in the prototypes. Recipe Solar panel https://i.imgur.com/JYLjCJi.png Item Solar panel https://i.i...
by yaim904
Thu Nov 18, 2021 9:58 am
Forum: Modding help
Topic: [1.1][Solved] Why doesn't the allow_decomposition property work for me?
Replies: 11
Views: 1597

Re: [1.1] Why doesn't the allow_decomposition property work for me?

If Recipe.enabled is set to true, the recipe will be available right from the start, without any research. I deleted the property you indicated, but it didn't work. Regarding problem 1. And if the problem is Factorio and not the properties of the new object? I see that other mods have that problem....
by yaim904
Thu Nov 18, 2021 1:20 am
Forum: Modding help
Topic: [1.1][Solved] Why doesn't the allow_decomposition property work for me?
Replies: 11
Views: 1597

Re: [1.1] Why doesn't the allow_decomposition property work for me?

In your message it says in the ingredients , but your code says in the entity , you confuse me. In the final part of the code, you can see what is added to the recipe. local Recipe = table.deepcopy( data.raw[ "recipe" ][ Base ] ) -- Copia la receta Recipe.energy_required = Recipe.energy_re...
by yaim904
Thu Nov 18, 2021 12:17 am
Forum: Modding help
Topic: [1.1][Solved] Why doesn't the allow_decomposition property work for me?
Replies: 11
Views: 1597

[1.1][Solved] Why doesn't the allow_decomposition property work for me?

Hi, I'm new to programming mods at Factorio. I have learned a couple of things with the codes of others, but there is something that I still cannot understand and I need help. I am creating a new solar panel, and in the recipes I see that: 1. The ingredients do not decomposes completely. 2. The reci...

Go to advanced search