Removed print spam

This commit is contained in:
theo@manjaro 2023-06-07 18:20:33 +02:00
parent dc2383ee08
commit 445048531d
2 changed files with 8 additions and 3 deletions

View File

@ -4,6 +4,7 @@ local math = require("math")
mod.print = Isaac.ConsoleOutput
mod.game = Game()
local save = include("save"):new()
local DEBUG = false
mod.font = Font()
mod.font:Load("font/terminus.fnt")
@ -61,7 +62,9 @@ function mod:update()
if player:GetCollectibleNum(data._deadgodlastid)>data._deadgodlastcount then -- Have it on me
-- Then I just picked it up, yay
mod.registerTouched(data._deadgodlastid)
if DEBUG then
mod.print("> "..tostring(data._deadgodlastid).."\n")
end
data._deadgodlastid = 0
data._deadgodlastcount = 0
end end
@ -88,7 +91,9 @@ end
function mod:newrun()
if mod:HasData() then
local data = mod:LoadData()
if DEBUG then
mod.print(data.."\n")
end
save:load(data)
local c = 0
for _,v in ipairs(save.seen) do

View File

@ -17,7 +17,7 @@ There's however a limitation: since (to my knowledge) there's no way to get info
Anyway, I hope that this mod will be useful to someone :)
(Source code is available at https://forge.chapril.org/ayte/DeadGodHelper)</description>
<version>1.5</version>
<version>1.7</version>
<visibility>Public</visibility>
<tag id="Items"/>
<tag id="Graphics"/>