# level design by Michael Abel

module.exports =

    name:       "slick"
    scheme:     "tron_scheme"
    size:       [9,11,15]
    intro:      "slick"
    help:       """
                $scale(1.5)mission:
                get to the exit!
                The green stone is slicky
                you can't grab it while falling
                """
    player:   
        coordinates:    [4,10,0]
        orientation:    rotx90
    exits:    [
        name:         "exit"
        active:       1
        position:     [0,0,4]
    ]
    create: ->
        s=world.size
        for b in [1..3]
            # for (k,l) in [ (i,j) for i in range(b+1,s.x-b-1) for j in range(b+1,s.y-b-1) ]
            for k in [b+1..s.x-b]
                for j in [b+1..s.y-b]
                    world.addObjectAtPos(KikiStone(KColor(0,1,0,0.5), true), k,l,b*3)
    
        world.addObjectAtPos(KikiWall(), s.x/2,s.y/2,0)
        world.addObjectAtPos(KikiStone(KColor(0,1,0,0.5), true), s.x/2,s.y/2,2)
        