Moon Logic 2


Adds programmable Lua combinator. Based on Sandboxed LuaCombinator and LuaCombinator2 mods.

Content
9 months ago
2.0
1.18K
Circuit network

b Cannot serialise lua functions on game save

9 months ago
(updated 9 months ago)

Hi!
I'm getting error on game save/autosave:

2564.416 Error ParallelScenarioSaver.cpp:158: Saving scenario failed: Mod Moon Logic 2 (0.1.3) caused error.

Error while running event Moon_Logic_2::on_save()
Cannot serialise lua functions

I have just one moon logic combinator with one function:

function p(o)
  game.print(serpent.line(o))
end

Is it intended? This worked fine in moon logic in factorio 1.1

9 months ago

It's not intended, but nothing I can fix without losing blueprint and cloud storage compatibility or slowing the running of code down.

9 months ago
(updated 9 months ago)

Aw, i got it. Gonna try to work around it with goto operator
Thank you!

New response