The Four-Eyed Guide to TADS 3 by David Welbourn index


TASTE dobjList

Syntax

Related actions: EAT dobjList, DRINK dobjList.

Default minimal behavior

>taste
What do you want to taste?

>taste floor
You taste nothing out of the ordinary.

taste matches VerbRule(Taste) which invokes TasteAction. [TODO]

Summary of library references to tasting

actions.t

Short description

DefineTAction(Taste)

Defines class TasteAction: TAction

Note: DefineTAction(name) is a macro defined in adv3.h.

Note: TAction is a class defined in action.t.

objects.t

Short description

Food.dobjFor(Taste) Food is considered perfectly normal for tasting, and uses default logical rank 100 for this action.

precond.t

Short description

touchObj: TouchObjCondition Pre-condition: actor must be able to touch the object.

thing.t

Short description

Thing.tasteDesc The thing's taste description. By default, prints libMessages.thingTasteDesc(self), e.g.: "You taste nothing out of the ordinary."
Thing.basicExamineTaste() By default, this simply calls self.tasteDesc().
Thing.dobjFor(Taste) By default, one must be able to touch an object before one can attempt to taste it. Also, although one can logically taste most things, it's considered unlikely, therefore things are given a logical rank of 50 for tasting. Finally, we call fromPOV(gActor, &basicExamineTaste) to do handle the actual tasting.

en_us\en_us.t

Short description

VerbRule(Taste)

Associates the grammar "taste dobjList" with TasteAction.

Note: VerbRule(tag) is a macro defined in en_us.h.

Note: TasteAction is defined in actions.t (see above).

en_us\msg_neu.t

Short description

libMessages.thingTasteDesc(obj) "{You/he} taste{s} nothing out of the ordinary. "
playerActionMessages.cannotTaste(obj) '{You/he} cannot taste {that obj/him}. '