Undescribed Objects

version 1/080526 by Tim Pittman

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 1 - Undescribed Objects

    An undescribed object is a kind.
    The specification of undescribed object is "Represents a super simple thing that cannot be moved, touched, or dealt with in any way. Dealing with this object will result simply in a 'not something you need to refer to' parser error (even though the parser has already completed).".

    An undescribed object has a text called error text.

    This is the don't refer to rule:
        if the noun is an undescribed object:
            throw the not refer to error with the noun;
            rule fails with result the don't refer to rule;
        if the second noun is an undescribed object:
            throw the not refer to error with the second noun;
            rule fails with result the don't refer to rule.

    The don't refer to rule is listed after the basic visibility rule in the action-processing rules.

    To throw the not refer to error with (obj - an undescribed object):
        make the not refer to error;
        begin the printing a parser error activity;
            if obj provides the property error text and the error text of obj is not "" begin;
                say "[error text of obj][paragraph break]";
            otherwise
            if handling printing a parser error activity;
                say "That is not something you need to refer to during the course of the game.";
            end if;
        end the printing a parser error activity.

    To make the not refer to error: (- (etype = SCENERY_PE); -).