Author Topic: Multi-gene virus  (Read 3290 times)

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
Multi-gene virus
« on: January 31, 2006, 12:13:40 PM »
Code: [Select]
def genecounter 51

cond
*.genecounter 0 =
start
.genecounter inc
stop

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

cond
*.vtimer 1 =
start
.genecounter inc
100 .vshoot store
stop

cond
start
*.genes 1 add
stop

cond
*.genecounter =
start
1 .genecounter store
stop

end

It will copy it's genes and vshoot them in sequence.
Doesn't work very well at all though  :wacko:

Just thought you might like to see it  :D

I was playing around with using a tie to grab and hold a bot in place, .delgene all the captured bot's genes through the tie, then vshoot its genes into the held bot.
Sort of like Endy's 'Two' bot, but for many genes.