diff --git a/init.lua b/init.lua index a656121..16ec8bb 100644 --- a/init.lua +++ b/init.lua @@ -144,7 +144,7 @@ function pd_methods.learn(self, name) -- Decrement the remaining deps for each child for i, child in ipairs(children) do local new_rem = self.remaining_deps[child] - 1 - print(child, new_rem) + -- If the player learned it out of order, don't put it as -- available. if new_rem == 0 and not self:knows(child) then diff --git a/test.lua b/test.lua index 1443101..f7b09bd 100644 --- a/test.lua +++ b/test.lua @@ -24,7 +24,6 @@ local infos = { local function build_formspec() local formspec = "size[8,8]" - print(dump(data.available)) local nodes = {} for k in pairs(data.learned) do