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 ...
Search found 3 matches
- Wed Feb 11, 2026 10:54 pm
- Forum: Modding help
- Topic: Understanding Lua
- Replies: 6
- Views: 247
- Tue Feb 10, 2026 12:18 am
- Forum: Modding help
- Topic: Understanding Lua
- Replies: 6
- Views: 247
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: 6
- Views: 247
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 ...