/usr/share/games/kiki-the-nano-bot/py/levels/move.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 44 | # .................................................................................................................
level_dict["move"] = {
"scheme": "red_scheme",
"intro": "move",
"size": (7,7,7),
"help": (
"$scale(1.5)mission:\nactivate the exit!\n\n" + \
"to activate the exit,\nactivate the switch\n\n" + \
"to activate the switch,\nshoot it\n\n" + \
"to be able to shoot the switch,\nmove the stone",
"to move a stone, press \"$key(push)\" while moving\n\n" + \
"to shoot, press \"$key(shoot)\"",
),
"player": { "coordinates": (3,5,5),
"orientation": roty180,
"nostatus": 0,
},
"exits": [
{
"name": "exit",
"active": 0,
"position": (0,0,0),
},
],
"create":
"""
s = world.getSize ()
world.addObjectAtPos (KikiStone(), KikiPos (s.x/2-1, s.y/2+1, 0))
world.addObjectAtPos (KikiStone(), KikiPos (s.x/2+1, s.y/2+1, 0))
world.addObjectAtPos (KikiStone(), KikiPos (s.x/2+1, s.y/2-1, 0))
world.addObjectAtPos (KikiStone(), KikiPos (s.x/2-1, s.y/2-1, 0))
world.addObjectAtPos (KikiStone(), KikiPos (s.x/2-1, s.y/2, 0))
world.addObjectAtPos (KikiStone(), KikiPos (s.x/2+1, s.y/2, 0))
world.addObjectAtPos (KikiStone(), KikiPos (s.x/2, s.y/2-1, 0))
world.addObjectAtPos (KikiStone(), KikiPos (s.x/2, s.y/2+1, 0))
world.addObjectAtPos (KikiStone(), KikiPos (s.x/2, s.y/2, 1))
exit_switch = KikiSwitch()
exit_switch.getEventWithName ("switched").addAction (continuous (lambda : world.toggle("exit")))
world.addObjectAtPos (exit_switch, KikiPos (s.x/2, s.y/2, 0))
""",
}
|