mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 08:50:26 +01:00
add glass of milk and craft recipes
This commit is contained in:
parent
e36deb7bc5
commit
10028cd63d
31
cow.lua
31
cow.lua
@ -132,6 +132,37 @@ minetest.register_craftitem(":mobs:bucket_milk", {
|
||||
groups = {food_milk = 1, flammable = 3},
|
||||
})
|
||||
|
||||
-- glass of milk
|
||||
minetest.register_craftitem(":mobs:glass_milk", {
|
||||
description = S("Glass of Milk"),
|
||||
inventory_image = "mobs_glass_milk.png",
|
||||
on_use = minetest.item_eat(2, 'vessels:drinking_glass'),
|
||||
groups = {food_milk_glass = 1, flammable = 3},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mobs:glass_milk 4",
|
||||
recipe = {
|
||||
'vessels:drinking_glass', 'vessels:drinking_glass',
|
||||
'vessels:drinking_glass', 'vessels:drinking_glass',
|
||||
'mobs:bucket_milk'
|
||||
},
|
||||
replacements = { {"mobs:bucket_milk", "bucket:bucket_empty"} }
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mobs:bucket_milk",
|
||||
recipe = {
|
||||
'mobs:glass_milk', 'mobs:glass_milk',
|
||||
'mobs:glass_milk', 'mobs:glass_milk',
|
||||
'bucket:bucket_empty'
|
||||
},
|
||||
replacements = { {"mobs:glass_milk", "vessels:drinking_glass 4"} }
|
||||
})
|
||||
|
||||
|
||||
-- butter
|
||||
minetest.register_craftitem(":mobs:butter", {
|
||||
description = S("Butter"),
|
||||
|
@ -20,6 +20,7 @@ if minetest.get_modpath("lucky_block") then
|
||||
{"dro", {"mobs:pork_raw", "mobs:pork_cooked"}, 10},
|
||||
{"dro", {"mobs:mutton_raw", "mobs:mutton_cooked"}, 10},
|
||||
{"dro", {"mobs:meat_raw", "mobs:meat"}, 10},
|
||||
{"dro", {"mobs:glass_milk"}, 5},
|
||||
})
|
||||
|
||||
if minetest.registered_nodes["default:nyancat"] then
|
||||
|
@ -42,4 +42,4 @@ These monochrome cuties spawn in Ethereal's bamboo biome and can be tamed with b
|
||||
---
|
||||
*Note: After breeding, animals need to rest for 4 minutes and baby animals take 4 minutes to grow up, also feeding them helps them grow quicker...*
|
||||
|
||||
#### Lucky Blocks: 19
|
||||
#### Lucky Blocks: 20
|
||||
|
BIN
textures/mobs_glass_milk.png
Normal file
BIN
textures/mobs_glass_milk.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 199 B |
Loading…
Reference in New Issue
Block a user