239 lines
10 KiB
CoffeeScript
239 lines
10 KiB
CoffeeScript
|
|
# 00000000 0000000 000 000 0000000 0000000 00 00
|
|
# 000 000 000 000 0000 000 000 000 000 000 000 000
|
|
# 0000000 000000000 000 0 000 000 000 000 000 000000000
|
|
# 000 000 000 000 000 0000 000 000 000 000 000 0 000
|
|
# 000 000 000 000 000 000 0000000 0000000 000 000
|
|
|
|
module.exports =
|
|
name: "random"
|
|
design: 'Michael Abel'
|
|
scheme: "default"
|
|
size: [21,21,21]
|
|
help: """
|
|
$scale(1.5)mission:
|
|
get to the exit!
|
|
|
|
jump and try
|
|
"""
|
|
player:
|
|
coordinates: [1,3,2]
|
|
nostatus: 0
|
|
exits: [
|
|
name: "exit"
|
|
active: 1
|
|
position: [0,0,0]
|
|
]
|
|
create: ->
|
|
#startblock
|
|
world.addObjectAtPos('Wall', 1,2,2)
|
|
world.addObjectAtPos('Wall', 1,18,2)
|
|
world.addObjectAtPos('Wall', 1,2,18)
|
|
world.addObjectAtPos('Wall', 1,18,18)
|
|
world.addObjectAtPos('Wall', 19,2,2)
|
|
world.addObjectAtPos('Wall', 19,18,2)
|
|
world.addObjectAtPos('Wall', 19,2,18)
|
|
world.addObjectAtPos('Wall', 19,18,18)
|
|
world.addObjectAtPos('Light', 0,0,0)
|
|
world.addObjectAtPos('Light', 20,20,20)
|
|
world.addObjectAtPos('Stone', 3,2,6)
|
|
world.addObjectAtPos('Stone', 5,2,6)
|
|
world.addObjectAtPos('Stone', 12,4,6)
|
|
world.addObjectAtPos('Stone', 14,16,6)
|
|
world.addObjectAtPos('Stone', 2,16,4)
|
|
world.addObjectAtPos('Stone', 2,14,15)
|
|
world.addObjectAtPos('Stone', 2,12,13)
|
|
world.addObjectAtPos('Stone', 4,4,13)
|
|
world.addObjectAtPos('Stone', 6,4,11)
|
|
world.addObjectAtPos('Stone', 8,4,13)
|
|
world.addObjectAtPos('Stone', 8,6,11)
|
|
world.addObjectAtPos('Stone', 6,6,4)
|
|
world.addObjectAtPos('Stone', 8,5,4)
|
|
world.addObjectAtPos('Stone', 10,6,4)
|
|
world.addObjectAtPos('Stone', 8,17,4)
|
|
world.addObjectAtPos('Stone', 10,15,4)
|
|
world.addObjectAtPos('Stone', 8,15,6)
|
|
world.addObjectAtPos('Stone', 8,13,10)
|
|
world.addObjectAtPos('Stone', 6,13,12)
|
|
world.addObjectAtPos('Stone', 5,15,12)
|
|
world.addObjectAtPos('Stone', 5,15,14)
|
|
world.addObjectAtPos('Stone', 3,17,14)
|
|
world.addObjectAtPos('Stone', 15,15,14)
|
|
world.addObjectAtPos('Stone', 9,13,14)
|
|
world.addObjectAtPos('Stone', 7,13,14)
|
|
world.addObjectAtPos('Stone', 7,15,12)
|
|
world.addObjectAtPos('Stone', 7,13,7)
|
|
world.addObjectAtPos('Stone', 7,12,5)
|
|
world.addObjectAtPos('Stone', 5,12,11)
|
|
world.addObjectAtPos('Stone', 7,7,11)
|
|
world.addObjectAtPos('Stone', 5,7,13)
|
|
world.addObjectAtPos('Stone', 3,17,13)
|
|
world.addObjectAtPos('Stone', 18,17,11)
|
|
world.addObjectAtPos('Stone', 18,7,9)
|
|
world.addObjectAtPos('Stone', 15,9,9)
|
|
world.addObjectAtPos('Stone', 17,11,9)
|
|
world.addObjectAtPos('Stone', 15,11,5)
|
|
world.addObjectAtPos('Stone', 13,11,3)
|
|
world.addObjectAtPos('Stone', 2,11,5)
|
|
world.addObjectAtPos('Stone', 2,13,18)
|
|
world.addObjectAtPos('Stone', 7,11,18)
|
|
world.addObjectAtPos('Stone', 7,9,18)
|
|
world.addObjectAtPos('Stone', 3,11,18)
|
|
world.addObjectAtPos('Stone', 3,9,10)
|
|
world.addObjectAtPos('Stone', 3,11,4)
|
|
world.addObjectAtPos('Stone', 3,13,10)
|
|
world.addObjectAtPos('Stone', 3,8,8)
|
|
world.addObjectAtPos('Stone', 3,6,16)
|
|
world.addObjectAtPos('Stone', 3,4,5)
|
|
world.addObjectAtPos('Stone', 18,6,5)
|
|
world.addObjectAtPos('Stone', 15,8,5)
|
|
world.addObjectAtPos('Stone', 15,6,8)
|
|
world.addObjectAtPos('Stone', 10,6,6)
|
|
world.addObjectAtPos('Stone', 8,6,10)
|
|
world.addObjectAtPos('Stone', 8,4,7)
|
|
world.addObjectAtPos('Stone', 10,4,12)
|
|
world.addObjectAtPos('Stone', 5,4,14)
|
|
world.addObjectAtPos('Stone', 8,6,14)
|
|
world.addObjectAtPos('Stone', 7,4,14)
|
|
world.addObjectAtPos('Stone', 7,6,16)
|
|
world.addObjectAtPos('Stone', 8,8,16)
|
|
world.addObjectAtPos('Stone', 8,10,7)
|
|
world.addObjectAtPos('Stone', 8,13,9)
|
|
world.addObjectAtPos('Stone', 8,15,4)
|
|
world.addObjectAtPos('Stone', 8,13,10)
|
|
world.addObjectAtPos('Stone', 8,7,8)
|
|
world.addObjectAtPos('Stone', 8,13,6)
|
|
world.addObjectAtPos('Stone', 4,13,8)
|
|
world.addObjectAtPos('Stone', 4,15,15)
|
|
world.addObjectAtPos('Stone', 4,18,17)
|
|
world.addObjectAtPos('Stone', 6,18,2)
|
|
world.addObjectAtPos('Stone', 10,18,4)
|
|
world.addObjectAtPos('Stone', 4,18,2)
|
|
world.addObjectAtPos('Stone', 18,16,2)
|
|
world.addObjectAtPos('Stone', 18,18,4)
|
|
world.addObjectAtPos('Stone', 16,5,4)
|
|
world.addObjectAtPos('Stone', 16,3,4)
|
|
world.addObjectAtPos('Stone', 3,5,4)
|
|
world.addObjectAtPos('Stone', 3,7,2)
|
|
world.addObjectAtPos('Stone', 13,9,2)
|
|
world.addObjectAtPos('Stone', 8,9,4)
|
|
world.addObjectAtPos('Stone', 2,9,2)
|
|
world.addObjectAtPos('Stone', 2,11,2)
|
|
world.addObjectAtPos('Stone', 4,11,12)
|
|
world.addObjectAtPos('Stone', 17,9,12)
|
|
world.addObjectAtPos('Stone', 17,7,14)
|
|
world.addObjectAtPos('Stone', 15,7,8)
|
|
world.addObjectAtPos('Stone', 17,15,8)
|
|
world.addObjectAtPos('Stone', 17,13,15)
|
|
world.addObjectAtPos('Stone', 6,11,15)
|
|
world.addObjectAtPos('Stone', 6,13,10)
|
|
world.addObjectAtPos('Stone', 6,2,12)
|
|
world.addObjectAtPos('Stone', 10,4,12)
|
|
world.addObjectAtPos('Stone', 12,4,10)
|
|
world.addObjectAtPos('Stone', 14,4,11)
|
|
world.addObjectAtPos('Stone', 14,2,12)
|
|
world.addObjectAtPos('Stone', 3,4,12)
|
|
world.addObjectAtPos('Stone', 5,14,12)
|
|
world.addObjectAtPos('Stone', 7,7,12)
|
|
world.addObjectAtPos('Stone', 7,5,2)
|
|
world.addObjectAtPos('Stone', 3,3,2)
|
|
world.addObjectAtPos('Stone', 3,5,9)
|
|
world.addObjectAtPos('Stone', 5,5,7)
|
|
world.addObjectAtPos('Stone', 7,6,7)
|
|
world.addObjectAtPos('Stone', 10,4,7)
|
|
world.addObjectAtPos('Stone', 12,10,7)
|
|
world.addObjectAtPos('Stone', 3,12,7)
|
|
world.addObjectAtPos('Stone', 5,12,7)
|
|
world.addObjectAtPos('Stone', 13,12,5)
|
|
world.addObjectAtPos('Stone', 8,12,3)
|
|
world.addObjectAtPos('Stone', 8,10,2)
|
|
world.addObjectAtPos('Stone', 8,8,13)
|
|
world.addObjectAtPos('Stone', 8,10,15)
|
|
world.addObjectAtPos('Stone', 8,12,17)
|
|
world.addObjectAtPos('Stone', 10,3,17)
|
|
world.addObjectAtPos('Stone', 11,3,15)
|
|
world.addObjectAtPos('Stone', 13,3,13)
|
|
world.addObjectAtPos('Stone', 13,5,12)
|
|
world.addObjectAtPos('Stone', 14,7,12)
|
|
world.addObjectAtPos('Stone', 16,18,12)
|
|
world.addObjectAtPos('Stone', 14,18,6)
|
|
world.addObjectAtPos('Stone', 12,18,14)
|
|
world.addObjectAtPos('Stone', 16,18,16)
|
|
world.addObjectAtPos('Stone', 2,18,14)
|
|
world.addObjectAtPos('Stone', 10,18,16)
|
|
world.addObjectAtPos('Stone', 7,18,14)
|
|
world.addObjectAtPos('Stone', 5,18,5)
|
|
world.addObjectAtPos('Stone', 3,18,12)
|
|
world.addObjectAtPos('Stone', 5,16,12)
|
|
world.addObjectAtPos('Stone', 5,16,14)
|
|
world.addObjectAtPos('Stone', 5,14,2)
|
|
world.addObjectAtPos('Stone', 8,12,2)
|
|
world.addObjectAtPos('Stone', 10,12,12)
|
|
world.addObjectAtPos('Stone', 12,6,12)
|
|
world.addObjectAtPos('Stone', 14,6,12)
|
|
world.addObjectAtPos('Stone', 14,9,14)
|
|
world.addObjectAtPos('Stone', 14,3,12)
|
|
world.addObjectAtPos('Stone', 11,3,10)
|
|
world.addObjectAtPos('Stone', 9,3,12)
|
|
world.addObjectAtPos('Stone', 7,3,12)
|
|
world.addObjectAtPos('Stone', 7,5,3)
|
|
world.addObjectAtPos('Stone', 7,7,14)
|
|
world.addObjectAtPos('Stone', 7,15,12)
|
|
world.addObjectAtPos('Stone', 18,17,12)
|
|
world.addObjectAtPos('Stone', 17,17,10)
|
|
world.addObjectAtPos('Stone', 17,15,15)
|
|
world.addObjectAtPos('Stone', 10,13,15)
|
|
world.addObjectAtPos('Stone', 8,11,15)
|
|
world.addObjectAtPos('Stone', 8,7,17)
|
|
world.addObjectAtPos('Stone', 18,9,17)
|
|
world.addObjectAtPos('Stone', 16,7,17)
|
|
world.addObjectAtPos('Stone', 14,3,17)
|
|
world.addObjectAtPos('Stone', 16,6,17)
|
|
world.addObjectAtPos('Stone', 14,6,14)
|
|
world.addObjectAtPos('Stone', 15,8,14)
|
|
world.addObjectAtPos('Stone', 17,8,12)
|
|
world.addObjectAtPos('Stone', 14,8,14)
|
|
world.addObjectAtPos('Stone', 16,2,14)
|
|
world.addObjectAtPos('Stone', 14,6,14)
|
|
world.addObjectAtPos('Stone', 16,6,14)
|
|
world.addObjectAtPos('Stone', 18,6,12)
|
|
world.addObjectAtPos('Stone', 18,4,12)
|
|
world.addObjectAtPos('Stone', 3,6,12)
|
|
world.addObjectAtPos('Stone', 3,6,14)
|
|
world.addObjectAtPos('Stone', 6,6,12)
|
|
world.addObjectAtPos('Stone', 10,4,12)
|
|
world.addObjectAtPos('Stone', 3,2,12)
|
|
world.addObjectAtPos('Stone', 3,2,10)
|
|
world.addObjectAtPos('Stone', 2,2,8)
|
|
world.addObjectAtPos('Stone', 2,4,13)
|
|
world.addObjectAtPos('Stone', 15,4,15)
|
|
world.addObjectAtPos('Stone', 13,4,15)
|
|
world.addObjectAtPos('Stone', 13,2,7)
|
|
world.addObjectAtPos('Stone', 11,15,7)
|
|
world.addObjectAtPos('Stone', 9,11,7)
|
|
world.addObjectAtPos('Stone', 7,2,7)
|
|
world.addObjectAtPos('Stone', 9,2,14)
|
|
world.addObjectAtPos('Stone', 9,4,18)
|
|
world.addObjectAtPos('Stone', 9,2,15)
|
|
world.addObjectAtPos('Stone', 7,2,4)
|
|
world.addObjectAtPos('Stone', 5,4,4)
|
|
world.addObjectAtPos('Stone', 5,6,2)
|
|
world.addObjectAtPos('Stone', 12,4,2)
|
|
world.addObjectAtPos('Stone', 3,4,4)
|
|
world.addObjectAtPos('Stone', 3,12,6)
|
|
world.addObjectAtPos('Stone', 2,12,4)
|
|
world.addObjectAtPos('Stone', 15,14,4)
|
|
world.addObjectAtPos('Stone', 7,12,4)
|
|
world.addObjectAtPos('Stone', 9,12,2)
|
|
world.addObjectAtPos('Stone', 14,12,4)
|
|
world.addObjectAtPos('Stone', 12,3,4)
|
|
world.addObjectAtPos('Stone', 14,10,4)
|
|
world.addObjectAtPos('Stone', 16,10,13)
|
|
world.addObjectAtPos('Stone', 15,8,13)
|
|
world.addObjectAtPos('Stone', 15,6,8)
|
|
world.addObjectAtPos('Stone', 17,15,8)
|
|
world.addObjectAtPos('Stone', 6,15,10)
|
|
world.addObjectAtPos('Stone', 3,13,10)
|
|
world.addObjectAtPos('Stone', 15,15,10)
|
|
world.addObjectAtPos('Stone', 19,4,4)
|