'Topic: Grexa-2: hunters needed
'Shvarz
' Alga grexa 2
'
' Vegetable
'
' A version of Alga grexa, bot
' designed to run in packs.
' Designed for v2.2 by shavrz
' Run it on size 2 or 3 for best result.
'seed direction of swim
cond
*.robage 0 =
start
1
rnd
5
add
189
store
stop
'Is there someone around?
cond
*.eye1
*.eye2
sub
*.eye3
sub
*.eye4
sub
*.eye5
sub
*.eye6
sub
*.eye7
sub
*.eye8
sub
*.eye9
sub
0
=
start
3
rnd
*189
store
12
.up
store
stop
'reproduction
cond
*.nrg
10000
>
start
50
.repro
store
stop
'don't run into edge
cond
10
rnd
3 >
*.edge 1 =
start
300
rnd
.aimdx
store
stop
'follow the leader
cond
*.eye5 0 >
start
*.aim
*.refaim
sub
.aimdx
store
13
.up
store
stop
'don't go too far down
cond
*.pain 10 >
*.sun 0 =
start
600
.aimdx
store
stop
end