-
Notifications
You must be signed in to change notification settings - Fork 0
/
control.lua
33 lines (25 loc) · 974 Bytes
/
control.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
local competitive_production = require "competitive_production"
script.on_init(function ()
competitive_production.on_init()
end)
script.on_event(defines.events.on_player_created, function(event)
competitive_production.on_player_created(event)
end)
script.on_event(defines.events.on_player_joined_game, function(event)
competitive_production.on_player_joined_game(event)
end)
script.on_event(defines.events.on_tick, function(event)
competitive_production.on_tick(event)
end)
script.on_event(defines.events.on_built_entity, function(event)
competitive_production.on_built_entity(event)
end)
script.on_event(defines.events.on_gui_click, function(event)
competitive_production.on_gui_click(event)
end)
script.on_event(defines.events.on_gui_closed, function(event)
competitive_production.on_gui_closed(event)
end)
script.on_event(defines.events.on_marked_for_deconstruction, function(event)
competitive_production.on_marked_for_deconstruction(event)
end)