Player Experience Upgrade

version 2/111127 by Aaron Reed

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Stripping Body Parts

    [can successfully parse things like "take Phil's arm" or "hit Phil with my hand," and at least prints a recognition of the body part word otherwise. ]
    [BUG: >BOB'S FACE reparses to EXAMINE BOB, but the response is on the same line...]

    A smarter parser rule when sp_normal (this is the stripping body parts rule):
        replace the regular expression "\b(eye|head|skull|hair|nose|mouth|ear|cheek|forehead)s?\b" in reborn command with "_body";
        replace the regular expression "\b(face|neck|chest|gut|breast|body|nipple|shoulder|collar|arm|wrist)s?\b" in reborn command with "_body";
        replace the regular expression "\b(hand|finger|knuckle|fingernail|waist|thigh|leg|knee)s?\b" in reborn command with "_body";
        replace the regular expression "\b(shin|ankle|foot|feet|toe|elbow|fist|thumb|tongue|lip|heart)s?\b" in reborn command with "_body";
        if stripping "(on|in) ?(the|his|her|a|their|my)? _body" is fruitful or stripping "[apostrophe]?s _body" is fruitful, even within words: [Note: this isn't idea for something like KISS LIPS, where it strips "S LIPS"]
            identify error as stripping body parts rule;
            reparse the command;
        if input contains "_body":
            identify error as stripping body parts rule;
            reject the command.

    Table of Smarter Parser Messages (continued)
    rule name  message  
    stripping body parts rule  "[as the parser]You do not normally need to refer to parts of the body.[as normal]"