Move glistering melon to mcl_potions

This commit is contained in:
Wuzzy 2017-01-20 11:21:55 +01:00
parent 5aba29d076
commit 95bef458bb
5 changed files with 21 additions and 17 deletions

@ -219,13 +219,6 @@ minetest.register_craftitem("farming:melon_item", {
groups = { food = 2, eatable = 2 },
})
minetest.register_craftitem("farming:speckled_melon", {
description = "Glistering Melon",
stack_max = 64,
groups = { brewitem = 1 },
inventory_image = "farming_melon_speckled.png",
})
minetest.register_abm({
nodenames = {"farming:melontige_unconnect"},
neighbors = {"air"},
@ -293,11 +286,4 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "farming:speckled_melon",
recipe = {
{'default:gold_nugget', 'default:gold_nugget', 'default:gold_nugget'},
{'default:gold_nugget', 'farming:melon_item', 'default:gold_nugget'},
{'default:gold_nugget', 'default:gold_nugget', 'default:gold_nugget'},
}
})

@ -107,7 +107,6 @@ minetest.register_craftitem("mcl_mobitems:milk_bucket", {
inventory_image = "mcl_mobitems_bucket_milk.png",
wield_image = "mcl_mobitems_bucket_milk.png",
on_use = minetest.item_eat(0, "bucket:bucket_empty"),
groups = { food = 3, },
stack_max = 1,
})
@ -188,7 +187,7 @@ minetest.register_craftitem("mcl_mobitems:rabbit_foot", {
description = "Rabbit's Foot",
wield_image = "mcl_mobitems_rabbit_foot.png",
inventory_image = "mcl_mobitems_rabbit_foot.png",
groups = { craftitem = 1 },
groups = { brewitem = 1 },
stack_max = 64,
})

@ -0,0 +1,3 @@
default
farming
mcl_mobitems

@ -27,6 +27,22 @@ minetest.register_craft( {
}
})
minetest.register_craftitem("mcl_potions:speckled_melon", {
description = "Glistering Melon",
stack_max = 64,
groups = { brewitem = 1 },
inventory_image = "mcl_potions_melon_speckled.png",
})
minetest.register_craft({
output = "mcl_potions:speckled_melon",
recipe = {
{'default:gold_nugget', 'default:gold_nugget', 'default:gold_nugget'},
{'default:gold_nugget', 'farming:melon_item', 'default:gold_nugget'},
{'default:gold_nugget', 'default:gold_nugget', 'default:gold_nugget'},
}
})
-- TODO: Get texture
--[[
minetest.register_craftitem("mcl_potions:dragon_breath", {

Before

Width:  |  Height:  |  Size: 511 B

After

Width:  |  Height:  |  Size: 511 B