1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-18 16:20:38 +01:00
server-nalc/mods/fishing/crafting.lua

111 lines
3.6 KiB
Lua
Raw Normal View History

-----------------------------------------------------------------------------------------------
-- Fishing - Mossmanikin's version - Recipes 0.0.8
-----------------------------------------------------------------------------------------------
-- License (code & textures): WTFPL
-- Contains code from: animal_clownfish, animal_fish_blue_white, fishing (original), stoneage
-- Looked at code from:
-- Dependencies: default, farming
-- Supports: animal_clownfish, animal_fish_blue_white, animal_rat, mobs
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-- Fishing Pole
-----------------------------------------------------------------------------------------------
-- Wooden Fishing Pole
minetest.register_craft({
output = "fishing:pole",
recipe = {
2015-03-12 02:03:33 +01:00
{"", "", "group:stick" },
{"", "group:stick", "farming:string"},
2015-03-12 02:03:33 +01:00
{"group:stick", "", "farming:string"},
}
})
if minetest.get_modpath("moreblocks") ~= nil then
minetest.register_craft({
output = "fishing:pole",
recipe = {
2015-03-12 02:03:33 +01:00
{"", "", "group:stick" },
{"", "group:stick", "moreblocks:rope" },
2015-03-12 02:03:33 +01:00
{"group:stick", "", "moreblocks:rope" },
}
})
end
if minetest.get_modpath("ropes") ~= nil then
minetest.register_craft({
output = "fishing:pole",
recipe = {
2015-03-12 02:03:33 +01:00
{"", "", "group:stick" },
{"", "group:stick", "ropes:rope" },
2015-03-12 02:03:33 +01:00
{"group:stick", "", "ropes:rope" },
}
})
end
-- Mithril Fishing Pole
2015-03-12 02:03:33 +01:00
if minetest.get_modpath("moreores") ~= nil then
minetest.register_craft({
output = "fishing:pole_perfect",
recipe = {
2015-03-12 02:03:33 +01:00
{"", "", "moreores:mithril_ingot" },
{"", "moreores:mithril_ingot", "mobs:spider_cobweb" },
{"moreores:mithril_ingot", "", "mobs:spider_cobweb" },
}
})
end
-----------------------------------------------------------------------------------------------
-- Roasted Fish
-----------------------------------------------------------------------------------------------
minetest.register_craft({
type = "cooking",
output = "fishing:fish",
recipe = "fishing:fish_raw",
cooktime = 2,
})
-----------------------------------------------------------------------------------------------
-- Wheat Seed
-----------------------------------------------------------------------------------------------
minetest.register_craft({
type = "shapeless",
output = "farming:seed_wheat",
recipe = {"farming:wheat"},
})
-----------------------------------------------------------------------------------------------
-- Sushi
-----------------------------------------------------------------------------------------------
minetest.register_craft({
type = "shapeless",
output = "fishing:sushi",
recipe = {"fishing:fish_raw", "farming:seed_wheat", "flowers:seaweed" },
})
minetest.register_craft({
type = "shapeless",
output = "fishing:sushi",
recipe = {"fishing:fish_raw", "farming:seed_wheat", "seaplants:kelpgreen" },
})
-----------------------------------------------------------------------------------------------
-- Roasted Shark
-----------------------------------------------------------------------------------------------
minetest.register_craft({
type = "cooking",
output = "fishing:shark_cooked",
recipe = "fishing:shark",
cooktime = 2,
})
-----------------------------------------------------------------------------------------------
-- Roasted Pike
-----------------------------------------------------------------------------------------------
minetest.register_craft({
type = "cooking",
output = "fishing:pike_cooked",
recipe = "fishing:pike",
cooktime = 2,
})