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

View file

@ -219,13 +219,6 @@ minetest.register_craftitem("farming:melon_item", {
groups = { food = 2, eatable = 2 }, 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({ minetest.register_abm({
nodenames = {"farming:melontige_unconnect"}, nodenames = {"farming:melontige_unconnect"},
neighbors = {"air"}, 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'},
}
})

View file

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

View file

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

View file

@ -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 -- TODO: Get texture
--[[ --[[
minetest.register_craftitem("mcl_potions:dragon_breath", { minetest.register_craftitem("mcl_potions:dragon_breath", {

View file

Before

Width:  |  Height:  |  Size: 511 B

After

Width:  |  Height:  |  Size: 511 B