1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-17 15:58:26 +01:00

Add the craft recipe of "pole_perfect"

And indentation correction for more visibility
This commit is contained in:
Ombridride 2015-03-11 16:33:17 +01:00
parent a3cee45129
commit 7bc218a363

View File

@ -11,31 +11,46 @@
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- Fishing Pole -- Fishing Pole
----------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------
-- mc style -- Wooden Fishing Pole
minetest.register_craft({ minetest.register_craft({
output = "fishing:pole", output = "fishing:pole",
recipe = { recipe = {
{"", "", "group:stick" }, {"", "", "group:stick" },
{"", "group:stick", "farming:string"}, {"", "group:stick", "farming:string"},
{"group:stick", "", "farming:string"}, {"group:stick", "", "farming:string"},
} }
}) })
if minetest.get_modpath("moreblocks") ~= nil then
minetest.register_craft({ minetest.register_craft({
output = "fishing:pole", output = "fishing:pole",
recipe = { recipe = {
{"", "", "group:stick" }, {"", "", "group:stick" },
{"", "group:stick", "moreblocks:rope"}, {"", "group:stick", "moreblocks:rope" },
{"group:stick", "", "moreblocks:rope"}, {"group:stick", "", "moreblocks:rope" },
} }
}) })
end
if minetest.get_modpath("ropes") ~= nil then if minetest.get_modpath("ropes") ~= nil then
minetest.register_craft({ minetest.register_craft({
output = "fishing:pole", output = "fishing:pole",
recipe = { recipe = {
{"", "", "group:stick" }, {"", "", "group:stick" },
{"", "group:stick", "ropes:rope" }, {"", "group:stick", "ropes:rope" },
{"group:stick", "", "ropes:rope" }, {"group:stick", "", "ropes:rope" },
}
})
end
-- Mithril Fishing Pole
if minetest.get_modpath("moreore") ~= nil then
minetest.register_craft({
output = "fishing:pole_perfect",
recipe = {
{"", "", "moreoress:mithril_ingot" },
{"", "moreoress:mithril_ingot", "mobs:spider_cobweb" },
{"moreoress:mithril_ingot", "", "mobs:spider_cobweb" },
} }
}) })
end end
@ -64,13 +79,13 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "fishing:sushi", output = "fishing:sushi",
recipe = {"fishing:fish_raw","farming:seed_wheat","flowers:seaweed"}, recipe = {"fishing:fish_raw", "farming:seed_wheat", "flowers:seaweed" },
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "fishing:sushi", output = "fishing:sushi",
recipe = {"fishing:fish_raw","farming:seed_wheat","seaplants:kelpgreen"}, recipe = {"fishing:fish_raw", "farming:seed_wheat", "seaplants:kelpgreen" },
}) })