npcMessagesDirectobject

msg_neu.t[2258]

Superclass
Tree

Property
Summary

Method
Summary

Property
Details

Method
Details

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)

msg_neu.t[2380]

we found an ambiguous noun phrase, but we were unable to perform interactive disambiguation

askDisambig (actor, originalText, matchList, fullMatchList, requiredNum, askingAgain, dist)

msg_neu.t[2345]

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)

msg_neu.t[2389]

Missing object query and error message templates

askUnknownWord (actor, txt)

msg_neu.t[2409]

tell the user they entered a word we don’t know

disambigOrdinalOutOfRange (actor, ordinalWord, originalText)

msg_neu.t[2326]

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)

msg_neu.t[2290]

insufficient quantity to meet a command request (‘take five books’)

missingLiteral (actor, action, which)

msg_neu.t[2402]

no description available

missingObject (actor, action, which)

msg_neu.t[2396]

no description available

noMatchCannotSee (actor, txt)

msg_neu.t[2260]

no match for a noun phrase

noMatchDisambig (actor, origPhrase, disambigResponse)

msg_neu.t[2311]

no match for the response to a disambiguation question

noMatchForAll (actor)

msg_neu.t[2271]

no match for ‘all’

noMatchForAllBut (actor)

msg_neu.t[2277]

nothing left for ‘all’ after removing ‘except’ items

noMatchNotAware (actor, txt)

msg_neu.t[2265]

no description available

singleObjectRequired (actor, txt)

msg_neu.t[2304]

a single noun phrase is required, but a noun list was used

uniqueObjectRequired (actor, txt, matchList)

msg_neu.t[2297]

a unique object is required, but multiple objects were specified

wordIsUnknown (actor, txt)

msg_neu.t[2416]

tell the user they entered a word we don’t know

zeroQuantity (actor, txt)

msg_neu.t[2283]

‘take zero books’

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3