/usr/share/games/kiki-the-nano-bot/py/levels/cube.py is in kiki-the-nano-bot-data 1.0.2+dfsg1-5.
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 | # level design by Michael Abel
# .................................................................................................................
level_dict["cube"] = {
"scheme": "default_scheme",
"size": (5,5,5),
"intro": "cube",
"help": (
"reach the exit!"
),
"player": { "coordinates": (2,0,0),
"nostatus": 0,
"orientation": rot0
},
"exits": [
{
"name": "exit",
"active": 1,
"position": (0,2,2),
},
],
"create":
"""
#startblock
x=range(5)
for (i,j,l) in [(i,j,l) for i in x for j in x for l in x]:
if (-1)**(i+j+l) ==-1:
#print 'world.addObjectAtPos (KikiStone(), KikiPos('+str(i)+','+str(j)+','+str(l)+'))'
world.addObjectAtPos (KikiStone(), KikiPos(i,j,l))
""",
}
# .................................................................................................................
|