/usr/share/games/colobot/ai/tremova2.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 | extern void object::Example( )
{
for ( int i=0 ; i<3 ; i=i+1 )
{
object item;
point dest;
item = radar(Titanium, 0, 360, 0, 1000, -1);
if ( item == null ) return;
goto(item.position);
grab(); // grab the titanium cube
dest.x = 10;
dest.y = -60-5*i;
goto(dest); // go to the plateform
drop(); // drop the titanium cube
}
}
|