fix(debug): mention debug mode

Fixes #97
This commit is contained in:
Kazhnuz 2021-04-23 10:58:04 +02:00
parent cd07a4e167
commit 29eb2b5eb1
4 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,7 @@ Game.gui = require "game.modules.gui"
function Game:new()
self.slot = -1
self.slotNumber = 3
self.version = "0.0.0"
self.version = "0.0.7"
self:resetData()
end

View file

@ -7,7 +7,7 @@ function CharacterPanel:new(character)
end
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 .. "HP: " .. self.character.hp .. " / " .. self.character.stats.hpmax .. "\n"
local debugString = debugString .. "PP: " .. self.character.pp .. " / " .. self.character.stats.ppmax .. "\n"

View file

@ -6,7 +6,7 @@ function GamePanel:new()
end
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 .. "Rings: " .. game.loot.rings .. "\n"
debugString = debugString .. "Gametime: " .. game:getTimeString() .. "\n"

View file

@ -6,7 +6,7 @@ function TeamPanel:new()
end
function TeamPanel:drawContent(x, y)
local debugString = "# Team" .. "\n"
local debugString = "# DEBUG - Team" .. "\n"
for i,name in ipairs(game.characters.team) do
local char = game.characters.list[name]
debugString = debugString .. "- " .. char.name