Thingclass | thing.t[1121], senseRegion.t[560], english.t[2166], beliefcalcs.t[287], brightness.t[34], cmdhelp.t[855], factrel.t[742], postures.t[114], roomparts.t[154], sensory.t[561], signals.t[201], tiaaction.t[380], weight.t[15] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
Modified in senseRegion.t[560]:
Modifications to Thing to support the other mods required for use with SenseRegion.
Modified in english.t[2166]:
English modifications for Thing. This adds some methods that vary by language, so they can't be defined in the generic Thing class.
Modified in beliefcalcs.t[287]:
Modify setInformed() on Thing to accept a BelVal arg (by converting it to the equivalent enum)
Modified in cmdhelp.t[855]:
Modifications to Thing for the CMDHELP EXTENSION
Modified in factrel.t[742]:
Then carry out the inherited handling and return the result.
Modified in postures.t[114]:
Modifications to Thing needed for the POSTURES EXTENSION.
Modified in roomparts.t[154]:
Modifications to Thing to allow things to be associated with room parts. Note that a Thing associated with a room part should be directly located in the room, not in the room part. [MODIFIED FOR ROOMPARTS EXTENSION]
Modified in sensory.t[561]:
Modifications to Thing to work with the <i>SENSORY EXTENSION</i>
Modified in tiaaction.t[380]:
MODIFICATION TO THING FOR TIAACTION EXTENSION
Modified in weight.t[15]:
Modifications to Thing class for WEIGHT extension
class
Thing : ReplaceRedirector Mentionable
Thing
ReplaceRedirector
Redirector
object
Mentionable
LMentionable
object
Thing
Actor
Player
Button
Collective
DispensingCollective
Consultable
Container
Booth
OpenableContainer
KeyedContainer
LockableContainer
Door
DSDoor
SymDoor
SecretDoor
Fixture
CollectiveGroup
MobileCollectiveGroup
Component
ContainerDoor
Decoration
Distant
RoomPart
Ceiling
DefaultWall
SensoryEmanation
Noise
SimpleNoise
Odor
SimpleOdor
Unthing
Enterable
Heavy
Floor
Food
Immovable
Key
Lever
MinorItem
Passage
DSPassage
SymPassage
PathPassage
DSPathPassage
SymPathPassage
RearContainer
Room
OutdoorRoom
ScenItem
MultiScenItem
Settable
Dial
NumberedDial
SimpleAttachable
AttachableComponent
NearbyAttachable
Attachable
StairwayDown
StairwayUp
DSStairway
SymStairway
SubComponent
Surface
Platform
Bed
Chair
Switch
Flashlight
Underside
Wearable
dummy_
failVerifyObj
firstPersonObj
lightProbe_
pluralDummy_
scopeProbe_
actorAlreadyInMsg
actorAlreadyOnMsg
actorNotInMsg
actorNotOnMsg
allowImplicitSay
allowPourIntoMe
allowPourOntoMe
alreadyCleanMsg
alreadyClosedMsg
alreadyFastenedMsg
alreadyHasMsg
alreadyHeldMsg
alreadyInMsg
alreadyLitMsg
alreadyLockedMsg
alreadyMovedToMsg
alreadyOnMsg
alreadyOpenMsg
alreadyPresentMsg
alreadyThereMsg
alreadyWornMsg
autoGetOutToReach
autoTakeOnFindHidden
autoUnlock
brightness
brightnessForReading
brightnessOff
brightnessOn
bulk
bulkCapacity
canAttachToMe
canAttackWithMe
canBurnWithMe
canCleanWithMe
canClimbDownMe
canClimbUpMe
canCutWithMe
canDetachFromMe
canDigWithMe
canDropContents
canEnterOnMe
canFastenToMe
canGoAlongMe
canGoThroughMe
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
cantMoveAwayFromSelfMsg
cantSpecialActionMsg
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
informedNameTab
initiallyKnowsAbout
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
isFixed
isFlippable
isFollowable
isHidden
isInitialPlayerChar
isKissable
isLightable
isListed
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
lightSources
listableContents
listenDesc
listenDescWithoutSource
listenDescWithSource
listOrder
listWith
location
lockability
lockedMsg
lookBehindMsg
lookInMsg
lookListed
lookThroughMsg
lookUnderMsg
markInventoryAsSeen
matchPullOnly
matchPushOnly
maxBulkHiddenBehind
maxBulkHiddenIn
maxBulkHiddenUnder
maxItemsCarried
maxSingleBulk
maxSingleWeight
maxWeightHiddenBehind
maxWeightHiddenIn
maxWeightHiddenUnder
mentioned
moved
movedTo
moveNoEffectMsg
mustBeCleanedWith
myInventoryLister
myLookBehindLister
myLookInLister
myLookUnderLister
myOpeningContentsLister
myThoughtManager
myWornLister
needsCleaning
noLongerTalkingToAnyoneMsg
nominalContents
noNeedToCleanMsg
notFastenedMsg
notHoldingMsg
notImportantMsg
notInMsg
notLitMsg
notLockableMsg
notLockedMsg
notMovedToMsg
notSwitchableMsg
notTalkingToAnyoneMsg
notWornMsg
objInPrep
objIntoPrep
okayCleanMsg
okayGetOutOfMsg
okayLieInMsg
okayLieOnMsg
okayLockMsg
okayOpenMsg
okayPushIntoMsg
okayPushOutOfMsg
okaySetMsg
okaySitInMsg
okaySitOnMsg
okayStandInMsg
okayStandOnMsg
okayUnlockMsg
opacity
opened
openStatusReportable
owner
ownsContents
paraBrksBtwnSubcontents
partOfYouMsg
pcListedInLook
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
:
altVocab
ambiguouslyPlural
disambigGroup
disambigMatchPhrases
disambigName
disambigOrder
finalizeVocabWhen
isHer
isHim
isIt
massNoun
matchPhrases
matchPhrasesExclude
name
originalVocab
person
plural
proper
qualified
states
uavwNum
useAltVocabWhen
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
replacingVocab
specialAOrAn
tagOrQuotePat
thatName
thatObjName
theName
theObjName
trimPat
truncationLength
weakWordPat
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
checkForContradictions
checkInsert
checkPushTravel
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(Enter)
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(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(MoveAwayFrom)
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(SpecialAction)
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
forget
getBulkWithin
getCarriedBulk
getCarriedWeight
getStatuslineExitsHeight
getWeightWithin
handleCommand
hasSeen
hideFromAll
informedAbout
interiorParent
iobjFor(AttachTo)
iobjFor(AttackWith)
iobjFor(BurnWith)
iobjFor(CleanWith)
iobjFor(CutWith)
iobjFor(Default)
iobjFor(DetachFrom)
iobjFor(DigWith)
iobjFor(FastenTo)
iobjFor(GiveTo)
iobjFor(LockWith)
iobjFor(MoveAwayFrom)
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(UnfastenFrom)
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
listenDesc
listRemoteContents
listSubcontentsOf
litWithin
locationWhich
locType
lookAroundWithin
makeCleaned
makeFastened
makeLit
makeLocked
makeMovedTo
makeOn
makeOpen
makeSetting
makeWorn
markContradiction
moveHidden
moveInto
moveMLIntoAdd
moveMLOutOf
nestedLoc
nominalOwner
noteSeen
notifyContradiction
notifyEvent
notifyInsert
notifyRemove
notifySightEvent
notifySmellEvent
notifySoundEvent
notionalContents
outermostParent
outermostVisibleParent
ownedBy
preAction
preinitThing
pushTravelRevealItems
reachBlockedMsg
remoteBrightness
remoteInitSpecialDesc
remoteObjInName
remoteSpecialDesc
removeFromContents
revealOnMove
roomHeadline
roomSubhead
sayCantBearMoreWeight
sayDontKnowHowToGetThere
sayDontKnowHowToReach
sayFindHidden
sayPushTravel
sayTooHeavy
sayTooHeavyToHide
scoreObject
setHasSeen
setInformed
setKnown
setKnowsAbout
setSeen
shinesOut
showConnectedMiscContents
showFirstConnectedSpecials
showRemoteSpecialDesc
showSecondConnectedSpecials
showSpecialDesc
showStatuslineExits
smellDesc
statusName
totalBulkIn
totalWeightIn
traceContainerPath
travelVia
tryCheck
tryMakingPosture
unmention
unmentionRemoteContents
verifyActor
verifyEnterPosture
verifyPushTravel
wouldBeLitFor
Inherited from ReplaceRedirector
:
redirect
Inherited from Redirector
:
askMissingLiteral
doInstead
doNested
doOtherAction
Inherited from Mentionable
:
actionReport
construct
initAltVocab
matchName
matchNameCommon
matchNameDisambig
phraseMatchName
simpleMatchName
updateVocab
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
actorAlreadyInMsg | thing.t[6861] |
actorAlreadyOnMsg | thing.t[6728] |
actorNotInMsg | thing.t[6928] |
actorNotOnMsg | thing.t[6929] |
allowImplicitSay | thing.t[9292] |
allowPourIntoMe | thing.t[8598] |
allowPourOntoMe | thing.t[8550] |
alreadyCleanMsg | thing.t[7385] |
alreadyClosedMsg | thing.t[5107] |
alreadyFastenedMsg | thing.t[8058] |
alreadyHasMsg | thing.t[9360] |
alreadyHeldMsg | thing.t[4512] |
alreadyInMsg | thing.t[5701] |
alreadyLitMsg | thing.t[7222] |
alreadyLockedMsg | thing.t[6166] |
alreadyMovedToMsg | thing.t[7148] |
alreadyOnMsg | thing.t[6455] |
alreadyOpenMsg | thing.t[5064] |
alreadyPresentMsg | thing.t[7914] |
alreadyThereMsg | thing.t[7912] |
alreadyWornMsg | thing.t[6588] |
autoGetOutToReach | thing.t[3663] |
autoTakeOnFindHidden | thing.t[5243] |
autoUnlock | thing.t[4989] |
brightness | brightness.t[79] |
The strength of the light the object is giving off, if indeed it is giving off light. This value should be one of the following:
0: The object is giving off no light at all.
1: The object is self-illuminating, but doesn't give off enough light to illuminate any other objects. This is suitable for something like an LED digital clock.
2: The object gives off dim light. This level is bright enough to illuminate nearby objects, but not enough to go through obscuring media, and not enough for certain activities requiring strong lighting, such as reading.
3: The object gives off medium light. This level is bright enough to illuminate nearby objects, and is enough for most activities, including reading and the like. Traveling through an obscuring medium reduces this level to dim (2).
4: The object gives off strong light. This level is bright enough to illuminate nearby objects, and travel through an obscuring medium reduces it to medium light (3).
There is nothing to stop game code using a higher value still to model a a super-powerful light source if that seems suitable to the situation being modelled in the game, but this probably will only rarely be necessary.
Note that the special value -1 is reserved as an invalid level, used to flag certain events (such as the need to recalculate the ambient light level from a new point of view).
Most objects do not give off light at all.
Return the appropriate on/off brightness, depending on whether or not we're currently lit
brightnessForReading | brightness.t[375] |
brightnessOff | brightness.t[43] |
brightnessOn | brightness.t[37] |
bulk | thing.t[2211] |
bulkCapacity | thing.t[2217] |
canAttachToMe | thing.t[7945] |
canAttackWithMe | thing.t[4878] |
canBurnWithMe | thing.t[6549] |
canCleanWithMe | thing.t[7435] |
canClimbDownMe | thing.t[6654] |
canClimbUpMe | thing.t[6639] |
canCutWithMe | thing.t[5215] |
canDetachFromMe | thing.t[7999] |
canDigWithMe | thing.t[7472] |
canDropContents | thing.t[4711] |
canEnterOnMe | thing.t[8433] |
canFastenToMe | thing.t[8072] |
canGoAlongMe | thing.t[5599] |
canGoThroughMe | thing.t[5582] |
canHearIn | thing.t[3565] |
By default, we can hear in for all containers, since most materials transmit at least some sound even if they're opaque to light. For a soundproof material (a glass booth, say), you could override this to make it (!enclosing) instead.
canHearOut | thing.t[3577] |
By default, we can hear out for all containers, since most materials transmit at least some sound even if they're opaque to light. For a soundproof material (a glass both, say), you could override this to make it (!enclosing) instead.
canJumpOffMe | thing.t[8321] |
canJumpOverMe | thing.t[8352] |
canLieInMe | postures.t[134] |
canLieOnMe | thing.t[6753] |
canLockWithMe | thing.t[6173] |
canLookBehindMe | thing.t[5463] |
canLookThroughMe | thing.t[5559] |
canLookUnderMe | thing.t[5372] |
canMoveToMe | thing.t[7120] |
canMoveWithMe | thing.t[7035] |
cannotAttachMsg | thing.t[7961] |
cannotAttachToMsg | thing.t[7963] |
cannotAttachToSelfMsg | thing.t[7966] |
cannotAttackMsg | thing.t[4837] |
cannotAttackWithMsg | thing.t[4884] |
cannotAttackWithSelfMsg | thing.t[4881] |
cannotBoardMsg | thing.t[6727] |
cannotBreakMsg | thing.t[4911] |
cannotBurnMsg | thing.t[6561] |
cannotBurnWithMsg | thing.t[6563] |
cannotCleanMsg | thing.t[7382] |
cannotCleanWithMsg | thing.t[7448] |
cannotClimbDownMsg | thing.t[6667] |
cannotClimbMsg | thing.t[6652] |
cannotCloseMsg | thing.t[5106] |
cannotConsultMsg | thing.t[8493] |
cannotCutMsg | thing.t[5231] |
cannotCutWithMsg | thing.t[5233] |
cannotCutWithSelfMsg | thing.t[5235] |
cannotDetachFromMsg | thing.t[8011] |
cannotDetachFromSelfMsg | thing.t[8014] |
cannotDetachMsg | thing.t[7982] |
cannotDigMsg | thing.t[7503] |
cannotDigWithMsg | thing.t[7505] |
cannotDigWithSelfMsg | thing.t[7507] |
cannotDoffMsg | thing.t[6622] |
cannotDrinkMsg | thing.t[7304] |
cannotDropMsg | thing.t[4702] |
cannotEatMsg | thing.t[7286] |
cannotEnterMsg | thing.t[6860] |
cannotEnterOnMsg | thing.t[8452] |
cannotExtinguishMsg | thing.t[7262] |
cannotFastenMsg | thing.t[8055] |
cannotFastenToMsg | thing.t[8088] |
cannotFastenToSelfMsg | thing.t[8091] |
cannotFeelMsg | thing.t[4408] |
cannotFlipMsg | thing.t[6519] |
cannotFollowMsg | thing.t[4791] |
cannotFollowSelfMsg | thing.t[4794] |
cannotGetInCarriedMsg | thing.t[6864] |
cannotGetOnCarriedMsg | thing.t[6731] |
cannotGiveToMsg | thing.t[9376] |
cannotGiveToSelfMsg | thing.t[9379] |
cannotGoAlongMsg | thing.t[5612] |
cannotGoNearThereMsg | thing.t[9587] |
cannotGoThroughMsg | thing.t[5595] |
cannotJumpOffMsg | thing.t[8349] |
cannotJumpOverMsg | thing.t[8370] |
cannotKissMsg | thing.t[8302] |
cannotLieInMsg | postures.t[462] |
cannotLieOnMsg | thing.t[6816] |
cannotLightMsg | thing.t[7220] |
cannotLockWithMsg | thing.t[6190] |
cannotLockWithSelfMsg | thing.t[6193] |
cannotLookBehindMsg | thing.t[5548] |
cannotLookThroughMsg | thing.t[5575] |
cannotLookUnderMsg | thing.t[5452] |
cannotMoveMsg | thing.t[7005] |
cannotMoveToMsg | thing.t[7142] |
cannotMoveToSelfMsg | thing.t[7145] |
cannotMoveWithMsg | thing.t[7052] |
cannotMoveWithSelfMsg | thing.t[7055] |
cannotOpenMsg | thing.t[5063] |
cannotPlugIntoMsg | thing.t[8191] |
cannotPlugIntoSelfMsg | thing.t[8189] |
cannotPlugMsg | thing.t[8187] |
cannotPourIntoMsg | thing.t[8625] |
cannotPourIntoSelfMsg | thing.t[8623] |
cannotPourMsg | thing.t[8619] |
cannotPourOntoMsg | thing.t[8627] |
cannotPourOntoSelfMsg | thing.t[8621] |
cannotPullMsg | thing.t[5653] |
cannotPurloinContainerMsg | thing.t[9558] |
cannotPurloinRoomMsg | thing.t[9556] |
cannotPurloinSelfMsg | thing.t[9554] |
cannotPushDownMsg | thing.t[9211] |
cannotPushIntoMsg | thing.t[9123] |
cannotPushMsg | thing.t[5631] |
cannotPushOwnContainerMsg | thing.t[8775] |
cannotPushThroughMsg | thing.t[9077] |
cannotPushUpMsg | thing.t[9187] |
cannotPushViaSelfMsg | thing.t[8778] |
cannotPutBehindMsg | thing.t[6014] |
cannotPutInMsg | thing.t[5828] |
cannotPutInSelfMsg | thing.t[5707] |
cannotPutMsg | thing.t[5663] |
cannotPutOnMsg | thing.t[5737] |
cannotPutUnderMsg | thing.t[5921] |
cannotReadMsg | thing.t[4766] |
cannotRemoveMsg | thing.t[6971] |
cannotScrewMsg | thing.t[8715] |
cannotScrewWithMsg | thing.t[8717] |
cannotScrewWithSelfMsg | thing.t[8719] |
cannotSetMsg | thing.t[8391] |
cannotSetToMsg | thing.t[7789] |
cannotShowToMsg | thing.t[9407] |
cannotShowToSelfMsg | thing.t[9410] |
cannotSitInMsg | postures.t[430] |
cannotSitOnMsg | thing.t[6814] |
cannotSmellMsg | thing.t[4335] |
cannotStandInMsg | postures.t[395] |
cannotStandOnMsg | thing.t[6812] |
cannotTakeFromSelfMsg | thing.t[7594] |
cannotTakeMsg | thing.t[4509] |
cannotTakeMyContainerMsg | thing.t[4515] |
cannotTakeSelfMsg | thing.t[4517] |
cannotTalkToMsg | thing.t[9334] |
cannotTalkToSelfMsg | thing.t[9337] |
cannotTasteMsg | thing.t[4378] |
cannotThrowAtMsg | thing.t[7662] |
cannotThrowAtSelfMsg | thing.t[7665] |
cannotThrowMsg | thing.t[4948] |
cannotThrowToMsg | thing.t[7697] |
cannotThrowToSelfMsg | thing.t[7700] |
cannotTurnMsg | thing.t[5140] |
cannotTurnToMsg | thing.t[7751] |
cannotTurnWithMsg | thing.t[5184] |
cannotTurnWithSelfMsg | thing.t[5187] |
cannotTypeOnMsg | thing.t[8425] |
cannotUnfastenFromMsg | thing.t[8140] |
cannotUnfastenFromSelfMsg | thing.t[8143] |
cannotUnfastenMsg | thing.t[8137] |
cannotUnlockWithMsg | thing.t[6120] |
cannotUnlockWithSelfMsg | thing.t[6123] |
cannotUnplugFromMsg | thing.t[8230] |
cannotUnplugFromSelfMsg | thing.t[8227] |
cannotUnplugMsg | thing.t[8224] |
cannotUnscrewMsg | thing.t[8720] |
cannotUnscrewWithMsg | thing.t[8722] |
cannotUnscrewWithSelfMsg | thing.t[8724] |
cannotWearMsg | thing.t[6587] |
cannotWriteOnMsg | thing.t[8471] |
canPlugIntoMe | thing.t[8152] |
canPourIntoMe | thing.t[8591] |
canPourOntoMe | thing.t[8544] |
canPullTravel | thing.t[8791] |
canPushTravel | thing.t[8784] |
canPutBehindMe | thing.t[2513] |
canPutInMe | thing.t[2520] |
canPutUnderMe | thing.t[2506] |
canReachIn | thing.t[3607] |
canReachOut | thing.t[3600] |
canScrewWithMe | thing.t[8639] |
canSeeIn | thing.t[3545] |
canSeeOut | thing.t[3553] |
canSetMeTo | thing.t[7754] |
canSitInMe | postures.t[133] |
canSitOnMe | thing.t[6752] |
Note that none of these three properties (canSitOnMe, canLieOnMe, canStandOnMe) should normally be overridden to simply true, since they cannot make it possible to sit, lie or stand on something for which isBoardable is not true (or which contType is not On).
canSmellIn | thing.t[3585] |
canSmellOut | thing.t[3593] |
canStandInMe | postures.t[132] |
canStandOnMe | thing.t[6754] |
canSupply | thing.t[7600] |
canTalkToMe | thing.t[9230] |
Indeed, the handling of conversational commands on Thing is minimal; they are simply ruled out at the verify stage, since most Things can't converse. The implementation of these actions that allows conversation to take place is on the Actor class. We do however define a canTalkToMe property so that Actor can use the verify handling defined on Thing by just overriding it.
Things can't be talked to, so game code shouldn't normally override this property; it's there to be overridden on the Actor class.
canThrowAtMe | thing.t[7626] |
canThrowToMe | thing.t[7679] |
cantMoveAwayFromSelfMsg | thing.t[7188] |
cantSpecialActionMsg | thing.t[9485] |
canTurnMeTo | thing.t[7705] |
canTurnWithMe | thing.t[5167] |
canTypeOnMe | thing.t[8394] |
canUnfastenFromMe | thing.t[8124] |
canUnlockWithMe | thing.t[6103] |
canUnplugFromMe | thing.t[8194] |
canUnscrewWithMe | thing.t[8680] |
canWriteOnMe | thing.t[8456] |
checkAttackMsg | thing.t[4834] |
checkFeelMsg | thing.t[4416] |
checkKissMsg | thing.t[8309] |
circularlyInMsg | thing.t[5704] |
collectiveGroups | thing.t[3357] |
contents | thing.t[2569] |
contentsListed | thing.t[2069] |
contentsListedInExamine | thing.t[2088] |
contentsListedInLook | thing.t[2075] |
contentsListedInSearch | thing.t[2095] |
contType | thing.t[2565] |
currentInterlocutor | thing.t[3949] |
curSetting | thing.t[7748] |
darkName | thing.t[1159] |
decorationActions | thing.t[4192] |
If we're compiling for debugging, it will be useful to allow the GONEAR command with Decorations for testing purposes, but this can't be included in a release build without causing a compilation error, so we define the decorationActions property with different lists of actions depending on whether we're compiling for debugging or release.
decorationActions | thing.t[4194] |
defaultPosture | postures.t[129] |
desc | thing.t[1790] |
directlyHeld | thing.t[2483] |
directlyIn | thing.t[3469] |
directlyWorn | thing.t[2497] |
distinguishByContents OVERRIDDEN | thing.t[2557] |
dontNeedCleaningObjMsg | thing.t[7392] |
dropItemsBehind | thing.t[4523] |
dropItemsUnder | thing.t[4529] |
dropLocation | thing.t[4705] |
enclosing | thing.t[3537] |
For an object that's sometimes fully enclosing and sometimes not, such as a cabinet with a door that can be opened and closed, this should be overridden with a method that figures the current value based on the open/closed state.
Note that this only applies to our *interior* contents, such as contents of location type In. Contents that are atop the object or otherwise arranged around the exterior aren't affected by this.
examined | thing.t[3780] |
examineListed | thing.t[2058] |
examineLister | thing.t[1826] |
exitLocation | thing.t[6879] |
extContents | thing.t[2834] |
familiar | thing.t[3811] |
feelDesc | thing.t[2122] |
findHiddenDest | thing.t[5251] |
fluidName | thing.t[8509] |
futileToAttackMsg | thing.t[4861] |
futileToKissMsg | thing.t[8300] |
getBulkHiddenBehind | thing.t[2392] |
getBulkHiddenIn | thing.t[2391] |
getBulkHiddenUnder | thing.t[2390] |
getFacets | thing.t[4047] |
getOutermostRoom | thing.t[2957] |
getOutToJump | thing.t[8315] |
getWeightHiddenBehind | weight.t[143] |
getWeightHiddenIn | weight.t[142] |
getWeightHiddenUnder | weight.t[141] |
globalParamName | thing.t[2159] |
groupOrder | thing.t[3351] |
hearNothingMsg | thing.t[4368] |
hiddenBehind | thing.t[2367] |
hiddenIn | thing.t[2375] |
hiddenUnder | thing.t[2356] |
illuminationThreshold | brightness.t[369] |
The illumination threshold is the available brightness (returned by the brightnessWithin method) that needs to be exceeded in our interior to be able to examine objects or look around or satisfy other visibility criteris (mostly where the objVisible precondition is applies to the current action). The default illuminationThreshold is 1, which mimics the behaviour of both the adv3 library and the adv3Lite library in the absence of this extension.
inDarkDesc | thing.t[2183] |
indirectLockableMsg | thing.t[6095] |
informedNameTab | thing.t[3897] |
initiallyKnowsAbout | thing.t[3941] |
initSpecialDesc | thing.t[1961] |
intContents | thing.t[2827] |
interiorDesc | thing.t[1180] |
inventoryListed | thing.t[2055] |
isAttachable | thing.t[7922] |
isAttackable | thing.t[4802] |
isBoardable | thing.t[2527] |
isBreakable | thing.t[4892] |
isBurnable | thing.t[6523] |
isClean | thing.t[7315] |
isCleanable | thing.t[7312] |
isClimbable | thing.t[6627] |
isCloseable | thing.t[5069] |
isConsultable | thing.t[8474] |
isCuttable | thing.t[5190] |
isDecoration | thing.t[4176] |
isDetachable | thing.t[7969] |
isDiggable | thing.t[7451] |
isDoffable | thing.t[6592] |
isDrinkable | thing.t[7289] |
isDroppable | thing.t[4699] |
isEdible | thing.t[2531] |
isEnterable | thing.t[6823] |
isExtinguishable | thing.t[7232] |
isFastenable | thing.t[8022] |
isFastened | thing.t[8025] |
isFeelable | thing.t[4405] |
isFixed | thing.t[2035] |
isFlippable | thing.t[6508] |
isFollowable | thing.t[4773] |
isHidden | thing.t[2408] |
isInitialPlayerChar | thing.t[2842] |
isKissable | thing.t[8255] |
isLightable | thing.t[2191] |
isListed | thing.t[2047] |
isLit | thing.t[2166] |
isLocked | thing.t[2438] |
isMoveable | thing.t[6980] |
isOn | thing.t[2456] |
isOpen | thing.t[4965] |
isOpenable | thing.t[4958] |
isPlayerChar | thing.t[4133] |
isPlugable | thing.t[8151] |
isPourable | thing.t[8499] |
isProminentNoise | thing.t[2131] |
isProminentSmell | thing.t[2119] |
isPullable | thing.t[5637] |
isPushable | thing.t[5616] |
isReadable | thing.t[4744] |
isRemoveable | thing.t[6963] |
isScrewable | thing.t[8636] |
isSettable | thing.t[8374] |
isSmellable | thing.t[4332] |
isSwitchable | thing.t[2453] |
isTakeable | thing.t[4445] |
isTasteable | thing.t[4374] |
isThrowable | thing.t[4917] |
isTransparent | thing.t[3519] |
This property controls transparency symmetrically (looking in from outside and looking out from within). The library also lets you control transparency asymmetrically, using canSeeIn and canSeeOut. Those values are by default derived from this one, but you can override them separately to create something like a one-way mirror.
isTurnable | thing.t[5115] |
isUnfastenable | thing.t[8093] |
isUnplugable | thing.t[8193] |
isUnscrewable | thing.t[8679] |
isVehicle | thing.t[3318] |
isWearable | thing.t[2462] |
keyDoesntWorkMsg | thing.t[6422] |
keyList | thing.t[6022] |
keyNotNeededMsg | thing.t[6093] |
kissRank | thing.t[8261] |
known | thing.t[3884] |
knownKeyList | thing.t[6028] |
knownProp | thing.t[3893] |
lastSeenAt | thing.t[3796] |
lieOnScore | thing.t[6769] |
lightSources | brightness.t[287] |
listableContents | thing.t[2139] |
listenDesc | thing.t[2125] |
listenDescWithoutSource | sensory.t[635] |
listenDescWithSource | sensory.t[629] |
listOrder | thing.t[3339] |
listWith | thing.t[3345] |
location | thing.t[2580] |
lockability | thing.t[2432] |
lockedMsg | thing.t[5065] |
lookBehindMsg | thing.t[5551] |
lookInMsg | thing.t[5338] |
lookListed | thing.t[2052] |
lookThroughMsg | thing.t[5578] |
lookUnderMsg | thing.t[5455] |
markInventoryAsSeen | thing.t[2103] |
matchPullOnly | thing.t[8768] |
matchPushOnly | thing.t[8760] |
maxBulkHiddenBehind | thing.t[2386] |
maxBulkHiddenIn | thing.t[2387] |
maxBulkHiddenUnder | thing.t[2385] |
maxItemsCarried | thing.t[2233] |
maxSingleBulk | thing.t[2225] |
maxSingleWeight | weight.t[41] |
maxWeightHiddenBehind | weight.t[137] |
maxWeightHiddenIn | weight.t[138] |
maxWeightHiddenUnder | weight.t[136] |
mentioned | thing.t[1930] |
moved | thing.t[3772] |
movedTo | thing.t[7108] |
moveNoEffectMsg | thing.t[7027] |
mustBeCleanedWith | thing.t[7324] |
myInventoryLister | thing.t[3966] |
myLookBehindLister | thing.t[5544] |
myLookInLister | thing.t[5329] |
myLookUnderLister | thing.t[5449] |
myOpeningContentsLister | thing.t[5058] |
myThoughtManager | thing.t[4160] |
myWornLister | thing.t[3969] |
needsCleaning | thing.t[7318] |
noLongerTalkingToAnyoneMsg | thing.t[9473] |
nominalContents OVERRIDDEN | thing.t[2548] |
Note that this is always a single object (or nil), not the whole list of contents. We can only be named by one content object. (So you can't have a "box of books and papers" by having separate nominal contents objects for the books and the papers; although you could fake it by creating a "books and papers" object.)
noNeedToCleanMsg | thing.t[7388] |
notFastenedMsg | thing.t[8145] |
notHoldingMsg | thing.t[4740] |
notImportantMsg | thing.t[4219] |
notInMsg | thing.t[7591] |
notLitMsg | thing.t[7259] |
notLockableMsg | thing.t[6091] |
notLockedMsg | thing.t[6096] |
notMovedToMsg | thing.t[7190] |
notSwitchableMsg | thing.t[6453] |
notTalkingToAnyoneMsg | thing.t[9470] |
notWornMsg | thing.t[6624] |
objInPrep | thing.t[2198] |
objIntoPrep | thing.t[2205] |
okayCleanMsg | thing.t[7395] |
okayGetOutOfMsg | thing.t[6926] |
okayLieInMsg | postures.t[459] |
okayLieOnMsg | postures.t[274] |
okayLockMsg | thing.t[6349] |
okayOpenMsg | thing.t[5060] |
okayPushIntoMsg | thing.t[9095] |
okayPushOutOfMsg | thing.t[9163] |
okaySetMsg | thing.t[7786] |
okaySitInMsg | postures.t[427] |
okaySitOnMsg | postures.t[242] |
okayStandInMsg | postures.t[398] |
okayStandOnMsg | postures.t[212] |
okayUnlockMsg | thing.t[6270] |
opacity | brightness.t[93] |
Our opacity is the extent to which we reduce the brightness of any light that passes through us. An opacity of 4 or more will cut off the brightest light, while an opacity of 0 means we're transparent. By default we have an opacity of 0 if we're transparent and 4 otherwise.
Note that if we want any light to penetrate us at all we should set transparency to true (we're at least somewhat light permeable) and then set opacity to some suitable value (if we don't want it to be zero, which is otherwise the default for a transparent object).
opened | thing.t[4983] |
openStatusReportable | thing.t[1938] |
owner | thing.t[3379] |
This should only return the *explicit* owner(s), not an implied locational owner. For example, if Bob is holding a key, it's implicitly BOB'S KEY. However, the key may or may not still be Bob's after he drops it. If the key is something that's understood to belong to Bob, whether it's currently in his physical possession or not, then this routine would return Bob; otherwise it would return nil.
An object can have multiple explicit owners, in which case it'll be recognized with a possessive qualifier for any of the owners. The first owner in the list is the nominal owner, meaning its the one we'll use if we're called upon to display the object's name with a possessive phrase.
ownsContents | thing.t[3398] |
By default, most objects are not nominal owners. Actors generally should set this to true, so that (for example) anything Bob is carrying can be described as Bob's. Something with contType = Carrier is likely to be an actor and hence something that can own its contents.
paraBrksBtwnSubcontents | thing.t[1692] |
partOfYouMsg | thing.t[4741] |
pcListedInLook | thing.t[2082] |
posture | postures.t[123] |
preCondActor | thing.t[4239] |
pullNoEffectMsg | thing.t[5656] |
pushNoEffectMsg | thing.t[5634] |
readDesc | thing.t[2110] |
recognizableInDark | thing.t[1153] |
remapActor | thing.t[4237] |
remapBehind | thing.t[2320] |
remapIn | thing.t[2300] |
remapOn | thing.t[2306] |
remapProps | thing.t[2291] |
remapUnder | thing.t[2313] |
roomContentsLister | thing.t[1237] |
roomPart | roomparts.t[164] |
roomPartDesc | roomparts.t[170] |
roomSubContentsLister | thing.t[1244] |
roomTitle OVERRIDDEN | thing.t[1156] |
searchListed | thing.t[2063] |
seen | thing.t[3788] |
seenProp | thing.t[3894] |
shouldBeBroken | thing.t[4895] |
shouldNotBreakMsg | thing.t[4914] |
shouldNotPourIntoMsg | thing.t[8629] |
shouldNotPourOntoMsg | thing.t[8632] |
sightSize | senseRegion.t[794] |
sitOnScore | thing.t[6768] |
By default we'll give each posture a score of 100, the normal logical verify score. Note that these scores have no effect if the corresponding can xxxOnMe property is nil.
smellDesc | thing.t[2113] |
smellDescWithoutSource | sensory.t[609] |
smellDescWithSource | sensory.t[603] |
smellNothingMsg | thing.t[4354] |
smellObj | sensory.t[702] |
smellSize | senseRegion.t[810] |
soundObj | sensory.t[705] |
soundSize | senseRegion.t[802] |
specialDesc | thing.t[1947] |
specialDescBeforeContents | thing.t[1985] |
specialDescListWith | thing.t[1988] |
specialDescOrder | thing.t[1976] |
stagingLocation | thing.t[6882] |
standOnScore | thing.t[6770] |
stateDesc | thing.t[1797] |
tasteDesc | thing.t[2134] |
throwFallsShortMsg | thing.t[7703] |
tooDarkToReadMsg | brightness.t[395] |
tooDarkToSeeMsg | thing.t[4326] |
tooFarAwayToHearMsg | senseRegion.t[962] |
tooFarAwayToReadMsg | senseRegion.t[981] |
tooFarAwayToSeeDetailMsg | senseRegion.t[907] |
tooFarAwayToSmellMsg | senseRegion.t[1036] |
totalWeight | weight.t[20] |
turnLastExamined | cmdhelp.t[873] |
turnLastMoved | cmdhelp.t[856] |
turnLastMovedInto | cmdhelp.t[857] |
turnNoEffectMsg | thing.t[5143] |
useInitSpecialDesc | thing.t[1968] |
useKey_ | thing.t[6424] |
useSpecialDesc | thing.t[1957] |
viaMode | thing.t[8771] |
visibleInDark | thing.t[2175] |
vocabLikelihood | thing.t[4040] |
weight | weight.t[17] |
weightCapacity | weight.t[38] |
withKeyMsg | thing.t[6351] |
wornBy | thing.t[2468] |
abcName (action, role) | english.t[2210] |
accumulateBrightness (maxBrightness) | brightness.t[326] |
Note that accumulateBrightness is provided to allow it to be readily overridden by game code, but is not designed to be directly called from game code, which should call it only via accumulatedBrightnessWithin();
accumulatedBrightnessWithin ( ) | brightness.t[296] |
actionMoveInto (newCont) | thing.t[2646], cmdhelp.t[863], roomparts.t[178], signals.t[275] |
Modified in cmdhelp.t[863]:
Modified for CMDHELP EXTENSION. Note the last turns on which this object was moved and on which something was moved into this object.
Modified in roomparts.t[178]:
We modify actionMoveInto here so that an action that results in moving an object (e.g. taking a picture that's notionally hanging on a wall) removes the association between the object and its room part. [MODIFIED FOR ROOMPARTS EXTENSION]
Modified in signals.t[275]:
emit a actmoveSignal or unlitSignal when this object moved as part of action handling. [SIGNALS EXTENSION]
actorAction ( ) | thing.t[4115] |
addToAllContents (vec, lst) | thing.t[3460] |
addToContents (obj, vec?) | thing.t[2589] |
afterAction ( ) | thing.t[4130] |
afterTravel (traveler, connector) | thing.t[4061] |
allContents ( ) | thing.t[3451] |
allowReachOut (obj) | thing.t[3655] |
aobjFor (Default) | tiaaction.t[382] |
beforeAction ( ) | thing.t[4123] |
beforeMovePushable (connector, dir) | thing.t[8956] |
beforeTravel (traveler, connector) | thing.t[4054] |
brightnessWithin ( ) | brightness.t[111] |
byRoom (arg) | thing.t[4154] |
canHear (obj) | thing.t[2735] |
cannotPushTravelMsg ( ) | thing.t[8878] |
cannotReachOutMsg (target) | thing.t[3696] |
canReach (obj) | thing.t[2741] |
canSee (obj) | thing.t[2732] |
canSmell (obj) | thing.t[2738] |
canTalkTo (other) | thing.t[3956] |
checkDisplay (prop) | thing.t[1918] |
checkForContradictions (tag, val) | factrel.t[759] |
checkInsert (obj) | thing.t[2265], weight.t[48] |
Modified in weight.t[48]:
Check whether obj can be inserted into us without exceeding our bulk and weight constraints. [WEIGHT EXTENSION]
checkPushTravel ( ) | thing.t[8888] |
checkReach (actor) | thing.t[3631] |
checkReachIn (actor, target?) | thing.t[3645] |
checkRemove (obj) | thing.t[2690] |
checkRoomToHold ( ) | thing.t[4669], weight.t[99] |
Modified in weight.t[99]:
Check whether the actor has the bulk and weight capacity to hold us. [WEIGHT EXTENSION]
checkSetting (val) | thing.t[7745] |
childLocType (child) | thing.t[3018] |
commonContainingParent (other) | thing.t[3037] |
commonInteriorParent (other) | thing.t[3076] |
containerPath (other) | thing.t[3121] |
containerPathBlock (other, inProp, outProp) | thing.t[3200] |
We trace the containment path, using traceContainerPath(). For each outbound container on the path, we evaluate the container's outProp property: if this is nil, we add that container to the blockage list. Next, if there's no common parent, we add the outermost room containing 'self' to the list. Next, we trace the inbound path, evaluating each container's inProp property: if nil, we add that container to the blockage list.
Finally, we return the blockage list. This is a vector giving all of the blockages we found, in the order we encountered them.
darkDesc ( ) | thing.t[1162] |
describeMovePushable (connector, dest) | thing.t[9019] |
describePushTravel (via) | thing.t[9035] |
directChildParent (other) | thing.t[3000] |
discover (stat, =, true) | thing.t[2415], signals.t[221] |
Modified in signals.t[221]:
emit a discoverSignal or undiscoverSignal when this object is discovered or undiscovered. SIGNALS EXTENSION]
display (prop) | thing.t[1834] |
displayAlt (prop, altMsg?) | thing.t[1883] |
This method is primarily for use with properties such as smellDesc and listenDesc for which alternatives may need to be displayed if they don't display anything.
dobjFor(AskAbout) | thing.t[9233] |
dobjFor(AskFor) | thing.t[9246] |
dobjFor(Attach) | thing.t[7924] |
dobjFor(AttachTo) | thing.t[7935] |
dobjFor(Attack) | thing.t[4804] |
dobjFor(AttackWith) | thing.t[4839] |
dobjFor(Board) | thing.t[6695], postures.t[281] |
Modified in postures.t[281]:
If an actor Boards something, we need to know what posture the actor ends up in; we use the new location's default posture. [MODIFIED FOR POSTURES EXTENSION]
dobjFor(Break) | thing.t[4897] |
dobjFor(Burn) | thing.t[6525] |
dobjFor(BurnWith) | thing.t[6535] |
dobjFor(Clean) | thing.t[7341] |
An object starts out with isClean = nil. Cleaning the object makes isClean true (at which point it doesn't need cleaning again).
If an object needs another object to be cleaned with (e.g. if in order to clean the window you need a wet sponge to clean it with), this can be defined by setting mustBeCleanedWith to an object or a list of objects that can be used to clean this direct object.
dobjFor(CleanWith) | thing.t[7397] |
dobjFor(Climb) | thing.t[6629] |
dobjFor(ClimbDown) | thing.t[6656] |
dobjFor(ClimbUp) | thing.t[6641] |
dobjFor(Close) | thing.t[5071] |
dobjFor(ConsultAbout) | thing.t[8481] |
dobjFor(Cut) | thing.t[5192] |
dobjFor(CutWith) | thing.t[5204] |
dobjFor(Default) | thing.t[4202] |
dobjFor(Detach) | thing.t[7971] |
dobjFor(DetachFrom) | thing.t[7985] |
dobjFor(Dig) | thing.t[7453] |
dobjFor(DigWith) | thing.t[7480] |
dobjFor(Doff) | thing.t[6594] |
dobjFor(Drink) | thing.t[7291] |
dobjFor(Drop) | thing.t[4713] |
dobjFor(Eat) | thing.t[7265] |
dobjFor(Enter) | thing.t[6827], postures.t[469] |
Modified in postures.t[469]:
When an actor enters something we need to determine what posture the actor ends up in. [MODIFIED FOR POSTURES EXTENSION]
dobjFor(EnterOn) | thing.t[8441] |
dobjFor(Examine) | thing.t[4244], senseRegion.t[862], cmdhelp.t[879] |
Modified in senseRegion.t[862]:
Modify the effect of Examine to show the remoteDesc if appropriate, or else our regular desc if our sightSize is large, or else a message to say we're too far away to see any detail. If we're in the same room as the actor, simply carry out the regular (inherited) method.
Modified in cmdhelp.t[879]:
Modified for CMDHELP EXTENSION. Note the last turn on which this object was examined.
dobjFor(Extinguish) | thing.t[7234] |
dobjFor(Fasten) | thing.t[8034] |
dobjFor(FastenTo) | thing.t[8062] |
dobjFor(Feel) | thing.t[4418] |
dobjFor(Flip) | thing.t[6510] |
dobjFor(Follow) | thing.t[4775] |
dobjFor(GetOff) | thing.t[6884], postures.t[308] |
Modified in postures.t[308]:
If an actor gets off something, we need to know what posture the actor ends up in. We use the new location's defaultPosture. [MODIFIED FOR POSTURES EXTENSION]
dobjFor(GetOutOf) | thing.t[6904], postures.t[489] |
Modified in postures.t[489]:
When an actor gets out of something we need to determine what posture the actor ends up in. We use the new location's default posture. [MODIFIED FOR POSTURES EXTENSION]
dobjFor(GiveTo) | thing.t[9340] |
dobjFor(GiveToImplicit) | thing.t[9441] |
dobjFor(GoAlong) | thing.t[5601] |
dobjFor(GoNear) | thing.t[9565] |
dobjFor(GoThrough) | thing.t[5584] |
dobjFor(GoTo) | thing.t[7796] |
dobjFor(JumpOff) | thing.t[8323] |
dobjFor(JumpOver) | thing.t[8358] |
dobjFor(Kiss) | thing.t[8263] |
dobjFor(LieIn) | thing.t[6873], postures.t[436] |
Modified in postures.t[436]:
LieIn is handled much like StandIn [MODIFIED FOR POSTURES EXTENSION]
dobjFor(LieOn) | thing.t[6739], postures.t[250] |
Modified in postures.t[250]:
Modification for LieOn handling [DEFINED IN POSTURES EXTENSION] If the actor is already on the dobj, we just try to change the actor's posture to lying. Otherwise we first move the actor to the dobj and then change the actor's posture to lying.
dobjFor(LieOn) | thing.t[6798] |
dobjFor(Light) | thing.t[7196] |
dobjFor(ListenTo) | thing.t[4356], senseRegion.t[916], sensory.t[642] |
Modified in senseRegion.t[916]:
Modify the effect of ListenTo to show the remoteListenDesc if appropriate, or else our regular listenDesc if our soundSize is large, or else a message to say we're too far away to hear. If we're in the same room as the actor, simply carry out the regular (inherited) method.
Modified in sensory.t[642]:
[MODIFIED FOR SENSORY EXTENSION] If I have an associated Noise object which isn't emanating, assume I have fallen silent, otherwise carry out the inherited handling.
dobjFor(Lock) | thing.t[6272] |
dobjFor(LockWith) | thing.t[6125] |
dobjFor(LookBehind) | thing.t[5465] |
dobjFor(LookIn) | thing.t[5253] |
dobjFor(LookThrough) | thing.t[5561] |
dobjFor(LookUnder) | thing.t[5375] |
dobjFor(Move) | thing.t[6987] |
dobjFor(MoveAwayFrom) | thing.t[7150] |
dobjFor(MoveTo) | thing.t[7070] |
This might be useful, say, if you wanted the player to have to MOVE the chair TO the bookcase before being able to reach the top shelf by standing on the chair, since you could then check the value of the chair's movedTo property before deciding whether the top shelf was accesssible.
dobjFor(MoveWith) | thing.t[7007] |
dobjFor(Open) | thing.t[4992] |
dobjFor(PlugIn) | thing.t[8232] |
dobjFor(PlugInto) | thing.t[8160] |
dobjFor(Pour) | thing.t[8517] |
dobjFor(PourInto) | thing.t[8576] |
dobjFor(PourOnto) | thing.t[8527] |
dobjFor(Pull) | thing.t[5639] |
dobjFor(Purloin) | thing.t[9497] |
dobjFor(Push) | thing.t[5618] |
dobjFor(PushTravelClimbDown) | thing.t[9189] |
dobjFor(PushTravelClimbUp) | thing.t[9165] |
dobjFor(PushTravelDir) | thing.t[8797] |
dobjFor(PushTravelEnter) | thing.t[9087] |
dobjFor(PushTravelGetOutOf) | thing.t[9125] |
dobjFor(PushTravelThrough) | thing.t[9056] |
dobjFor(PutBehind) | thing.t[5923] |
dobjFor(PutIn) | thing.t[5739] |
dobjFor(PutOn) | thing.t[5666] |
dobjFor(PutUnder) | thing.t[5830] |
dobjFor(QueryAbout) | thing.t[9294] |
dobjFor(Read) | thing.t[4746], senseRegion.t[969], brightness.t[382] |
Modified in senseRegion.t[969]:
Modify the effect of a Read action to prevent this item being read from a remote location unless isReadableFrom(gActor) is true.
Modified in brightness.t[382]:
If the available light is less than the light we need to read this item (its brightnessForReading) then stop the read action at the check stage by displaying our tooDarkToReadMsg.
dobjFor(Remove) | thing.t[6938] |
dobjFor(SayTo) | thing.t[9274] |
dobjFor(Screw) | thing.t[8646] |
dobjFor(ScrewWith) | thing.t[8656] |
dobjFor(Search) | thing.t[6974] |
dobjFor(Set) | thing.t[8380] |
dobjFor(SetTo) | thing.t[7756] |
dobjFor(ShowTo) | thing.t[9381] |
dobjFor(ShowToImplicit) | thing.t[9413] |
dobjFor(SitIn) | thing.t[6872], postures.t[404] |
Modified in postures.t[404]:
SitIn is handled much like StandIn [MODIFIED FOR POSTURES EXTENSION]
dobjFor(SitOn) | thing.t[6738], postures.t[219] |
Modified in postures.t[219]:
Modification for SitOn handling [DEFINED IN POSTURES EXTENSION] If the actor is already on the dobj, we just try to change the actor's posture to sitting. Otherwise we first move the actor to the dobj and then change the actor's posture to sitting.
dobjFor(SitOn) | thing.t[6785] |
dobjFor(SmellSomething) | thing.t[4337], senseRegion.t[990], sensory.t[663] |
Modified in senseRegion.t[990]:
Modify the effect of SmellSomething to show the remoteSmellDesc if appropriate, or else our regular smellDesc if our smellSize is large, or else a message to say we're too far away to smell. If we're in the same room as the actor, simply carry out the regular (inherited) method.
Modified in sensory.t[663]:
[MODIFIED FOR SENSORY EXTENSION] If I have an associated Odor object which isn't emanating, assume I no longer smell of anything, otherwise carry out the inherited handling.
dobjFor(SpecialAction) | thing.t[9476] |
dobjFor(StandIn) | thing.t[6871], postures.t[354] |
Modified in postures.t[354]:
[MODIFIED FOR POSTURES EXTENSION]
dobjFor(StandOn) | thing.t[6737], postures.t[182] |
Modified in postures.t[182]:
Modification for StandOn handling [DEFINED IN POSTURES EXTENSION] If the actor is already on the dobj, we just try to change the actor's posture to standing. Otherwise we first move the actor to the dobj and then change the actor's posture to standing.
dobjFor(StandOn) | thing.t[6772] |
dobjFor(Strike) | thing.t[4886] |
dobjFor(SwitchOff) | thing.t[6457] |
dobjFor(SwitchOn) | thing.t[6428] |
dobjFor(SwitchVague) | thing.t[6484] |
dobjFor(Take) | thing.t[4447] |
dobjFor(TakeFrom) | thing.t[7515] |
dobjFor(TakeFrom) | thing.t[7517] |
dobjFor(TalkAbout) | thing.t[9307] |
dobjFor(TalkTo) | thing.t[9320] |
dobjFor(Taste) | thing.t[4380] |
dobjFor(TellAbout) | thing.t[9260] |
dobjFor(Throw) | thing.t[6669] |
dobjFor(ThrowAt) | thing.t[7602] |
dobjFor(ThrowDir) | thing.t[4919] |
dobjFor(ThrowTo) | thing.t[7667] |
dobjFor(Turn) | thing.t[5118] |
dobjFor(TurnTo) | thing.t[7712] |
dobjFor(TurnWith) | thing.t[5145] |
dobjFor(TypeOn) | thing.t[8402] |
dobjFor(TypeOnVague) | thing.t[8412] |
dobjFor(Unfasten) | thing.t[8095] |
dobjFor(UnfastenFrom) | thing.t[8111] |
dobjFor(Unlock) | thing.t[6196] |
dobjFor(UnlockWith) | thing.t[6036] |
dobjFor(Unplug) | thing.t[8243] |
dobjFor(UnplugFrom) | thing.t[8196] |
dobjFor(Unscrew) | thing.t[8682] |
dobjFor(UnscrewWith) | thing.t[8692] |
dobjFor(Wear) | thing.t[6565] |
dobjFor(WriteOn) | thing.t[8459] |
doPushTravel (via) | thing.t[8902] |
examineStatus ( ) | thing.t[1803] |
filterResolveList (np, cmd, mode) OVERRIDDEN | senseRegion.t[1067] |
findHidden (prop, prep) | thing.t[5347] |
findPlausibleKey (silent, =, nil) | thing.t[6358] |
firstContainerPathBlock (other, inProp, outProp) | thing.t[3221] |
forget (tag) | thing.t[3916] |
getBulkWithin ( ) | thing.t[2236] |
getCarriedBulk ( ) | thing.t[2249] |
getCarriedWeight ( ) | weight.t[32] |
getStatuslineExitsHeight ( ) | thing.t[1755] |
getWeightWithin ( ) | weight.t[23] |
handleCommand (action) | thing.t[4090] |
hasSeen (obj) | thing.t[3848] |
hideFromAll (action) | thing.t[4148] |
It shouldn't be necessary to use this method very often, since the normal approach will be to override the getAll() method on the appropriate action. It may be useful to use this method to handle exceptional cases, however.
informedAbout (tag) | thing.t[3928] |
interiorParent ( ) | thing.t[2960] |
iobjFor(AttachTo) | thing.t[7947] |
iobjFor(AttackWith) | thing.t[4863] |
iobjFor(BurnWith) | thing.t[6551] |
iobjFor(CleanWith) | thing.t[7437] |
iobjFor(CutWith) | thing.t[5217] |
iobjFor(Default) | thing.t[4210] |
iobjFor(DetachFrom) | thing.t[8001] |
iobjFor(DigWith) | thing.t[7490] |
iobjFor(FastenTo) | thing.t[8074] |
iobjFor(GiveTo) | thing.t[9362] |
iobjFor(LockWith) | thing.t[6175] |
iobjFor(MoveAwayFrom) | thing.t[7175] |
iobjFor(MoveTo) | thing.t[7122] |
iobjFor(MoveWith) | thing.t[7037] |
iobjFor(PlugInto) | thing.t[8175] |
iobjFor(PourInto) | thing.t[8600] |
iobjFor(PourOnto) | thing.t[8554] |
iobjFor(PushTravelClimbDown) | thing.t[9197] |
iobjFor(PushTravelClimbUp) | thing.t[9173] |
iobjFor(PushTravelEnter) | thing.t[9097] |
iobjFor(PushTravelGetOutOf) | thing.t[9139] |
iobjFor(PushTravelThrough) | thing.t[9064] |
iobjFor(PutBehind) | thing.t[5959], weight.t[201] |
Modified in weight.t[201]:
Modifications to PutBehind handling to check for weight hidden behind this item. [WEIGHT EXTENSION]
iobjFor(PutIn) | thing.t[5775], weight.t[159] |
Modified in weight.t[159]:
Modifications to PutIn handling to check for weight hidden inside this item. [WEIGHT EXTENSION]
iobjFor(PutOn) | thing.t[5709] |
iobjFor(PutUnder) | thing.t[5867], weight.t[180] |
Modified in weight.t[180]:
Modifications to PutUnder handling to check for weight hidden under this item. [WEIGHT EXTENSION]
iobjFor(ScrewWith) | thing.t[8666] |
iobjFor(ShowTo) | thing.t[9394] |
iobjFor(TakeFrom) | thing.t[7570] |
iobjFor(ThrowAt) | thing.t[7628], senseRegion.t[1039] |
Modified in senseRegion.t[1039]:
Modify the effects of throwing something at this object
iobjFor(ThrowTo) | thing.t[7681] |
iobjFor(TurnWith) | thing.t[5169] |
iobjFor(UnfastenFrom) | thing.t[8126] |
iobjFor(UnlockWith) | thing.t[6105] |
iobjFor(UnplugFrom) | thing.t[8210] |
iobjFor(UnscrewWith) | thing.t[8702] |
isAudibleFrom (pov) | senseRegion.t[766] |
isChild (obj, typ) | thing.t[2754] |
'typ' is a LocType giving the relationship to test for, or nil. If it's nil, we'll return true if we have any containment relationship to 'obj'.
isDirectChild (obj, typ) | thing.t[2773] |
isDirectlyHeldBy (obj) | thing.t[2477] |
isDirectlyIn (cont) | thing.t[2788] |
isDirectlyWornBy (obj) | thing.t[2494] |
isHeldBy (obj) | thing.t[3307] |
isIlluminated ( ) | thing.t[1186], brightness.t[341] |
Modified in brightness.t[341]:
[BRIGHTNESS EXTENSION]
Change the definition of having sufficient light to see by to have an accumulated brightess within greater than our illumination threshold. We only do this if the light probe is off-stage, however, since otherwise we'll cause a stack overflow via a circular reference while the brightnessWithin is being calculated; if the lightProbe_ is in use we accordingly fall back on the inherited handling. (This will need looking at since it prevents recogition of a light source in a remote location in the same SenseRegion).
isIn (cont) | thing.t[2803] |
isInterior (obj) | thing.t[2978] |
isOrIsIn (cont) | thing.t[2818] |
isOutside (obj) | thing.t[3299] |
isReadableFrom (pov) | senseRegion.t[782] |
isSmellableFrom (pov) | senseRegion.t[773] |
isThereALightSourceIn (lst) | thing.t[1207] |
isVisibleFrom (pov) | senseRegion.t[758] |
isWornBy (obj) | thing.t[2487] |
knowsAbout (obj) | thing.t[3855] |
listableContentsOf (cont) | thing.t[2142] |
listContents (lister, =, &, roomContentsLister) | thing.t[1312] |
listenDesc ( ) | sensory.t[617] |
listRemoteContents (lst, lister, pov) | senseRegion.t[598] |
listSubcontentsOf (contList, lister, =, &, examineLister) | thing.t[1503] |
litWithin ( ) | thing.t[3740], brightness.t[353] |
Modified in brightness.t[353]:
For the purposes of the BRIGHTNESS EXTENSION, litWithin() should return the same result as isIlluminated.
locationWhich (func) | thing.t[3494] |
locType ( ) | thing.t[3256] |
lookAroundWithin ( ) | thing.t[1252] |
makeCleaned (stat) | thing.t[7379] |
makeFastened (stat) | thing.t[8032] |
makeLit (stat) | thing.t[2169], english.t[2189], signals.t[211] |
Modified in english.t[2189]:
Check whether we need to add or remove the LitUnlit State from our list of states.
Modified in signals.t[211]:
emit a litSignal or unlitSignal when this object is lit or unlit. [SIGNALS EXTENSION]
makeLocked (stat) | thing.t[2445], signals.t[231] |
Modified in signals.t[231]:
emit a lockSignal or unlockSignal when this object is locked or unlocked. [SIGNALS EXTENSION]
makeMovedTo (loc) | thing.t[7111] |
makeOn (stat) | thing.t[2459], signals.t[241] |
Modified in signals.t[241]:
emit an onSignal or offSignal when this object is turned on or off [SIGNALS EXTENSION]
makeOpen (stat) | thing.t[4972], signals.t[297] |
Modified in signals.t[297]:
emit an openSignal or closeSignal when this object is open or closed. [SIGNALS EXTENSION]
makeSetting (val) | thing.t[7783] |
makeWorn (stat) | thing.t[2474], signals.t[251] |
Modified in signals.t[251]:
emit a wornSignal or doffSignal when this object is worn or doffed (taken off). [SIGNALS EXTENSION]
markContradiction (tag, factList) | factrel.t[801] |
moveHidden (prop, loc) | thing.t[4650] |
moveInto (newCont) | thing.t[2617], signals.t[264] |
Modified in signals.t[264]:
emit a moveSignal when this object is moved. [SIGNALS EXTENSION]
moveMLIntoAdd (ml) | thing.t[2708] |
moveMLOutOf (ml) | thing.t[2722] |
nestedLoc (actor) | postures.t[515] |
nominalOwner ( ) | thing.t[3405] |
noteSeen ( ) | thing.t[3799], signals.t[286] |
Modified in signals.t[286]:
emit a seenSignal or unlitSignal when this object is seen. [SIGNALS EXTENSION]
notifyContradiction (fact, factList) | factrel.t[831] |
notifyEvent (event, source) | sensory.t[583] |
notifyInsert (obj) | thing.t[2700] |
notifyRemove (obj) | thing.t[2680] |
notifySightEvent (event, source) | sensory.t[573] |
notifySmellEvent (event, source) | sensory.t[570] |
notifySoundEvent (event, source) | sensory.t[567] |
notionalContents ( ) | thing.t[2329] |
outermostParent ( ) | thing.t[3293] |
outermostVisibleParent ( ) | thing.t[3228] |
ownedBy (obj) | thing.t[3429] |
We return true if 'obj' is an explicit owner, OR self is contained within 'obj', OR self is contained within an object owned by 'obj'. (The latter case is for things like BOB'S TWENTY DOLLAR BILL, which is Bob's by virtue of being inside a wallet explicitly owned by Bob.)
preAction (lst) | thing.t[4106] |
preinitThing ( ) | thing.t[2845] |
pushTravelRevealItems ( ) | thing.t[8853] |
reachBlockedMsg (target) | thing.t[3672] |
remoteBrightness (pov) | brightness.t[102] |
Our remote brightness when viewed from pov, where pov is in a remote location. By default we just return our brightness, but game code may wish to override when, for example, we're a torch/flashlight that's been dropped on the far side of a field at night.
remoteInitSpecialDesc (pov) | senseRegion.t[751] |
remoteObjInName (pov) | senseRegion.t[853] |
remoteSpecialDesc (pov) | senseRegion.t[744] |
removeFromContents (obj, vec?) | thing.t[2603] |
revealOnMove ( ) | thing.t[4543] |
Note that we don't provide any handling for the hiddenIn property here, on the assumption that items hidden in something may well stay there when it's moved; but this method can always be overridden to provide custom behaviour.
roomHeadline (pov) | thing.t[1134] |
// roomSubhead (pov) Interface description only | thing.t[3331], english.t[2174], postures.t[509] |
We leave this to the language library to define, since the exact syntax varies by language.
Modified in english.t[2174]:
Show the nested room subhead. This shows the actor's immediate container as an addendum to the room name in the room description headline.
[Required]
Modified in postures.t[509]:
Include the actor's posture in the subheading (e.g. '(sitting on the chair)') [MODIFIED FOR POSTURES EXTENSION]
sayCantBearMoreWeight (obj) | weight.t[86] |
sayDontKnowHowToGetThere ( ) | thing.t[7904] |
sayDontKnowHowToReach ( ) | thing.t[7907] |
sayFindHidden (prop, prep) | thing.t[5361] |
sayPushTravel (dir) | thing.t[8845] |
sayTooHeavy (obj) | weight.t[76] |
sayTooHeavyToHide (obj, insType) | weight.t[222] |
scoreObject (cmd, role, lst, m) | thing.t[4011] |
Our job here is to read the player's mind. The question before us is: did the player mean *this* object when typing this noun phrase? Obviously we can't really know what's in the player's mind, but in many cases we can make an educated guess based on what ought to make the most sense in context. The context in this case is the state of the simulated game world, as it's portrayed to the player. That last bit is important: be cognizant of what the player is *meant* to know at this point. DON'T base the score on information that the player isn't supposed to know, though: that could give away secrets that the player is meant to discover on her own.
Before this routine is called, the Action has already assigned an initial score to each object, but this routine can override the initial score by assigning its own score value. This routine is most useful in cases where a particular object has a special affinity for a verb, or for the verb in combination with particular other objects involved in the command.
'cmd' is the Command object. 'role' is the noun phrase's role in the command (DirectObject, IndirectObject, etc). 'lst' is a list of NPMatch objects identifying the objects that matched the noun phrase. 'm' is the NPMatch object for self.
To override or adjust the score, simply set m.score to the new value. This routine is also free to override the scores of any other objects in the list, if needed.
By default, we don't make any adjustment - we simply accept the initial score calculated by the Action, by leaving m.score unchanged.
See Action.scoreObjects() for full details.
setHasSeen (obj) | thing.t[3842] |
setInformed (tag, val?) | thing.t[3904], beliefcalcs.t[288], factrel.t[743] |
setKnown ( ) | thing.t[3839] |
setKnowsAbout (obj, val?) | thing.t[3823] |
setSeen ( ) | thing.t[3845] |
shinesOut ( ) | thing.t[3713] |
showConnectedMiscContents (pov) | thing.t[1718] |
showFirstConnectedSpecials (pov) | thing.t[1717] |
showRemoteSpecialDesc (pov) | senseRegion.t[566] |
showSecondConnectedSpecials (pov) | thing.t[1719] |
showSpecialDesc ( ) | thing.t[1992] |
showStatuslineExits ( ) | thing.t[1764] |
smellDesc ( ) | sensory.t[591] |
statusName (actor) | thing.t[1733] |
By long-standing convention, each location in a game usually has a distinctive name that's displayed here. Players usually find these names helpful in forming a mental map of the game.
By default, if we have an enclosing location, and the actor can see the enclosing location, we'll defer to the location. Otherwise, we'll display our roo interior name.
totalBulkIn (lst) | thing.t[2395] |
totalWeightIn (lst) | weight.t[146] |
traceContainerPath (other, outFunc, parentFunc, inFunc) | thing.t[3156] |
We'll start by working up the containment tree from 'self' to the nearest interior container we have in common with 'other' - that is, the nearest object that contains both 'self' and 'other' with an interior location type for each object. For each container BELOW the common parent, we call outFunc(container).
Next, we call parentFunc(container) on the common container. If there is no common container, we call parentFunc(nil).
Next, we work back down the containment tree from the common parent to 'other'. For each container below the common parent, we call inFunc(container).
travelVia (conn, announceArrival, =, true) | thing.t[4068] |
tryCheck (prop) | thing.t[3476] |
tryMakingPosture (pos) | postures.t[140] |
unmention (lst) | thing.t[1699] |
unmentionRemoteContents ( ) | thing.t[1716] |
verifyActor ( ) | thing.t[4226] |
verifyEnterPosture (pos) | postures.t[328] |
verifyPushTravel (via) | thing.t[8733] |
wouldBeLitFor (actor) | thing.t[1773] |