2 script.on_init(function (event)
3 game.permissions.get_group("Default").set_allows_action(defines.input_action.craft ,false)
5 if script.active_mods["some-spaceship-wreck-generator"] then
6 remote.call("freeplay", "set_created_items", {
8 ["firearm-magazine"] = 10,
9 ["assembling-machine-3"] = 1,
10 ["small-electric-pole"] = 1,
11 ["electric-mining-drill"] = 1
14 remote.call("freeplay", "set_created_items", {
16 ["firearm-magazine"] = 10,
17 ["assembling-machine-3"] = 1,
18 ["small-electric-pole"] = 1,
19 ["electric-mining-drill"] = 1,