Atmospheric Effects

version 6/080508 by Mikael Segercrantz

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter 3(c) - Decisions

    Section 3(c)1 - A scenic is shown

    To decide whether a scenic with initch (ic - a number) latch (lc - a number) aftcnt (ac - a number) curcnt (cc - a number) is shown:
        if ac is 0:
            if a random chance of ic in 100 succeeds, decide yes;
            decide no;
        otherwise:
            if cc is less than ac:
                if a random chance of ic in 100 succeeds, decide yes;
                decide no;
            otherwise:
                if a random chance of lc in 100 succeeds, decide yes;
                decide no.