Added GameSettingsGui and GuiAnnouncements

This commit is contained in:
Cooldude2606
2018-10-09 19:51:14 +01:00
parent 6df973eb5c
commit 4375671c9b
22 changed files with 183 additions and 118 deletions

View File

@@ -38,7 +38,7 @@ local global = global{
}
-- Function Define
Gui.left.add{
ThisModule.Gui = Gui.left{
name='science',
caption='item/lab',
tooltip={'ExpGamingInfo-Science.tooltip'},
@@ -100,4 +100,5 @@ Gui.left.add{
script.on_event(defines.events.on_research_finished,function(event) Gui.left.update('science') end)
-- Module Return
return ThisModule
-- when called will toogle the gui for that player, if no player it will update the gui
return setmetatable(ThisModule,{_call=function(self,...) self.Gui(...) end})