Darwinbots Forum

Bots and Simulations => Bestiary => EcoSim Bots => Topic started by: Endy on December 19, 2005, 02:43:11 AM

Title: MutBot (Eco)(Endy)-19.12.05
Post by: Endy on December 19, 2005, 02:43:11 AM
' Mutbot
' Combines normal herbivore and Cannibalistic Carnivore in one package

cond
*.robage 1 =
start
*.myeye 1 rnd mult 50 store
stop

cond
*.eye5 0 >
*.refeye *50 =
start
314 rnd .aimdx addstore
stop

cond
*.eye5 0 =
start
314 rnd .aimdx addstore
stop

cond
*.refeye *50 !=
*.eye5 37 >
start
-1 .shoot addstore
'.tie inc
stop

cond
*.nrg 5000 >
start
50 .repro addstore
stop

cond
start
*.tiepres .deltie *.tiepres sgn mult store
stop

cond
*.vel 20 <
*.eye5 0 >
*.refeye *50 !=
start
20 *.vel sub 2 div .up addstore
stop
end