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


SLEEP

Syntax

Default minimal behavior

>sleep
You don't need to sleep right now.

sleep matches VerbRule(Sleep) which invokes SleepAction. [TODO]

Simple Sleeping

>sleep
[TODO]

Summary of library references to sleeping

actions.t

Short description

DefineIAction(Sleep)

Defines class SleepAction: IAction

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

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

actor.t

Short description

Actor.goToSleep() By default, the actor merely reports that he doesn't need to sleep right now.

en_us\en_us.t

Short description

VerbRule(Sleep)

Associates the grammar "sleep" with SleepAction.

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

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

en_us\msg_neu.t

Short description

playerActionMessages.cannotSleep '{You/he} do{es}n\'t need to sleep right now. '