Author Topic: Toxica Occurus  (Read 2812 times)

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
Toxica Occurus
« on: March 19, 2008, 01:18:59 AM »
One of my earlier bots; T. Occurus tries to swarm out the map and spread its -1 shot countering virus spread as fast as possible.
Code: [Select]
cond
 *.robage 0 =
start
 7 989 store
stop

cond
 *.vtimer 0 =
start
 3 .mkvirus store
stop

cond
 7 *989 !=
start
 *.thisgene 1 rnd 2 mult -1 add add .delgene store
 50 .shootval store
 7 .ploc store
 50 .mkpoison store
stop

cond
 *.eye5 0 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
 50 .vshoot store
stop

cond
 *.eye5 50 >
 *.refeye *.myeye !=
start
 10 .mkvenom store
 *.myeye .venval store
 708 .vloc store
 10 .shootval store
 -3 .shoot store
stop

cond
 *.eye5 50 >
 *.refeye *.myeye !=
start
-6 .shoot store
 *.refvelup .up store
stop

cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
stop

cond
 *.nrg 2500 >
start
 50 .repro store
stop

cond
 *.waste 40 >
 *.eye5 50 <
start
 *.waste .shootval store
 -4 .shoot store
stop

cond
 *.numties 0 >
start
 *.prestie .deltie store
stop

end
« Last Edit: August 28, 2010, 04:58:04 PM by Shasta »
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan