# Ecosystem Simulation Script -- Potential Demo Data Script 8 # This script tests general actions. # ########################################################## Setup ecosystem # # Plant a bunch of bushes: create bush Bush0101 20 1 1 create bush Bush0102 20 1 2 create bush Bush0103 20 1 3 create bush Bush0104 20 1 4 create bush Bush0105 20 1 5 create bush Bush0106 20 1 6 create bush Bush0107 20 1 7 create bush Bush0108 20 1 8 create bush Bush0109 20 1 9 create bush Bush0110 20 1 10 create bush Bush0201 20 2 1 create bush Bush0202 20 2 2 create bush Bush0203 20 2 3 create bush Bush0204 20 2 4 create bush Bush0205 20 2 5 create bush Bush0206 20 2 6 create bush Bush0207 20 2 7 create bush Bush0208 20 2 8 create bush Bush0209 20 2 9 create bush Bush0210 20 2 10 create bush Bush0301 20 3 1 create bush Bush0302 20 3 2 create bush Bush0303 20 3 3 create bush Bush0304 20 3 4 create bush Bush0305 20 3 5 create bush Bush0306 20 3 6 create bush Bush0307 20 3 7 create bush Bush0308 20 3 8 create bush Bush0309 20 3 9 create bush Bush0310 20 3 10 create bush Bush0401 20 4 1 create bush Bush0402 20 4 2 create bush Bush0403 20 4 3 create bush Bush0404 20 4 4 create bush Bush0405 20 4 5 create bush Bush0406 20 4 6 create bush Bush0407 20 4 7 create bush Bush0408 20 4 8 create bush Bush0409 20 4 9 create bush Bush0410 20 4 10 create bush Bush0501 20 5 1 create bush Bush0502 20 5 2 create bush Bush0503 20 5 3 create bush Bush0504 20 5 4 create bush Bush0505 20 5 5 create bush Bush0506 20 5 6 create bush Bush0507 20 5 7 create bush Bush0508 20 5 8 create bush Bush0509 20 5 9 create bush Bush0510 20 5 10 create bush Bush0601 20 6 1 create bush Bush0602 20 6 2 create bush Bush0603 20 6 3 create bush Bush0604 20 6 4 create bush Bush0605 20 6 5 create bush Bush0606 20 6 6 create bush Bush0607 20 6 7 create bush Bush0608 20 6 8 create bush Bush0609 20 6 9 create bush Bush0610 20 6 10 create bush Bush0701 20 7 1 create bush Bush0702 20 7 2 create bush Bush0703 20 7 3 create bush Bush0704 20 7 4 create bush Bush0705 20 7 5 create bush Bush0706 20 7 6 create bush Bush0707 20 7 7 create bush Bush0708 20 7 8 create bush Bush0709 20 7 9 create bush Bush0710 20 7 10 create bush Bush0801 20 8 1 create bush Bush0802 20 8 2 create bush Bush0803 20 8 3 create bush Bush0804 20 8 4 create bush Bush0805 20 8 5 create bush Bush0806 20 8 6 create bush Bush0807 20 8 7 create bush Bush0808 20 8 8 create bush Bush0809 20 8 9 create bush Bush0810 20 8 10 create bush Bush0901 20 9 1 create bush Bush0902 20 9 2 create bush Bush0903 20 9 3 create bush Bush0904 20 9 4 create bush Bush0905 20 9 5 create bush Bush0906 20 9 6 create bush Bush0907 20 9 7 create bush Bush0908 20 9 8 create bush Bush0909 20 9 9 create bush Bush0910 20 9 10 create bush Bush1001 20 10 1 create bush Bush1002 20 10 2 create bush Bush1003 20 10 3 create bush Bush1004 20 10 4 create bush Bush1005 20 10 5 create bush Bush1006 20 10 6 create bush Bush1007 20 10 7 create bush Bush1008 20 10 8 create bush Bush1009 20 10 9 create bush Bush1010 20 10 10 # # Create a bunch of herbivores: create grazer Grazer01 20 4 8 create grazer Grazer02 20 4 2 create grazer Grazer03 20 6 12 create grazer Grazer04 20 1 5 create grazer Grazer05 20 2 4 create grazer Grazer06 20 3 5 create grazer Grazer07 20 8 6 create grazer Grazer08 20 5 3 create grazer Grazer09 20 4 6 create grazer Grazer10 20 3 7 # create browser Browser01 30 1 8 create browser Browser02 30 2 7 create browser Browser03 30 3 4 create browser Browser04 30 3 12 create browser Browser05 30 4 7 create browser Browser06 30 5 8 create browser Browser07 30 7 8 create browser Browser08 30 7 2 create browser Browser09 30 9 8 create browser Browser10 30 9 4 # # Create a bunch of carnivores: create grendel Grendel01 30 1 1 create grendel Grendel02 30 2 2 create grendel Grendel03 30 3 3 create grendel Grendel04 30 4 4 create grendel Grendel05 30 5 5 ########################################################## Turn 'em loose # tick 20 ########################################################## Check status # These grazers survived: status Grazer02 status Grazer03 status Grazer05 status Grazer06 status Grazer07 status Grazer08 status Grazer09 # These did not: status Grazer01 status Grazer04 status Grazer10 # This Grendel died: status Grendel01 # These survived: status Grendel02 status Grendel03 status Grendel04 status Grendel05 ########################################################## Shut down # shut down exit ########################################################## End of script