/usr/share/games/colobot/ai/human01.txt is in colobot-common 0.1.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | extern void object::Activity( )
{
float d1, d2;
errmode(0); // ne stoppe pas si erreur
while ( true )
{
d1 = 2+rand()*2;
d2 = 1+rand()*3;
turn(-50);
turn(110);
turn(30);
move(d1);
wait(0.5);
turn(-90);
if ( rand() < 0.5 )
{
wait(2+rand()*2);
}
else
{
turn(-60);
turn(110);
turn(-50);
}
turn(-90);
move(d1+d2);
wait(0.5);
turn(90);
if ( rand() < 0.5 )
{
wait(2+rand()*2);
}
else
{
turn(-30);
turn(60);
turn(-30);
}
turn(90);
move(d2);
wait(0.5);
turn(-90);
}
}
|