Halb ferttiger basis code erstellt

This commit is contained in:
2026-07-01 07:25:34 +02:00
parent 355505fc40
commit cb5064f1de
8 changed files with 302 additions and 3 deletions
+19
View File
@@ -0,0 +1,19 @@
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