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


BREAK dobjList

Syntax

Related action: ATTACK singleDobj (WITH singleIobj).

Default minimal behavior

>break
What do you want to break?

>break floor
[TODO]

break matches VerbRule(Break) which invokes BreakAction. [TODO]

Summary of library references to breaking

actions.t

Short description

DefineTAction(Break)

Defines class BreakAction: TAction

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

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

precond.t

Short description

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

thing.t

Short description

Thing.dobjFor(Break) By default, you can only try to break things that you're able to touch. Further, it is illogical to break most objects, e.g.: 'Breaking that would serve no purpose.'

en_us\en_us.t

Short description

VerbRule(Break)

Associates the grammars "break dobjList", "destroy dobjList", etc. with BreakAction.

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

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

en_us\msg_neu.t

Short description

playerActionMessages.shouldNotBreak 'Breaking {that dobj/him} would serve no purpose. '
npcActionMessages.shouldNotBreak '{You/he} do{es}n\'t want to break {that dobj/him}. '