Atmospheric Effects

version 6/080508 by Mikael Segercrantz

  • Home page
  • Beginning
  • Previous
  • Next



  • Part 4 - Saying

    Chapter 4(a) - General

    Section 4(a)1 - Display row

    To display row (row number - a number) in (tbl - a table-name) running (runtype - a running type):
        let current row be 0;
        sort tbl in used order;
        repeat with i running from 1 to the number of rows in tbl:
            choose row i in tbl;
            if there is a message entry:
                if current row is less than row number, increase current row by 1;
                if current row is row number and the used entry is 0:
                    increase current row by 1;
                    let txt be the message entry;
                    choose a blank row in the Table of Messages to Show;
                    change the message entry to txt;
                    choose row i in tbl;
                    change the used entry to the turn count;
                    if runtype is run once, blank out the whole row.