[Main page] [Overview]   /module /enterable /set_enter_action
SYNOPSIS
void set_enter_action( closure|object|string action)
FILE
/std/modules/enterable.c
DESCRIPTION
Set the behaviour to use when this object is entered.
If it's a closure, the closure will be called. If the closure
then returns a string, the player wil be sent to the room of
that name.
If it's an object, the method "perform_enter_of" will be called
in that object, with this_player() and this_object() as arguments.
If that method returns a string, the player will be sent to the
room of that name.
If action is a string, the player will be sent to the room of
that name.