Re: obj healing

cyhawk <[email protected]>
Newsgroups gmane.games.devel.mud.rom
Message-ID <[email protected]>
You could, for example put a check in the mana_heal/hp_heal function (un 
named wrong i think, maybe heal_hp, or gain_hp? anywho its in update.c 
somewhere (search for gsn_poison and it should be there) add a check in 
there to see if the object exists in the room and multiply the healing 
rate by X or so.

Also, a much more intresting and complex way would be to create a new 
item type and make a command like do_touch, so if they touch the new 
item it heals them.
For example, for a fun, I had a Blarney stone in my mud, and when they 
'kissed' the stone, it blessed them and healed them a bit, itsa St. 
Patrick's day thing ;)


Brinny wrote:

>Thanks for the help on the max obj in room!
>
>Another question if you don't mind...
>
>I would like the object to heal people in the room.
>Any ideas?
>
>Brittany.
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Small Business - Try our new resources site!
>http://smallbusiness.yahoo.com/resources/
>  
>

-- 
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.