This file is indexed.

/usr/share/games/kiki-the-nano-bot/py/levelselection.py is in kiki-the-nano-bot-data 1.0.2+dfsg1-6build1.

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
49
50
51
52
53
54
if Controller.isDebugVersion(): print "[levelselection.py]"

world.max_level_index = 0

# .................................................................................................................
#                                           Level Selection
# .................................................................................................................

def levelSelection (level_index=-1, escapeAction=0):

    def startLevel ():
        world.setCameraMode (world.CAMERA_BEHIND)
        KikiPyWorld ().create (level_list[menu.getCurrentIndex()])
    
    def displayLevel (index):
        w = KikiPyWorld ()
        w.preview = true
        world.setCameraMode (world.CAMERA_FOLLOW)
        w.create (level_list[index])
        
    def levelChanged ():
        displayLevel (menu.getCurrentIndex())
    
    # ............................................................................................................    
    
    last_level = highscore.getLastAvailableLevel()
    if last_level < 0:
        last_level = 0
    current_level = (level_index >= 0) and level_index or last_level 
        
    world.max_level_index = last_level
    
    menu = KikiScrollMenu (5, 3, current_level)
    menu.circular = False
    
    if escapeAction:
        menu.getEventWithName ("hide").addAction (escapeAction)
    else:
        menu.setEscapeActive (false)

    menu.getEventWithName ("changed").addAction (continuous (levelChanged))
    
    menu.getProjection().setViewport (0.0, 0.0, 1.0, 0.4)
    
    for index in range (last_level+1):
        level_name = level_dict[level_list[index]]["intro"]
        user_moves = highscore.levelUserMoves (level_name)
        par_moves  = highscore.levelParMoves (level_name)
        result = user_moves and str(par_moves-user_moves) or "new"
        item_text = "%d |%s|%s    " % (index+1, level_name, result)
        menu.addItem (item_text, once (startLevel))

    displayLevel (current_level)
    menu.show()