DSDoorclasstravel.t[1090]

A DSDoor (Double Sided Door) can be used to implement a door as a single object present in two locations (defined on its room1 and room2 properties) instead of having to define the two sides of the door as two separate Door objects. This will often be convenient whenever the two sides of the door are sufficiently similar (in having the name name and vocab, even if their descriptions vary slightly, which can be achieved by writing a description that varies according to the location of the player character). Although both sides of a DSDoor need to be referred to by the player using the same vocab words, players can additionally refer to a DSDoor by its direction relative to the player character (e.g. EAST DOOR or NW DOOR); this is handled automatically by the DSDoor class without game authors needing to handle such directional adjectives themselves.

class DSDoor :   MultiLoc   Door

Superclass Tree   (in declaration order)

DSDoor
        MultiLoc
                object
        Door
                TravelConnector
                        object
                Thing
                        ReplaceRedirector
                                Redirector
                                        object
                        Mentionable
                                LMentionable
                                        object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

destination  locationList  room1  room2 

Inherited from MultiLoc :
exceptions  initialLocationClass  initialLocationList 

Inherited from Door :
autoUnlock  canGoThroughMe  cannotGoThroughClosedDoorMsg  isDestinationKnown  isFixed  isListed  isOpen  isOpenable  openStatusReportable  otherSide  PushTravelVia  traversalMsg 

Inherited from TravelConnector :
isConnectorApparent  isConnectorListed  suppressTravelDescForPushTravel  transmitsLight  travelBarriers  traversalTime  traversed  traversedBy 

Inherited from Thing :
actorAlreadyInMsg  actorAlreadyOnMsg  actorNotInMsg  actorNotOnMsg  allowImplicitSay  allowPourIntoMe  allowPourOntoMe  alreadyCleanMsg  alreadyClosedMsg  alreadyFastenedMsg  alreadyHasMsg  alreadyHeldMsg  alreadyInMsg  alreadyLitMsg  alreadyLockedMsg  alreadyMovedToMsg  alreadyOnMsg  alreadyOpenMsg  alreadyPresentMsg  alreadyThereMsg  alreadyWornMsg  autoGetOutToReach  autoTakeOnFindHidden  brightness  brightnessForReading  brightnessOff  brightnessOn  bulk  bulkCapacity  canAttachToMe  canAttackWithMe  canBurnWithMe  canCleanWithMe  canClimbDownMe  canClimbUpMe  canCutWithMe  canDetachFromMe  canDigWithMe  canDropContents  canEnterOnMe  canFastenToMe  canGoAlongMe  canHearIn  canHearOut  canJumpOffMe  canJumpOverMe  canLieInMe  canLieOnMe  canLockWithMe  canLookBehindMe  canLookThroughMe  canLookUnderMe  canMoveToMe  canMoveWithMe  cannotAttachMsg  cannotAttachToMsg  cannotAttachToSelfMsg  cannotAttackMsg  cannotAttackWithMsg  cannotAttackWithSelfMsg  cannotBoardMsg  cannotBreakMsg  cannotBurnMsg  cannotBurnWithMsg  cannotCleanMsg  cannotCleanWithMsg  cannotClimbDownMsg  cannotClimbMsg  cannotCloseMsg  cannotConsultMsg  cannotCutMsg  cannotCutWithMsg  cannotCutWithSelfMsg  cannotDetachFromMsg  cannotDetachFromSelfMsg  cannotDetachMsg  cannotDigMsg  cannotDigWithMsg  cannotDigWithSelfMsg  cannotDoffMsg  cannotDrinkMsg  cannotDropMsg  cannotEatMsg  cannotEnterMsg  cannotEnterOnMsg  cannotExtinguishMsg  cannotFastenMsg  cannotFastenToMsg  cannotFastenToSelfMsg  cannotFeelMsg  cannotFlipMsg  cannotFollowMsg  cannotFollowSelfMsg  cannotGetInCarriedMsg  cannotGetOnCarriedMsg  cannotGiveToMsg  cannotGiveToSelfMsg  cannotGoAlongMsg  cannotGoNearThereMsg  cannotGoThroughMsg  cannotJumpOffMsg  cannotJumpOverMsg  cannotKissMsg  cannotLieInMsg  cannotLieOnMsg  cannotLightMsg  cannotLockWithMsg  cannotLockWithSelfMsg  cannotLookBehindMsg  cannotLookThroughMsg  cannotLookUnderMsg  cannotMoveMsg  cannotMoveToMsg  cannotMoveToSelfMsg  cannotMoveWithMsg  cannotMoveWithSelfMsg  cannotOpenMsg  cannotPlugIntoMsg  cannotPlugIntoSelfMsg  cannotPlugMsg  cannotPourIntoMsg  cannotPourIntoSelfMsg  cannotPourMsg  cannotPourOntoMsg  cannotPourOntoSelfMsg  cannotPullMsg  cannotPurloinContainerMsg  cannotPurloinRoomMsg  cannotPurloinSelfMsg  cannotPushDownMsg  cannotPushIntoMsg  cannotPushMsg  cannotPushOwnContainerMsg  cannotPushThroughMsg  cannotPushUpMsg  cannotPushViaSelfMsg  cannotPutBehindMsg  cannotPutInMsg  cannotPutInSelfMsg  cannotPutMsg  cannotPutOnMsg  cannotPutUnderMsg  cannotReadMsg  cannotRemoveMsg  cannotScrewMsg  cannotScrewWithMsg  cannotScrewWithSelfMsg  cannotSetMsg  cannotSetToMsg  cannotShowToMsg  cannotShowToSelfMsg  cannotSitInMsg  cannotSitOnMsg  cannotSmellMsg  cannotStandInMsg  cannotStandOnMsg  cannotTakeFromSelfMsg  cannotTakeMsg  cannotTakeMyContainerMsg  cannotTakeSelfMsg  cannotTalkToMsg  cannotTalkToSelfMsg  cannotTasteMsg  cannotThrowAtMsg  cannotThrowAtSelfMsg  cannotThrowMsg  cannotThrowToMsg  cannotThrowToSelfMsg  cannotTurnMsg  cannotTurnToMsg  cannotTurnWithMsg  cannotTurnWithSelfMsg  cannotTypeOnMsg  cannotUnfastenFromMsg  cannotUnfastenFromSelfMsg  cannotUnfastenMsg  cannotUnlockWithMsg  cannotUnlockWithSelfMsg  cannotUnplugFromMsg  cannotUnplugFromSelfMsg  cannotUnplugMsg  cannotUnscrewMsg  cannotUnscrewWithMsg  cannotUnscrewWithSelfMsg  cannotWearMsg  cannotWriteOnMsg  canPlugIntoMe  canPourIntoMe  canPourOntoMe  canPullTravel  canPushTravel  canPutBehindMe  canPutInMe  canPutUnderMe  canReachIn  canReachOut  canScrewWithMe  canSeeIn  canSeeOut  canSetMeTo  canSitInMe  canSitOnMe  canSmellIn  canSmellOut  canStandInMe  canStandOnMe  canSupply  canTalkToMe  canThrowAtMe  canThrowToMe  canTurnMeTo  canTurnWithMe  canTypeOnMe  canUnfastenFromMe  canUnlockWithMe  canUnplugFromMe  canUnscrewWithMe  canWriteOnMe  checkAttackMsg  checkFeelMsg  checkKissMsg  circularlyInMsg  collectiveGroups  contents  contentsListed  contentsListedInExamine  contentsListedInLook  contentsListedInSearch  contType  currentInterlocutor  curSetting  darkName  decorationActions  decorationActions  defaultPosture  desc  directlyHeld  directlyIn  directlyWorn  distinguishByContents  dontNeedCleaningObjMsg  dropItemsBehind  dropItemsUnder  dropLocation  enclosing  examined  examineListed  examineLister  exitLocation  extContents  familiar  feelDesc  findHiddenDest  fluidName  futileToAttackMsg  futileToKissMsg  getBulkHiddenBehind  getBulkHiddenIn  getBulkHiddenUnder  getFacets  getOutermostRoom  getOutToJump  getWeightHiddenBehind  getWeightHiddenIn  getWeightHiddenUnder  globalParamName  groupOrder  hearNothingMsg  hiddenBehind  hiddenIn  hiddenUnder  illuminationThreshold  inDarkDesc  indirectLockableMsg  initSpecialDesc  intContents  interiorDesc  inventoryListed  isAttachable  isAttackable  isBoardable  isBreakable  isBurnable  isClean  isCleanable  isClimbable  isCloseable  isConsultable  isCuttable  isDecoration  isDetachable  isDiggable  isDoffable  isDrinkable  isDroppable  isEdible  isEnterable  isExtinguishable  isFastenable  isFastened  isFeelable  isFlippable  isFollowable  isHidden  isInitialPlayerChar  isKissable  isLightable  isLit  isLocked  isMoveable  isOn  isPlayerChar  isPlugable  isPourable  isProminentNoise  isProminentSmell  isPullable  isPushable  isReadable  isRemoveable  isScrewable  isSettable  isSmellable  isSwitchable  isTakeable  isTasteable  isThrowable  isTransparent  isTurnable  isUnfastenable  isUnplugable  isUnscrewable  isVehicle  isWearable  keyDoesntWorkMsg  keyList  keyNotNeededMsg  kissRank  known  knownKeyList  knownProp  lastSeenAt  lieOnScore  lightSources  listableContents  listenDesc  listenDescWithoutSource  listenDescWithSource  listOrder  listWith  location  lockability  lockedMsg  lookBehindMsg  lookInMsg  lookListed  lookThroughMsg  lookUnderMsg  markInventoryAsSeen  matchPullOnly  matchPushOnly  maxBulkHiddenBehind  maxBulkHiddenIn  maxBulkHiddenUnder  maxSingleBulk  maxSingleWeight  maxWeightHiddenBehind  maxWeightHiddenIn  maxWeightHiddenUnder  mentioned  moved  movedTo  moveNoEffectMsg  mustBeCleanedWith  myInventoryLister  myLookBehindLister  myLookInLister  myLookUnderLister  myOpeningContentsLister  myWornLister  needsCleaning  noLongerTalkingToAnyoneMsg  nominalContents  noNeedToCleanMsg  notFastenedMsg  notHoldingMsg  notImportantMsg  notInMsg  notLitMsg  notLockableMsg  notLockedMsg  notSwitchableMsg  notTalkingToAnyoneMsg  notWornMsg  objInPrep  objIntoPrep  okayCleanMsg  okayGetOutOfMsg  okayLieInMsg  okayLieOnMsg  okayLockMsg  okayOpenMsg  okayPushIntoMsg  okayPushOutOfMsg  okaySetMsg  okaySitInMsg  okaySitOnMsg  okayStandInMsg  okayStandOnMsg  okayUnlockMsg  opacity  opened  owner  ownsContents  paraBrksBtwnSubcontents  partOfYouMsg  posture  preCondActor  pullNoEffectMsg  pushNoEffectMsg  readDesc  recognizableInDark  remapActor  remapBehind  remapIn  remapOn  remapProps  remapUnder  roomContentsLister  roomPart  roomPartDesc  roomSubContentsLister  roomTitle  searchListed  seen  seenProp  shouldBeBroken  shouldNotBreakMsg  shouldNotPourIntoMsg  shouldNotPourOntoMsg  sightSize  sitOnScore  smellDesc  smellDescWithoutSource  smellDescWithSource  smellNothingMsg  smellObj  smellSize  soundObj  soundSize  specialDesc  specialDescBeforeContents  specialDescListWith  specialDescOrder  stagingLocation  standOnScore  stateDesc  tasteDesc  throwFallsShortMsg  tooDarkToReadMsg  tooDarkToSeeMsg  tooFarAwayToHearMsg  tooFarAwayToReadMsg  tooFarAwayToSeeDetailMsg  tooFarAwayToSmellMsg  totalWeight  turnLastExamined  turnLastMoved  turnLastMovedInto  turnNoEffectMsg  useInitSpecialDesc  useKey_  useSpecialDesc  viaMode  visibleInDark  vocabLikelihood  weight  weightCapacity  withKeyMsg  wornBy 

Inherited from Mentionable :
ambiguouslyPlural  disambigGroup  disambigMatchPhrases  disambigName  disambigOrder  isHer  isHim  isIt  massNoun  matchPhrases  matchPhrasesExclude  name  person  plural  proper  qualified  states  vocab  vocabWords 

Inherited from LMentionable :
acronymPluralPat  alphaCharPat  aName  apostPluralPat  apostSPat  deannotatePat  dictComp  dummyName  elevenEighteenPat  emptyVocabWords  esPluralPat  firstWordPat  heName  herName  hersName  himName  iesPluralPat  irregularPlurals  lastWordPat  leadingTagOrQuotePat  menPluralPat  objInName  objIntoName  objName  objOutOfName  oneLetterAnWordPat  oneLetterWordPat  ownerNamed  pluralPat  posPat  possAdj  possEnding  possNoun  prepList  prepPhrasePat  prepWordPat  pronounMap  properNamePat  properPat  reflexiveName  specialAOrAn  tagOrQuotePat  thatName  thatObjName  theName  theObjName  trimPat  truncationLength  weakWordPat 

Summary of Methods  

attachedDir  doorDir  makeLocked  makeOpen  preinitThing 

Inherited from MultiLoc :
addToLocations  isDirectlyIn  isIn  isInitiallyIn  location  moveInto  moveIntoAdd  moveOutOf 

Inherited from Door :
checkTravelBarriers  destination  dobjFor(Enter)  dobjFor(GoThrough)  execTravel  iobjFor(PushTravelThrough)  sayActorFollowing  sayDeparting  sayDoorOpens  sayTravelerOpensDoor 

Inherited from TravelConnector :
afterTravelNotifications  beforeTravelNotifications  canTravelerPass  checkPushTravel  dobjFor(TravelVia)  explainTravelBarrier  getDepartingDirection  getDestination  getTraveler  hasBeenTraversedBy  isConnectorVisible  isDestinationKnown  noteTraversal  sayNoDestination  travelDesc  travelVia  traversalMsg  traversalTimeFrom 

Inherited from Thing :
abcName  accumulateBrightness  accumulatedBrightnessWithin  actionMoveInto  actorAction  addToAllContents  addToContents  afterAction  afterTravel  allContents  allowReachOut  aobjFor  beforeAction  beforeMovePushable  beforeTravel  brightnessWithin  byRoom  canHear  cannotPushTravelMsg  cannotReachOutMsg  canReach  canSee  canSmell  canTalkTo  checkDisplay  checkInsert  checkReach  checkReachIn  checkRemove  checkRoomToHold  checkSetting  childLocType  commonContainingParent  commonInteriorParent  containerPath  containerPathBlock  darkDesc  describeMovePushable  describePushTravel  directChildParent  discover  display  displayAlt  dobjFor(AskAbout)  dobjFor(AskFor)  dobjFor(Attach)  dobjFor(AttachTo)  dobjFor(Attack)  dobjFor(AttackWith)  dobjFor(Board)  dobjFor(Break)  dobjFor(Burn)  dobjFor(BurnWith)  dobjFor(Clean)  dobjFor(CleanWith)  dobjFor(Climb)  dobjFor(ClimbDown)  dobjFor(ClimbUp)  dobjFor(Close)  dobjFor(ConsultAbout)  dobjFor(Cut)  dobjFor(CutWith)  dobjFor(Default)  dobjFor(Detach)  dobjFor(DetachFrom)  dobjFor(Dig)  dobjFor(DigWith)  dobjFor(Doff)  dobjFor(Drink)  dobjFor(Drop)  dobjFor(Eat)  dobjFor(EnterOn)  dobjFor(Examine)  dobjFor(Extinguish)  dobjFor(Fasten)  dobjFor(FastenTo)  dobjFor(Feel)  dobjFor(Flip)  dobjFor(Follow)  dobjFor(GetOff)  dobjFor(GetOutOf)  dobjFor(GiveTo)  dobjFor(GiveToImplicit)  dobjFor(GoAlong)  dobjFor(GoNear)  dobjFor(GoTo)  dobjFor(JumpOff)  dobjFor(JumpOver)  dobjFor(Kiss)  dobjFor(LieIn)  dobjFor(LieOn)  dobjFor(LieOn)  dobjFor(Light)  dobjFor(ListenTo)  dobjFor(Lock)  dobjFor(LockWith)  dobjFor(LookBehind)  dobjFor(LookIn)  dobjFor(LookThrough)  dobjFor(LookUnder)  dobjFor(Move)  dobjFor(MoveTo)  dobjFor(MoveWith)  dobjFor(Open)  dobjFor(PlugIn)  dobjFor(PlugInto)  dobjFor(Pour)  dobjFor(PourInto)  dobjFor(PourOnto)  dobjFor(Pull)  dobjFor(Purloin)  dobjFor(Push)  dobjFor(PushTravelClimbDown)  dobjFor(PushTravelClimbUp)  dobjFor(PushTravelDir)  dobjFor(PushTravelEnter)  dobjFor(PushTravelGetOutOf)  dobjFor(PushTravelThrough)  dobjFor(PutBehind)  dobjFor(PutIn)  dobjFor(PutOn)  dobjFor(PutUnder)  dobjFor(QueryAbout)  dobjFor(Read)  dobjFor(Remove)  dobjFor(SayTo)  dobjFor(Screw)  dobjFor(ScrewWith)  dobjFor(Search)  dobjFor(Set)  dobjFor(SetTo)  dobjFor(ShowTo)  dobjFor(ShowToImplicit)  dobjFor(SitIn)  dobjFor(SitOn)  dobjFor(SitOn)  dobjFor(SmellSomething)  dobjFor(StandIn)  dobjFor(StandOn)  dobjFor(StandOn)  dobjFor(Strike)  dobjFor(SwitchOff)  dobjFor(SwitchOn)  dobjFor(SwitchVague)  dobjFor(Take)  dobjFor(TakeFrom)  dobjFor(TakeFrom)  dobjFor(TalkAbout)  dobjFor(TalkTo)  dobjFor(Taste)  dobjFor(TellAbout)  dobjFor(Throw)  dobjFor(ThrowAt)  dobjFor(ThrowDir)  dobjFor(ThrowTo)  dobjFor(Turn)  dobjFor(TurnTo)  dobjFor(TurnWith)  dobjFor(TypeOn)  dobjFor(TypeOnVague)  dobjFor(Unfasten)  dobjFor(UnfastenFrom)  dobjFor(Unlock)  dobjFor(UnlockWith)  dobjFor(Unplug)  dobjFor(UnplugFrom)  dobjFor(Unscrew)  dobjFor(UnscrewWith)  dobjFor(Wear)  dobjFor(WriteOn)  doPushTravel  examineStatus  filterResolveList  findHidden  findPlausibleKey  firstContainerPathBlock  getBulkWithin  getCarriedBulk  getCarriedWeight  getStatuslineExitsHeight  getWeightWithin  handleCommand  hasSeen  hideFromAll  interiorParent  iobjFor(AttachTo)  iobjFor(AttackWith)  iobjFor(BurnWith)  iobjFor(CleanWith)  iobjFor(CutWith)  iobjFor(Default)  iobjFor(DetachFrom)  iobjFor(DigWith)  iobjFor(FastenTo)  iobjFor(GiveTo)  iobjFor(LockWith)  iobjFor(MoveTo)  iobjFor(MoveWith)  iobjFor(PlugInto)  iobjFor(PourInto)  iobjFor(PourOnto)  iobjFor(PushTravelClimbDown)  iobjFor(PushTravelClimbUp)  iobjFor(PushTravelEnter)  iobjFor(PushTravelGetOutOf)  iobjFor(PutBehind)  iobjFor(PutIn)  iobjFor(PutOn)  iobjFor(PutUnder)  iobjFor(ScrewWith)  iobjFor(ShowTo)  iobjFor(TakeFrom)  iobjFor(ThrowAt)  iobjFor(ThrowTo)  iobjFor(TurnWith)  iobjFor(UnfastenFrom)  iobjFor(UnlockWith)  iobjFor(UnplugFrom)  iobjFor(UnscrewWith)  isAudibleFrom  isChild  isDirectChild  isDirectlyHeldBy  isDirectlyWornBy  isHeldBy  isIlluminated  isInterior  isOrIsIn  isOutside  isReadableFrom  isSmellableFrom  isThereALightSourceIn  isVisibleFrom  isWornBy  knowsAbout  listableContentsOf  listContents  listenDesc  listRemoteContents  listSubcontentsOf  litWithin  locationWhich  locType  lookAroundWithin  makeCleaned  makeFastened  makeLit  makeMovedTo  makeOn  makeSetting  makeWorn  moveHidden  moveMLIntoAdd  moveMLOutOf  nestedLoc  nominalOwner  noteSeen  notifyEvent  notifyInsert  notifyRemove  notifySightEvent  notifySmellEvent  notifySoundEvent  notionalContents  outermostParent  outermostVisibleParent  ownedBy  pushTravelRevealItems  reachBlockedMsg  remoteBrightness  remoteInitSpecialDesc  remoteObjInName  remoteSpecialDesc  removeFromContents  revealOnMove  roomHeadline  roomSubhead  sayCantBearMoreWeight  sayDontKnowHowToGetThere  sayDontKnowHowToReach  sayFindHidden  sayPushTravel  sayTooHeavy  sayTooHeavyToHide  scoreObject  setHasSeen  setKnown  setKnowsAbout  setSeen  shinesOut  showConnectedMiscContents  showFirstConnectedSpecials  showRemoteSpecialDesc  showSecondConnectedSpecials  showSpecialDesc  showStatuslineExits  smellDesc  statusName  totalBulkIn  totalWeightIn  traceContainerPath  tryCheck  tryMakingPosture  unmention  unmentionRemoteContents  verifyActor  verifyEnterPosture  verifyPushTravel  wouldBeLitFor 

Inherited from ReplaceRedirector :
redirect 

Inherited from Redirector :
doInstead  doNested  doOtherAction 

Inherited from Mentionable :
construct  matchName  matchNameCommon  matchNameDisambig  phraseMatchName  simpleMatchName 

Inherited from LMentionable :
addDictWord  addVocab  addVocabWord  aNameFrom  aNameFromPoss  classInit  contify  distinguishedName  ifPronoun  inheritVocab  initVocab  initVocabWord  locify  matchPronoun  pluralNameFrom  pluralWordFrom  possessify  pronoun  removeVocabWord  replaceVocab  theNameFrom  theNameIs 

Properties  

destinationOVERRIDDENtravel.t[1117]

Our destination (the room to which we lead) depends on which side of us the actor going through us is starting from.

locationListOVERRIDDENtravel.t[1099]
We're located in the rooms on both side of us.

room1travel.t[1093]
One of the rooms this door is located in

room2travel.t[1096]
The room the other side of the door is located in

Methods  

attachedDir ( )travel.t[1135]

Returns the direction property to which this door is connected in the player character's current location, e.g. &west. This is used by DirState to add the appropriate adjective (e.g. 'west') to our vocab, so that the player can refer to us by the direction in which we lead. If you don't want this direction to be included in the vocab of this object, override attachedDir to nil.

doorDir ( )travel.t[1153]
Returns the direction in which this door leads from the player character's current location (or nil, if the player character isn't in one of the rooms this door is located it).

makeLocked (stat)OVERRIDDENtravel.t[1111]
As we're a double-sided door, we only need to manage our own isOLocked status; we don't need to refer to our other side.

makeOpen (stat)OVERRIDDENtravel.t[1105]
As we're a double-sided door, we only need to manage our own isOpen status; we don't need to refer to our other side.

preinitThing ( )OVERRIDDENtravel.t[1123]
We need to use Tbing's preinitTbing() method rather than Door's, since Door's does a whole lot with our otherSide property, which we don't need or want to use.

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2