/usr/share/games/kiki-the-nano-bot/py/levels/slick.py is in kiki-the-nano-bot-data 1.0.2+dfsg1-6.
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 | # level design by Michael Abel
# .................................................................................................................
def func_slick():
s=world.getSize()
for b in range(1,4):
for (k,l) in [ (i,j) for i in range(b+1,s.x-b-1) for j in range(b+1,s.y-b-1) ]:
world.addObjectAtPos (KikiStone(KColor(0,1,0,0.5), True), KikiPos(k,l,b*3))
world.addObjectAtPos( KikiWall(), KikiPos(s.x/2,s.y/2,0))
world.addObjectAtPos (KikiStone(KColor(0,1,0,0.5), True), KikiPos(s.x/2,s.y/2,2))
level_dict["slick"] = {
"scheme": "tron_scheme",
"size": (9,11,15),
"intro": "slick",
"help": (
"$scale(1.5)mission:\nget to the exit!\n\n" + \
"The green stone is slicky\n" + \
"you can't grab it while falling",
),
"player": { "coordinates": (4,10,0),
"orientation" : rotx90
},
"exits": [
{
"name": "exit",
"active": 1,
"position": (0,0,4),
},
],
"create": func_slick,
}
# .................................................................................................................
|