diff options
author | Calinou <calinou@opmbx.org> | 2014-04-30 20:04:26 +0200 |
---|---|---|
committer | Calinou <calinou@opmbx.org> | 2014-04-30 20:04:26 +0200 |
commit | b0ab5cd815de2eb4c60b6812a047febd61466d46 (patch) | |
tree | 19edfe93f58800280db2adbe383d9108db1e4c71 | |
parent | 6a3ebdf9feedc0496d074744e5c1015e941dcad9 (diff) |
Obey log_mods setting (plural "mods"), added stick crafting using a sapling or a jungle sapling.
-rw-r--r-- | crafting.lua | 10 | ||||
-rw-r--r-- | init.lua | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/crafting.lua b/crafting.lua index 5d6e1a5..d08d842 100644 --- a/crafting.lua +++ b/crafting.lua @@ -6,6 +6,16 @@ minetest.register_craft({ }) minetest.register_craft({ + output = "default:stick 1", + recipe = {{"default:sapling"},} +}) + +minetest.register_craft({ + output = "default:stick 1", + recipe = {{"default:junglesapling"},} +}) + +minetest.register_craft({ output = "default:dirt_with_grass 1", type = "shapeless", recipe = {"default:junglegrass", "default:dirt"}, @@ -25,7 +25,7 @@ dofile(modpath.."/redefinitions.lua") dofile(modpath.."/crafting.lua") dofile(modpath.."/aliases.lua") -if minetest.setting_getbool("log_mod") then +if minetest.setting_getbool("log_mods") then print(S("[moreblocks] loaded.")) end |