kiki/coffee/levels/gold.coffee
monsterkodi d4c28ee1d6 levels
2016-08-23 18:35:44 +02:00

31 lines
821 B
CoffeeScript

# 0000000 0000000 000 0000000
# 000 000 000 000 000 000
# 000 0000 000 000 000 000 000
# 000 000 000 000 000 000 000
# 0000000 0000000 0000000 0000000
module.exports =
name: "gold"
scheme: "yellow"
size: [3,11,3]
help: """
$scale(1.5)mission:
get to the exit!
move the stones to reach it
"""
player:
position: [0,-4,0]
exits: [
name: "exit"
active: 1
position: [0,4,0]
]
create: ->
s = world.size
for y in [2,4,6,8]
for x in [0...3]
for z in [0...3]
world.addObjectAtPos 'Stone', x, y, z