1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-06 00:23:49 +02:00
ComfyFactorio/modules/no_blueprint_library.lua
2019-08-06 03:04:35 +02:00

9 lines
480 B
Lua

local event = require 'utils.event'
local function on_player_joined_game(event)
game.permissions.get_group("Default").set_allows_action(defines.input_action.grab_blueprint_record, false)
game.permissions.get_group("Default").set_allows_action(defines.input_action.import_blueprint_string, false)
game.permissions.get_group("Default").set_allows_action(defines.input_action.import_blueprint, false)
end
event.add(defines.events.on_player_joined_game, on_player_joined_game)