Author Topic: Cockroach v1 (F1)(Commander Keen)(01-05-2008)  (Read 2834 times)

Offline Commander Keen

  • Bot Builder
  • **
  • Posts: 91
    • View Profile
Cockroach v1 (F1)(Commander Keen)(01-05-2008)
« on: April 30, 2008, 09:14:36 PM »
This bot is annoying!

The virus makes bots kill themselves firing an uber-virus. This affects veggies as well, unfortunately.

It needs to spread out more, and should probably be adjusted to not kill veggies. Also, older versions reproduced at 1000 energy, I found they died a lot, so I upped it to 2000. They still die a lot, but that's when they suicide due to being infected with the virus, rather than accidentally killing themselves by other means...

Code: [Select]
' Cockroach version 1 by Commander Keen

' Set conspec
cond
*.robage 0 =
start
*.dnalen 50 store
stop

' Reproduce
cond
*.nrg 2000 >
start
50 .repro store
.strbody inc
stop

' Viral gene, causes uber-virus suicide
cond
start
*341 335 store
*310 *336 *50 sub abs sgn mult 1 add 338 store
stop

' Main gene
cond
start
*.eye5 .tie store
99 .sharenrg store
.sharewaste inc
50 .aimdx store
1 .vshoot store
stop
« Last Edit: May 15, 2011, 07:38:00 AM by Panda »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Cockroach v1 (F1)(Commander Keen)(01-05-2008)
« Reply #1 on: May 02, 2014, 02:41:31 PM »
Moving to SB.