diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-11-21 16:19:32 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-11-21 16:19:32 +0000 |
commit | 10028cd63d83ad6574b23c39316a9a9ae558ba54 (patch) | |
tree | b9fa5b70f6abdafd18a2ccf7f04eedc1cdd079a1 /cow.lua | |
parent | e36deb7bc5913b2cb063b893d9d6df6ac0872007 (diff) |
add glass of milk and craft recipesorigin/masterorigin/HEAD
Diffstat (limited to 'cow.lua')
-rw-r--r-- | cow.lua | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -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"), |