Room & Dimension

version 1 by Sebastian Rahn

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 1.7 - Check surroundings of an object

    Nothing Here_To_See is a thing with printed name "".

    Scanning_Surroundings is a truth state that varies.

    Table 995 - Surroundings
    Left Space  Middle Space  Right Space  
    a thing   a thing  a thing  
    with 2 blank rows  

    To scan surroundings of (Noun - a thing):
    Change Compass to Noun;
    scan surroundings.

    To scan surroundings:
    Change Scanning_Surroundings to Uncommented;
    Change Uncommented to true;
    repeat through Table 995
        begin;
        blank out the whole row;
    end repeat;
    choose row 1 in the Table of Surroundings;
    Change tmp_Direction to northwest;
    Change Freespace to Nothing Here_To_See;
    check sector;
    Change Left Space Entry to Freespace;
    Change tmp_Direction to north;
    Change Freespace to Nothing Here_To_See;
    check sector;
    Change Middle Space Entry to Freespace;
    Change tmp_Direction to northeast;
    Change Freespace to Nothing Here_To_See;
    check sector;
    Change Right Space Entry to Freespace;
    choose row 2 in the Table of Surroundings;
    Change tmp_Direction to west;
    Change Freespace to Nothing Here_To_See;
    check sector;
    Change Left Space Entry to Freespace;
    Change Middle Space Entry to Compass;
    Change tmp_Direction to east;
    Change Freespace to Nothing Here_To_See;
    check sector;
    Change Right Space Entry to Freespace;
    choose row 3 in the Table of Surroundings;
    Change tmp_Direction to southwest;
    Change Freespace to Nothing Here_To_See;
    check sector;
    Change Left Space Entry to Freespace;
    Change tmp_Direction to south;
    Change Freespace to Nothing Here_To_See;
    check sector;
    Change Middle Space Entry to Freespace;
    Change tmp_Direction to southeast;
    Change Freespace to Nothing Here_To_See;
    check sector;
    Change Right Space Entry to Freespace;
    Change Uncommented to Scanning_Surroundings.