aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index e646d56..edf7bbb 100644
--- a/init.lua
+++ b/init.lua
@@ -1,3 +1,5 @@
+local default_yield = 3
+
local node_list = {
-- GLASS PANES-----------------------------------------------------
{ name = "glass_normal",
@@ -244,7 +246,7 @@ for _,node in ipairs(node_list) do
})
- minetest.register_craft({output = "glass_stained:" .. node.name .. " " .. (node.yield or 3),
+ minetest.register_craft({output = "glass_stained:" .. node.name .. " " .. (node.yield or default_yield),
recipe = node.recipe
})