From 41c81f2cff92d33808ab43d2ec6aab6e1703b89c Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Sat, 15 Oct 2016 23:54:52 -0700 Subject: Lots of work here moved antivirus fight function to antivirus.lua made it to antivirus fight function will work on both fights added new hands for virus 2 changed dialogue lots more --- main.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main.lua') diff --git a/main.lua b/main.lua index 2f541b5..565e613 100644 --- a/main.lua +++ b/main.lua @@ -81,7 +81,11 @@ function love.mousepressed(x, y, button) end function love.keyreleased(key) if key == "f11" then + if scene == 2 then v1.c.chat.msgs = v1.c.chat.msgs + 1 + elseif scene == 3 then + v2.c.chat.msgs = v2.c.chat.msgs + 1 + end end if key == "f10" then v1.c.health = v1.c.health - 5 -- cgit