mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2026-01-01 05:35:33 +01:00
replace old fishing mod by new improved fishing mod
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Fishing - Mossmanikin's version - Recipes 0.0.8
|
||||
-- Fishing - crabman77 version
|
||||
-- Rewrited from original Fishing - Mossmanikin's version - Recipes 0.0.8
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- License (code & textures): WTFPL
|
||||
-- Contains code from: animal_clownfish, animal_fish_blue_white, fishing (original), stoneage
|
||||
@@ -11,60 +12,93 @@
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Fishing Pole
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Wooden Fishing Pole
|
||||
-- Wood Fishing Pole
|
||||
minetest.register_craft({
|
||||
output = "fishing:pole",
|
||||
recipe = {
|
||||
{"", "", "group:stick" },
|
||||
{"", "group:stick", "farming:string"},
|
||||
{"group:stick", "", "farming:string"},
|
||||
output = "fishing:pole_wood",
|
||||
recipe = {
|
||||
{"", "", "group:stick" },
|
||||
{"", "group:stick", "farming:string" },
|
||||
{"group:stick", "", "farming:string" },
|
||||
}
|
||||
})
|
||||
|
||||
if minetest.get_modpath("moreblocks") ~= nil then
|
||||
minetest.register_craft({
|
||||
output = "fishing:pole",
|
||||
recipe = {
|
||||
{"", "", "group:stick" },
|
||||
{"", "group:stick", "moreblocks:rope" },
|
||||
{"group:stick", "", "moreblocks:rope" },
|
||||
output = "fishing:pole_wood",
|
||||
recipe = {
|
||||
{"", "", "group:stick" },
|
||||
{"", "group:stick", "moreblocks:rope" },
|
||||
{"group:stick", "", "moreblocks:rope" },
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
if minetest.get_modpath("ropes") ~= nil then
|
||||
minetest.register_craft({
|
||||
output = "fishing:pole_wood",
|
||||
recipe = {
|
||||
{"", "", "group:stick" },
|
||||
{"", "group:stick", "ropes:rope" },
|
||||
{"group:stick", "", "ropes:rope" },
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-- Mithril Fishing Pole
|
||||
if minetest.get_modpath("moreores") ~= nil and minetest.get_modpath("mobs") ~= nil then
|
||||
minetest.register_craft({
|
||||
output = "fishing:pole",
|
||||
recipe = {
|
||||
{"", "", "group:stick" },
|
||||
{"", "group:stick", "ropes:rope" },
|
||||
{"group:stick", "", "ropes:rope" },
|
||||
output = "fishing:pole_perfect",
|
||||
recipe = {
|
||||
{"", "", "moreores:mithril_ingot" },
|
||||
{"", "moreores:mithril_ingot", "mobs:spider_cobweb" },
|
||||
{"moreores:mithril_ingot", "", "mobs:spider_cobweb" },
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-- Mithril Fishing Pole
|
||||
if minetest.get_modpath("moreores") ~= nil then
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Fishing bait
|
||||
-----------------------------------------------------------------------------------------------
|
||||
--bait corn
|
||||
minetest.register_craft({
|
||||
output = "fishing:pole_perfect",
|
||||
output = "fishing:bait_corn 9",
|
||||
recipe = {
|
||||
{"", "", "moreores:mithril_ingot" },
|
||||
{"", "moreores:mithril_ingot", "mobs:spider_cobweb" },
|
||||
{"moreores:mithril_ingot", "", "mobs:spider_cobweb" },
|
||||
{"", "farming:corn", ""},
|
||||
}
|
||||
})
|
||||
|
||||
--bait bread
|
||||
minetest.register_craft({
|
||||
output = "fishing:bait_bread 9",
|
||||
recipe = {
|
||||
{"", "farming:bread", ""},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Roasted Fish
|
||||
-----------------------------------------------------------------------------------------------
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "fishing:fish",
|
||||
output = "fishing:fish_cooked",
|
||||
recipe = "fishing:fish_raw",
|
||||
cooktime = 2,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "fishing:fish_cooked",
|
||||
recipe = "fishing:clownfish_raw",
|
||||
cooktime = 2,
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "fishing:fish_cooked",
|
||||
recipe = "fishing:bluewhite_raw",
|
||||
cooktime = 2,
|
||||
})
|
||||
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Wheat Seed
|
||||
-----------------------------------------------------------------------------------------------
|
||||
@@ -73,21 +107,26 @@ minetest.register_craft({
|
||||
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" },
|
||||
})
|
||||
if minetest.get_modpath("flowers_plus") ~= nil then
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:sushi",
|
||||
recipe = {"fishing:fish_cooked", "farming:seed_wheat", "flowers:seaweed" },
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:sushi",
|
||||
recipe = {"fishing:fish_raw", "farming:seed_wheat", "seaplants:kelpgreen" },
|
||||
if minetest.get_modpath("seaplants") ~= nil then
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:sushi",
|
||||
recipe = {"fishing:fish_cooked", "farming:seed_wheat", "seaplants:kelpgreen" },
|
||||
|
||||
})
|
||||
})
|
||||
end
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Roasted Shark
|
||||
@@ -95,7 +134,7 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "fishing:shark_cooked",
|
||||
recipe = "fishing:shark",
|
||||
recipe = "fishing:shark_raw",
|
||||
cooktime = 2,
|
||||
})
|
||||
|
||||
@@ -105,6 +144,115 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "fishing:pike_cooked",
|
||||
recipe = "fishing:pike",
|
||||
recipe = "fishing:pike_raw",
|
||||
cooktime = 2,
|
||||
})
|
||||
|
||||
|
||||
-- baitball
|
||||
minetest.register_craftitem("fishing:baitball", {
|
||||
description = fishing_setting.func.S("Bait Ball"),
|
||||
inventory_image = "fishing_baitball.png",
|
||||
stack_max = 99,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball 20",
|
||||
recipe = {"farming:flour", "farming:corn", "bucket:bucket_water"},
|
||||
replacements = {{ "bucket:bucket_water", "bucket:bucket_empty"}}
|
||||
})
|
||||
|
||||
|
||||
-- baitball_shark
|
||||
minetest.register_craftitem("fishing:baitball_shark", {
|
||||
description = fishing_setting.func.S("Shark Bait Ball"),
|
||||
inventory_image = "fishing_baitball_shark.png",
|
||||
stack_max = 99,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:fish_raw", "fishing:fish_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:clownfish_raw", "fishing:clownfish_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:clownfish_raw", "fishing:fish_raw"}
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:bluewhite_raw", "fishing:bluewhite_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:bluewhite_raw", "fishing:fish_raw"}
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:clownfish_raw", "fishing:bluewhite_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:clownfish_raw", "fishing:shark_raw"}
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:clownfish_raw", "fishing:pike_raw"}
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:bluewhite_raw", "fishing:shark_raw"}
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:bluewhite_raw", "fishing:pike_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:shark_raw", "fishing:shark_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:pike_raw", "fishing:pike_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:fish_raw", "fishing:shark_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:fish_raw", "fishing:pike_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:shark_raw", "fishing:pike_raw"}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user