Obey log_mods setting (plural "mods"), added stick crafting using a sapling or a jungle sapling.

This commit is contained in:
Calinou 2014-04-30 20:04:26 +02:00
parent 6a3ebdf9fe
commit b0ab5cd815
2 changed files with 11 additions and 1 deletions

View File

@ -5,6 +5,16 @@ minetest.register_craft({
recipe = {{"default:dry_shrub"},} recipe = {{"default:dry_shrub"},}
}) })
minetest.register_craft({
output = "default:stick 1",
recipe = {{"default:sapling"},}
})
minetest.register_craft({
output = "default:stick 1",
recipe = {{"default:junglesapling"},}
})
minetest.register_craft({ minetest.register_craft({
output = "default:dirt_with_grass 1", output = "default:dirt_with_grass 1",
type = "shapeless", type = "shapeless",

View File

@ -25,7 +25,7 @@ dofile(modpath.."/redefinitions.lua")
dofile(modpath.."/crafting.lua") dofile(modpath.."/crafting.lua")
dofile(modpath.."/aliases.lua") dofile(modpath.."/aliases.lua")
if minetest.setting_getbool("log_mod") then if minetest.setting_getbool("log_mods") then
print(S("[moreblocks] loaded.")) print(S("[moreblocks] loaded."))
end end