forked from mtcontrib/farming
added porridge
This commit is contained in:
parent
51cf3bb43a
commit
80645ff8a2
@ -13,7 +13,7 @@ This mod works by adding your new plant to the {growing=1} group and numbering t
|
|||||||
|
|
||||||
Changelog:
|
Changelog:
|
||||||
|
|
||||||
1.28 - Added chili peppers and bowl of chili, optimized code and fixed a few bugs
|
1.28 - Added chili peppers and bowl of chili, optimized code and fixed a few bugs, added porridge
|
||||||
1.27 - Added meshoptions to api and wheat plants, added farming.rarity setting to spawn more/less crops on map, have separate cotton/string items (4x cotton = 1x wool, 2x cotton = 2x string)
|
1.27 - Added meshoptions to api and wheat plants, added farming.rarity setting to spawn more/less crops on map, have separate cotton/string items (4x cotton = 1x wool, 2x cotton = 2x string)
|
||||||
1.26 - Added support for [toolranks] mod when using hoe's
|
1.26 - Added support for [toolranks] mod when using hoe's
|
||||||
1.25 - Added check for farming.conf setting file to disable specific crops globally (inside mod folder) or world specific (inside world folder)
|
1.25 - Added check for farming.conf setting file to disable specific crops globally (inside mod folder) or world specific (inside world folder)
|
||||||
|
31
donut.lua
31
donut.lua
@ -46,3 +46,34 @@ minetest.register_craft({
|
|||||||
{'farming:donut'},
|
{'farming:donut'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Porridge Oats
|
||||||
|
minetest.register_craftitem("farming:porridge", {
|
||||||
|
description = S("Porridge"),
|
||||||
|
inventory_image = "farming_porridge.png",
|
||||||
|
on_use = minetest.item_eat(6),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.after(0, function()
|
||||||
|
|
||||||
|
if minetest.get_modpath("mobs") and mobs and mobs.mod == "redo" then
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:porridge",
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {
|
||||||
|
"farming:barley", "farming:barley", "farming:wheat",
|
||||||
|
"farming:wheat", "mobs:bucket_milk"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
else
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:porridge",
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {
|
||||||
|
"farming:barley", "farming:barley", "farming:wheat",
|
||||||
|
"farming:wheat", "bucket:bucket_water"
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
BIN
textures/farming_porridge.png
Normal file
BIN
textures/farming_porridge.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 193 B |
Loading…
Reference in New Issue
Block a user