Patrollers
version 11 by Michael Callaghan
Version 11 of Patrollers by Michael Callaghan begins here.
"Allows a non player character to follow routes defined by rooms, directions, random journeys, the player's location or to a destination."
- Chapter 1 - Define a Patroller
- Section 1.1 - The Patroller Kind
- Section 1.2 - Define whether the Patroller is On Patrol or Off Patrol
- Section 1.3 - Specify how a Patroller's route is defined
- Section 1.4 - Define the types of route that a Patroller can follow
- Section 1.5 - Specify where the Patroller's route is defined (relevant unless the Route is Aimless or Targeted)
- Section 1.6 - Specify dummy tables for the Patroller 's route
- Section 1.7 - Define a destination for Targeted Patrollers
- Section 1.8 - Define a value to determine if a Patroller is on the outward or inward journey for TwoWay and TwoWayRepeated Routes
- Section 1.9 - Define values to determine the length of the Patroller's route and the position of the Patroller along that route
- Section 1.10 - Define the probability that a Patroller will move on any given turn as a percentage
- Section 1.11 - Define the door opening capability of the Patroller
- Section 1.12 - Define the door reclosing capability of the Patroller
- Section 1.13 - Define the frequency of the patroller's movement
- Section 1.14 - Define the start turn when the patroller becomes On Patrol
- Section 1.15 - Define if rooms are ordinarily accessible to a patroller
- Section 1.16 - Reporting movements of patrollers
- Section 1.17 - Flag to trap best route returning nothing as a value
- Chapter 2 - Patrolling Activity
- Section 2.1 - Initialize Room Led Patrollers
- Section 2.2 - Initialize Direction Led Patrollers
- Section 2.3 - Define the in-play movements of a Patroller
- Chapter 3 - Define rules move moving patrollers
- Section 3.1 - Set up the patrolling activity and associated variables
- Section 3.2 - Before rules for the patrolling activity
- Section 3.3 - Carry out moving the Patroller
- Section 3.4 - After moving the Patroller
- Section 3.5 - Reporting door rules
- Section 3.6 - Reporting movement rules
- Section 3.7 - Activation rules
- Section 3.8 - Rule for deciding if it is the patroller's turn to move
- Chapter 4 - Error Checking - Not for release