update immortal bottle node and texture
parent
beea920c0d
commit
8c6d3efd65
10
bottles.lua
10
bottles.lua
|
@ -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 |
Loading…
Reference in New Issue