Player Experience Upgrade

version 2/111127 by Aaron Reed

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Generic action rejections

    [Some actions, such as taking, directly interface with the world model and thus can fail with specific explanations as to why. But actions without a detailed world model supporting them can't know whether the player's request is categorically impossible (>DRINK SKY), plausible but not implemented (>DRINK STREAM), or simply not being tried with the correct grammar (>DRINK FROM STREAM).

    Unfortunately, many of the default messages attempt to guess which of these situations has arisen, sometimes leading to messages that are counterfactual ("That's plainly inedible") or, more dangerously, misleading ("Violence isn't the answer to this one"). Ideally, these messages should refuse the command without implying anything about the possibility or desirability of the requested action. In addition, since we don't know anything about the author's usage of the verb in question, we can't recommend a better command to try.

    Ideally, of course, an author implementing a non-standard verb will replace the default message with his own instructions, but we can't rely on that.
    ]

    Table of custom library messages (continued)
    library-action  library-message-id  library-message-text  
    attacking action  1  "[as the parser]Attacking [the noun] would have no effect[can't-addendum].[as normal]" ["Violence isn't the answer to this one."]  
    burning action  1  "[as the parser]You can't burn [the noun][can't-addendum].[as normal]" ["This dangerous act would achieve little."]  
    buying action  1  "[as the parser]You can't buy [the noun][can't-addendum].[as normal]" ["Nothing is on sale."]  
    Cutting action  1  "[as the parser]You can't cut [the noun][can't-addendum].[as normal]" ["Cutting that up would achieve little."]  
    Drinking action  1  "[as the parser][if noun is player]You can't drink yourself.[otherwise if noun is a person]You can't normally consume other characters.[otherwise]You can't consume [the noun][can't-addendum].[end if][as normal]" ["There's nothing suitable to drink here."]  
    Eating action  1  "[as the parser][if noun is player]You can't eat yourself.[otherwise if noun is a person]You can't normally consume other characters.[otherwise]You can't consume [the noun][can't-addendum].[end if][as normal]" ["There's nothing suitable to drink here."]  
    Jumping action  1  "[as the parser]Jumping would have no effect[can't-addendum].[as normal]" ["You jump on the spot, fruitlessly."]  
    rubbing action  1  "[as the parser]Rubbing [the noun] would have no effect[here-addendum].[as normal]" ["You achieve nothing by this."]  
    pushing action  1  "[as the parser]Pushing [the noun] would have no effect[here-addendum].[as normal]" ["It is fixed in place."]  
    setting it to action  1  "[as the parser]You can't set [the noun] to that[can't-addendum].[as normal]" ["No, you can't set that to anything."]  
    singing action  1  "[as the parser]Singing would have no effect[here-addendum].[as normal]" ["Your singing is abominable."]  
    swinging action  1  "[as the parser]You can't swing [the noun][can't-addendum].[as normal]" ["There's nothing sensible to swing here."]  
    taking action  11  "[as the parser][The noun] [is-are]n't portable.[as normal]" ["That's fixed in place." <-- statues, odors, and clouds usually aren't literally fixed in place, you just can't pick them up.]  
    throwing it at action  2  "[as the parser]Throwing [the noun] at [the second noun] would have no effect[here-addendum].[as normal]" ["You lack the nerve when it comes to the crucial moment."]  
    Tying it to action  1  "[as the parser]You can't tie [the noun] to [that-those of second noun][can't-addendum].[as normal]" ["You would achieve nothing by this."]  

    To say can't-addendum: say ", or that's not the way to do so".
    To say here-addendum: say " in these circumstances".