Author Topic: Can't make poison.  (Read 3178 times)

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Can't make poison.
« on: November 22, 2007, 01:15:05 PM »
Can somebody tell me why this bot isn't making any poison. At has worked in an earlier version a long time ago, so I assume it must be a changing in how the dna works now. It's supposed to fire poison at any bot trying to shoot a -1 shot at it, which will cause the attacker to be unable to shoot for a certain time.


'Gene 1. Reproduction
cond
*.nrg 10000 >
start
50 .repro store
15 .aimdx store
stop

'Gene 2. Attach to parent
cond
*.robage 0 =
start
.tie inc
.shoot .ploc store
stop

'Gene 3. Simple search pattern 1
cond
*.eye3 *.eye5 >
start
-25 .aimdx store
stop

'Gene 4. Simple search pattern 2
cond
*eye7 *eye5 >
start
25 .aimdx store
stop

'Gene 5. Feeding
cond
*.eye5 40 >
*.nrg 3000 <
*.refeye *.myeye !=
start
-1 .shoot store
stop

'Gene 6. Avoid conspecifics
cond
*eye5 0 >
*.refeye 6 =
start
180 .aimdx store
stop

'Gene 7. Spread out
cond
*.nrg 1000 <
start
.deltie inc
stop

'Gene 8. Store poison
cond
*.poison 500 <
start
50 .strpoison store
stop

*.eye5

end
The internet is corrupt and controlled by criminally minded people.

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
Can't make poison.
« Reply #1 on: November 22, 2007, 05:19:26 PM »
Posted too in bug reports.  
Sometimes you win, and sometimes you lose...

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Can't make poison.
« Reply #2 on: November 22, 2007, 06:09:05 PM »
Sorry, I missed that. Feel free to delete this topic then.  
The internet is corrupt and controlled by criminally minded people.