Skip to content

Commit

Permalink
[Merge] Version 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yancouto committed Feb 21, 2018
2 parents 42c2548 + 2dca9cb commit 8df865c
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
###### Copyright (C) 2017 MarvellousSoft & USPGameDev
###### Code under license **GPLv3.0**, original assets under license **CC BY-AS 4.0**

# Marvellous Inc. v1.1
# Marvellous Inc. v1.1.1

**an open source zachlike indie game by [MarvellousSoft](https://marvelloussoft.github.io/) and [USPGameDev](https://uspgamedev.org/) ~ 2016/2017**

Expand Down
1 change: 1 addition & 0 deletions marv/classes/interpreter/operations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ function Read:execute()
if not console or console.tp ~= "console" then return "Trying to read from non-console" end
local nx = console:input()
if not nx then return "No input on console" end
if type(nx) ~= 'number' then return nx end
return Util.findId("memory"):set(self.reg:evaluate(), nx)
end

Expand Down
2 changes: 1 addition & 1 deletion marv/conf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function love.conf(t)
title = "Marvellous_Inc", -- The project title (string)
package = "marvellous", -- The project command and package name (string)
loveVersion = t.version, -- The project LÖVE version
version = "1.0.1", -- The project version
version = "1.1.1", -- The project version
author = "Marvellous Soft", -- Your name (string)
email = "marvellous.amoeba@gmail.com", -- Your email (string)
description = "Zachlike with an immersive storyline told through emails.", -- The project description (string)
Expand Down
3 changes: 3 additions & 0 deletions marv/gamestates/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ function state:draw()
local f = self.font
love.graphics.setFont(f)
love.graphics.print("Username:", (W - self.box.w) / 2, H - 300 - f:getHeight() - 5)

love.graphics.print('v' .. VERSION, W - f:getWidth('v' .. VERSION) - 10, H - f:getHeight() - 10)

love.graphics.setLineWidth(.5)
love.graphics.rectangle("line", (W - self.box.w) / 2, H - 300, self.box.w, self.box.h)
self.box:draw()
Expand Down
2 changes: 1 addition & 1 deletion marv/puzzles/jen3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ end

function first_completed()
_G.PopManager.new("Well done",
"You have proven yourself to be an efficient and valuable employee so far.\n\nI'll tell Franz about your sucess. It's time to carry on.\n-Janine",
"You have proven yourself to be an efficient and valuable employee so far.\n\nI'll tell Franz about your sucess. It's time to carry on.\n\n-Janine",
_G.CHR_CLR['jen'], {
func = after_pop,
text = " I am ready ",
Expand Down
2 changes: 1 addition & 1 deletion marv/puzzles/jen7.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ grid_floor = "wwwwwwwwwwwwwwwwwwwww"..

function first_completed()
_G.PopManager.new("Clean as a morgue",
"I couldn't make it better myself.\nIf we get out of this mess in one piece, I'll buy you a bottle of Wharmpess and we put all of this havoc behind us, how about it?\n-Janine",
"I couldn't make it better myself.\nIf we get out of this mess in one piece, I'll buy you a bottle of Wharmpess and we put all of this havoc behind us, how about it?\n\n-Janine",
_G.CHR_CLR['jen'], {
func = function()
_G.ROOM:disconnect()
Expand Down
6 changes: 0 additions & 6 deletions marv/puzzles/paul3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,5 @@ function first_completed()
end,
text = " *you ponder your life choices* ",
clr = _G.Color.blue()
}, {
func = function()
_G.ROOM:disconnect()
end,
text = " that's a lot of dead people... ",
clr = _G.Color.red()
})
end
2 changes: 2 additions & 0 deletions marv/setup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ local setup = {}
--SETUP FUNCTIONS
--------------------

VERSION = "1.1.1"

--GLOBAL VARIABLES--
W = love.graphics.getWidth() --Current width of the game window
H = love.graphics.getHeight() --Current height of the game window
Expand Down

0 comments on commit 8df865c

Please sign in to comment.