Search found 6 matches

by Philipp
Sat Mar 30, 2024 9:05 pm
Forum: Modding help
Topic: What am I missing? Lua API
Replies: 4
Views: 289

Re: What am I missing? Lua API

Thanks, that fixed it!
by Philipp
Sat Mar 30, 2024 8:24 pm
Forum: Modding help
Topic: What am I missing? Lua API
Replies: 4
Views: 289

Re: What am I missing? Lua API

I get the same error when I use on_init
by Philipp
Sat Mar 30, 2024 7:01 pm
Forum: Modding help
Topic: What am I missing? Lua API
Replies: 4
Views: 289

What am I missing? Lua API

Hello together, I´m realyy struggling to get a simple script from the API Docs running. Just can´t figure out what I´m missing. I guess its pretty simple... The code: --control.lua script.on_load(function() local surface = game.surfaces["nauvis"] surface.create_entity({ name = "big-bi...
by Philipp
Mon Aug 21, 2023 6:53 pm
Forum: Modding help
Topic: Technology Order
Replies: 5
Views: 658

Re: Technology Order

Hello Bilka,

thank you. Assigning a subgroup "science-pack" to the blue science pack moved them way down but now they still ignore the the order.
Can I upload a save with the mod here?
by Philipp
Mon Aug 21, 2023 2:18 pm
Forum: Modding help
Topic: Technology Order
Replies: 5
Views: 658

Re: Technology Order

Hello Bilka,
yes that was what I was also thinking but see:
Bildschirmfoto 2023-08-21 um 16.16.56.png
Bildschirmfoto 2023-08-21 um 16.16.56.png (284.19 KiB) Viewed 601 times
by Philipp
Mon Aug 21, 2023 9:40 am
Forum: Modding help
Topic: Technology Order
Replies: 5
Views: 658

Technology Order

Hello! Im trying to figure out how ordering in the technology gui works. I use debug mode to gather information and the Lua API. I was thinking that the game sorts after the order string in alphabetical order. So why is it that in the base mod "military" has the order "e-a-a" but...

Go to advanced search