aboutsummaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-10-15 23:54:52 -0700
committer1029chris <1029chris@gmail.com>2016-10-15 23:54:52 -0700
commit41c81f2cff92d33808ab43d2ec6aab6e1703b89c (patch)
tree7e8f4d2df2ca3e9348ea5a2470bc836e84001470 /main.lua
parent328a61d9e04a858107e418a0311fd6975c3ab199 (diff)
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
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 4 insertions, 0 deletions
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