/usr/share/games/kiki-the-nano-bot/py/levels.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 | # -*- encoding: utf-8 -*-
if Controller.isDebugVersion(): print "[levels.py]"
# .................................................................................................................
level_list = ["start", "steps", "move", "electro", "elevate", "throw", # intro
"gold", "jump", "escape", "gears", "gamma", "cube", "switch", "borg", # easy
"mini", "blocks", "bombs", "sandbox", "energy", "maze", "love",
"towers", "edge", "random", "plate", "nice", "entropy", # medium
"slick", "bridge", "flower", "stones", "walls", "grid", # difficult
"rings", "core", "bronze", "pool", # difficult
"hidden", "church", "strange", "mesh", "columns", "machine", # tough
"neutron", "captured", "circuit", "regal", "conductor", "evil", # very hard
"mutants", # outro
]
# .................................................................................................................
level_dict = {}
# .................................................................................................................
def outro (index=0):
"""well hidden outro :-)"""
outro_text = [ "$scale(1.5)congratulations!\n\n$scale(1)you rescued\nthe nano world!\n\n" +
"the last dumb mutant bot\nhas been destroyed.\n\nthe maker is functioning again.\n" +
"kiki will go now\nand see all his new friends.\n\nyou should maybe\ndo the same?",
"the maker wants to thank you!\n\n(btw.: you thought\nyou didn't see\nkiki's maker in the game?\n" +
"you are wrong!\nyou saw him\nall the time,\nbecause kiki\nlives inside him!)\n\n$scale(1.5)the end",
"p.s.: the maker of the game\nwants to thank you as well!\n\ni definitely want your feedback:\n" +
"please send me a mail (monsterkodi@users.sf.net)\nwith your experiences,\n" +
"which levels you liked, etc.\n\nthanks in advance and have a nice day,\n\nyours kodi" ]
more_text = index < len(outro_text)-1
less_text = index > 0
page_text = outro_text[index]
page_text += "\n\n$scale(0.5)(%d/%d)" % (index+1, len (outro_text))
page = KikiPageText (page_text, more_text, less_text)
page.getEventWithName ("hide").addAction (once (display_main_menu))
if more_text:
page.getEventWithName ("next").addAction (once (lambda i=index+1: outro (i)))
if less_text:
page.getEventWithName ("previous").addAction (once (lambda i=index-1: outro (i)))
# import the levels
for levelName in level_list:
execfile (kikipy_path + os.path.sep + "levels" + os.path.sep + levelName + ".py")
|