mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 18:20:36 +01:00
[Fix issue #12] Get scorched_stuff when cooking cooked rat. Also scorched_stuff is of type fuel and can be used to craft Black dye too.
Fix craft from mobs_animal to get ability to cook rat. This craft don't worked until now (Bug)
This commit is contained in:
parent
92446a8fec
commit
d727e7d624
@ -21,3 +21,4 @@ darkage?
|
||||
dye?
|
||||
cherry_tree?
|
||||
nether?
|
||||
mobs_animal?
|
||||
|
@ -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")
|
||||
|
29
mods/nalc/mobs_animal.lua
Normal file
29
mods/nalc/mobs_animal.lua
Normal file
@ -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,
|
||||
})
|
Loading…
Reference in New Issue
Block a user