Re: Want to have an exit opened when an item is moved

From: Belgian Underground Mud (bug@asteriks.rug.ac.be)
Date: 03/23/95


> > I Also need a way to find out if when a _PC_ enters a room if a certain
> > item is carried in the inventory of aforesaid PC.

> Easiest thing to do presently is this:
[...]

Yikes.

How about this:

You make a command named "enter" in interpreter.c, and put in in the end, 
so in can never be used by players, and then do this command every time 
someone enters a room by whatever means. It must do nothing at all, but 
the specials in the room will all get the command and will be able to act 
upon it... Much easier IMHO...

Bug.



This archive was generated by hypermail 2b30 : 12/07/00 PST