diff --git a/luarules/configs/Atmosphereconfigs/acidicquarry.lua b/luarules/configs/Atmosphereconfigs/acidicquarry.lua index 1f81dd22f2a..aa4d9069645 100644 --- a/luarules/configs/Atmosphereconfigs/acidicquarry.lua +++ b/luarules/configs/Atmosphereconfigs/acidicquarry.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/altored divide bar remake.lua b/luarules/configs/Atmosphereconfigs/altored divide bar remake.lua index 608a2f1d62c..3c1f9730ab3 100644 --- a/luarules/configs/Atmosphereconfigs/altored divide bar remake.lua +++ b/luarules/configs/Atmosphereconfigs/altored divide bar remake.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/ascendancy.lua b/luarules/configs/Atmosphereconfigs/ascendancy.lua index 6482ce2ec09..ada17b09411 100644 --- a/luarules/configs/Atmosphereconfigs/ascendancy.lua +++ b/luarules/configs/Atmosphereconfigs/ascendancy.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/centerrock remake dry.lua b/luarules/configs/Atmosphereconfigs/centerrock remake dry.lua index 7ade82a35f5..ff3dac09767 100644 --- a/luarules/configs/Atmosphereconfigs/centerrock remake dry.lua +++ b/luarules/configs/Atmosphereconfigs/centerrock remake dry.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/centerrock remake.lua b/luarules/configs/Atmosphereconfigs/centerrock remake.lua index 4f1d897cd2b..59cc29cf140 100644 --- a/luarules/configs/Atmosphereconfigs/centerrock remake.lua +++ b/luarules/configs/Atmosphereconfigs/centerrock remake.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/colorado_v2.lua b/luarules/configs/Atmosphereconfigs/colorado_v2.lua index e54ffdad485..1bbe6f87977 100644 --- a/luarules/configs/Atmosphereconfigs/colorado_v2.lua +++ b/luarules/configs/Atmosphereconfigs/colorado_v2.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/dsdr.lua b/luarules/configs/Atmosphereconfigs/dsdr.lua index 36c94d54726..a6dabaf6fee 100644 --- a/luarules/configs/Atmosphereconfigs/dsdr.lua +++ b/luarules/configs/Atmosphereconfigs/dsdr.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/eye of horus.lua b/luarules/configs/Atmosphereconfigs/eye of horus.lua index 75e46121d1a..bffd114440d 100644 --- a/luarules/configs/Atmosphereconfigs/eye of horus.lua +++ b/luarules/configs/Atmosphereconfigs/eye of horus.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/folsomdamr.lua b/luarules/configs/Atmosphereconfigs/folsomdamr.lua index 00698a9523f..634c0d5af34 100644 --- a/luarules/configs/Atmosphereconfigs/folsomdamr.lua +++ b/luarules/configs/Atmosphereconfigs/folsomdamr.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/forge.lua b/luarules/configs/Atmosphereconfigs/forge.lua index d1ad872a931..03f4bb4c4a7 100644 --- a/luarules/configs/Atmosphereconfigs/forge.lua +++ b/luarules/configs/Atmosphereconfigs/forge.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/generic_config_setup.lua b/luarules/configs/Atmosphereconfigs/generic_config_setup.lua index bcb65d033a4..0e8508af806 100644 --- a/luarules/configs/Atmosphereconfigs/generic_config_setup.lua +++ b/luarules/configs/Atmosphereconfigs/generic_config_setup.lua @@ -64,6 +64,8 @@ end -- badweatherchance = 100 -- fireflieschance = 100 +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) local clock = n%fullcyclelength diff --git a/luarules/configs/Atmosphereconfigs/koom valley 3.lua b/luarules/configs/Atmosphereconfigs/koom valley 3.lua index e385b5c29f2..50dc1cf7e20 100644 --- a/luarules/configs/Atmosphereconfigs/koom valley 3.lua +++ b/luarules/configs/Atmosphereconfigs/koom valley 3.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/koomvalleybar.lua b/luarules/configs/Atmosphereconfigs/koomvalleybar.lua index a986054acc4..cdd0be89d7f 100644 --- a/luarules/configs/Atmosphereconfigs/koomvalleybar.lua +++ b/luarules/configs/Atmosphereconfigs/koomvalleybar.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/lv412.lua b/luarules/configs/Atmosphereconfigs/lv412.lua index f72b9427914..8e93293b35b 100644 --- a/luarules/configs/Atmosphereconfigs/lv412.lua +++ b/luarules/configs/Atmosphereconfigs/lv412.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/onyx cauldron.lua b/luarules/configs/Atmosphereconfigs/onyx cauldron.lua index f8e3aab93df..8fae3a2f669 100644 --- a/luarules/configs/Atmosphereconfigs/onyx cauldron.lua +++ b/luarules/configs/Atmosphereconfigs/onyx cauldron.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/quicksilver remake.lua b/luarules/configs/Atmosphereconfigs/quicksilver remake.lua index 569fe42a49d..4aeeb4417b0 100644 --- a/luarules/configs/Atmosphereconfigs/quicksilver remake.lua +++ b/luarules/configs/Atmosphereconfigs/quicksilver remake.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/red comet remake.lua b/luarules/configs/Atmosphereconfigs/red comet remake.lua index 5363a0b58c6..98a8ccbc5c8 100644 --- a/luarules/configs/Atmosphereconfigs/red comet remake.lua +++ b/luarules/configs/Atmosphereconfigs/red comet remake.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/riverdale remake.lua b/luarules/configs/Atmosphereconfigs/riverdale remake.lua index 308500dceb3..c05c8cb7f6e 100644 --- a/luarules/configs/Atmosphereconfigs/riverdale remake.lua +++ b/luarules/configs/Atmosphereconfigs/riverdale remake.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/seths ravine.lua b/luarules/configs/Atmosphereconfigs/seths ravine.lua index d7d3d121912..596e34382cf 100644 --- a/luarules/configs/Atmosphereconfigs/seths ravine.lua +++ b/luarules/configs/Atmosphereconfigs/seths ravine.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/tabula_remake.lua b/luarules/configs/Atmosphereconfigs/tabula_remake.lua index 573d76abcae..7a36b8bccbc 100644 --- a/luarules/configs/Atmosphereconfigs/tabula_remake.lua +++ b/luarules/configs/Atmosphereconfigs/tabula_remake.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/tma20x.lua b/luarules/configs/Atmosphereconfigs/tma20x.lua index ee0867182fc..33a85ccfb94 100644 --- a/luarules/configs/Atmosphereconfigs/tma20x.lua +++ b/luarules/configs/Atmosphereconfigs/tma20x.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName) diff --git a/luarules/configs/Atmosphereconfigs/trefoil remake.lua b/luarules/configs/Atmosphereconfigs/trefoil remake.lua index b2065041f63..aa239f3c011 100644 --- a/luarules/configs/Atmosphereconfigs/trefoil remake.lua +++ b/luarules/configs/Atmosphereconfigs/trefoil remake.lua @@ -1,3 +1,5 @@ +local gadget = gadget ---@type Gadget + function gadget:GameFrame(n) if n == 31 then Spring.Echo("Loaded atmosphere CEGs config for map: " .. Game.mapName)