npcMessagesDirectobject
Standard Non-Player Character (NPC) messages. These messages are generated when the player issues a command to a specific non-player character.
npcMessagesDirect
:
npcMessages
Superclass Tree (in declaration order)
npcMessagesDirect
npcMessages
playerMessages
libMessages
MessageHelper
` object`
Summary of Properties
Inherited from libMessages
:
commandFullScore
commandInterruptionPrefix
commandLookAround
commandNotPresent
commandResultsEmpty
commandResultsPrefix
commandResultsSeparator
commandResultsSuffix
complexResultsSeparator
currentlyClosed
currentlyLocked
currentlyNoHints
currentlyOpen
currentlyUnlocked
defaultsFileNotSupported
defaultsFileWriteError
dlgButtonCancel
dlgButtonNo
dlgButtonOk
dlgButtonYes
dlgTitleError
dlgTitleInfo
dlgTitleNone
dlgTitleQuestion
dlgTitleWarning
emptyCommandResponse
finishDeathMsg
finishFailureMsg
finishGameOverMsg
finishVictoryMsg
getRecordingPrompt
getReplayPrompt
getRestorePrompt
getSavePrompt
getScriptingPrompt
hintsDisabled
hintsDone
hintsNotPresent
inputFileScriptWarningButtons
inputScriptFailed
internalResultsSeparator
intraCommandSeparator
listSepEnd
listSepMiddle
listSepTwo
longListSepEnd
longListSepMiddle
longListSepTwo
menuKeyList
menuLongTopicEnd
menuTopicListEnd
nextMenuTopicLink
noAboutInfo
noteWithoutScript
noteWithoutScriptWarning
noteWithScript
notOnboardShip
noTopicsNotTalking
offerOopsNote
oopsMissingWord
oopsOutOfContext
prevMenuLink
recordingCanceled
recordingFailed
recordingOkay
recordOffIgnored
recordOffOkay
replayCanceled
roomDarkDesc
roomDarkName
scoreNotPresent
scriptingCanceled
scriptingFailed
scriptOffIgnored
scriptOffOkay
settingsItemSeparator
showFullScorePrefix
showHintWarning
sorryHintsDisabled
webUploadTooBig
whomPronoun
Summary of Methods
ambiguousNounPhrase
askDisambig
askMissingObject
askUnknownWord
disambigOrdinalOutOfRange
insufficientQuantity
missingLiteral
missingObject
noMatchCannotSee
noMatchDisambig
noMatchForAll
noMatchForAllBut
noMatchNotAware
singleObjectRequired
uniqueObjectRequired
wordIsUnknown
zeroQuantity
Inherited from npcMessages
:
commandNotHeard
Inherited from playerMessages
:
allNotAllowed
askMissingLiteral
cannotAddressMultiple
cannotChangeActor
commandNotUnderstood
emptyNounPhrase
explainCancelCommandLine
missingActor
noMatch
noMatchForListBut
noMatchForLocation
noMatchForPluralPossessive
noMatchForPossessive
noMatchForPronoun
nothingInLocation
reflexiveNotAllowed
refuseCommandBusy
singleActorRequired
specialTopicInactive
wrongReflexive
Inherited from libMessages
:
acknowledgeFootnoteStatus
acknowledgeNotifyStatus
acknowledgeTipStatus
acknowledgeVerboseMode
actorHereGroupPrefix
actorHereGroupSuffix
actorInGroupPrefix
actorInGroupSuffix
actorInRemoteGroupPrefix
actorInRemoteGroupSuffix
actorInRemoteNestedRoom
actorInRemoteRoom
actorInRoom
actorInRoomPosture
actorInRoomStatus
actorThereGroupPrefix
actorThereGroupSuffix
againCannotChangeActor
againCannotTalkToTarget
againNotPossible
allInSameListState
alreadyTalkingTo
announceAmbigActionObject
announceDefaultObject
announceImplicitAction
announceMoveToBag
announceMultiActionObject
announceRemappedAction
basicScoreChange
candleBurnedOut
cannotReachContents
cannotReachObject
cannotReachOutside
cannotTalkTo
closedMsg
confirmQuit
confirmRestart
currentExitsSettings
defaultsFileReadError
dimReadDesc
distantThingDesc
distantThingSmellDesc
distantThingSoundDesc
exitsOnOffOkay
explainExitsOnOff
filePromptFailed
filePromptFailedMsg
firstFootnote
firstScoreChange
footnoteRef
fullScoreItemPoints
inputFileScriptWarning
inputScriptFailedException
inputScriptOkay
invalidCommandToken
invalidFinishOption
litCandleDesc
litMatchDesc
lockedMsg
mainCommandPrompt
makeSentence
matchBurnedOut
mentionFullScore
menuInstructions
menuNextChapter
menuTopicProgress
noCommandForAgain
noSuchFootnote
noteMainRestore
notRestarting
notTerminating
objBurnedOut
obscuredReadDesc
obscuredThingDesc
obscuredThingSmellDesc
obscuredThingSoundDesc
offMsg
okayQuitting
onMsg
oopsNote
openMsg
openStatusMsg
parserErrorString
pauseEnded
pausePrompt
pauseSaving
pcDesc
putDestBehind
putDestContainer
putDestFloor
putDestRoom
putDestSurface
putDestUnder
recordingFailedException
restoreCanceled
restoreCorruptedFile
restoredDefaults
restoreFailed
restoreFailedOnServer
restoreInvalidFile
restoreInvalidMatch
restoreOkay
roomActorHereDesc
roomActorPostureDesc
roomActorStatus
roomActorThereDesc
saveCanceled
savedDefaults
saveFailed
saveFailedOnServer
saveOkay
sayArriving
sayArrivingDir
sayArrivingDownStairs
sayArrivingLocally
sayArrivingShipDir
sayArrivingThroughPassage
sayArrivingUpStairs
sayArrivingViaPath
sayDeparting
sayDepartingAft
sayDepartingDir
sayDepartingDownStairs
sayDepartingFore
sayDepartingLocally
sayDepartingShipDir
sayDepartingThroughPassage
sayDepartingUpStairs
sayDepartingViaPath
sayDepartingWith
sayDepartingWithGuide
sayOpenDoorRemotely
sayTravelingRemotely
scoreChange
scriptingFailedException
scriptingOkay
scriptingOkayWebTemp
shortFootnoteStatus
shortNotifyStatus
shortVerboseStatus
showCredit
showFinishMsg
showFootnoteStatus
showListState
showNotifyStatus
showScoreMessage
showScoreNoMaxMessage
showScoreRankMessage
showVersion
silentImplicitAction
smellDescSeparator
smellIsFromWithin
smellIsFromWithout
soundDescSeparator
soundIsFromWithin
soundIsFromWithout
systemActionToNPC
textMenuMainPrompt
textMenuTopicPrompt
thingFeelDesc
thingTasteDesc
tipStatusShort
undoFailed
undoOkay
unlitMatchDesc
unlockedMsg
webNewUser
Inherited from MessageHelper
:
askDisambigList
shortTIMsg
shortTMsg
Properties
(none)
Methods
ambiguousNounPhrase (actor, originalText, matchList, fullMatchList)
we found an ambiguous noun phrase, but we were unable to perform interactive disambiguation
askDisambig (actor, originalText, matchList, fullMatchList, requiredNum, askingAgain, dist)
Ask the canonical disambiguation question: “Which x do you mean…?”. ‘matchList’ is the list of ambiguous objects with any redundant equivalents removed, and ‘fullMatchList’ is the full list, including redundant equivalents that were removed from ‘matchList’.
To prevent interactive disambiguation, do this:
throw new ParseFailureException(&ambiguousNounPhrase,
originalText, matchList, fullMatchList);
askMissingObject (actor, action, which)
Missing object query and error message templates
askUnknownWord (actor, txt)
tell the user they entered a word we don’t know
disambigOrdinalOutOfRange (actor, ordinalWord, originalText)
The answer to a disambiguation question specifies an invalid ordinal (“the fourth one” when only three choices were offered).
‘ordinalWord’ is the ordinal word entered (‘fourth’ or the like). ‘originalText’ is the text of the noun phrase that caused the disambiguation question to be asked in the first place.
insufficientQuantity (actor, txt, matchList, requiredNum)
insufficient quantity to meet a command request (‘take five books’)
missingLiteral (actor, action, which)
no description available
missingObject (actor, action, which)
no description available
noMatchCannotSee (actor, txt)
no match for a noun phrase
noMatchDisambig (actor, origPhrase, disambigResponse)
no match for the response to a disambiguation question
noMatchForAll (actor)
no match for ‘all’
noMatchForAllBut (actor)
nothing left for ‘all’ after removing ‘except’ items
noMatchNotAware (actor, txt)
no description available
singleObjectRequired (actor, txt)
a single noun phrase is required, but a noun list was used
uniqueObjectRequired (actor, txt, matchList)
a unique object is required, but multiple objects were specified
wordIsUnknown (actor, txt)
tell the user they entered a word we don’t know
zeroQuantity (actor, txt)
‘take zero books’
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3