MineClone2/mods/mcl_potions/init.lua

55 lines
1.5 KiB
Lua
Raw Normal View History

2017-01-12 03:04:58 +01:00
minetest.register_craftitem("mcl_potions:fermented_spider_eye", {
description = "Fermented Spider Eye",
wield_image = "mcl_potions_spider_eye_fermented.png",
inventory_image = "mcl_potions_spider_eye_fermented.png",
groups = { brewitem = 1 },
2017-01-12 03:04:58 +01:00
stack_max = 64,
})
minetest.register_craft({
type = "shapeless",
output = "mcl_potions:fermented_spider_eye",
2017-01-31 12:35:59 +01:00
recipe = { "mcl_farming:mushroom_brown", "default:sugar", "mcl_mobitems:spider_eye" },
2017-01-12 03:04:58 +01:00
})
minetest.register_craftitem("mcl_potions:glass_bottle", {
description = "Glass Bottle",
inventory_image = "vessels_glass_bottle_inv.png",
wield_image = "vessels_glass_bottle_inv.png",
groups = {brewitem=1},
})
minetest.register_craft( {
output = "mcl_potions:glass_bottle 3",
recipe = {
{ "default:glass", "", "default:glass" },
{ "", "default:glass", "" }
}
})
2017-01-20 11:21:55 +01:00
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'},
2017-01-31 12:35:59 +01:00
{'default:gold_nugget', 'mcl_farming:melon_item', 'default:gold_nugget'},
2017-01-20 11:21:55 +01:00
{'default:gold_nugget', 'default:gold_nugget', 'default:gold_nugget'},
}
})
2017-01-12 03:04:58 +01:00
-- TODO: Get texture
--[[
minetest.register_craftitem("mcl_potions:dragon_breath", {
description = "Dragon's Breath",
wield_image = "mcl_potions_dragon_breath.png",
inventory_image = "mcl_potions_dragon_breath.png",
stack_max = 64,
})
]]