Skip to content

VerbSynonyms

Jim Nelson edited this page Aug 26, 2021 · 1 revision

Separated by the same language: Make multiple verbs mean the same thing

Problem

Sometimes it's useful for several verbs to mean the same action when applied to an object.

Here, the usual IF meaning of "take" (as in TAKE LAMP) is repurposed for a more mundane task:

Kitchen

You see a shower stall here.

>enter stall 
You feel refreshed.

>take shower
You feel refreshed.

Solution

Use asDobjfor() to create a verb synonym:

Shower: Booth 'a shower stall' 'shower stall' @kitchen
  "A shower stall.  "
  // entering the shower uses it
  dobjFor(Enter) {
    verify() {}
    action() {
      "You feel refreshed.  ";
    }
  }
  // TAKE SHOWER is not what it usually means in IF
  dobjFor(Take) asDobjFor(Enter)
;

Source

Clone this wiki locally