1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00
ComfyFactorio/modules/no_blueprint_library.lua

9 lines
480 B
Lua
Raw Normal View History

2019-08-06 03:04:35 +02:00
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)