diff options
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -37,6 +37,8 @@ end function love.update(dt) delta = dt time = time + dt + fps = love.timer.getFPS() + sys.s = 60/fps sys.w = love.graphics.getWidth() sys.h = love.graphics.getHeight() minim = love.graphics.getHeight()+10 @@ -77,6 +79,10 @@ function love.keyreleased(key) if key == "f11" then v1.c.chat.msgs = v1.c.chat.msgs + 1 end + if key == "f10" then + v1.c.health = v1.c.health - 5 + v1.spm = v1.spm + 0.25*(sys.h/1080) + end end function love.mousereleased(x, y, button) sys.mouse.p.p = false |
