/usr/share/games/kiki-the-nano-bot/py/levels/rings.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 | # .................................................................................................................
level_dict["rings"] = {
"scheme": "default_scheme",
"size": (9,7,9),
"intro": "rings",
"help": (
"$scale(1.5)mission:\nget to the exit!\n\n" + \
"to get to the exit,\nuse the stones",
),
"player": { "position": (0,-1,0),
},
"exits": [
{
"name": "exit",
"active": 1,
"position": (0,0,0),
},
],
"create":
"""
s = world.getSize()
for y in [-1, 1]:
x = 3
world.addObjectPoly (KikiStone, [world.decenter (-x, y, -x), world.decenter(-x, y, x), \
world.decenter (x, y, x), world.decenter(x, y, -x)])
for y in [-3, 3]:
for x in [-3, -1, 1, 3]:
world.addObjectPoly (KikiStone, [world.decenter (-x, y, -x), world.decenter(-x, y, x), \
world.decenter (x, y, x), world.decenter(x, y, -x)])
""",
}
|