/usr/share/games/colobot/ai/tremot4a.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 | extern void object::Remote4( )
{
SendOrder(1, 20); // move(20);
SendOrder(2, 90); // turn(90);
SendOrder(1, 20); // move(20);
SendOrder(2, 90); // turn(90);
SendOrder(1, 10); // move(10);
SendOrder(2, 90); // turn(90);
SendOrder(1, 10); // move(10);
SendOrder(2,-90); // turn(-90);
SendOrder(1, 10); // move(10);
}
void object::SendOrder(float order, float param)
{
exchange list();
order todo();
todo.m_type = order;
todo.m_param = param;
while ( list.put(todo) == false )
{
wait(1);
}
}
|