/usr/share/games/colobot/ai/titan1.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 | extern void object::CollectTitanium1()
{
// 1) Variable definition.
object item; // info. about objects
// 2) Go to the titanium ore and grab it.
item = radar(TitaniumOre);// look for titanium ore
goto(item.position); // go to the position
grab(); // grab the titanium
// 3) Go to the converter and drop it.
item = radar(Converter); // look for converter
goto(item.position); // go to the position
drop(); // drop the titanium
move(-2.5); // step back 2.5 m
}
|