Skip to content
Snippets Groups Projects
Commit 8c6d3efd authored by Milan's avatar Milan
Browse files

update immortal bottle node and texture

parent beea920c
Branches master
No related tags found
No related merge requests found
......@@ -184,10 +184,10 @@ minetest.register_node("magical_potion:speed", {
})
minetest.register_node("magical_potion:immortal", {
description = "Small bottle of immortal",
description = "Bottle of immortal",
drawtype = "plantlike",
tiles = {"immortal_bottle_small.png"},
wield_image = "immortal_bottle_small.png",
tiles = {"immortal_bottle.png"},
wield_image = "immortal_bottle.png",
paramtype = "light",
is_ground_content = false,
walkable = false,
......@@ -198,9 +198,9 @@ minetest.register_node("magical_potion:immortal", {
},
groups = {vessel=1,dig_immediate=3,attached_node=1, potion=1},
sounds = default.node_sound_glass_defaults(),
inventory_image = "immortal_bottle_small.png",
inventory_image = "immortal_bottle.png",
on_use = function(itemstack, player)
playereffects.apply_effect_type("immortal_bottle", 5, player)
playereffects.apply_effect_type("immortal_bottle", 120, player)
if minetest.get_modpath("vessels") then
player:get_inventory():add_item("main", "vessels:glass_bottle")
end
......
textures/immortal_bottle.png

1.76 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment