Maybe I am blind.
Alright. Unrelated to questions and thoughts above, I started messing with item groups and trying to understand how they're organized. And I'm pretty sure I get it, but I can't find where it's doing it, and so I can't confirm which makes me a bit lost.
The player crafting gui and ...
Search found 6 matches
- Mon Feb 16, 2026 11:52 pm
- Forum: Modding help
- Topic: Understanding Lua
- Replies: 11
- Views: 1236
- Mon Feb 16, 2026 8:29 pm
- Forum: Modding help
- Topic: Understanding Lua
- Replies: 11
- Views: 1236
Re: Understanding Lua
.minable is shorter than .minableproperties, while MinableProperties is more descriptive. So the first is easier to use in code, and the second is better for use in the documentation to describe a certain type of properties. For example, the game knows not just MinableProperties, but also ...
- Sat Feb 14, 2026 7:16 pm
- Forum: Modding help
- Topic: Understanding Lua
- Replies: 11
- Views: 1236
Re: Understanding Lua
Even this is a personal recommendation, but if there's one thing: be consistent. Coding style is a topic of endless debate that always boils down to taste. Do whatever feels most reasonable/readable to you and stick to that. When editing other people's code, use the style they've been using. Haha ...
- Wed Feb 11, 2026 10:54 pm
- Forum: Modding help
- Topic: Understanding Lua
- Replies: 11
- Views: 1236
Re: Understanding Lua
Correct, whitespace is stripped out by the Lua interpreter at runtime outside of "quoted strings". The first format is probably the sanest for readability. You're the best. Thank you!
Okay so, I return with new things to understand. I have made my mod, and I'm feeling pretty comfortable with what ...
Okay so, I return with new things to understand. I have made my mod, and I'm feeling pretty comfortable with what ...
- Tue Feb 10, 2026 12:18 am
- Forum: Modding help
- Topic: Understanding Lua
- Replies: 11
- Views: 1236
Re: Understanding Lua
Yes, version 2.0 changed how recipe ingredients are specified . There used to be a shorthand format for compatibility. The Quality mod chokes if a Recipe does not have a valid Ingredients because it auto-generates recipes for each quality level… it is generally easiest/faster to disable the DLC ...
- Mon Feb 09, 2026 10:19 pm
- Forum: Modding help
- Topic: Understanding Lua
- Replies: 11
- Views: 1236
Understanding Lua
Hello friends!
-- Needless exposition
I am a long (long... long...) time Factorio player, but very new to modding. And by very new, I mean I like just started this week (and this is my first real foray into programming). And that journey started with learning how Lua works. So I ran through the Lua ...
-- Needless exposition
I am a long (long... long...) time Factorio player, but very new to modding. And by very new, I mean I like just started this week (and this is my first real foray into programming). And that journey started with learning how Lua works. So I ran through the Lua ...