This file is indexed.

/usr/share/games/colobot/ai/charge2.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
extern void object::Recharge2()
{
	point  start;          // variable for initial pos.
	object item;           // info. about power station
	
	start = position;      // store initial position
	
	item = radar(PowerStation); // look for station
	goto(item.position);   // go to the power station
	
	while ( energyCell.energyLevel < 1 )
	{
		wait(1);            // wait until recharged
	}
	
	goto(start);           // go back to initial pos.
	message("Recharge completed");
}