Removed print spam
This commit is contained in:
parent
dc2383ee08
commit
445048531d
5
main.lua
5
main.lua
@ -4,6 +4,7 @@ local math = require("math")
|
|||||||
mod.print = Isaac.ConsoleOutput
|
mod.print = Isaac.ConsoleOutput
|
||||||
mod.game = Game()
|
mod.game = Game()
|
||||||
local save = include("save"):new()
|
local save = include("save"):new()
|
||||||
|
local DEBUG = false
|
||||||
|
|
||||||
mod.font = Font()
|
mod.font = Font()
|
||||||
mod.font:Load("font/terminus.fnt")
|
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
|
if player:GetCollectibleNum(data._deadgodlastid)>data._deadgodlastcount then -- Have it on me
|
||||||
-- Then I just picked it up, yay
|
-- Then I just picked it up, yay
|
||||||
mod.registerTouched(data._deadgodlastid)
|
mod.registerTouched(data._deadgodlastid)
|
||||||
|
if DEBUG then
|
||||||
mod.print("> "..tostring(data._deadgodlastid).."\n")
|
mod.print("> "..tostring(data._deadgodlastid).."\n")
|
||||||
|
end
|
||||||
data._deadgodlastid = 0
|
data._deadgodlastid = 0
|
||||||
data._deadgodlastcount = 0
|
data._deadgodlastcount = 0
|
||||||
end end
|
end end
|
||||||
@ -88,7 +91,9 @@ end
|
|||||||
function mod:newrun()
|
function mod:newrun()
|
||||||
if mod:HasData() then
|
if mod:HasData() then
|
||||||
local data = mod:LoadData()
|
local data = mod:LoadData()
|
||||||
|
if DEBUG then
|
||||||
mod.print(data.."\n")
|
mod.print(data.."\n")
|
||||||
|
end
|
||||||
save:load(data)
|
save:load(data)
|
||||||
local c = 0
|
local c = 0
|
||||||
for _,v in ipairs(save.seen) do
|
for _,v in ipairs(save.seen) do
|
||||||
|
@ -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 :)
|
Anyway, I hope that this mod will be useful to someone :)
|
||||||
|
|
||||||
(Source code is available at https://forge.chapril.org/ayte/DeadGodHelper)</description>
|
(Source code is available at https://forge.chapril.org/ayte/DeadGodHelper)</description>
|
||||||
<version>1.5</version>
|
<version>1.7</version>
|
||||||
<visibility>Public</visibility>
|
<visibility>Public</visibility>
|
||||||
<tag id="Items"/>
|
<tag id="Items"/>
|
||||||
<tag id="Graphics"/>
|
<tag id="Graphics"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user