parent
cd07a4e167
commit
29eb2b5eb1
4 changed files with 4 additions and 4 deletions
|
@ -41,7 +41,7 @@ Game.gui = require "game.modules.gui"
|
||||||
function Game:new()
|
function Game:new()
|
||||||
self.slot = -1
|
self.slot = -1
|
||||||
self.slotNumber = 3
|
self.slotNumber = 3
|
||||||
self.version = "0.0.0"
|
self.version = "0.0.7"
|
||||||
self:resetData()
|
self:resetData()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ function CharacterPanel:new(character)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CharacterPanel:drawContent(x, y)
|
function CharacterPanel:drawContent(x, y)
|
||||||
local debugString = "# " .. self.character.name .. "(" .. "Lvl " .. self.character.level .. ")" .. "\n"
|
local debugString = "# DEBUG - " .. self.character.name .. "(" .. "Lvl " .. self.character.level .. ")" .. "\n"
|
||||||
local debugString = debugString .. "EXP: " .. self.character.exp .. " / " .. self.character.exp_next .. "\n"
|
local debugString = debugString .. "EXP: " .. self.character.exp .. " / " .. self.character.exp_next .. "\n"
|
||||||
local debugString = debugString .. "HP: " .. self.character.hp .. " / " .. self.character.stats.hpmax .. "\n"
|
local debugString = debugString .. "HP: " .. self.character.hp .. " / " .. self.character.stats.hpmax .. "\n"
|
||||||
local debugString = debugString .. "PP: " .. self.character.pp .. " / " .. self.character.stats.ppmax .. "\n"
|
local debugString = debugString .. "PP: " .. self.character.pp .. " / " .. self.character.stats.ppmax .. "\n"
|
||||||
|
|
|
@ -6,7 +6,7 @@ function GamePanel:new()
|
||||||
end
|
end
|
||||||
|
|
||||||
function GamePanel:drawContent(x, y)
|
function GamePanel:drawContent(x, y)
|
||||||
local debugString = "# Save system data" .. "\n"
|
local debugString = "# DEBUG - Save data" .. "\n"
|
||||||
debugString = debugString .. "Current slot: " .. game.slot .. " / " .. game.slotNumber .. "\n"
|
debugString = debugString .. "Current slot: " .. game.slot .. " / " .. game.slotNumber .. "\n"
|
||||||
debugString = debugString .. "Rings: " .. game.loot.rings .. "\n"
|
debugString = debugString .. "Rings: " .. game.loot.rings .. "\n"
|
||||||
debugString = debugString .. "Gametime: " .. game:getTimeString() .. "\n"
|
debugString = debugString .. "Gametime: " .. game:getTimeString() .. "\n"
|
||||||
|
|
|
@ -6,7 +6,7 @@ function TeamPanel:new()
|
||||||
end
|
end
|
||||||
|
|
||||||
function TeamPanel:drawContent(x, y)
|
function TeamPanel:drawContent(x, y)
|
||||||
local debugString = "# Team" .. "\n"
|
local debugString = "# DEBUG - Team" .. "\n"
|
||||||
for i,name in ipairs(game.characters.team) do
|
for i,name in ipairs(game.characters.team) do
|
||||||
local char = game.characters.list[name]
|
local char = game.characters.list[name]
|
||||||
debugString = debugString .. "- " .. char.name
|
debugString = debugString .. "- " .. char.name
|
||||||
|
|
Loading…
Reference in a new issue