Find
You are looking at a potion of health
This potion will help if you suffer too much damage.
use the potion of health
Created by
thorn
, last updated 31 Jan 2015
Code
if target of use then used;
##used:
say 'msg',"[$init_obj] drinks from the [$actor].";
if $init_obj's health < 5 then givehealth else nohealth;
##givehealth:
$hlth = $init_obj's health;
add 3 to $hlth;
set $init_obj's health to $hlth;
sayto $init_obj,"You feel your wounds heal a bit.";
##nohealth:
sayto $init_obj,"You don't feel any different. Return and try again after suffering some damage.";