From b5a137de815f3c9eeb7efb78ee3b65d9523eadbd Mon Sep 17 00:00:00 2001 From: Someone Date: Fri, 5 Jun 2020 03:21:30 +0200 Subject: [PATCH] Remove left-over from the forked parent mod (some-lazybastrad) that prevented handcrafting in new games. use "/permissions reset" to fix this issues for your savegames. --- control.lua | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 control.lua diff --git a/control.lua b/control.lua deleted file mode 100755 index f31774b..0000000 --- a/control.lua +++ /dev/null @@ -1,11 +0,0 @@ --- only needed on first startup. Create stuff and be done. - -script.on_event(defines.events.on_player_created, function (event) - game.permissions.get_group("Default").set_allows_action(defines.input_action.craft ,false) - local player = game.players[event.player_index] - player.insert{name="assembling-machine-3", count=1} - player.insert{name="small-electric-pole", count=1} - player.insert{name="boiler", count=1} - player.insert{name="steam-engine", count=1} - player.insert{name="offshore-pump", count=1} -end) -- 2.43.0