Patrollers

version 11 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 2.3 - Define the in-play movements of a Patroller

    Every turn (this is the carry out patrolling rule):
        truncate the Arrival List to 0 entries;
        truncate the Departure List to 0 entries;
        repeat with Bod running through On Patrol Patrollers:
            if the Bod is ready to move:
                if a random chance of Drive of the Bod in 100 succeeds:
                    carry out the Patrolling activity with the Bod;
        if Reporting is Collective:
            if the number of entries in the arrival list is not 0:
                report arrivals;
            if the number of entries in the departure list is not 0:
                report departures.