# .................................................................................................................
level_dict["green"] = {   
                        "scheme":   "green_scheme",
                        "size":     (13,5,13),    
                        "intro":    "green", 
                        "help":     ( 
                                        "$scale(1.5)mission:\nactivate the exit!\n\n" + \
                                        "place a powered\n" \
                                        "wire stone next to it.",  
                                        "a wirestone is powered by\n" \
                                        "a rotating generator\n" \
                                        "or it shares at least\none edge with\n" \
                                        "another powered wirestone.",
                                        "this one is hard,\nreally hard,\nbut it's possible.\n\n" \
                                        "good luck!"
                                    ),
                        "player":   {   "position":         (1,1,1),
                                    },
                        "exits":    [
                                        {
                                            "name":         "exit",
                                            "active":       0,
                                            "position":     (0,0,4),
                                        },
                                    ],
                        "create":
"""
sx, sy, sz = 13,5,13
            
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))

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))

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))

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 (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(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.removeObject(world.getOccupantAtPos(world.decenter (0, 0, 3)))     
world.addObjectAtPos (KikiWireStone (), world.decenter(0,0,3)) 
     
""",                                 
}
