Author Topic: Anon Terrifica (F1)(PY)-pre 30.07.04  (Read 2154 times)

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2554
    • View Profile
    • http://kuro-tejina.com
Anon Terrifica (F1)(PY)-pre 30.07.04
« on: February 21, 2005, 10:27:56 AM »
Code: [Select]
' *PY's Anon Terifica
' ************************
cond
*.vel 10 <
*.refeye *55 !=
start
2 .up store
stop

' initialize
' *********
cond
*.robage 0 =
start
10 rnd 1 add 53 store
20 55 store
25 .tie store
stop

cond
*.robage 1 =
start
25 .deltie store
stop

' dump waste
' **********
cond
*.waste 50 >
start
-4 .shoot store
50 .shootval store
stop

'reproduce
'***********
cond
*.nrg 3000 >
start
50 .repro store
0 50 store
628 .aimdx store
stop

'turn towards food
'*************************
cond
*.eye1 *.eye5 >
*.eye1 *.eye9 >
start
-110 .aimdx store
3 .up store
stop

cond
*.eye9 *.eye5 >
*.eye9 *.eye1 >
start
110 .aimdx store
3 .up store
stop

cond
*.eye3 *.eye5 >
*.eye3 *.eye7 >
start
-70 .aimdx store
2 .up store
stop

cond
*.eye7 *.eye5 >
*.eye7 *.eye3 >
start
70 .aimdx store
2 .up store
stop

'Tie to an enemy
'********************
cond
*.eye5 30 >
*.eye4 *.eye6 %=
*.refeye *55 !=
'*50 2 >
*.robage 2 >
start
*53 .tie store
0 .aimdx store
stop

'avoid other conspecifics
'****************************
cond
*.refeye *55 =
start
280 .aimsx store
stop

' Avoid corpses
' ****************
cond
*.refnrg 1 <
*.eye5 50 >
start
150 .aimsx store
stop

cond
*.numties 0 >
start
*53 .tienum store
-1000 .tieval store
-1 .tieloc store
stop

end
« Last Edit: May 07, 2014, 12:55:23 PM by Botsareus »
There are 10 kinds of people in the world

Those who understand binary.

and those who don't

:D PY :D