/usr/share/games/kiki-the-nano-bot/py/levels/flower.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 38 39 40 41 42 43 | # level design by Michael Abel
# .................................................................................................................
def func_flower():
s=world.getSize();
for m in [ (1,KikiWall) , (2,KikiStone) ]:
for (k,l) in [ (i,j) for i in [-1*m[0],1*m[0] ] for j in [-1*m[0],1*m[0]]]:
world.addObjectLine(m[1], KikiPos(s.x/2+k, s.y/2+l ,0),
KikiPos(s.x/2+k, s.y/2+l ,3))
world.addObjectLine(m[1], KikiPos(s.x/2+k, s.y/2+l ,8),
KikiPos(s.x/2+k, s.y/2+l ,s.z))
world.addObjectAtPos (KikiStone(KColor(0,1,0,0.5), True), world.decenter(1,0,0))
world.addObjectAtPos (KikiStone(KColor(0,1,0,0.5), True), world.decenter(-1,0,0))
world.addObjectAtPos (KikiStone(KColor(0,1,0,0.5), True), world.decenter(0,1,0))
world.addObjectAtPos (KikiStone(KColor(0,1,0,0.5), True), world.decenter(0,-1,0))
level_dict["flower"] = {
"scheme": "metal_scheme",
"size": (7,7,11),
"intro": "flower",
"help": (
"$scale(1.5)mission:\nget to the exit!\n\n" + \
"the green stone is slicky" + \
"you can't grab it while falling",
),
"player": { "coordinates": (3,0,1),
"nostatus": 0,
"orientation" : roty0
},
"exits": [
{
"name": "exit",
"active": 1,
"position": (0,0,0),
},
],
"create": func_flower,
}
# .................................................................................................................
|