From b799586a4c39ee744ccf61530babe881793789b2 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 2 Aug 2020 11:04:49 +0200 Subject: [PATCH] feat: add more info to character panel --- .../scenes/debug/menu/infopanel/character.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sonic-radiance.love/scenes/debug/menu/infopanel/character.lua b/sonic-radiance.love/scenes/debug/menu/infopanel/character.lua index a3af0a0..fd5fe59 100644 --- a/sonic-radiance.love/scenes/debug/menu/infopanel/character.lua +++ b/sonic-radiance.love/scenes/debug/menu/infopanel/character.lua @@ -8,6 +8,15 @@ end function CharacterPanel:drawContent(x, y) local debugString = "# " .. 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" + local debugString = debugString .. "ATK: " .. self.character.stats.attack + local debugString = debugString .. " DEF: " .. self.character.stats.defense + local debugString = debugString .. " SPD: " .. self.character.stats.speed .. "\n" + local debugString = debugString .. "POW: " .. self.character.stats.power + local debugString = debugString .. " MND: " .. self.character.stats.mind + local debugString = debugString .. " TEK: " .. self.character.stats.technic .. "\n" love.graphics.print(debugString, x, y) end