forked from minetest-mods/moreblocks
Obey log_mods setting (plural "mods"), added stick crafting using a sapling or a jungle sapling.
This commit is contained in:
parent
6a3ebdf9fe
commit
b0ab5cd815
10
crafting.lua
10
crafting.lua
|
@ -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",
|
||||||
|
|
2
init.lua
2
init.lua
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user