diff --git a/mods/nalc/depends.txt b/mods/nalc/depends.txt index 7f548d85..fc527346 100644 --- a/mods/nalc/depends.txt +++ b/mods/nalc/depends.txt @@ -21,3 +21,4 @@ darkage? dye? cherry_tree? nether? +mobs_animal? diff --git a/mods/nalc/init.lua b/mods/nalc/init.lua index 7edc1936..e439e3e2 100644 --- a/mods/nalc/init.lua +++ b/mods/nalc/init.lua @@ -21,7 +21,7 @@ local mods = "beds", "boats", "bucket", "nyancat", "moreores", "moreblocks", "maptools", "doors", "flowers", - "carts", "nether" + "carts", "nether", "mobs_animal" } for _,mod in ipairs(mods) do @@ -46,3 +46,5 @@ if minetest.get_modpath("quests") and quests then end, player:get_player_name()) end) end + +minetest.log("action", "[MOD] NALC loaded") diff --git a/mods/nalc/mobs_animal.lua b/mods/nalc/mobs_animal.lua new file mode 100644 index 00000000..2f3a5ebc --- /dev/null +++ b/mods/nalc/mobs_animal.lua @@ -0,0 +1,29 @@ +-- Scorched_stuff from cooking rat cooked + +-- mobs redo bug !!! +minetest.clear_craft({output="mobs:rat_cooked"}) +minetest.register_craft({ + type = "cooking", + output = "mobs:rat_cooked", + recipe = "mobs_animal:rat", + cooktime = 15 + }) + +minetest.register_craft({ + type = "cooking", + output = "nalc:scorched_stuff", + recipe = "mobs:rat_cooked", + cooktime = 10 +}) + +minetest.register_craft({ + type = "shapeless", + output = "dye:black", + recipe = {"nalc:scorched_stuff"}, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "nalc:scorched_stuff", + burntime = 20, +})