# Ecosystem Simulation Script -- Potential Demo Data Script 6 # This script tests grendels munching grendels. # ########################################################## simple Grendel/Grendel predation # Set up a pair of Grendels: create grendel Grendel1 50 2 4 tick 1 create grendel Grendel2 50 2 5 # Move 'em around a bit: tick 1 tick 1 # Grendel1 should munch Grendel2 on the next tick: tick 1 status Grendel1 status Grendel2 ########################################################## Two more kills # create grendel Grendel3 50 3 4 tick 4 # Grendel3 should munch Grendel1 on the next tick: tick 1 status Grendel1 status Grendel3 create grendel Grendel4 50 4 5 # Grendel3 should munch Grendel4 on the next tick: tick 1 status Grendel3 status Grendel4 ########################################################## A near miss # create grendel Grendel5 50 3 5 # Grendel3 moves just in time to avoid Grendel5 on the next tick: tick 1 status Grendel3 status Grendel5 # They move in parallel for awhile: tick 4 status Grendel3 status Grendel5 # Finally, Grendel3 catches Grendel5 on the next tick: tick 1 status Grendel3 status Grendel5 ########################################################## Verify Grendel's a carnivore # Plant some bushes in the grendel's path: create bush Bush1 30 6 6 create bush Bush2 30 7 6 tick 2 status Bush1 status Bush2 status Grendel3 ########################################################## Shut down # shut down exit ########################################################## End of script