20 lines
416 B
Lua
20 lines
416 B
Lua
Produktion = {}
|
|
Produktion.timer = 0
|
|
Produktion.interval = 60000
|
|
Produktion.fillType = "PAYDIRT"
|
|
Produktion.amountPerCycle = 1000
|
|
|
|
function Produktion:load()
|
|
print("Produktion.lua wurde geladen")
|
|
end
|
|
|
|
function Produktion:update(dt)
|
|
Produktion.timer = Produktion.timer + dt
|
|
if Produktion.timer >= Produktion.interval then
|
|
print ("Produktion Gestartet")
|
|
Produktion.timer = 0
|
|
end
|
|
|
|
end
|
|
|