SimpleAttachableclassattachables.t[28]

A SimpleAttachabe is a Thing that can be attached to other things or have other things attached to it in the special case in which the attached objects are located in the object to which they are attached. SimpleAttachable is also the base class for other types of attachable.

class SimpleAttachable :   Thing

Superclass Tree   (in declaration order)

SimpleAttachable
        Thing
                ReplaceRedirector
                        Redirector
                                object
                Mentionable
                        LMentionable
                                object

Subclass Tree  

SimpleAttachable
        AttachableComponent
        NearbyAttachable
                Attachable

Global Objects  

(none)

Summary of Properties  

allowableAttachments  allowOtherToMoveWhileAttached  alreadyAttachedMsg  attachedLocation  attachedTo  attachedToList  attachmentLister  attachments  canAttachToMe  canDetachFromMe  cannotBeAttachedMsg  cannotDetachFromMsg  cannotDetachMsg  detachedLocation  isAttachable  isDetachable  isFirmAttachment  isListed  notAttachedMsg  notAttachedToThatMsg  nothingAttachedMsg  okayAttachMsg  okayDetachFromMsg  okayDetachMsg 

Inherited from Thing :
actorAlreadyInMsg  actorAlreadyOnMsg  actorNotInMsg  actorNotOnMsg  allowPourIntoMe  allowPourOntoMe  alreadyCleanMsg  alreadyClosedMsg  alreadyFastenedMsg  alreadyHasMsg  alreadyHeldMsg  alreadyInMsg  alreadyLitMsg  alreadyLockedMsg  alreadyMovedToMsg  alreadyOnMsg  alreadyOpenMsg  alreadyPresentMsg  alreadyThereMsg  alreadyWornMsg  autoGetOutToReach  autoTakeOnFindHidden  autoUnlock  bulk  bulkCapacity  canAttackWithMe  canBurnWithMe  canCleanWithMe  canClimbDownMe  canClimbUpMe  canCutWithMe  canDigWithMe  canEnterOnMe  canFastenToMe  canGoThrougMe  canHearIn  canHearOut  canJumpOffMe  canJumpOverMe  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  cannotDetachFromSelfMsg  cannotDigMsg  cannotDigWithMsg  cannotDigWithSelfMsg  cannotDoffMsg  cannotDrinkMsg  cannotDropMsg  cannotEatMsg  cannotEnterMsg  cannotEnterOnMsg  cannotExtinguishMsg  cannotFastenMsg  cannotFastenToMsg  cannotFastenToSelfMsg  cannotFeelMsg  cannotFlipMsg  cannotFollowMsg  cannotFollowSelfMsg  cannotGetInCarriedMsg  cannotGetOnCarriedMsg  cannotGiveToMsg  cannotGiveToSelfMsg  cannotGoNearThereMsg  cannotGoThroughMsg  cannotJumpOffMsg  cannotJumpOverMsg  cannotKissMsg  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  cannotSitOnMsg  cannotSmellMsg  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  canSitOnMe  canSmellIn  canSmellOut  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  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  globalParamName  groupOrder  hearNothingMsg  hiddenBehind  hiddenIn  hiddenUnder  inDarkDesc  indirectLockableMsg  initSpecialDesc  intContents  interiorDesc  inventoryListed  isAttackable  isBoardable  isBreakable  isBurnable  isClean  isCleanable  isClimbable  isCloseable  isConsultable  isCuttable  isDecoration  isDiggable  isDoffable  isDrinkable  isDroppable  isEdible  isEnterable  isExtinguishable  isFastenable  isFastened  isFeelable  isFixed  isFlippable  isFollowable  isHidden  isKissable  isLightable  isLit  isLocked  isMoveable  isOn  isOpen  isOpenable  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  listableContents  listenDesc  listOrder  listWith  location  lockability  lockedMsg  lookBehindMsg  lookInMsg  lookListed  lookThroughMsg  lookUnderMsg  markInventoryAsSeen  matchPullOnly  matchPushOnly  maxBulkHiddenBehind  maxBulkHiddenIn  maxBulkHiddenUnder  maxSingleBulk  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  okayLockMsg  okayOpenMsg  okayPushIntoMsg  okayPushOutOfMsg  okayUnlockMsg  opened  openStatusReportable  owner  ownsContents  paraBrksBtwnSubcontents  partOfYouMsg  preCondActor  pullNoEffectMsg  pushNoEffectMsg  readDesc  recognizableInDark  remapActor  remapBehind  remapIn  remapOn  remapProps  remapUnder  roomContentsLister  roomSubContentsLister  roomTitle  searchListed  seen  seenProp  shouldBeBroken  shouldNotBreakMsg  shouldNotPourIntoMsg  shouldNotPourOntoMsg  sightSize  sitOnScore  smellDesc  smellNothingMsg  smellSize  soundSize  specialDesc  specialDescBeforeContents  specialDescListWith  specialDescOrder  stagingLocation  standOnScore  stateDesc  tasteDesc  throwFallsShortMsg  tooDarkToSeeMsg  tooFarAwayToHearMsg  tooFarAwayToReadMsg  tooFarAwayToSeeDetailMsg  tooFarAwayToSmellMsg  turnNoEffectMsg  useInitSpecialDesc  useKey_  useSpecialDesc  viaMode  visibleInDark  vocabLikelihood  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  possNoun  prepList  prepPhrasePat  prepWordPat  pronounMap  properNamePat  properPat  reflexiveName  specialAOrAn  tagOrQuotePat  thatName  thatObjName  theName  theObjName  trimPat  truncationLength  weakWordPat 

Summary of Methods  

actionMoveInto  allowAttach  attachTo  detachFrom  dobjFor(AttachTo)  dobjFor(Detach)  dobjFor(DetachFrom)  dobjFor(FastenTo)  dobjFor(Take)  dobjFor(Unfasten)  dobjFor(UnfastenFrom)  examineStatus  iobjFor(AttachTo)  iobjFor(DetachFrom)  iobjFor(FastenTo)  iobjFor(UnfastenFrom)  isAttachedTo  isAttachedToMe  locType  makeAttachedTo  makeDetachedFrom  preinitThing  sayCannotMoveWhileAttached 

Inherited from Thing :
abcName  actorAction  addToAllContents  addToContents  afterAction  afterTravel  allContents  allowReachOut  beforeAction  beforeMovePushable  beforeTravel  canHear  cannotPushTravelMsg  cannotReachOutMsg  canReach  canSee  canSmell  canTalkTo  checkDisplay  checkInsert  checkPushTravel  checkReach  checkReachIn  checkRoomToHold  checkSetting  childLocType  commonContainingParent  commonInteriorParent  containerPath  containerPathBlock  darkDesc  describeMovePushable  describePushTravel  directChildParent  discover  display  displayAlt  dobjFor(AskAbout)  dobjFor(AskFor)  dobjFor(Attach)  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(Dig)  dobjFor(DigWith)  dobjFor(Doff)  dobjFor(Drink)  dobjFor(Drop)  dobjFor(Eat)  dobjFor(Enter)  dobjFor(EnterOn)  dobjFor(Examine)  dobjFor(Extinguish)  dobjFor(Fasten)  dobjFor(Feel)  dobjFor(Flip)  dobjFor(Follow)  dobjFor(GetOff)  dobjFor(GetOutOf)  dobjFor(GiveTo)  dobjFor(GiveToImplicit)  dobjFor(GoNear)  dobjFor(GoThrough)  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(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(Unlock)  dobjFor(UnlockWith)  dobjFor(Unplug)  dobjFor(UnplugFrom)  dobjFor(Unscrew)  dobjFor(UnscrewWith)  dobjFor(Wear)  dobjFor(WriteOn)  doPushTravel  filterResolveList  findHidden  findPlausibleKey  firstContainerPathBlock  getBulkWithin  getCarriedBulk  getStatuslineExitsHeight  handleCommand  hasSeen  hideFromAll  interiorParent  iobjFor(AttackWith)  iobjFor(BurnWith)  iobjFor(CleanWith)  iobjFor(CutWith)  iobjFor(Default)  iobjFor(DigWith)  iobjFor(GiveTo)  iobjFor(LockWith)  iobjFor(MoveTo)  iobjFor(MoveWith)  iobjFor(PlugInto)  iobjFor(PourInto)  iobjFor(PourOnto)  iobjFor(PushTravelClimbDown)  iobjFor(PushTravelClimbUp)  iobjFor(PushTravelEnter)  iobjFor(PushTravelGetOutOf)  iobjFor(PushTravelThrough)  iobjFor(PutBehind)  iobjFor(PutIn)  iobjFor(PutOn)  iobjFor(PutUnder)  iobjFor(ScrewWith)  iobjFor(ShowTo)  iobjFor(TakeFrom)  iobjFor(ThrowAt)  iobjFor(ThrowTo)  iobjFor(TurnWith)  iobjFor(UnlockWith)  iobjFor(UnplugFrom)  iobjFor(UnscrewWith)  isAudibleFrom  isChild  isDirectChild  isDirectlyHeldBy  isDirectlyIn  isDirectlyWornBy  isHeldBy  isIlluminated  isIn  isInterior  isOrIsIn  isOutside  isReadableFrom  isSmellableFrom  isThereALightSourceIn  isVisibleFrom  isWornBy  knowsAbout  listableContentsOf  listContents  listRemoteContents  listSubcontentsOf  litWithin  locationWhich  lookAroundWithin  makeCleaned  makeFastened  makeLit  makeLocked  makeMovedTo  makeOn  makeOpen  makeSetting  makeWorn  moveHidden  moveInto  moveMLIntoAdd  moveMLOutOf  nominalOwner  noteSeen  notifyInsert  notifyRemove  notionalContents  outermostParent  outermostVisibleParent  ownedBy  pushTravelRevealItems  reachBlockedMsg  remoteInitSpecialDesc  remoteObjInName  remoteSpecialDesc  removeFromContents  revealOnMove  roomHeadline  roomSubhead  sayDontKnowHowToGetThere  sayDontKnowHowToReach  sayFindHidden  scoreObject  setHasSeen  setKnown  setKnowsAbout  setSeen  shinesOut  showConnectedMiscContents  showFirstConnectedSpecials  showRemoteSpecialDesc  showSecondConnectedSpecials  showSpecialDesc  showStatuslineExits  statusName  totalBulkIn  traceContainerPath  travelVia  tryCheck  unmention  unmentionRemoteContents  verifyActor  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  

allowableAttachmentsattachables.t[41]

A list of the objects or classes of objects that can be attached to me

allowOtherToMoveWhileAttachedattachables.t[418]
Determine whether the object I'm attached to can be moved while I'm attached to it. For a SimpleAttachable we normally do allow this, since I simply move with the other object.

alreadyAttachedMsgattachables.t[154]
no description available

attachedLocationattachables.t[61]
The location this object should be moved to when it's attached to another object. A SimpleAttachment should normally be moved into the to which it's attached.

attachedToattachables.t[343]
Am I currently attached to anything?

attachedToListattachables.t[346]
The list of things I'm attached to

attachmentListerattachables.t[398]
The lister to be used for listing our attachments.

attachmentsattachables.t[44]
A list of the objects that are attached to me

canAttachToMeOVERRIDDENattachables.t[50]
A SimpleAttachable can have (some) other things attached to it

canDetachFromMeOVERRIDDENattachables.t[53]
A SimpleAttachable can have (some) other things detached from it

cannotBeAttachedMsgattachables.t[340]
no description available

cannotDetachFromMsgOVERRIDDENattachables.t[269]
Carry out the inherited handling

cannotDetachMsgOVERRIDDENattachables.t[239]
no description available

detachedLocationattachables.t[68]
The location this object should be moved to when it's detached. A SimpleAttachment should normally be moved into the location of the object it's just been detached from.

isAttachableOVERRIDDENattachables.t[47]
A SimpleAttachable can be attached to (some) other things.

isDetachableOVERRIDDENattachables.t[411]
Allow detachment through a simple DETACH command. (If this is nil detachment might still be programatically possible, e.g. by UNSCREWing something).

isFirmAttachmentattachables.t[404]
If I'm attached, do I become firmly attached (so that I can't be removed without an explicit detachment)?

isListedOVERRIDDENattachables.t[352]
By default I'm not listed as a separate object if I'm attached to something else.

notAttachedMsgattachables.t[175]
If we don't allow the dobj to be attached to us, rule out the attachment.

notAttachedToThatMsgattachables.t[272]
no description available

nothingAttachedMsgattachables.t[275]
no description available

okayAttachMsgattachables.t[151]
We can't be attached while we're already attached

okayDetachFromMsgattachables.t[236]
Carry out the inherited handling.

okayDetachMsgattachables.t[200]
We can't be detached if we're not detachable

Methods  

actionMoveInto (loc)OVERRIDDENattachables.t[301]

Check while any of my attachments object to my being moved while they are attached to me. If so, prevent the attempt to move me as the result of a player command.

allowAttach (obj)attachables.t[34]
Can an object be attached to this one? By default we return true if obj is on our list of allowableAttachments.

attachTo (obj)attachables.t[71]
Attach this object to obj

detachFrom (obj)attachables.t[94]
Detach this item from obj

dobjFor(AttachTo)OVERRIDDENattachables.t[122]
Handling for the ATTACH TO action

dobjFor(Detach)OVERRIDDENattachables.t[177]
no description available

dobjFor(DetachFrom)OVERRIDDENattachables.t[203]
no description available

dobjFor(FastenTo)OVERRIDDENattachables.t[278]
Treat Fasten and Unfasten as equivalent to Attach and Detach

dobjFor(Take)OVERRIDDENattachables.t[290]
We can't take this object while it's attached. Note that this is assymetric: it applies only to the attached object (the one for which attachedTo != nil) not to the object it's attached to (which can be taken with the attached object still attached to it.

dobjFor(Unfasten)OVERRIDDENattachables.t[282]
no description available

dobjFor(UnfastenFrom)OVERRIDDENattachables.t[280]
no description available

examineStatus ( )OVERRIDDENattachables.t[387]
If anything's attached to us, list our attachements when we're examined.

iobjFor(AttachTo)OVERRIDDENattachables.t[156]
no description available

iobjFor(DetachFrom)OVERRIDDENattachables.t[241]
no description available

iobjFor(FastenTo)OVERRIDDENattachables.t[279]
no description available

iobjFor(UnfastenFrom)OVERRIDDENattachables.t[281]
no description available

isAttachedTo (obj)attachables.t[368]
Is there an attachment relationship between myself and obj; there is either is obj is attach to me or if I'm attached to obj.

isAttachedToMe (obj)attachables.t[358]
Is obj attached to me? By default it is if it's in my list of attachements.

locType ( )OVERRIDDENattachables.t[375]
Our locType is Attached if we're attached so something.

makeAttachedTo (obj)attachables.t[88]
For a SimpleAttachable we just make obj the item we're attached to

makeDetachedFrom (obj)attachables.t[115]
For a SimpleAttachable detachment reduces our attachedTo to nil

preinitThing ( )OVERRIDDENattachables.t[422]
Preinitialize a SimpleAttachable

sayCannotMoveWhileAttached (other)attachables.t[331]
Display a message saying we can't be moved while we're attached to other.

Adv3Lite Library Reference Manual
Generated on 28/03/2016 from adv3Lite version 1.5