1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-18 10:40:22 +02:00
server-nalc/mods/fishing/crafting.lua
LeMagnesium 84ead6a062 Updated fishing mod from Xanthin fork
- I found recently that MossManikin's fishing mod is outdated: its last commit has been sent on August 2013. However, there are some forks of it. The mod updated is Xanthin's one. It updates API, and a little bit of global variables.
- Variables specifically modified for MFF have been changed to their last state.
- The fork works perfectly fine for 0.4.11-dev
- It can use intllib for translation
2015-01-20 21:32:23 +01:00

96 lines
3.2 KiB
Lua

-----------------------------------------------------------------------------------------------
-- 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
-----------------------------------------------------------------------------------------------
-- mc style
minetest.register_craft({
output = "fishing:pole",
recipe = {
{"", "", "default:stick" },
{"", "default:stick", "farming:string"},
{"default:stick", "", "farming:string"},
}
})
minetest.register_craft({
output = "fishing:pole",
recipe = {
{"", "", "default:stick" },
{"", "default:stick", "moreblocks:rope"},
{"default:stick", "", "moreblocks:rope"},
}
})
minetest.register_craft({
output = "fishing:pole",
recipe = {
{"", "", "default:stick" },
{"", "default:stick", "ropes:rope" },
{"default:stick", "", "ropes:rope" },
}
})
-----------------------------------------------------------------------------------------------
-- 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,
})