Skip to content

Conversation

@dylanmcsweeney
Copy link

When the SE code path is enabled with a testing version of SE for Factorio 2.0 (plus a K2SE save file), titanium mod fails to load because of new Lua syntax requirements for things like "results" and "ingredients" in Factorio 2.0. I am not a Lua programmer (just Python and C++), so this is just what ChatGPT suggested I change then cleaned up by me. But, as far as I can tell it fixes the problem and I am able to load my save file.

@dylanmcsweeney
Copy link
Author

dylanmcsweeney commented Jul 16, 2025

Also, I don't know exactly what is supposed to be there, but line data-util.lua:639 looks like a typo to me. Here it is:

      local lname = params.ore.."-to-particle-stream"
      data:extend({
        enabled = false,             <-- Is this an accidental copy/paste error from the dictionary literal below?
        {
          type = "recipe",

I don't know if that's on purpose or not, but it stood out so I thought I would mention it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant