kiki/coffee/levels/mini.coffee
monsterkodi 8ec96ec4f0 help
2016-08-31 22:19:39 +02:00

39 lines
1.2 KiB
CoffeeScript

# 00 00 000 000 000 000
# 000 000 000 0000 000 000
# 000000000 000 000 0 000 000
# 000 0 000 000 000 0000 000
# 000 000 000 000 000 000
module.exports =
name: "mini"
design: 'Michael Abel'
scheme: "tron"
size: [5,5,7]
help: "get to the exit!"
player:
coordinates: [2,1,0]
orientation: minusYupZ
exits: [
name: "exit"
active: 1
position: [0,0,1]
]
create: ->
world.addObjectAtPos 'Wall', 1,1,0
world.addObjectAtPos 'Wall', 3,1,0
world.addObjectAtPos 'Wall', 1,3,0
world.addObjectAtPos 'Wall', 3,3,0
world.addObjectAtPos 'Wall', 1,1,6
world.addObjectAtPos 'Wall', 3,1,6
world.addObjectAtPos 'Wall', 1,3,6
world.addObjectAtPos 'Wall', 3,3,6
world.addObjectAtPos 'Stone', 1,1,1
world.addObjectAtPos 'Stone', 3,1,1
world.addObjectAtPos 'Stone', 1,3,1
world.addObjectAtPos 'Stone', 3,3,1
world.addObjectAtPos 'Stone', 2,4,0