Files
factorio-scenario-ExpCluster/modules/ExpGamingInfo/Readme/src/sync.lua
2018-10-13 00:10:17 +01:00

14 lines
680 B
Lua

local Sync = require('ExpGamingCore.Sync@^4.0.0')
local Gui = require('ExpGamingCore.Gui@^4.0.0')
Sync.add_to_gui(Gui.inputs.add_button('readme-sync-guildlines','View Guildlines','View the guildlines in the readme',function(player,element)
Gui.center.open_tab(player,'readme','guildlines')
end))
Sync.add_to_gui(Gui.inputs.add_button('readme-sync-links','View Other Links','View the links in the readme',function(player,element)
Gui.center.open_tab(player,'readme','links')
end))
Sync.add_to_gui(Gui.inputs.add_button('readme-sync-rules','View All Rules','View the all rules in the readme',function(player,element)
Gui.center.open_tab(player,'readme','rules')
end))