SYNOPSIS
int P_TPORT "TPort"
int Set(P_TPORT, int value)
int Query(P_TPORT)
or
int SetTPort(int value)
int QueryTPort()
DESCRIPTION
This property specifies which kinds of teleport are allowed:
TPORT_NO (0): no teleport is allowed.
TPORT_IN (1): teleporting in is allowed.
TPORT_OUT (2): teleporting out is allowed.
TPORT_BOTH (3): all teleports are allowed.
Default value is TPORT_BOTH.
TPORT_IN and TPORT_OUT are in fact bitflags.
EXAMPLE
Set(P_TPORT, TPORT_IN); -- Forbid teleporting out.
AVAILABILITY
Include: <properties.h>
<magic.h>: the TPORT_ values.
Availability: /std/room(/restrictions) and descendants.
SEE ALSO
room(S), magic(C), tportreason(P)