Search found 147 matches

by yaim904
Wed Apr 30, 2025 1:43 pm
Forum: Modding help
Topic: [Solved][2.0.43] How can I set the icon for a recipe?
Replies: 5
Views: 1007

Re: [2.0.43] How can I set the icon for a recipe?



Changing the names separates the recipes from the object.

It's not what I expected but it might work for me.
Thank you.

I still find it strange that the recipe ignores its own icons in favour of the result icons ...
by yaim904
Wed Apr 30, 2025 1:32 am
Forum: Modding help
Topic: [Solved][2.0.43] How can I set the icon for a recipe?
Replies: 5
Views: 1007

Re: [2.0.43] How can I set the icon for a recipe?



I changed the localised_name in the following code but it is the same result.


---------------------------------------------------------------------------------------------------
---> data.lua ...
by yaim904
Mon Apr 28, 2025 10:50 am
Forum: Modding help
Topic: [Solved][2.0.43] How can I set the icon for a recipe?
Replies: 5
Views: 1007

Re: [2.0.43] How can I set the icon for a recipe?

What I mean is, what is the point of defining the icons of the recipes if in the end they will be ignored and another one will be used.
by yaim904
Sun Apr 27, 2025 4:54 pm
Forum: Modding help
Topic: cannot read recipe subgroup from data.raw
Replies: 8
Views: 1652

Re: cannot read recipe subgroup from data.raw

I think I can help you, but I don't understand the explanation.

Can you give me a code or before and after data?
by yaim904
Sun Apr 27, 2025 4:29 pm
Forum: Modding help
Topic: [Solved][2.0.43] How can I set the icon for a recipe?
Replies: 5
Views: 1007

[Solved][2.0.43] How can I set the icon for a recipe?

Context
I am creating a new object with its own icon. The new object is used in two recipes.

What I am trying to do is that each recipe has a different icon.

The following code is functional and the image shows the problem ...
by yaim904
Wed Apr 16, 2025 3:02 pm
Forum: Modding help
Topic: [2.0.72] Intermediate products are not working
Replies: 12
Views: 2371

Re: [Solved][[2.0.39] How fixed?? It's a bug??

I didn't hear that this was resolved.
I just checked and it is now working.
Thank you.
by yaim904
Fri Mar 14, 2025 6:07 pm
Forum: Modding help
Topic: mod_gui without children
Replies: 2
Views: 700

Re: mod_gui without children

Hi, can you share the code to do some tests?
It doesn't have to be everything, just the essentials.
by yaim904
Fri Mar 14, 2025 5:31 pm
Forum: Modding help
Topic: Is it possible to put the recipes of a subgroup together??
Replies: 1
Views: 397

Re: Is it possible to put the recipes of a subgroup together??

No, you can't.
By default they are organized by placing the objects/recipes first and then the alternative recipes.
by yaim904
Fri Mar 14, 2025 5:20 pm
Forum: Modding help
Topic: TabbedPane with tabs on bottom?
Replies: 1
Views: 416

Re: TabbedPane with tabs on bottom?

Hi, I don't know much about GUI, but I think there is no easy way to do it, I mean, the one that comes programmed doesn't include it.

But I think you can play with shapes and colors to simulate one.
by yaim904
Fri Mar 14, 2025 12:25 am
Forum: Modding help
Topic: [2.0.72] Intermediate products are not working
Replies: 12
Views: 2371

Re: [2.0.39] How fixed?? It's a bug??

Update
This is the simplified and FUNCTIONAL example code, it still has the error, and I still don't know why it doesn't work not with the gears but with the other objects.


--- --- --- --- --- --- --- --- --- --- --- --- --- ---
---> data.lua ...
by yaim904
Thu Mar 13, 2025 11:14 pm
Forum: Modding help
Topic: [2.0.72] Intermediate products are not working
Replies: 12
Views: 2371

Re: [2.0.39] How fixed?? It's a bug??

I think I have made some progress on this issue.

I am now using this code, which works fine with all objects in the game, except iron gears.

This code is NOT FUNCTIONAL , it is only for reference.

--- Contenedor de las recetas
GPrefix.addDataRaw({
{ type = "recipe-category", name = ThisMOD ...
by yaim904
Thu Mar 13, 2025 1:11 am
Forum: Modding help
Topic: [2.0.72] Intermediate products are not working
Replies: 12
Views: 2371

Re: [2.0.39] How fixed?? It's a bug??



Thank you, but that does not solve the problem, it evades it, but does not solve it.

With iron plates it works without any problem.

Captura de pantalla (16).png


I am looking for everything to work the same way.

The result of the recipe should be included in the other recipes, as seen in ...
by yaim904
Wed Mar 12, 2025 11:20 pm
Forum: Modding help
Topic: [2.0.72] Intermediate products are not working
Replies: 12
Views: 2371

Re: [2.0.39] How fixed?? It's a bug??

This message has been deleted by the author
by yaim904
Wed Mar 12, 2025 7:25 pm
Forum: Modding help
Topic: [2.0.72] Intermediate products are not working
Replies: 12
Views: 2371

[2.0.72] Intermediate products are not working

I have version 2.0.39, here is the code I'm using and the images

I am creating alternative recipes and have created the recipes for the other objects, but only with this one the problem occurs.

--- --- --- --- --- --- --- --- --- --- --- --- --- ---
---> data.lua ...
by yaim904
Mon Feb 10, 2025 9:59 pm
Forum: Modding help
Topic: [2.0] How do I delete the spaces in the GUI?
Replies: 0
Views: 260

[2.0] How do I delete the spaces in the GUI?

I am creating some MODs and I have noticed that some spaces are being created, but I don't know the reason why these spaces are appearing.

How do I avoid or eliminate these spaces?
by yaim904
Sun Feb 02, 2025 10:20 pm
Forum: Modding help
Topic: How to add crafting categories to recipes that can be crafted by hand.
Replies: 6
Views: 2917

Re: How to add crafting categories to recipes that can be crafted by hand.



It's been a long time since the last comment, but now I understand what you told me, thanks for the help.


Update: 2025 02 03
Today I tried to update my MOD following the directions you gave me and it doesn't work.
I have version 2.0.32 , here is the code I'm using and the images

I am ...
by yaim904
Fri Jan 31, 2025 4:46 pm
Forum: Modding help
Topic: Is it possible to put the recipes of a subgroup together??
Replies: 1
Views: 397

Is it possible to put the recipes of a subgroup together??

I am trying to sort the recipes in such a way that those that produce a certain object are one after the other.

I have tried to do it by changing the order property in several ways but I can't do it.

I am beginning to doubt that it is possible


Captura de pantalla (728).png

Captura de ...
by yaim904
Wed Jan 22, 2025 11:17 pm
Forum: Ideas and Suggestions
Topic: Formatting research time
Replies: 0
Views: 263

Formatting research time

Today I wanted to see the research clock, and for a moment I got very confused when the numbers disappeared.
I don't know if it is possible, but I think you should give a fixed format to that time.

Code: Select all

41h 00m 06s
by yaim904
Sat Nov 09, 2024 4:16 pm
Forum: Not a bug
Topic: [2.0.15] Switch does not activate
Replies: 1
Views: 434

[2.0.15] Switch does not activate

Hi, I don't know if this is happening to anyone else, but I'm reporting it in case it's not.

Today I tried to use the switches, to use them in my plans.

My idea is:
1. If the train is low on fuel, fetch more.
2. If the train is empty, go to a loading station.
3. If the unloading station is full ...
by yaim904
Sun Jul 14, 2024 7:39 pm
Forum: Technical Help
Topic: Error downloading mods: "CURL failed: code:56, 38; Failure when receiving data from the peer"
Replies: 5
Views: 1245

Re: Am I the only one who can't download MODs??

I tried to download Krastorio again and it didn't work, I attach the log.
Loewchen wrote: Sun Jul 14, 2024 3:29 pm
I did what you said and it still didn't work.
Brathahn wrote: Sun Jul 14, 2024 3:37 pm

Go to advanced search