Find
You are looking at a vial of mana
Created by
a lost object #133843
, last updated 18 Dec 2010
Code
if target of use then used;
if target of drink then used;
##used:
say 'msg',"[$init_obj] drinks from [$actor].";
if $init_obj's manamax > 0 then continue else initmmax;
if $init_obj's mana < 2 then givemana else nomana;
##initmmax:
set $init_obj's manamax to 10;
##givemana:
set $init_obj's mana to $init_obj's manamax;
sayto $init_obj,"You feel a whole bunch of magical energy welling within you.";
##nomana:
sayto $init_obj,"You don't feel any different. Return and try again after casting some spells.";