Skip to content

Commit

Permalink
pagination et autres
Browse files Browse the repository at this point in the history
  • Loading branch information
Helfima committed Jul 10, 2016
1 parent dead221 commit b95d286
Show file tree
Hide file tree
Showing 20 changed files with 2,091 additions and 751 deletions.
11 changes: 1 addition & 10 deletions control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ helmod = {}
-- info=2
-- erro=1
-- nothing=0
Logging:new(1)
Logging:new(0)
Logging.console = true
Logging.force = true
--===========================
Expand All @@ -25,14 +25,6 @@ function helmod:on_init(event)
self.loaded = false;

self.playerControllers = {}

if global.beacon == nil then
global.beacon = helmod_defines.beacon
end

if global.factory == nil then
global.factory = helmod_defines.factory
end

end

Expand Down Expand Up @@ -60,7 +52,6 @@ function helmod:on_tick(event)
if self.loaded ~= true then
self:init_playerController()
self.loaded = true;
Logging:debug("global=",global)
end
end
if game.tick % 300 == 0 then
Expand Down
4 changes: 2 additions & 2 deletions core/defines.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ helmod_defines.items["crude-oil"]= {

-- parametre des factories
helmod_defines.beacon = {}
helmod_defines.beacon["basic-beacon"]={
name = "basic-beacon",
helmod_defines.beacon["beacon"]={
name = "beacon",
energy_nominal = 480,
combo = 3,
factory = 2,
Expand Down
Loading

0 comments on commit b95d286

Please sign in to comment.