Attached is a mod that contains a scenario with an embedded locale; scenario code makes two identical calls to log{...}, one inside an event, the other outside. One succeeds, one fails.
Code: Select all
15.398 Script @.../Factorio/temp/currently-playing/control.lua:1: Unknown key: "scenario-test"
...
15.424 Verbose AppManager.cpp:509: Time to create game: 0.733736 seconds.
15.425 Script @.../Factorio/temp/currently-playing/control.lua:4: test