levels
This commit is contained in:
parent
40e6051352
commit
8dbd0bb9da
|
@ -26,7 +26,7 @@ module.exports =
|
|||
position: [0,0,0]
|
||||
]
|
||||
create: ->
|
||||
world.addObjectAtPos 'KikiLight', KikiPos 7,7,7
|
||||
world.addObjectAtPos 'KikiLight', 7,7,7
|
||||
for i in [0...150]
|
||||
world.setObjectRandom KikiMutant()
|
||||
|
|
@ -33,11 +33,11 @@ module.exports =
|
|||
world.addObjectAtPos(KikiGear(KikiFace.PY), KikiPos(s.x/2-1, s.y-1, s.z/2-1))
|
||||
world.addObjectAtPos(KikiGenerator(KikiFace.PY), KikiPos(s.x/2+1, s.y-1, s.z/2-1))
|
||||
|
||||
world.addObjectAtPos(KikiBomb(), KikiPos(s.x/2-1, s.y-1, s.z/2+1))
|
||||
world.addObjectAtPos('KikiBomb', KikiPos(s.x/2-1, s.y-1, s.z/2+1))
|
||||
|
||||
world.addObjectAtPos(KikiWireStone(), KikiPos(s.x/2, s.y-1, s.z/2))
|
||||
world.addObjectAtPos(KikiWireStone(), KikiPos(s.x/2+1, s.y-2, s.z/2))
|
||||
world.addObjectAtPos(KikiWireStone(), KikiPos(s.x/2-1, s.y-2, s.z/2))
|
||||
world.addObjectAtPos('KikiWireStone', KikiPos(s.x/2, s.y-1, s.z/2))
|
||||
world.addObjectAtPos('KikiWireStone', KikiPos(s.x/2+1, s.y-2, s.z/2))
|
||||
world.addObjectAtPos('KikiWireStone', KikiPos(s.x/2-1, s.y-2, s.z/2))
|
||||
|
||||
# floor wire square
|
||||
world.addObjectLine("KikiWire(KikiFace.PY, 10)", KikiPos(s.x/2-d+1, 0, s.z/2-d), KikiPos(s.x/2+d, 0, s.z/2-d))
|
||||
|
|
|
@ -24,7 +24,7 @@ module.exports =
|
|||
for y in range(-s.y/2+1, s.y/2+1)
|
||||
for x in range(-s.x/2+1, s.x/2+1, 2)
|
||||
for z in range(-s.z/2+1, s.z/2+1, 2)
|
||||
world.addObjectAtPos(KikiStone(), world.decenter(x, y, z))
|
||||
world.addObjectAtPos('KikiStone', world.decenter(x, y, z))
|
||||
|
||||
world.deleteObject(world.getOccupantAtPos(world.decenter(-1, 0, 1)))
|
||||
world.deleteObject(world.getOccupantAtPos(world.decenter( 1, 0,-1)))
|
||||
|
|
|
@ -30,7 +30,7 @@ module.exports =
|
|||
|
||||
KikiWireWall = (c , p) ->
|
||||
if world.isUnoccupiedPos(KikiPos(p.x,p.y,p.z))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(p.x,p.y,p.z))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(p.x,p.y,p.z))
|
||||
world.addObjectAtPos(KikiWire(KikiFace.X, c), KikiPos(p.x+1,p.y ,p.z ))
|
||||
world.addObjectAtPos(KikiWire(KikiFace.NX, c), KikiPos(p.x-1,p.y ,p.z ))
|
||||
world.addObjectAtPos(KikiWire(KikiFace.Y, c), KikiPos(p.x ,p.y+1,p.z ))
|
||||
|
@ -69,10 +69,10 @@ module.exports =
|
|||
|
||||
KikiWireWall(15, KikiPos(5,4,8))
|
||||
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,0,0))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(10,0,0))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(10,8,0))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,8,0))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,0,0))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(10,0,0))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(10,8,0))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,8,0))
|
||||
|
||||
g.setActive(True)
|
||||
|
||||
|
|
|
@ -27,4 +27,4 @@ module.exports =
|
|||
for j in [0...5]
|
||||
for l in [0...5]
|
||||
if Math.pow(-1, i+j+l) == -1
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(i,j,l))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(i,j,l))
|
||||
|
|
|
@ -41,9 +41,9 @@ module.exports =
|
|||
world.addObjectLine(KikiWire(KikiFace.PZ, KikiWire.VERTICAL), s.x/2+2, 0, 0, s.x/2+2, s.y, 0)
|
||||
world.addObjectLine(KikiWire(KikiFace.NZ, KikiWire.VERTICAL), s.x/2+2, 0, s.z-1, s.x/2+2, s.y, s.z-1)
|
||||
|
||||
world.addObjectAtPos(KikiBomb(), s.x/2+2, 0, s.z/2-1)
|
||||
world.addObjectAtPos(KikiBomb(), s.x/2+1, 0, s.z/2+1)
|
||||
world.addObjectAtPos(KikiBomb(), s.x/2, 0, s.z/2-1)
|
||||
world.addObjectAtPos(KikiBomb(), s.x/2-1, 0, s.z/2+1)
|
||||
world.addObjectAtPos(KikiBomb(), s.x/2-2, 0, s.z/2-1)
|
||||
world.addObjectAtPos('KikiBomb', s.x/2+2, 0, s.z/2-1)
|
||||
world.addObjectAtPos('KikiBomb', s.x/2+1, 0, s.z/2+1)
|
||||
world.addObjectAtPos('KikiBomb', s.x/2, 0, s.z/2-1)
|
||||
world.addObjectAtPos('KikiBomb', s.x/2-1, 0, s.z/2+1)
|
||||
world.addObjectAtPos('KikiBomb', s.x/2-2, 0, s.z/2-1)
|
||||
|
|
@ -33,33 +33,33 @@ module.exports =
|
|||
exit_switch.getEventWithName("switched").addAction(continuous(() -> world.toggle("exit")))
|
||||
world.addObjectAtPos(exit_switch, world.decenter( 0, -2, 0))
|
||||
|
||||
world.addObjectAtPos(KikiStone(), world.decenter( 0, s.y/2, 0))
|
||||
world.addObjectAtPos(KikiStone(), world.decenter( 1, s.y/2, 0))
|
||||
world.addObjectAtPos(KikiStone(), world.decenter( 0, s.y/2, 1))
|
||||
world.addObjectAtPos(KikiStone(), world.decenter( 0, s.y/2,-1))
|
||||
world.addObjectAtPos(KikiStone(), world.decenter(-1, s.y/2, 0))
|
||||
world.addObjectAtPos('KikiStone', world.decenter( 0, s.y/2, 0))
|
||||
world.addObjectAtPos('KikiStone', world.decenter( 1, s.y/2, 0))
|
||||
world.addObjectAtPos('KikiStone', world.decenter( 0, s.y/2, 1))
|
||||
world.addObjectAtPos('KikiStone', world.decenter( 0, s.y/2,-1))
|
||||
world.addObjectAtPos('KikiStone', world.decenter(-1, s.y/2, 0))
|
||||
|
||||
world.addObjectLine(KikiStone, world.decenter(-2, s.y/2,-2), world.decenter( 2, s.y/2,-2))
|
||||
world.addObjectLine(KikiStone, world.decenter( 2, s.y/2,-2), world.decenter( 2, s.y/2, 2))
|
||||
world.addObjectLine(KikiStone, world.decenter( 2, s.y/2, 2), world.decenter(-2, s.y/2, 2))
|
||||
world.addObjectLine(KikiStone, world.decenter(-2, s.y/2, 2), world.decenter(-2, s.y/2,-2))
|
||||
world.addObjectLine('KikiStone', world.decenter(-2, s.y/2,-2), world.decenter( 2, s.y/2,-2))
|
||||
world.addObjectLine('KikiStone', world.decenter( 2, s.y/2,-2), world.decenter( 2, s.y/2, 2))
|
||||
world.addObjectLine('KikiStone', world.decenter( 2, s.y/2, 2), world.decenter(-2, s.y/2, 2))
|
||||
world.addObjectLine('KikiStone', world.decenter(-2, s.y/2, 2), world.decenter(-2, s.y/2,-2))
|
||||
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 1, 0, 0))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 0, 0, 1))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(-1, 0, 0))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 0, 0,-1))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 1, 0, 0))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 0, 0, 1))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(-1, 0, 0))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 0, 0,-1))
|
||||
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 1,-1, 0))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 0,-1, 1))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(-1,-1, 0))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 0,-1,-1))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 1,-1, 1))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(-1,-1, 1))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(-1,-1,-1))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 1,-1,-1))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 1,-1, 0))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 0,-1, 1))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(-1,-1, 0))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 0,-1,-1))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 1,-1, 1))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(-1,-1, 1))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(-1,-1,-1))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 1,-1,-1))
|
||||
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 1,-2, 0))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 0,-2, 1))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(-1,-2, 0))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter( 0,-2,-1))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 1,-2, 0))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 0,-2, 1))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(-1,-2, 0))
|
||||
world.addObjectAtPos('KikiWall', world.decenter( 0,-2,-1))
|
||||
|
|
@ -32,38 +32,38 @@ module.exports =
|
|||
|
||||
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))
|
||||
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))
|
||||
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))
|
||||
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('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(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('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.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))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter(0,0,3))
|
||||
|
|
@ -34,29 +34,29 @@ module.exports =
|
|||
s = world.size
|
||||
|
||||
#hop back on
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2, 12, 12))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2, 12, 12))
|
||||
|
||||
#orient world
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2, s.y/2+2, s.z/2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2+2, s.y/2+2, s.z/2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2, s.y/2+2, s.z/2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2+2, s.y/2+2, s.z/2))
|
||||
|
||||
#some Hops
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2+2, s.y/2-2, s.z/2+2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2+2, s.y/2-2, s.z/2+4))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2, s.y/2-2, s.z/2+4))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2+2, s.y/2-2, s.z/2+4))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2, s.y/2-4, s.z/2+4))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2-2, s.y/2-4, s.z/2+4))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2-4, s.y/2-4, s.z/2+4))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2+2, s.y/2-2, s.z/2+2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2+2, s.y/2-2, s.z/2+4))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2, s.y/2-2, s.z/2+4))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2+2, s.y/2-2, s.z/2+4))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2, s.y/2-4, s.z/2+4))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2-2, s.y/2-4, s.z/2+4))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2-4, s.y/2-4, s.z/2+4))
|
||||
|
||||
#long fall and strip1
|
||||
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2-4, s.y/2+4, s.z/2+2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2-3, s.y/2+4, s.z/2+2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2-4, s.y/2+4, s.z/2+2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2-3, s.y/2+4, s.z/2+2))
|
||||
|
||||
#short fall and strip2
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2-4, s.y/2+1, s.z/2-2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2-4, s.y/2+1, s.z/2-1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2-4, s.y/2+1, s.z/2-2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2-4, s.y/2+1, s.z/2-1))
|
||||
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(0, 0, 0))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(0, 0, 0))
|
||||
|
|
@ -50,27 +50,27 @@ module.exports =
|
|||
dswitch.getEventWithName("switched").addAction(continuous((s=dswitch) -> switched(s)))
|
||||
eswitch.getEventWithName("switched").addAction(continuous((s=eswitch) -> switched(s)))
|
||||
|
||||
world.addObjectAtPos(aswitch , KikiPos(s.x-1,0,0))
|
||||
world.addObjectAtPos(bswitch , KikiPos(0,0,0))
|
||||
world.addObjectAtPos(aswitch , KikiPos(s.x-1,0,0))
|
||||
world.addObjectAtPos(bswitch , KikiPos(0,0,0))
|
||||
|
||||
world.addObjectAtPos(KikiMutant(), KikiPos(s.x/2,0,0))
|
||||
world.addObjectLine(KikiWall, KikiPos(0,0,1), KikiPos(s.x,0,1))
|
||||
world.addObjectLine(KikiWall, KikiPos(0,1,0), KikiPos(s.x,1,0))
|
||||
world.addObjectAtPos('KikiMutant', KikiPos(s.x/2,0,0))
|
||||
world.addObjectLine('KikiWall', KikiPos(0,0,1), KikiPos(s.x,0,1))
|
||||
world.addObjectLine('KikiWall', KikiPos(0,1,0), KikiPos(s.x,1,0))
|
||||
|
||||
world.addObjectLine(KikiWall, KikiPos(0,2,2), KikiPos(s.x-3,2,2))
|
||||
world.addObjectAtPos(KikiSwitch(), KikiPos(s.x-3,2,2))
|
||||
world.addObjectLine(KikiWall, KikiPos(2,2,2), KikiPos(2,2,s.z-3))
|
||||
world.addObjectAtPos(KikiSwitch(), KikiPos(2,2,s.z-3))
|
||||
world.addObjectLine(KikiWall, KikiPos(2,2,4), KikiPos(2,s.y-3,4))
|
||||
world.addObjectLine('KikiWall', KikiPos(0,2,2), KikiPos(s.x-3,2,2))
|
||||
world.addObjectAtPos('KikiSwitch', KikiPos(s.x-3,2,2))
|
||||
world.addObjectLine('KikiWall', KikiPos(2,2,2), KikiPos(2,2,s.z-3))
|
||||
world.addObjectAtPos('KikiSwitch', KikiPos(2,2,s.z-3))
|
||||
world.addObjectLine('KikiWall', KikiPos(2,2,4), KikiPos(2,s.y-3,4))
|
||||
#exit
|
||||
world.addObjectAtPos(KikiSwitch() , KikiPos(2,s.y-3,4))
|
||||
world.addObjectAtPos('KikiSwitch' , KikiPos(2,s.y-3,4))
|
||||
|
||||
world.addObjectLine(KikiWall, KikiPos(2,4,4), KikiPos(s.x-4,4,4))
|
||||
world.addObjectAtPos(cswitch , KikiPos(s.x-3,4,4))
|
||||
world.addObjectLine('KikiWall', KikiPos(2,4,4), KikiPos(s.x-4,4,4))
|
||||
world.addObjectAtPos(cswitch , KikiPos(s.x-3,4,4))
|
||||
|
||||
world.addObjectLine(KikiWall, KikiPos(4,4,4), KikiPos(4,4,s.z-4))
|
||||
world.addObjectAtPos(dswitch , KikiPos(4,4,s.z-3))
|
||||
world.addObjectLine('KikiWall', KikiPos(4,4,4), KikiPos(4,4,s.z-4))
|
||||
world.addObjectAtPos(dswitch , KikiPos(4,4,s.z-3))
|
||||
|
||||
world.addObjectLine(KikiWall, KikiPos(4,4,6), KikiPos(4,s.y-4,6))
|
||||
world.addObjectAtPos(eswitch , KikiPos(4,s.y-3,6))
|
||||
world.addObjectLine('KikiWall', KikiPos(4,4,6), KikiPos(4,s.y-4,6))
|
||||
world.addObjectAtPos(eswitch , KikiPos(4,s.y-3,6))
|
||||
|
|
@ -24,12 +24,12 @@ module.exports =
|
|||
create: ->
|
||||
s = world.size
|
||||
|
||||
world.addObjectAtPos(KikiWireStone(), world.decenter(-1, 0, 0))
|
||||
world.addObjectAtPos(KikiWireStone(), world.decenter( 1, 0, 0))
|
||||
world.addObjectAtPos(KikiWireStone(), world.decenter( 0,-1, 0))
|
||||
world.addObjectAtPos(KikiWireStone(), world.decenter( 0, 1, 0))
|
||||
world.addObjectAtPos(KikiWireStone(), world.decenter( 0, 0,-1))
|
||||
world.addObjectAtPos(KikiWireStone(), world.decenter( 0, 0, 1))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter(-1, 0, 0))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter( 1, 0, 0))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter( 0,-1, 0))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter( 0, 1, 0))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter( 0, 0,-1))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter( 0, 0, 1))
|
||||
|
||||
world.addObjectAtPos(KikiGear(KikiFace.PY), KikiPos(s.x/2-1, 0, s.z/2-1))
|
||||
world.addObjectAtPos(KikiGear(KikiFace.PY), KikiPos(s.x/2+1, 0, s.z/2-1))
|
||||
|
|
|
@ -22,22 +22,22 @@ module.exports =
|
|||
|
||||
s = world.size
|
||||
|
||||
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-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))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2+1, s.y/2, 2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2-1, s.y/2, 2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2+2, s.y/2, 1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2-2, s.y/2, 1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2+2, s.y/2, 4))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2-2, s.y/2, 4))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2, s.y/2, 1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2+1, s.y/2, 2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2-1, s.y/2, 2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2+2, s.y/2, 1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2-2, s.y/2, 1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2+2, s.y/2, 4))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2-2, s.y/2, 4))
|
||||
|
||||
exit_switch = KikiSwitch()
|
||||
exit_switch.getEventWithName("switched").addAction(continuous(() -> world.toggle("exit")))
|
||||
|
|
|
@ -28,38 +28,38 @@ module.exports =
|
|||
|
||||
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))
|
||||
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))
|
||||
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))
|
||||
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('KikiWall', world.decenter(x, 0, -sz/2+4))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(x, 0, sz/2-3))
|
||||
|
||||
world.addObjectAtPos(KikiWireStone(), world.decenter(0,-1,0))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter(0,-1,0))
|
||||
world.addObjectAtPos(KikiMotorGear(KikiFace.PY), world.decenter(0,0,0))
|
||||
world.addObjectAtPos(KikiMotorCylinder(KikiFace.PY), world.decenter(0,1,0))
|
||||
|
||||
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(4,0,0))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter(-4,0,0))
|
||||
|
||||
world.addObjectAtPos(KikiWireStone(), world.decenter(0,-2,0))
|
||||
world.addObjectAtPos(KikiBomb(), world.decenter(0, 2,0))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter(0,-2,0))
|
||||
world.addObjectAtPos('KikiBomb', world.decenter(0, 2,0))
|
||||
|
||||
world.addObjectAtPos(KikiBomb(), world.decenter( 1, 0,0))
|
||||
world.addObjectAtPos(KikiBomb(), world.decenter(-1, 0,0))
|
||||
world.addObjectAtPos('KikiBomb', world.decenter( 1, 0,0))
|
||||
world.addObjectAtPos('KikiBomb', world.decenter(-1, 0,0))
|
||||
|
||||
world.removeObject(world.getOccupantAtPos(world.decenter(0, 0, 3)))
|
||||
world.addObjectAtPos(KikiWireStone(), world.decenter(0,0,3))
|
||||
world.addObjectAtPos('KikiWireStone', world.decenter(0,0,3))
|
||||
|
||||
|
|
|
@ -22,16 +22,17 @@ module.exports =
|
|||
for y in [-1, 1]
|
||||
for x in range(-s.x/2+3, s.x/2-1, 2)
|
||||
for z in range(-s.z/2+3, s.z/2-1, 2)
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(x, y, z))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(x, y, z))
|
||||
|
||||
for y in [-4, 4]
|
||||
for x in range(-s.x/2+1, s.x/2+1, 2)
|
||||
for z in range(-s.z/2+1, s.z/2+1, 2)
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(x, y, z))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(x, y, z))
|
||||
|
||||
world.addObjectAtPos(KikiStone(), world.decenter(3,-3,0))
|
||||
world.addObjectAtPos(KikiStone(), world.decenter(-3,-3,0))
|
||||
world.addObjectAtPos(KikiStone(), world.decenter(3,3,0))
|
||||
world.addObjectAtPos(KikiStone(), world.decenter(-3,3,0))
|
||||
world.addObjectAtPos(KikiStone(), world.decenter(0,-3,0))
|
||||
world.addObjectAtPos(KikiStone(), world.decenter(0,3,0))
|
||||
world.addObjectAtPos('KikiStone', world.decenter(3,-3,0))
|
||||
world.addObjectAtPos('KikiStone', world.decenter(-3,-3,0))
|
||||
world.addObjectAtPos('KikiStone', world.decenter(3,3,0))
|
||||
world.addObjectAtPos('KikiStone', world.decenter(-3,3,0))
|
||||
world.addObjectAtPos('KikiStone', world.decenter(0,-3,0))
|
||||
world.addObjectAtPos('KikiStone', world.decenter(0,3,0))
|
||||
|
|
@ -23,42 +23,42 @@ module.exports =
|
|||
create: ->
|
||||
s = world.size
|
||||
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(0,0,1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(0,1,0))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(1,0,1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(1,1,0))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(2,0,0))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(0,0,1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(0,1,0))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(1,0,1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(1,1,0))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(2,0,0))
|
||||
switch1 = KikiSwitch()
|
||||
world.addObjectAtPos(switch1, KikiPos(1,0,0))
|
||||
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x-1,0,1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x-1,1,0))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x-2,0,1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x-2,1,0))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x-3,0,0))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x-1,0,1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x-1,1,0))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x-2,0,1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x-2,1,0))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x-3,0,0))
|
||||
switch2 = KikiSwitch()
|
||||
world.addObjectAtPos(switch2, KikiPos(s.x-2,0,0))
|
||||
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(0,0,s.z-2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(0,1,s.z-1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(1,0,s.z-2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(1,1,s.z-1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(2,0,s.z-1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(0,0,s.z-2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(0,1,s.z-1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(1,0,s.z-2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(1,1,s.z-1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(2,0,s.z-1))
|
||||
switch3 = KikiSwitch()
|
||||
world.addObjectAtPos(switch3, KikiPos(1,0,s.z-1))
|
||||
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x-1,0,s.z-2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x-1,1,s.z-1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x-2,0,s.z-2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x-2,1,s.z-1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x-3,0,s.z-1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x-1,0,s.z-2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x-1,1,s.z-1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x-2,0,s.z-2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x-2,1,s.z-1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x-3,0,s.z-1))
|
||||
switch4 = KikiSwitch()
|
||||
world.addObjectAtPos(switch4, KikiPos(s.x-2,0,s.z-1))
|
||||
|
||||
world.addObjectPoly(KikiStone, [KikiPos(s.x/2-1,s.y-1,s.z/2-1), KikiPos(s.x/2-1,s.y-1,s.z/2+1), \
|
||||
world.addObjectPoly('KikiStone', [KikiPos(s.x/2-1,s.y-1,s.z/2-1), KikiPos(s.x/2-1,s.y-1,s.z/2+1), \
|
||||
KikiPos(s.x/2+1,s.y-1,s.z/2+1), KikiPos(s.x/2+1,s.y-1,s.z/2-1)])
|
||||
switch5 = KikiSwitch()
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(s.x/2,s.y-2,s.z/2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(s.x/2,s.y-2,s.z/2))
|
||||
world.addObjectAtPos(switch5, KikiPos(s.x/2,s.y-1,s.z/2))
|
||||
|
||||
world.switch_counter = 0
|
||||
|
|
|
@ -68,61 +68,61 @@ module.exports =
|
|||
|
||||
# Invisimaze
|
||||
for y in [0, 1]
|
||||
world.addObjectLine(KikiStone, KikiPos(4, y, 2), KikiPos(4, y, 5))
|
||||
world.addObjectLine(KikiStone, KikiPos(5, y, 2), KikiPos(7, y, 2))
|
||||
world.addObjectLine('KikiStone', KikiPos(4, y, 2), KikiPos(4, y, 5))
|
||||
world.addObjectLine('KikiStone', KikiPos(5, y, 2), KikiPos(7, y, 2))
|
||||
|
||||
# for y in [0]
|
||||
# for x in [2]
|
||||
world.addObjectPoly(KikiStone, [world.decenter(-2, 0, -2), world.decenter(-2, 0, 2), world.decenter(2, 0, 2), world.decenter(2, 0, -2)])
|
||||
world.addObjectPoly('KikiStone', [world.decenter(-2, 0, -2), world.decenter(-2, 0, 2), world.decenter(2, 0, 2), world.decenter(2, 0, -2)])
|
||||
|
||||
world.addObjectPoly(KikiStone, [KikiPos(2, 4, 2), KikiPos(2, 4, 4), KikiPos(4, 4, 4), KikiPos(4, 4, 2)])
|
||||
world.addObjectPoly('KikiStone', [KikiPos(2, 4, 2), KikiPos(2, 4, 4), KikiPos(4, 4, 4), KikiPos(4, 4, 2)])
|
||||
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(2, 3, 2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(6, 3, 1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(6, 3, 3))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(2, 1, 1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(3, 0, 1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(2, 1, 2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(2, 0, 2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(4, 2, 3))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(5, 2, 2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(5, 2, 1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(4, 2, 1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(3, 2, 2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(3, 2, 3))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(5, 3, 0))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(2, 3, 2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(6, 3, 1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(6, 3, 3))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(2, 1, 1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(3, 0, 1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(2, 1, 2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(2, 0, 2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(4, 2, 3))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(5, 2, 2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(5, 2, 1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(4, 2, 1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(3, 2, 2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(3, 2, 3))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(5, 3, 0))
|
||||
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(6, 4, 0))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(6, 4, 0))
|
||||
|
||||
#the bombLock
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(7, 1, 2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(7, 1, 3))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(7, 3, 2))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(7, 2, 1))
|
||||
world.addObjectAtPos(KikiStone(), KikiPos(7, 2, 2))
|
||||
world.addObjectAtPos(KikiBomb(), KikiPos(7, 2, 2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(7, 1, 2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(7, 1, 3))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(7, 3, 2))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(7, 2, 1))
|
||||
world.addObjectAtPos('KikiStone', KikiPos(7, 2, 2))
|
||||
world.addObjectAtPos('KikiBomb', KikiPos(7, 2, 2))
|
||||
|
||||
# Exit 1 is blocked!!!
|
||||
world.addObjectAtPos(KikiMotorCylinder(), KikiPos(1, 2, 2))
|
||||
world.addObjectAtPos('KikiMotorCylinder', KikiPos(1, 2, 2))
|
||||
|
||||
# Walls
|
||||
# for y in [-4,]
|
||||
y = -4
|
||||
for x in [1, -1]
|
||||
world.addObjectPoly(KikiWall, [world.decenter(y, -x, -x), world.decenter(y, -x, x), world.decenter(y, x, x), world.decenter(y, x, -x)])
|
||||
world.addObjectPoly('KikiWall', [world.decenter(y, -x, -x), world.decenter(y, -x, x), world.decenter(y, x, x), world.decenter(y, x, -x)])
|
||||
# for y in [-3]
|
||||
y = -3
|
||||
for x in [2, -2]
|
||||
world.addObjectPoly(KikiWall, [world.decenter(y, -x, -x), world.decenter(y, -x, x), world.decenter(y, x, x), world.decenter(y, x, -x)])
|
||||
world.addObjectPoly('KikiWall', [world.decenter(y, -x, -x), world.decenter(y, -x, x), world.decenter(y, x, x), world.decenter(y, x, -x)])
|
||||
|
||||
# for y in [4,]
|
||||
y = 4
|
||||
for x in [1, -1]
|
||||
world.addObjectPoly(KikiWall, [world.decenter(y, -x, -x), world.decenter(y, -x, x), world.decenter(y, x, x), world.decenter(y, x, -x)])
|
||||
world.addObjectPoly('KikiWall', [world.decenter(y, -x, -x), world.decenter(y, -x, x), world.decenter(y, x, x), world.decenter(y, x, -x)])
|
||||
|
||||
# for y in [3]
|
||||
y = 3
|
||||
for x in [2, -2]
|
||||
world.addObjectPoly(KikiWall, [world.decenter(y, -x, -x), world.decenter(y, -x, x), world.decenter(y, x, x), world.decenter(y, x, -x)])
|
||||
world.addObjectPoly('KikiWall', [world.decenter(y, -x, -x), world.decenter(y, -x, x), world.decenter(y, x, x), world.decenter(y, x, -x)])
|
||||
|
||||
|
|
@ -22,10 +22,11 @@ module.exports =
|
|||
|
||||
s = world.size
|
||||
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(0,0,1 - s.z/2))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(0,0,3 - s.z/2))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(0,0,6 - s.z/2))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(0,1,10 - s.z/2))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(1,0,10 - s.z/2))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(-1,0,10 - s.z/2))
|
||||
world.addObjectAtPos(KikiWall(), world.decenter(0,-1,10 - s.z/2))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(0,0,1 - s.z/2))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(0,0,3 - s.z/2))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(0,0,6 - s.z/2))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(0,1,10 - s.z/2))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(1,0,10 - s.z/2))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(-1,0,10 - s.z/2))
|
||||
world.addObjectAtPos('KikiWall', world.decenter(0,-1,10 - s.z/2))
|
||||
|
|
@ -17,17 +17,17 @@ module.exports =
|
|||
create: ->
|
||||
s = world.size
|
||||
world.addObjectAtPos(KikiMotorGear(KikiFace.X), KikiPos(0,2,4))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,2,3))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,2,5))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,2,3))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,2,5))
|
||||
world.addObjectAtPos(KikiMotorCylinder(KikiFace.X), KikiPos(1,2,4))
|
||||
|
||||
world.addObjectAtPos(KikiWireStone(), KikiPos(0,2,6))
|
||||
|
||||
for i in range(1,9,2)
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(4,0,i))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(4,4,i))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,0,i))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,4,i))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(4,0,i))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(4,4,i))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,0,i))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,4,i))
|
||||
for i in range(2,8,2)
|
||||
gear = KikiGear(KikiFace.X)
|
||||
world.addObjectAtPos(gear, KikiPos(0,1,i))
|
||||
|
|
|
@ -26,50 +26,50 @@ module.exports =
|
|||
# | #| |
|
||||
# | ##k| -> x
|
||||
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(1,0,0))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2,0,0))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(3,1,0))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(1,2,0))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2,3,0))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(1,0,0))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2,0,0))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(3,1,0))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(1,2,0))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2,3,0))
|
||||
|
||||
#level 1|# # |
|
||||
# |# ##|
|
||||
# |## #|
|
||||
# | # |
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2,0,1))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,1,1))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(1,1,1))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(3,1,1))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,2,1))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2,2,1))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(3,2,1))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,3,1))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2,3,1))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2,0,1))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,1,1))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(1,1,1))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(3,1,1))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,2,1))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2,2,1))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(3,2,1))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,3,1))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2,3,1))
|
||||
|
||||
#level 2| ###|
|
||||
# |# ##|
|
||||
# | #e#|
|
||||
# |### |
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,0,2))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(1,0,2))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2,0,2))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(1,1,2))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(3,1,2))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(0,2,2))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2,2,2))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(3,2,2))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(1,3,2))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2,3,2))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(3,3,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,0,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(1,0,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2,0,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(1,1,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(3,1,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(0,2,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2,2,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(3,2,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(1,3,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2,3,2))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(3,3,2))
|
||||
|
||||
#level 3| # |
|
||||
# | # |
|
||||
# | ## |
|
||||
# | |
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(1,1,3))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2,1,3))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(2,2,3))
|
||||
world.addObjectAtPos(KikiWall(), KikiPos(1,3,3))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(1,1,3))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2,1,3))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(2,2,3))
|
||||
world.addObjectAtPos('KikiWall', KikiPos(1,3,3))
|
||||
|
||||
world.addObjectAtPos(KikiLight(), KikiPos(3,0,0))
|
||||
|
||||
|
|
|
@ -16,20 +16,20 @@ module.exports =
|
|||
position: [0,0,1]
|
||||
]
|
||||
create: ->
|
||||
world.addObjectAtPos( KikiWall(), KikiPos(1,1,0))
|
||||
world.addObjectAtPos( KikiWall(), KikiPos(3,1,0))
|
||||
world.addObjectAtPos( KikiWall(), KikiPos(1,3,0))
|
||||
world.addObjectAtPos( KikiWall(), KikiPos(3,3,0))
|
||||
world.addObjectAtPos( 'KikiWall', KikiPos(1,1,0))
|
||||
world.addObjectAtPos( 'KikiWall', KikiPos(3,1,0))
|
||||
world.addObjectAtPos( 'KikiWall', KikiPos(1,3,0))
|
||||
world.addObjectAtPos( 'KikiWall', KikiPos(3,3,0))
|
||||
|
||||
world.addObjectAtPos( KikiWall(), KikiPos(1,1,6))
|
||||
world.addObjectAtPos( KikiWall(), KikiPos(3,1,6))
|
||||
world.addObjectAtPos( KikiWall(), KikiPos(1,3,6))
|
||||
world.addObjectAtPos( KikiWall(), KikiPos(3,3,6))
|
||||
world.addObjectAtPos( 'KikiWall', KikiPos(1,1,6))
|
||||
world.addObjectAtPos( 'KikiWall', KikiPos(3,1,6))
|
||||
world.addObjectAtPos( 'KikiWall', KikiPos(1,3,6))
|
||||
world.addObjectAtPos( 'KikiWall', KikiPos(3,3,6))
|
||||
|
||||
world.addObjectAtPos( KikiStone(), KikiPos(1,1,1))
|
||||
world.addObjectAtPos( KikiStone(), KikiPos(3,1,1))
|
||||
world.addObjectAtPos( KikiStone(), KikiPos(1,3,1))
|
||||
world.addObjectAtPos( KikiStone(), KikiPos(3,3,1))
|
||||
world.addObjectAtPos( 'KikiStone', KikiPos(1,1,1))
|
||||
world.addObjectAtPos( 'KikiStone', KikiPos(3,1,1))
|
||||
world.addObjectAtPos( 'KikiStone', KikiPos(1,3,1))
|
||||
world.addObjectAtPos( 'KikiStone', KikiPos(3,3,1))
|
||||
|
||||
world.addObjectAtPos( KikiStone(), KikiPos(2,4,0))
|
||||
world.addObjectAtPos( 'KikiStone', KikiPos(2,4,0))
|
||||
|
Loading…
Reference in New Issue
Block a user