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


GO singleDir

Default minimal behavior

>go north
You can't go that way. The only obvious exit leads back to the south.

Closet: Room 'Closet'
  south = Bedroom
;

go north matches VerbRule(???) which invokes ???Action.

Simple Traveling

>s
Your Bedroom
Of all the bedrooms in the world, this one is yours. There's a closet to north, and the exit is east.

Closet: Room 'Closet'
  south = Bedroom
;

Bedroom: Room 'Your Bedroom'
  "Of all the bedrooms in the world, this one is yours.
   There's a closet to north, and the exit is east. "
  north = Closet
  east = Hallway
  out asExit(east)
;

Fake Exits

>e
Nah. You don't need to go in the bathroom right now.

Hallway: Room 'Hallway'
  "This hallway connects your bedroom to the west with your bathroom to the east. "
  west = Bedroom
  east : FakeConnector "Nah. You don't need to go in the bathroom right now. " {}
;

Summary of library references to traveling

actions.t

Short description

travel.t

Short description

en_us\msg_neu.t

Short description

playerActionMessages.cannotGoThatWay '{You/he} can\'t go that way. '
playerActionMessages.cannotGoThatWayInDark 'It\'s too dark; {you/he} can\'t see where {you\'re} going. '