From 29eb2b5eb1352524448c1a7849a46049b4d07b36 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 23 Apr 2021 10:58:04 +0200 Subject: [PATCH] fix(debug): mention debug mode Fixes #97 --- sonic-radiance.love/game/init.lua | 2 +- sonic-radiance.love/scenes/debug/menu/infopanel/character.lua | 2 +- sonic-radiance.love/scenes/debug/menu/infopanel/gamedata.lua | 2 +- sonic-radiance.love/scenes/debug/menu/infopanel/team.lua | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sonic-radiance.love/game/init.lua b/sonic-radiance.love/game/init.lua index a8dd901..b18e444 100644 --- a/sonic-radiance.love/game/init.lua +++ b/sonic-radiance.love/game/init.lua @@ -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 diff --git a/sonic-radiance.love/scenes/debug/menu/infopanel/character.lua b/sonic-radiance.love/scenes/debug/menu/infopanel/character.lua index fd5fe59..7caacad 100644 --- a/sonic-radiance.love/scenes/debug/menu/infopanel/character.lua +++ b/sonic-radiance.love/scenes/debug/menu/infopanel/character.lua @@ -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" diff --git a/sonic-radiance.love/scenes/debug/menu/infopanel/gamedata.lua b/sonic-radiance.love/scenes/debug/menu/infopanel/gamedata.lua index 2cc0467..143edeb 100644 --- a/sonic-radiance.love/scenes/debug/menu/infopanel/gamedata.lua +++ b/sonic-radiance.love/scenes/debug/menu/infopanel/gamedata.lua @@ -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" diff --git a/sonic-radiance.love/scenes/debug/menu/infopanel/team.lua b/sonic-radiance.love/scenes/debug/menu/infopanel/team.lua index 62aa68b..2266108 100644 --- a/sonic-radiance.love/scenes/debug/menu/infopanel/team.lua +++ b/sonic-radiance.love/scenes/debug/menu/infopanel/team.lua @@ -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