/usr/share/games/kiki-the-nano-bot/py/levels/evil.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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | # .................................................................................................................
level_dict["evil"] = {
"scheme": "red_scheme",
"size": (13,5,13),
"intro": "evil",
"help": (
"$scale(1.5)mission:\nactivate the exit!\n\n" + \
"place a powered\n" \
"wire stone next to it.",
"a wirestone is powered by\n" \
"a rotating generator\n" \
"or it shares at least\none edge with\n" \
"another powered wirestone.",
"this one is hard,\nreally hard,\nbut it's possible.\n\n" \
"good luck!"
),
"player": { "position": (1,1,1),
},
"exits": [
{
"name": "exit",
"active": 0,
"position": (0,0,4),
},
],
"create":
"""
sx, sy, sz = 13,5,13
for z in range(-sz/2+2, sz/2):
world.addObjectAtPos (KikiWall (), world.decenter(-sx/2+2, 0, z))
world.addObjectAtPos (KikiWall (), world.decenter( sx/2-1, 0, z))
for z in range(-sz/2+4, sz/2-2):
world.addObjectAtPos (KikiWall (), world.decenter(-sx/2+4, 0, z))
world.addObjectAtPos (KikiWall (), world.decenter( sx/2-3, 0, z))
for x in range(-sx/2+3, sx/2-1):
world.addObjectAtPos (KikiWall (), world.decenter(x, 0, -sz/2+2))
world.addObjectAtPos (KikiWall (), world.decenter(x, 0, sz/2-1))
for x in range(-sx/2+4, sx/2-2):
world.addObjectAtPos (KikiWall (), world.decenter(x, 0, -sz/2+4))
world.addObjectAtPos (KikiWall (), world.decenter(x, 0, sz/2-3))
world.addObjectAtPos (KikiGenerator (KikiFace.PY), world.decenter(0,0,-4))
world.addObjectAtPos (KikiWireStone (), world.decenter(4,0,0))
world.addObjectAtPos (KikiWireStone (), world.decenter(-4,0,0))
world.addObjectAtPos (KikiWireStone (), world.decenter(0,-2,-2))
world.addObjectAtPos (KikiWireStone (), world.decenter(0,-1,-2))
world.addObjectAtPos (KikiMotorGear (KikiFace.PY), world.decenter(0,0,-2))
world.addObjectAtPos (KikiMotorCylinder (KikiFace.PY), world.decenter(0,1,-2))
world.addObjectAtPos (KikiBomb (), world.decenter(0, 2,-2))
world.addObjectAtPos (KikiBomb (), world.decenter( 1, 0,-2))
world.addObjectAtPos (KikiBomb (), world.decenter(-1, 0,-2))
world.removeObject(world.getOccupantAtPos(world.decenter (0, 0, 3)))
world.addObjectAtPos (KikiWireStone (), world.decenter(0,0,3))
""",
}
|