Removed print spam
This commit is contained in:
parent
dc2383ee08
commit
445048531d
9
main.lua
9
main.lua
@ -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)
|
||||
mod.print("> "..tostring(data._deadgodlastid).."\n")
|
||||
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()
|
||||
mod.print(data.."\n")
|
||||
if DEBUG then
|
||||
mod.print(data.."\n")
|
||||
end
|
||||
save:load(data)
|
||||
local c = 0
|
||||
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 :)
|
||||
|
||||
(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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user