This file is indexed.

/usr/share/games/colobot/ai/lady01.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
extern void object::Produce( )
{
	point	path[4];
	int		i;

	errmode(0);  // ne stoppe pas si erreur
	while ( ismovie() != 0 )  wait(1);

	path[0].x = cmdline(0);
	path[0].y = cmdline(1);
	path[1].x = cmdline(2);
	path[1].y = cmdline(3);
	path[2].x = cmdline(4);
	path[2].y = cmdline(5);
	path[3].x = cmdline(6);
	path[3].y = cmdline(7);

	i = 1;
	while ( true )
	{
		goto(path[i%4]);

		if ( i%5 == 4 && WaspCount() < 2 )
		{
			produce(position, orientation, AlienWasp, "wasp01.txt");
		}

		i ++;
	}
}

int object::WaspCount()
{
	object	item;
	int		total = 0;
	int		i = 0;

	while ( true )
	{
		item = retobject(i++);
		if ( item == null )  return total;

		if ( item.category == AlienWasp )
		{
			total ++;
		}
	}
}