update immortal bottle node and texture

master
Milan* 2018-02-26 22:37:08 +01:00
parent beea920c0d
commit 8c6d3efd65
2 changed files with 5 additions and 5 deletions

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB