Move glistering melon to mcl_potions
This commit is contained in:
parent
5aba29d076
commit
95bef458bb
|
@ -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'},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
3
mods/mcl_potions/depends.txt
Normal file
3
mods/mcl_potions/depends.txt
Normal file
|
@ -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
|
-- TODO: Get texture
|
||||||
--[[
|
--[[
|
||||||
minetest.register_craftitem("mcl_potions:dragon_breath", {
|
minetest.register_craftitem("mcl_potions:dragon_breath", {
|
||||||
|
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 511 B |
Loading…
Reference in New Issue
Block a user