mirror of
https://github.com/raymoo/progress_tree.git
synced 2025-05-03 09:10:23 +02:00
Remove prints
This commit is contained in:
parent
7a9cf6bae9
commit
d372179cb4
2
init.lua
2
init.lua
@ -144,7 +144,7 @@ function pd_methods.learn(self, name)
|
|||||||
-- Decrement the remaining deps for each child
|
-- Decrement the remaining deps for each child
|
||||||
for i, child in ipairs(children) do
|
for i, child in ipairs(children) do
|
||||||
local new_rem = self.remaining_deps[child] - 1
|
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
|
-- If the player learned it out of order, don't put it as
|
||||||
-- available.
|
-- available.
|
||||||
if new_rem == 0 and not self:knows(child) then
|
if new_rem == 0 and not self:knows(child) then
|
||||||
|
1
test.lua
1
test.lua
@ -24,7 +24,6 @@ local infos = {
|
|||||||
|
|
||||||
local function build_formspec()
|
local function build_formspec()
|
||||||
local formspec = "size[8,8]"
|
local formspec = "size[8,8]"
|
||||||
print(dump(data.available))
|
|
||||||
local nodes = {}
|
local nodes = {}
|
||||||
|
|
||||||
for k in pairs(data.learned) do
|
for k in pairs(data.learned) do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user