/usr/share/games/colobot/ai/tant3.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 | extern void object::Example()
{
object item;
jet(0.2);
while(position.z < 20)
{
wait(0.2);
}
jet(0);
while(true)
{
item = radar(AlienAnt);
turn(direction(item.position));
while (radar(AlienAnt, 0, 360, 0, 40) == null)
{
wait(0.2);
}
fire(1);
}
}
|