/usr/share/games/colobot/ai/tremova4.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 | extern void object::Example( )
{
object item;
point dest;
item = radar(Titanium);
if ( item == null ) return;
goto(item.position);
grab(); // grab the titanium cube
dest.x = 10;
dest.y = -60;
goto(dest); // go to the plateform
drop(); // drop the titanium cube
}
|