Travelerclass | travel.t[273], en_us.t[2769] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
This class is intended to be multiply inherited, since it is not based on any simulation object class.
Modified in en_us.t[2769]:
English-specific Traveler changes
class
Traveler : TravelMessageHandler
Traveler
TravelMessageHandler
object
Traveler
Actor
UntakeableActor
Person
Vehicle
getTravelerActors
getTravelerMotiveActors
canTravelVia
checkDirectlyInRoom
checkMovingTravelerInto
describeArrival
describeDeparture
describeNpcArrival
describeNpcDeparture
explainNoTravelVia
forEachTravelingActor
getNotifyTable
isActorTraveling
isTravelerCarrying
travelerLocName
travelerPreCond
travelerRemoteLocName
travelerSeenBy
travelerTravelTo
travelerTravelWithin
Inherited from TravelMessageHandler
:
getNominalTraveler
sayArriving
sayArrivingDir
sayArrivingDownStairs
sayArrivingLocally
sayArrivingThroughPassage
sayArrivingUpStairs
sayArrivingViaPath
sayDeparting
sayDepartingDir
sayDepartingDownStairs
sayDepartingLocally
sayDepartingThroughPassage
sayDepartingUpStairs
sayDepartingViaPath
sayTravelingRemotely
getTravelerActors | travel.t[723] |
getTravelerMotiveActors | travel.t[734] |
canTravelVia (connector, dest) | travel.t[308] |
By default, this simply returns true to indicate that the travel is allowed. Individual instances can override this to enforce limitations on what kind of travel the traveler can perform.
checkDirectlyInRoom (dest, allowImplicit) | travel.t[279] |
checkMovingTravelerInto (room, allowImplicit) | travel.t[289] |
describeArrival (origin, backConnector) | travel.t[415] |
describeDeparture (dest, connector) | travel.t[327] |
describeNpcArrival (origin, backConnector) | travel.t[462] |
describeNpcDeparture (dest, connector) | travel.t[355] |
explainNoTravelVia (connector, dest) | travel.t[320] |
By default, we do nothing, since our default canTravelVia() never disallows any travel. If canTravelVia() is overridden to disallow travel under some conditions, this must be overridden to generate an appropriate explanatory report.
forEachTravelingActor (func) | travel.t[710] |
getNotifyTable ( ) | travel.t[665] |
isActorTraveling (actor) | travel.t[681] |
isTravelerCarrying (obj) | travel.t[692] |
travelerLocName ( ) | en_us.t[2776] |
travelerPreCond (conn) | travel.t[298] |
travelerRemoteLocName ( ) | en_us.t[2792] |
travelerSeenBy (actor) | travel.t[675] |
travelerTravelTo (dest, connector, backConnector) | travel.t[555] |
Note that this routine is not normally called directly; in most cases, the actor's travelTo is called, and it in turn invokes this method in the appropriate traveler.
'dest' is the new location to which we're traveling. 'connector' is the TravelConnector we're traversing from the source location to reach the new destination; the connector is normally the invoker of this routine. 'backConnector' is the connector in the destination from which the actor will appear to emerge on the other end of the travel.
travelerTravelWithin (actor, dest) | travel.t[655] |