#####################################################################
#                INIT INTERIOR LOCATIONS 
#####################################################################

#OhWee_Mod_Variable_defaults

default reloadingbanter = False
default showshipstats = False


###############################################################################
#                      ACTIVE ELEMENTS
###############################################################################

#####################################################################
#                GUI MISC
#####################################################################
image AEBonus_smart_hover = ConditionSwitch(
    "True", "05_gui/AEBonus_hover.png"
)
image AEBonus_smart_idle = ConditionSwitch(
    "True", "05_gui/AEBonus_idle.png"
)

image AEExclamation_smart_hover = ConditionSwitch(
    "True", "05_gui/AEExclamation_hover.png"
)
image AEExclamation_smart_idle = ConditionSwitch(
    "True", "05_gui/AEExclamation_idle.png"
)

#####################################################################
#                REPAIR ANIMATIONS
#####################################################################
image ani_AERepCargo1:
    "10_anims/AERepCargo1_01.png"
    0.1    
    "10_anims/AERepCargo1_02.png"
    0.1    
    "10_anims/AERepCargo1_03.png"
    0.1    
    "10_anims/AERepCargo1_04.png"
    0.1    
    "10_anims/AERepCargo1_05.png"
    0.1    
    "10_anims/AERepCargo1_06.png"
    0.1    
    repeat 
image AERepCargo1_smart_hover = ConditionSwitch("True", "ani_AERepCargo1")
image AERepCargo1_smart_idle = ConditionSwitch("True", "ani_AERepCargo1")
image ani_AERepCargo2:
    "10_anims/AERepCargo2_01.png"
    0.1
    "10_anims/AERepCargo2_02.png"
    0.1    
    "10_anims/AERepCargo2_03.png"
    0.1    
    "10_anims/AERepCargo2_04.png"
    0.1    
    "10_anims/AERepCargo2_05.png"
    0.1    
    "10_anims/AERepCargo2_06.png"
    0.1    
    repeat 
image AERepCargo2_smart_hover = ConditionSwitch("True", "ani_AERepCargo2")
image AERepCargo2_smart_idle = ConditionSwitch("True", "ani_AERepCargo2")
image ani_AERepCargo3:
    "10_anims/AERepCargo3_01.png"
    0.1    
    "10_anims/AERepCargo3_02.png"
    0.1    
    "10_anims/AERepCargo3_03.png"
    0.1    
    "10_anims/AERepCargo3_04.png"
    0.1    
    "10_anims/AERepCargo3_05.png"
    0.1    
    "10_anims/AERepCargo3_06.png"
    0.1    
    repeat 
image AERepCargo3_smart_hover = ConditionSwitch("True", "ani_AERepCargo3")
image AERepCargo3_smart_idle = ConditionSwitch("True", "ani_AERepCargo3")
image ani_AERepEngine1:
    "10_anims/AERepEngine1_01.png"
    0.1    
    "10_anims/AERepEngine1_02.png"
    0.1    
    "10_anims/AERepEngine1_03.png"
    0.1    
    "10_anims/AERepEngine1_04.png"
    0.1    
    "10_anims/AERepEngine1_05.png"
    0.1    
    "10_anims/AERepEngine1_06.png"
    0.1    
    repeat 
image AERepEngine1_smart_hover = ConditionSwitch("True", "ani_AERepEngine1")
image AERepEngine1_smart_idle = ConditionSwitch("True", "ani_AERepEngine1")
image ani_AERepEngine2:
    "10_anims/AERepEngine2_01.png"
    0.1    
    "10_anims/AERepEngine2_02.png"
    0.1    
    "10_anims/AERepEngine2_03.png"
    0.1    
    "10_anims/AERepEngine2_04.png"
    0.1    
    "10_anims/AERepEngine2_05.png"
    0.1    
    "10_anims/AERepEngine2_06.png"
    0.1    
    repeat 
image AERepEngine2_smart_hover = ConditionSwitch("True", "ani_AERepEngine2")
image AERepEngine2_smart_idle = ConditionSwitch("True", "ani_AERepEngine2")
image ani_AERepHallOne1:
    "10_anims/AERepHallOne1_01.png"
    0.1    
    "10_anims/AERepHallOne1_02.png"
    0.1    
    "10_anims/AERepHallOne1_03.png"
    0.1    
    "10_anims/AERepHallOne1_04.png"
    0.1    
    "10_anims/AERepHallOne1_05.png"
    0.1    
    "10_anims/AERepHallOne1_06.png"
    0.1    
    repeat 
image AERepHallOne1_smart_hover = ConditionSwitch("True", "ani_AERepHallOne1")
image AERepHallOne1_smart_idle = ConditionSwitch("True", "ani_AERepHallOne1")
image ani_AERepHallOne2:
    "10_anims/AERepHallOne2_01.png"
    0.1    
    "10_anims/AERepHallOne2_02.png"
    0.1    
    "10_anims/AERepHallOne2_03.png"
    0.1    
    "10_anims/AERepHallOne2_04.png"
    0.1    
    "10_anims/AERepHallOne2_05.png"
    0.1    
    "10_anims/AERepHallOne2_06.png"
    0.1    
    repeat 
image AERepHallOne2_smart_hover = ConditionSwitch("True", "ani_AERepHallOne2")
image AERepHallOne2_smart_idle = ConditionSwitch("True", "ani_AERepHallOne2")
image ani_AERepHallTwo1:
    "10_anims/AERepHallTwo1_01.png"
    0.1    
    "10_anims/AERepHallTwo1_02.png"
    0.1    
    "10_anims/AERepHallTwo1_03.png"
    0.1    
    "10_anims/AERepHallTwo1_04.png"
    0.1    
    "10_anims/AERepHallTwo1_05.png"
    0.1    
    "10_anims/AERepHallTwo1_06.png"
    0.1    
    repeat 
image AERepHallTwo1_smart_hover = ConditionSwitch("True", "ani_AERepHallTwo1")
image AERepHallTwo1_smart_idle = ConditionSwitch("True", "ani_AERepHallTwo1")

#####################################################################
#                POSTERS
#####################################################################

image AEPoster001_smart_hover = ConditionSwitch(
        "True", "02_locations/AEPoster001.png"
)
image AEPoster001_smart_idle = ConditionSwitch(
        "True", "02_locations/AEPoster001.png"
)
image AEPoster002_smart_hover = ConditionSwitch(
        "True", "02_locations/AEPoster002.png"
)
image AEPoster002_smart_idle = ConditionSwitch(
        "True", "02_locations/AEPoster002.png"
)

image AEPoster003_smart_hover = ConditionSwitch(
        "'ITMPonyMag01' in nimhe.doneToday", "02_locations/AEPoster03a_hover.png",
        "'ITMPonyMag02' in nimhe.doneToday", "02_locations/AEPoster03b_hover.png",
        "'ITMPonyMag03' in nimhe.doneToday", "02_locations/AEPoster03c_hover.png",
        "True", "05_gui/px_1x1_empty.png"
    )

image AEPoster003_smart_idle = ConditionSwitch(
        "'ITMPonyMag01' in nimhe.doneToday", "02_locations/AEPoster03a_idle.png",
        "'ITMPonyMag02' in nimhe.doneToday", "02_locations/AEPoster03b_idle.png",
        "'ITMPonyMag03' in nimhe.doneToday", "02_locations/AEPoster03c_idle.png",
        "True", "05_gui/px_1x1_empty.png"
    )

#####################################################################
#              BEACONS & WAYSTATION
#####################################################################
# Waystation
image AEWaySpriteVConsole_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEWaySpriteVConsole_hover.png"
)
image AEWaySpriteVConsole_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEWaySpriteVConsole_idle.png"
)

image AEWayDockDoor_smart_hover = ConditionSwitch(
        "True", "02_locations/AEWaystationDockDoor_hover.png"
    )
image AEWayDockDoor_smart_idle = ConditionSwitch(
        "True", "02_locations/AEWaystationDockDoor_idle.png"
    )
image AEWayDockShip_smart_hover = ConditionSwitch(
        "True", "02_locations/AEWaystationDockShip_hover.png"
    )
image AEWayDockShip_smart_idle = ConditionSwitch(
        "True", "02_locations/AEWaystationDockShip_idle.png"
    )

image AEWayCtrlButton_smart_hover = ConditionSwitch(
        "'online' in GAME.getLoc().tags", "02_locations/AEWayCtrlButtonOn_hover.png",
        "True", "02_locations/AEWayCtrlButtonOff_hover.png"
    )
image AEWayCtrlButton_smart_idle = ConditionSwitch(
        "'online' in GAME.getLoc().tags", "02_locations/AEWayCtrlButtonOn_idle.png",
        "True", "02_locations/AEWayCtrlButtonOff_idle.png"
    )


# Stars
image AEBeaconStarsLandingDoor_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconStarsLandingDoor_hover.png"
    )
image AEBeaconStarsLandingDoor_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconStarsLandingDoor_idle.png"
    )
image AEBeaconStarsLandingShip_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconStarsLandingShip_hover.png"
    )
image AEBeaconStarsLandingShip_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconStarsLandingShip_idle.png"
    )

image AEBeaconStaCtrlButton_smart_hover = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconStaCtrlButtonOn_hover.png",
    "True", "02_locations/AEBeaconStaCtrlButtonOff_hover.png"
    )

image AEBeaconStaCtrlButton_smart_idle = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconStaCtrlButtonOn_idle.png",
    "True", "02_locations/AEBeaconStaCtrlButtonOff_idle.png"
    )

image AEBeaconStaCtrlTerm_smart_hover = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconStaCtrlTermOn_hover.png",
    "True", "02_locations/AEBeaconStaCtrlTermOff_hover.png"
    )
image AEBeaconStaCtrlTerm_smart_idle = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconStaCtrlTermOn_idle.png",
    "True", "02_locations/AEBeaconStaCtrlTermOff_idle.png"
    )

image AEBeaconStaCtrlHints_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconStaCtrlHints_hover.png"
    )
image AEBeaconStaCtrlHints_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconStaCtrlHints_idle.png"
    )

# Assembly
image AEBeaconAsmLandingDoor_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconAsmLandingDoor_hover.png"
    )
image AEBeaconAsmLandingDoor_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconAsmLandingDoor_idle.png"
    )
image AEBeaconAsmLandingShip_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconAsmLandingShip_hover.png"
    )
image AEBeaconAsmLandingShip_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconAsmLandingShip_idle.png"
    )

image AEBeaconAsmCtrlButton_smart_hover = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconAsmCtrlButtonOn_hover.png",
    "True", "02_locations/AEBeaconAsmCtrlButtonOff_hover.png"
    )

image AEBeaconAsmCtrlButton_smart_idle = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconAsmCtrlButtonOn_idle.png",
    "True", "02_locations/AEBeaconAsmCtrlButtonOff_idle.png"
    )

image AEBeaconAsmCtrlTerm_smart_hover = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconAsmCtrlTermOn_hover.png",
    "True", "02_locations/AEBeaconAsmCtrlTermOff_hover.png"
    )
image AEBeaconAsmCtrlTerm_smart_idle = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconAsmCtrlTermOn_idle.png",
    "True", "02_locations/AEBeaconAsmCtrlTermOff_idle.png"
    )

image AEBeaconAsmCtrlCrate_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconAsmCtrlCrate_idle.png"
    )
image AEBeaconAsmCtrlCrate_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconAsmCtrlCrate_hover.png"
    )



# Automatons
image AEBeaconAutLandingDoor_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconAutLandingDoor_hover.png"
    )
image AEBeaconAutLandingDoor_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconAutLandingDoor_idle.png"
    )
image AEBeaconAutLandingShip_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconAutLandingShip_hover.png"
    )
image AEBeaconAutLandingShip_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconAutLandingShip_idle.png"
    )

image AEBeaconAutCtrlButton_smart_hover = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconAutCtrlButtonOn_hover.png",
    "True", "02_locations/AEBeaconAutCtrlButtonOff_hover.png"
    )

image AEBeaconAutCtrlButton_smart_idle = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconAutCtrlButtonOn_idle.png",
    "True", "02_locations/AEBeaconAutCtrlButtonOff_idle.png"
    )

image AEBeaconAutCtrlTerm_smart_hover = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconAutCtrlTermOn_hover.png",
    "True", "02_locations/AEBeaconAutCtrlTermOff_hover.png"
    )
image AEBeaconAutCtrlTerm_smart_idle = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconAutCtrlTermOn_idle.png",
    "True", "02_locations/AEBeaconAutCtrlTermOff_idle.png"
    )

image AEBeaconAutCtrlHints_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconAutCtrlHints_hover.png"
    )
image AEBeaconAutCtrlHints_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconAutCtrlHints_idle.png"
    )


# Elements
image AEBeaconEleLandingDoor_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconEleLandingDoor_hover.png"
    )
image AEBeaconEleLandingDoor_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconEleLandingDoor_idle.png"
    )
image AEBeaconEleLandingShip_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconEleLandingShip_hover.png"
    )
image AEBeaconEleLandingShip_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconEleLandingShip_idle.png"
    )

image AEBeaconEleCtrlHints_smart_hover = ConditionSwitch(
        "True", "02_locations/AEBeaconEleCtrlHints_hover.png"
    )
image AEBeaconEleCtrlHints_smart_idle = ConditionSwitch(
        "True", "02_locations/AEBeaconEleCtrlHints_idle.png"
    )

image AEBeaconEleCtrlButton_smart_hover = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconEleCtrlButtonOn_hover.png",
    "True", "02_locations/AEBeaconEleCtrlButtonOff_hover.png"
    )

image AEBeaconEleCtrlButton_smart_idle = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconEleCtrlButtonOn_idle.png",
    "True", "02_locations/AEBeaconEleCtrlButtonOff_idle.png"
    )

image AEBeaconEleCtrlTerm_smart_hover = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconEleCtrlTermOn_hover.png",
    "True", "02_locations/AEBeaconEleCtrlTermOff_hover.png"
    )
image AEBeaconEleCtrlTerm_smart_idle = ConditionSwitch(
    "'activated' in GAME.getLoc().tags", "02_locations/AEBeaconEleCtrlTermOn_idle.png",
    "True", "02_locations/AEBeaconEleCtrlTermOff_idle.png"
    )


#####################################################################
#              TENARIS BASE
#####################################################################
image AEEntranceDoor_smart_hover = ConditionSwitch(
        "True", "02_locations/AEEntranceDoor_hover.png"
    )
image AEEntranceDoor_smart_idle = ConditionSwitch(
        "True", "02_locations/AEEntranceDoor_idle.png"
    )

image AETenarisHangarDrone_smart_hover = ConditionSwitch(
        "True", "02_locations/AETenarisHangarDrone_hover.png"
    )
image AETenarisHangarDrone_smart_idle = ConditionSwitch(
        "True", "02_locations/AETenarisHangarDrone_idle.png"
    )

image AETenarisWarehouseTerminal_smart_hover = ConditionSwitch(
        "True", "02_locations/AETenarisWarehouseTerminal_hover.png"
    )
image AETenarisWarehouseTerminal_smart_idle = ConditionSwitch(
        "True", "02_locations/AETenarisWarehouseTerminal_idle.png"
    )

image AETrophyScholar_smart_hover = ConditionSwitch(
        "True", "02_locations/AETrophyScholar_hover.png"
    )
image AETrophyScholar_smart_idle = ConditionSwitch(
        "True", "02_locations/AETrophyScholar_idle.png"
    )
image AETrophyCasanova_smart_hover = ConditionSwitch(
        "True", "02_locations/AETrophyCasanova_hover.png"
    )
image AETrophyCasanova_smart_idle = ConditionSwitch(
        "True", "02_locations/AETrophyCasanova_idle.png"
    )
image AETrophyTrainer_smart_hover = ConditionSwitch(
        "True", "02_locations/AETrophyTrainer_hover.png"
    )
image AETrophyTrainer_smart_idle = ConditionSwitch(
        "True", "02_locations/AETrophyTrainer_idle.png"
    )
image AETrophyPharaoh_smart_hover = ConditionSwitch(
        "True", "02_locations/AETrophyPharaoh_hover.png"
    )
image AETrophyPharaoh_smart_idle = ConditionSwitch(
        "True", "02_locations/AETrophyPharaoh_idle.png"
    )
image AETrophyAdmiral_smart_hover = ConditionSwitch(
        "True", "02_locations/AETrophyAdmiral_hover.png"
    )
image AETrophyAdmiral_smart_idle = ConditionSwitch(
        "True", "02_locations/AETrophyAdmiral_idle.png"
    )
image AETrophyTraveller_smart_hover = ConditionSwitch(
        "True", "02_locations/AETrophyTraveller_hover.png"
    )
image AETrophyTraveller_smart_idle = ConditionSwitch(
        "True", "02_locations/AETrophyTraveller_idle.png"
    )

image AETenarisEntranceDoor_smart_hover = ConditionSwitch(
        "True", "02_locations/AETenarisEntranceDoor_hover.png"
    )
image AETenarisEntranceDoor_smart_idle = ConditionSwitch(
        "True", "02_locations/AETenarisEntranceDoor_idle.png"
    )
#####################################################################
#                MED ROOM + AUX1 
#####################################################################
image AEMedSpriteMoira_smart_idle = ConditionSwitch(
        "moira.wears('ITMUniformKrell')", "01_portrait/AEMedSpriteMoiraKrell_idle.png",
        "moira.wears('ITMUniformRevealing')", "01_portrait/AEMedSpriteMoiraRevealing_idle.png",
        "moira.wears('ITMUniformRacy')", "01_portrait/AEMedSpriteMoiraRacy_idle.png",
        "True", "01_portrait/AEMedSpriteMoira_idle.png"
)

image AEMedSpriteMoira_smart_hover = ConditionSwitch(
        "moira.wears('ITMUniformKrell')", "01_portrait/AEMedSpriteMoiraKrell_hover.png",
        "moira.wears('ITMUniformRevealing')", "01_portrait/AEMedSpriteMoiraRevealing_hover.png",
        "moira.wears('ITMUniformRacy')", "01_portrait/AEMedSpriteMoiraRacy_hover.png",
        "True", "01_portrait/AEMedSpriteMoira_hover.png")

image AEAux1SpriteYlyeeStand_smart_idle = ConditionSwitch(
        "True", "01_portrait/AEAux1SpriteYlyeeStand_idle.png"
)
image AEAux1SpriteYlyeeStand_smart_hover = ConditionSwitch(
        "True", "01_portrait/AEAux1SpriteYlyeeStand_hover.png"
)
image AEAux1Nightstand_smart_hover = ConditionSwitch(
        "True", "02_locations/AEAux1Nightstand_hover.png"
)
image AEAux1Nightstand_smart_idle = ConditionSwitch(
        "True", "02_locations/AEAux1Nightstand_idle.png"
)
#####################################################################
#                MESS ROOM
#####################################################################

image AEMessReplicator_smart_hover = ConditionSwitch(
        "True", "02_locations/AEMessReplicator_hover.png"
)

image AEMessReplicator_smart_idle = ConditionSwitch(
        "True", "02_locations/AEMessReplicator_idle.png"
)

image AEMessPole_smart_idle = ConditionSwitch(
        "True", "02_locations/AEMessPole_idle.png"
)

image AEMessPole_smart_hover = ConditionSwitch(
        "True", "02_locations/AEMessPole_hover.png"
)

image AEMessSpriteVerity_smart_idle = ConditionSwitch(
        "True", "01_portrait/AEMessSpriteVerity_idle.png"
)

image AEMessSpriteVerity_smart_hover = ConditionSwitch(
        "True", "01_portrait/AEMessSpriteVerity_hover.png"
)

image AEMessSpriteTris_smart_idle = ConditionSwitch(
        "GAME.getStarSys().ID == 'SSIDArellarti'", "01_portrait/AEMessSpriteTrisKrell_idle.png",
        "tris.wears('ITMOutfitValkoraP1')", "01_portrait/AEMessSpriteTrisP1_idle.png",
        "tris.wears('ITMOutfitValkoraP2')", "01_portrait/AEMessSpriteTrisP2_idle.png",
        "tris.wears('ITMOutfitValkoraP3')", "01_portrait/AEMessSpriteTrisP3_idle.png",
        "True", "01_portrait/AEMessSpriteTris_idle.png"
)

image AEMessSpriteTris_smart_hover = ConditionSwitch(
        "GAME.getStarSys().ID == 'SSIDArellarti'", "01_portrait/AEMessSpriteTrisKrell_hover.png",
        "tris.wears('ITMOutfitValkoraP1')", "01_portrait/AEMessSpriteTrisP1_hover.png",
        "tris.wears('ITMOutfitValkoraP2')", "01_portrait/AEMessSpriteTrisP2_hover.png",
        "tris.wears('ITMOutfitValkoraP3')", "01_portrait/AEMessSpriteTrisP3_hover.png",
        "True", "01_portrait/AEMessSpriteTris_hover.png"
)


#####################################################################
#                HOLO
#####################################################################

image AEHoloRoomPillar_smart_hover = ConditionSwitch(
        "True", "02_locations/AEHoloRoomPillar_hover.png"
)
image AEHoloRoomPillar_smart_idle = ConditionSwitch(
        "True", "02_locations/AEHoloRoomPillar_idle.png"
)

image AEHoloCastlePillar_smart_hover = ConditionSwitch(
        "True", "02_locations/AEHoloRoomPillar_hover.png"
)
image AEHoloCastlePillar_smart_idle = ConditionSwitch(
        "True", "02_locations/AEHoloCastlePillar_idle.png"
)

image AEHoloBlankPillar_smart_hover = ConditionSwitch(
        "True", "02_locations/AEHoloRoomPillar_hover.png"
)
image AEHoloBlankPillar_smart_idle = ConditionSwitch(
        "True", "02_locations/AEHoloBlankPillar_idle.png"
)

image AEHoloTerminal_smart_hover = ConditionSwitch( # DEPRECATED
        "True", "02_locations/AEHoloTerminal_hover.png"
)
image AEHoloTerminal_smart_idle = ConditionSwitch( # DEPRECATED
        "True", "02_locations/AEHoloTerminal_idle.png"
)

image AEHoloProjector_smart_hover = ConditionSwitch(
        "True", "02_locations/AEHoloProjector_hover.png"
)
image AEHoloProjector_smart_idle = ConditionSwitch(
        "True", "02_locations/AEHoloProjector_idle.png"
)

image AEHoloCastleVeeStand_smart_idle = ConditionSwitch(
        "True", "01_portrait/AEHoloCastleVeeStand_idle.png"
)
image AEHoloCastleVeeStand_smart_hover = ConditionSwitch(
        "True", "01_portrait/AEHoloCastleVeeStand_hover.png"
)
image AEHoloCastleSeraphineSit_smart_idle = ConditionSwitch(
        "True", "01_portrait/AEHoloCastleSeraphineSit_idle.png"
)
image AEHoloCastleSeraphineSit_smart_hover = ConditionSwitch(
        "True", "01_portrait/AEHoloCastleSeraphineSit_hover.png"
)



#####################################################################
#                LAB
#####################################################################


image AELabTerminal_smart_hover = ConditionSwitch(
        "True", "02_locations/AELabTerminal_hover.png"
)
image AELabTerminal_smart_idle = ConditionSwitch(
        "True", "02_locations/AELabTerminal_idle.png"
)
image AELabBot_smart_hover = ConditionSwitch(
        "True", "02_locations/AELabBot_hover.png"
)
image AELabBot_smart_idle = ConditionSwitch(
        "True", "02_locations/AELabBot_idle.png"
)
image AELabStorage_smart_hover = ConditionSwitch(
        "True", "02_locations/AELabStorage_hover.png"
)
image AELabStorage_smart_idle = ConditionSwitch(
        "True", "02_locations/AELabStorage_idle.png"
)

image AELabSpriteNimheStand_smart_hover= ConditionSwitch(
    "nimhe.wears('ITMOutfitHackerP1')", "01_portrait/AELabSpriteNimheStandP1_hover.png",    
    "nimhe.wears('ITMOutfitHackerP2')", "01_portrait/AELabSpriteNimheStandP2_hover.png",
    "nimhe.wears('ITMUniformKrell')", "01_portrait/AELabSpriteNimheStandKrell_hover.png",
    "nimhe.wears('ITMUniformRevealing')", "01_portrait/AELabSpriteNimheStandRevealing_hover.png",
    "nimhe.wears('ITMUniformRacy')", "01_portrait/AELabSpriteNimheStandRacy_hover.png",
    "True", "01_portrait/AELabSpriteNimheStand_hover.png"
)
image AELabSpriteNimheStand_smart_idle= ConditionSwitch(
        "nimhe.wears('ITMOutfitHackerP1')", "01_portrait/AELabSpriteNimheStandP1_idle.png",    
    "nimhe.wears('ITMOutfitHackerP2')", "01_portrait/AELabSpriteNimheStandP2_idle.png",
    "nimhe.wears('ITMUniformKrell')", "01_portrait/AELabSpriteNimheStandKrell_idle.png",
    "nimhe.wears('ITMUniformRevealing')", "01_portrait/AELabSpriteNimheStandRevealing_idle.png",
    "nimhe.wears('ITMUniformRacy')", "01_portrait/AELabSpriteNimheStandRacy_idle.png",
    "True", "01_portrait/AELabSpriteNimheStand_idle.png"
)
image AELabSpriteV_smart_hover= ConditionSwitch(
    "vee.wears('ITMUniformKrell')", "01_portrait/AELabSpriteVKrell_hover.png",
    "vee.wears('ITMOutfitSwarm')", "01_portrait/AELabSpriteVSwarm_hover.png",
    "True", "01_portrait/AELabSpriteV_hover.png"
)
image AELabSpriteV_smart_idle= ConditionSwitch(
    "vee.wears('ITMUniformKrell')", "01_portrait/AELabSpriteVKrell_idle.png",
    "vee.wears('ITMOutfitSwarm')", "01_portrait/AELabSpriteVSwarm_idle.png",
    "True", "01_portrait/AELabSpriteV_idle.png"
)



#####################################################################
#                ENGINE ROOM
#####################################################################


image AEEngineTerminal_smart_hover = ConditionSwitch(
        "'reactor activated' in GAME.mc.done", "02_locations/AEEngineTerminal_hover.png",
        "True", "02_locations/AEEngineTerminal dark_hover.png"
)

image AEEngineTerminal_smart_idle = ConditionSwitch(
    "'reactor activated' in GAME.mc.done", "02_locations/AEEngineTerminal_idle.png",
    "True", "02_locations/AEEngineTerminal dark_idle.png"
)

image AEEngineButton_smart_hover = ConditionSwitch(
    "'reactor activated' in GAME.mc.done", "02_locations/AEEngineButton_hover.png",
    "True", "02_locations/AEEngineButton dark_hover.png"
)

image AEEngineButton_smart_idle = ConditionSwitch(
    "'reactor activated' in GAME.mc.done", "02_locations/AEEngineButton_idle.png",
    "True", "02_locations/AEEngineButton dark_idle.png"
)

image AEEngineDoor_smart_hover = ConditionSwitch(
    "True", "02_locations/AEEngineDoor_hover.png"
)

image AEEngineDoor_smart_idle = ConditionSwitch(
    "True", "02_locations/AEEngineDoor_idle.png"
)

image AEEngineCrate_smart_idle = ConditionSwitch(
    "True", "02_locations/AEEngineCrate_idle.png"
)
image AEEngineCrate_smart_hover= ConditionSwitch(
    "True", "02_locations/AEEngineCrate_hover.png"
)

image AEEngineSpriteKhelaraStand_smart_hover= ConditionSwitch(
    "khelara.wears('ITMUniformKrell')", "01_portrait/AEEngineSpriteKhelaraStandKrell_hover.png",
    "khelara.wears('ITMUniformRevealing')", "01_portrait/AEEngineSpriteKhelaraStandRevealing_hover.png",
    "khelara.wears('ITMUniformRacy')", "01_portrait/AEEngineSpriteKhelaraStandRacy_hover.png",
    "True", "01_portrait/AEEngineSpriteKhelaraStand_hover.png"
)
image AEEngineSpriteKhelaraStand_smart_idle= ConditionSwitch(
    "khelara.wears('ITMUniformKrell')", "01_portrait/AEEngineSpriteKhelaraStandKrell_idle.png",
    "khelara.wears('ITMUniformRevealing')", "01_portrait/AEEngineSpriteKhelaraStandRevealing_idle.png",
    "khelara.wears('ITMUniformRacy')", "01_portrait/AEEngineSpriteKhelaraStandRacy_idle.png",
    "True", "01_portrait/AEEngineSpriteKhelaraStand_idle.png"
)


#####################################################################
#                CARGO ROOMS 1 & 2
#####################################################################

image AECargoDoor_smart_hover= ConditionSwitch(
    "True", "02_locations/AECargoDoor_hover.png"
)
image AECargoDoor_smart_idle= ConditionSwitch(
    "True", "02_locations/AECargoDoor_idle.png"
)
image AECargoTerminal_smart_hover= ConditionSwitch(
    "True", "02_locations/AECargoTerminal_hover.png"
)
image AECargoTerminal_smart_idle= ConditionSwitch(
    "True", "02_locations/AECargoTerminal_idle.png"
)
image AECargoSign_smart_hover= ConditionSwitch(
    "True", "02_locations/AECargoSign_hover.png"
)
image AECargoSign_smart_idle= ConditionSwitch(
    "True", "02_locations/AECargoSign_idle.png"
)
image AECargoHatch_smart_hover= ConditionSwitch(
    "True", "02_locations/AECargoHatch_hover.png"
)
image AECargoHatch_smart_idle= ConditionSwitch(
    "True", "02_locations/AECargoHatch_idle.png"
)

image AEAwaken_smart_hover= ConditionSwitch(
    "True", "02_locations/AEAwaken_hover.png"
)
image AEAwaken_smart_idle= ConditionSwitch(
    "True", "02_locations/AEAwaken_idle.png"
)
image AECargoRackEmpty_smart_hover= ConditionSwitch(
    "True", "02_locations/AECargoRackEmpty_hover.png"
)
image AECargoRackEmpty_smart_idle= ConditionSwitch(
    "True", "02_locations/AECargoRackEmpty_idle.png"
)
image AECargoRackFull_smart_hover= ConditionSwitch(
    "True", "02_locations/AECargoRackFull_hover.png"
)
image AECargoRackFull_smart_idle= ConditionSwitch(
    "True", "02_locations/AECargoRackFull_idle.png"
)


image AEMilker_smart_hover= ConditionSwitch(
    "True", "02_locations/AEMilker_hover.png"
)

image AEMilker_smart_idle= ConditionSwitch(
    "True", "02_locations/AEMilker_idle.png"
)


#####################################################################
#                CAPTAIN'S CABIN
#####################################################################


image AECaptainBed_smart_hover= ConditionSwitch(
    "True", "02_locations/AECaptainBed_hover.png"
)
image AECaptainBed_smart_idle= ConditionSwitch(
    "True", "02_locations/AECaptainBed_idle.png"
)

image AECaptainSpriteTypeJ_smart_hover= ConditionSwitch(
    "True", "01_portrait/AECaptainSpriteTypeJ_hover.png"
)
image AECaptainSpriteTypeJ_smart_idle= ConditionSwitch(
    "True", "01_portrait/AECaptainSpriteTypeJ_idle.png"
)

image AECaptainCabinet_smart_hover= ConditionSwitch(
    "True", "02_locations/AECaptainCabinet_hover.png"
)
image AECaptainCabinet_smart_idle= ConditionSwitch(
    "True", "02_locations/AECaptainCabinet_idle.png"
)
image AECaptainComputer_smart_hover= ConditionSwitch(
    "True", "02_locations/AECaptainComputer_hover.png"
)
image AECaptainComputer_smart_idle= ConditionSwitch(
    "True", "02_locations/AECaptainComputer_idle.png"
)
image AECaptainCup_smart_hover= ConditionSwitch(
    "True", "02_locations/AECaptainCup_hover.png"
)
image AECaptainCup_smart_idle= ConditionSwitch(
    "True", "02_locations/AECaptainCup_idle.png"
)
image AECaptainBox_smart_hover= ConditionSwitch(
    "True", "02_locations/AECaptainBox_hover.png"
)
image AECaptainBox_smart_idle= ConditionSwitch(
    "True", "02_locations/AECaptainBox_idle.png"
)



#####################################################################
#                HALLWAY ONE
#####################################################################

image AEH1Bridge_smart_hover= ConditionSwitch(
    "True", "02_locations/AEH1Bridge_hover.png"
)
image AEH1Bridge_smart_idle= ConditionSwitch(
    "True", "02_locations/AEH1Bridge_idle.png"
)
image AEH1Captain_smart_hover= ConditionSwitch(
    "True", "02_locations/AEH1Captain_hover.png"
)
image AEH1Captain_smart_idle= ConditionSwitch(
    "True", "02_locations/AEH1Captain_idle.png"
)
image AEH1Nav_smart_hover= ConditionSwitch(
    "True", "02_locations/AEH1Nav_hover.png"
)
image AEH1Nav_smart_idle= ConditionSwitch(
    "True", "02_locations/AEH1Nav_idle.png"
)
image AEH1Turbo_smart_hover= ConditionSwitch(
    "True", "02_locations/AEH1Turbo_hover.png"
)
image AEH1Turbo_smart_idle= ConditionSwitch(
    "True", "02_locations/AEH1Turbo_idle.png"
)
#####################################################################
#                LOWER CORRIDOR
#####################################################################

image AECorridorDoor_smart_hover= ConditionSwitch(
    "True", "02_locations/AECorridorDoor_hover.png"
)
image AECorridorDoor_smart_idle= ConditionSwitch(
    "True", "02_locations/AECorridorDoor_idle.png"
)
image AECorridorTerminal_smart_hover= ConditionSwitch(
    "'term_unlocked' in GAME.mc.done", "02_locations/AECorridorTerminalGreen_hover.png",
    "True", "02_locations/AECorridorTerminalRed_hover.png"
)
image AECorridorTerminal_smart_idle= ConditionSwitch(
    "'term_unlocked' in GAME.mc.done", "02_locations/AECorridorTerminalGreen_idle.png",
    "True", "02_locations/AECorridorTerminalRed_idle.png"
)
image AECorridorNanites_smart_idle= ConditionSwitch(
    "True", "02_locations/AECorridorNanites_idle.png"
)
image AECorridorNanites_smart_hover= ConditionSwitch(
    "True", "02_locations/AECorridorNanites_hover.png"
)


#####################################################################
#                LOWER HALLWAY ONE
#####################################################################

image AEL1DoorHolo_smart_hover= ConditionSwitch(
    "True", "02_locations/AEL1DoorHolo_hover.png"
)
image AEL1DoorHolo_smart_idle= ConditionSwitch(
    "True", "02_locations/AEL1DoorHolo_idle.png"
)

image AEL1Cam_smart_hover= ConditionSwitch(
    "True", "02_locations/AEL1Cam_hover.png"
)
image AEL1Cam_smart_idle= ConditionSwitch(
    "True", "02_locations/AEL1Cam_idle.png"
)

image AEL1DoorLab_smart_hover= ConditionSwitch(
    "True", "02_locations/AEL1DoorLab_hover.png"
)
image AEL1DoorLab_smart_idle= ConditionSwitch(
    "True", "02_locations/AEL1DoorLab_idle.png"
)
image AEL1DoorCrew1_smart_hover= ConditionSwitch(
    "True", "02_locations/AEL1DoorCrew1_hover.png"
)
image AEL1DoorCrew1_smart_idle= ConditionSwitch(
    "True", "02_locations/AEL1DoorCrew1_idle.png"
)
image AEL1DoorCrew2_smart_hover= ConditionSwitch(
    "True", "02_locations/AEL1DoorCrew2_hover.png"
)
image AEL1DoorCrew2_smart_idle= ConditionSwitch(
    "True", "02_locations/AEL1DoorCrew2_idle.png"
)


#####################################################################
#                HALLWAY TWO
#####################################################################

image AEH2DoorLarge_smart_hover= ConditionSwitch(
    "True", "02_locations/AEH2DoorLarge_hover.png"
)
image AEH2DoorLarge_smart_idle= ConditionSwitch(
    "True", "02_locations/AEH2DoorLarge_idle.png"
)
image AEH2Guest1_smart_hover= ConditionSwitch(
    "True", "02_locations/AEH2Guest1_hover.png"
)
image AEH2Guest1_smart_idle= ConditionSwitch(
    "True", "02_locations/AEH2Guest1_idle.png"
)
image AEH2Guest2_smart_hover= ConditionSwitch(
    "True", "02_locations/AEH2Guest2_hover.png"
)
image AEH2Guest2_smart_idle= ConditionSwitch(
    "True", "02_locations/AEH2Guest2_idle.png"
)

#####################################################################
#               BRIDGE
#####################################################################

image AEBridgeChair_smart_hover= ConditionSwitch(
    "True", "02_locations/AEBridgeChair_hover.png"
)
image AEBridgeChair_smart_idle= ConditionSwitch(
    "True", "02_locations/AEBridgeChair_idle.png"
)
image AEBridgeSpriteTrisStand_smart_hover= ConditionSwitch(
    "tris.wears('ITMUniformKrell')", "01_portrait/AEBridgeSpriteTrisStandKrell_hover.png",
    "tris.wears('ITMUniformRevealing')", "01_portrait/AEBridgeSpriteTrisStandRevealing_hover.png",
    "tris.wears('ITMUniformRacy')", "01_portrait/AEBridgeSpriteTrisStandRacy_hover.png",
    "tris.wears('ITMOutfitValkoraP3')", "01_portrait/AEBridgeSpriteTrisStandP3_hover.png",
    "tris.wears('ITMOutfitValkoraP2')", "01_portrait/AEBridgeSpriteTrisStandP2_hover.png",
    "tris.wears('ITMOutfitValkoraP1')", "01_portrait/AEBridgeSpriteTrisStandP1_hover.png",
    "True", "01_portrait/AEBridgeSpriteTrisStand_hover.png"
)
image AEBridgeSpriteTrisStand_smart_idle= ConditionSwitch(
    "tris.wears('ITMUniformKrell')", "01_portrait/AEBridgeSpriteTrisStandKrell_idle.png",
    "tris.wears('ITMUniformRevealing')", "01_portrait/AEBridgeSpriteTrisStandRevealing_idle.png",
    "tris.wears('ITMUniformRacy')", "01_portrait/AEBridgeSpriteTrisStandRacy_idle.png",
    "tris.wears('ITMOutfitValkoraP3')", "01_portrait/AEBridgeSpriteTrisStandP3_idle.png",
    "tris.wears('ITMOutfitValkoraP2')", "01_portrait/AEBridgeSpriteTrisStandP2_idle.png",
    "tris.wears('ITMOutfitValkoraP1')", "01_portrait/AEBridgeSpriteTrisStandP1_idle.png",
    "True", "01_portrait/AEBridgeSpriteTrisStand_idle.png"
)
image AEBridgeSpriteVStand_smart_idle= ConditionSwitch(
    "vee.wears('ITMUniformKrell')", "01_portrait/AEBridgeSpriteVKrell_idle.png",
    "vee.wears('ITMOutfitSwarm')", "01_portrait/AEBridgeSpriteVSwarm_idle.png",
    "True", "01_portrait/AEBridgeSpriteV_idle.png"
)
image AEBridgeSpriteVStand_smart_hover= ConditionSwitch(
    "vee.wears('ITMUniformKrell')", "01_portrait/AEBridgeSpriteVKrell_hover.png",
    "vee.wears('ITMOutfitSwarm')", "01_portrait/AEBridgeSpriteVSwarm_hover.png",
    "True", "01_portrait/AEBridgeSpriteV_hover.png"
)

#####################################################################
#               TRIS CABIN
#####################################################################

image AENavSpriteTrisStand_smart_hover= ConditionSwitch(
    "tris.wears('ITMUniformKrell')", "01_portrait/AENavSpriteTrisStandKrell_hover.png",
    "tris.wears('ITMUniformRevealing')", "01_portrait/AENavSpriteTrisStandRevealing_hover.png",
    "tris.wears('ITMUniformRacy')", "01_portrait/AENavSpriteTrisStandRacy_hover.png",
    "tris.wears('ITMOutfitValkoraP3')", "01_portrait/AENavSpriteTrisStandP3_hover.png",
    "tris.wears('ITMOutfitValkoraP2')", "01_portrait/AENavSpriteTrisStandP2_hover.png",
    "tris.wears('ITMOutfitValkoraP1')", "01_portrait/AENavSpriteTrisStandP1_hover.png",
    "True", "01_portrait/AENavSpriteTrisStand_hover.png"
)
image AENavSpriteTrisStand_smart_idle= ConditionSwitch(
    "tris.wears('ITMUniformKrell')", "01_portrait/AENavSpriteTrisStandKrell_idle.png",
    "tris.wears('ITMUniformRevealing')", "01_portrait/AENavSpriteTrisStandRevealing_idle.png",
    "tris.wears('ITMUniformRacy')", "01_portrait/AENavSpriteTrisStandRacy_idle.png",
    "tris.wears('ITMOutfitValkoraP3')", "01_portrait/AENavSpriteTrisStandP3_idle.png",
    "tris.wears('ITMOutfitValkoraP2')", "01_portrait/AENavSpriteTrisStandP2_idle.png",
    "tris.wears('ITMOutfitValkoraP1')", "01_portrait/AENavSpriteTrisStandP1_idle.png",
    "True", "01_portrait/AENavSpriteTrisStand_idle.png"
)
image AENavSpriteTrisExercise_smart_hover= ConditionSwitch(
    "True", "01_portrait/AENavSpriteTrisExercise_hover.png"
)
image AENavSpriteTrisExercise_smart_idle= ConditionSwitch(
    "True", "01_portrait/AENavSpriteTrisExercise_idle.png"
)

#####################################################################
#               ARELLARTI STATION & DOME
#####################################################################

image AEArellartiStationShip_smart_hover= ConditionSwitch(
    "True", "02_locations/AEArellartiStationShip_hover.png"
)
image AEArellartiStationShip_smart_idle= ConditionSwitch(
    "True", "02_locations/AEArellartiStationShip_idle.png"
)
image AEArellartiStationGate_smart_hover= ConditionSwitch(
    "True", "02_locations/AEArellartiStationGate_hover.png"
)
image AEArellartiStationGate_smart_idle= ConditionSwitch(
    "True", "02_locations/AEArellartiStationGate_idle.png"
)

image AEArellartiStationAdmin_smart_hover= ConditionSwitch(
    "True", "02_locations/AEArellartiStationAdmin_hover.png"
)
image AEArellartiStationAdmin_smart_idle= ConditionSwitch(
    "True", "02_locations/AEArellartiStationAdmin_idle.png"
)


image AESpriteArellartiAdminReception_smart_hover= ConditionSwitch(
    "True", "01_portrait/AESpriteArellartiAdminReception_hover.png"
)
image AESpriteArellartiAdminReception_smart_idle= ConditionSwitch(
    "True", "01_portrait/AESpriteArellartiAdminReception_idle.png"
)
image AESpriteArellartiAdminOrlok_smart_hover= ConditionSwitch(
    "True", "01_portrait/AESpriteArellartiAdminOrlok_hover.png"
)
image AESpriteArellartiAdminOrlok_smart_idle= ConditionSwitch(
    "True", "01_portrait/AESpriteArellartiAdminOrlok_idle.png"
)




image AEArellartiPlazaPetOwner_smart_hover= ConditionSwitch(
    "True", "02_locations/AEArellartiPlazaPetOwner_hover.png"
)
image AEArellartiPlazaPetOwner_smart_idle= ConditionSwitch(
    "True", "02_locations/AEArellartiPlazaPetOwner_idle.png"
)
image AEArellartiPlazaPetshop_smart_hover= ConditionSwitch(
    "True", "02_locations/AEArellartiPlazaPetshop_hover.png"
)
image AEArellartiPlazaPetshop_smart_idle= ConditionSwitch(
    "True", "02_locations/AEArellartiPlazaPetshop_idle.png"
)
image AEArellartiPetshopPet1_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEArellartiPetshopPet1_idle.png"
)
image AEArellartiPetshopPet1_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEArellartiPetshopPet1_hover.png"
)
image AEArellartiPetshopPet2_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEArellartiPetshopPet2_idle.png"
)
image AEArellartiPetshopPet2_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEArellartiPetshopPet2_hover.png"
)



image AEArellartiDomeShip_smart_idle= ConditionSwitch(
    "True", "02_locations/AEArellartiDomeShip_idle.png"
)
image AEArellartiDomeShip_smart_hover= ConditionSwitch(
    "True", "02_locations/AEArellartiDomeShip_hover.png"
)
image AEArellartiDomeGate_smart_hover= ConditionSwitch(
    "True", "02_locations/AEArellartiDomeGate_hover.png"
)
image AEArellartiDomeGate_smart_idle= ConditionSwitch(
    "True", "02_locations/AEArellartiDomeGate_idle.png"
)

image AEArellartiDomePlazaPetKrell1_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaPetKrell1_hover.png"
)
image AEArellartiDomePlazaPetKrell1_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaPetKrell1_idle.png"
)

image AEArellartiDomePlazaPetKrell1Pet_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaPetKrell1Pet_hover.png"
)
image AEArellartiDomePlazaPetKrell1Pet_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaPetKrell1Pet_idle.png"
)

image AEArellartiDomePlazaPetKrell2_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaPetKrell2_hover.png"
)
image AEArellartiDomePlazaPetKrell2_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaPetKrell2_idle.png"
)

image AEArellartiDomePlazaPonyTrainer_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaPonyTrainer_hover.png"
)
image AEArellartiDomePlazaPonyTrainer_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaPonyTrainer_idle.png"
)

image AEArellartiDomePlazaShadyKrell_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaShadyKrell_hover.png"
)
image AEArellartiDomePlazaShadyKrell_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaShadyKrell_idle.png"
)
image AEArellartiDomePlazaShady_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaShady_hover.png"
)
image AEArellartiDomePlazaShady_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEArellartiDomePlazaShady_idle.png"
)
image AEArellartiDomePlazaBookie_smart_hover= ConditionSwitch(
    "True", "02_locations/AEArellartiDomePlazaBookie_hover.png"
)
image AEArellartiDomePlazaBookie_smart_idle= ConditionSwitch(
    "True", "02_locations/AEArellartiDomePlazaBookie_idle.png"
)
#####################################################################
#              XENOS DOCK
#####################################################################
image AEXenosMarquee_smart_hover= ConditionSwitch(
    "True", "02_locations/AEXenosMarquee_hover.png"
)
image AEXenosMarquee_smart_idle= ConditionSwitch(
    "True", "02_locations/AEXenosMarquee_idle.png"
)
image AEXenosShipOwn_smart_hover= ConditionSwitch(
    "True", "02_locations/AEXenosShipOwn_hover.png"
)
image AEXenosShipOwn_smart_idle= ConditionSwitch(
    "True", "02_locations/AEXenosShipOwn_idle.png"
)

#####################################################################
#               PIRATE DOCK
#####################################################################

image AEPirateShipOwn_smart_hover= ConditionSwitch(
    "True", "02_locations/AEPirateShipOwn_hover.png"
)
image AEPirateShipOwn_smart_idle= ConditionSwitch(
    "True", "02_locations/AEPirateShipOwn_idle.png"
)
image AEPirateCantina_smart_hover= ConditionSwitch(
    "True", "02_locations/AEPirateCantina_hover.png"
)
image AEPirateCantina_smart_idle= ConditionSwitch(
    "True", "02_locations/AEPirateCantina_idle.png"
)
image AEPirateShipArms_smart_hover= ConditionSwitch(
    "True", "02_locations/AEPirateShipArms_hover.png"
)
image AEPirateShipArms_smart_idle= ConditionSwitch(
    "True", "02_locations/AEPirateShipArms_idle.png"
)
image AEPirateScrap_smart_hover= ConditionSwitch(
    "True", "02_locations/AEPirateScrap_hover.png"
)
image AEPirateScrap_smart_idle= ConditionSwitch(
    "True", "02_locations/AEPirateScrap_idle.png"
)
#####################################################################
#               PIRATE CANTINA
#####################################################################

image AEPirateCantinaKhelara_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEPirateCantinaKhelara_hover.png"
)
image AEPirateCantinaKhelara_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEPirateCantinaKhelara_idle.png"
)
image AEPirateCantinaVigo_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEPirateCantinaVigo_hover.png"
)
image AEPirateCantinaVigo_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEPirateCantinaVigo_idle.png"
)
image AEPirateCantinaTeri_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEPirateCantinaTeri_hover.png"
)
image AEPirateCantinaTeri_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEPirateCantinaTeri_idle.png"
)
image AEPirateCantinaKrogneath_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEPirateCantinaKrogneath_hover.png"
)
image AEPirateCantinaKrogneath_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEPirateCantinaKrogneath_idle.png"
)

#####################################################################
#                CHORES
#####################################################################
image AEH1RepairPlating_smart_hover= ConditionSwitch(
    "True", "02_locations/AEH1RepairPlating_hover.png"
)
image AEH1RepairPlating_smart_idle= ConditionSwitch(
    "True", "02_locations/AEH1RepairPlating_idle.png"
)

image AEH1RepairPlating_2_smart_hover= ConditionSwitch(
    "True", "02_locations/AEH1RepairPlating_2_hover.png"
)
image AEH1RepairPlating_2_smart_idle= ConditionSwitch(
    "True", "02_locations/AEH1RepairPlating_2_idle.png"
)

image AEH2RepairTerminal_smart_hover= ConditionSwitch(
    "True", "02_locations/AEH2RepairTerminal_hover.png"
)
image AEH2RepairTerminal_smart_idle= ConditionSwitch(
    "True", "02_locations/AEH2RepairTerminal_idle.png"
)

image AEEngineRepairDucts_smart_hover= ConditionSwitch(
    "True", "02_locations/AEEngineRepairDucts_hover.png"
)
image AEEngineRepairDucts_smart_idle= ConditionSwitch(
    "True", "02_locations/AEEngineRepairDucts_idle.png"
)



#####################################################################
#                ILTARI STATION ACTIVE ELEMENTS
#####################################################################

image AEStationShip_smart_hover= ConditionSwitch(
    "True", "02_locations/AEStationShip_hover.png"
)
image AEStationShip_smart_idle= ConditionSwitch(
    "True", "02_locations/AEStationShip_idle.png"
)
image AEStationEntertainment_smart_hover= ConditionSwitch(
    "True", "02_locations/AEStationEntertainment_hover.png"
)
image AEStationEntertainment_smart_idle= ConditionSwitch(
    "True", "02_locations/AEStationEntertainment_idle.png"
)
image AEStationAdmin_smart_hover= ConditionSwitch(
    "True", "02_locations/AEStationAdmin_hover.png"
)
image AEStationAdmin_smart_idle= ConditionSwitch(
    "True", "02_locations/AEStationAdmin_idle.png"
)
image AEStationSpacebar_smart_hover= ConditionSwitch(
    "True", "02_locations/AEStationSpacebar_hover.png"
)
image AEStationSpacebar_smart_idle= ConditionSwitch(
    "True", "02_locations/AEStationSpacebar_idle.png"
)
image AEStationBrothel_smart_hover= ConditionSwitch(
    "True", "02_locations/AEStationBrothel_hover.png"
)
image AEStationBrothel_smart_idle= ConditionSwitch(
    "True", "02_locations/AEStationBrothel_idle.png"
)

image AEStationGambling_smart_hover= ConditionSwitch(
    "True", "02_locations/AEStationGambling_hover.png"
)
image AEStationGambling_smart_idle= ConditionSwitch(
    "True", "02_locations/AEStationGambling_idle.png"
)

image AEStationDancing_smart_hover= ConditionSwitch(
    "True", "02_locations/AEStationDancing_hover.png"
)
image AEStationDancing_smart_idle= ConditionSwitch(
    "True", "02_locations/AEStationDancing_idle.png"
)

image AEStationSpriteAudra_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEStationSpriteAudra_hover.png"
)
image AEStationSpriteAudra_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEStationSpriteAudra_idle.png"
)

image AEStationSpriteShady_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEStationSpriteShady_hover.png"
)
image AEStationSpriteShady_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEStationSpriteShady_idle.png"
)


image AEStationSpriteBarkeeper_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEStationSpriteBarkeeper_hover.png"
)
image AEStationSpriteBarkeeper_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEStationSpriteBarkeeper_idle.png"
)

image AEStationSpriteNimheStreet_smart_hover= ConditionSwitch(
    "True", "01_portrait/AEStationSpriteNimheStreet_hover.png"
)
image AEStationSpriteNimheStreet_smart_idle= ConditionSwitch(
    "True", "01_portrait/AEStationSpriteNimheStreet_idle.png"
)

#####################################################################
#                GUEST1
#####################################################################

image AEGuestSpriteNimheSit_smart_hover= ConditionSwitch(
    "nimhe.wears('ITMOutfitHackerP1')", "01_portrait/AEGuestSpriteNimheSitP1_hover.png",    
    "nimhe.wears('ITMOutfitHackerP2')", "01_portrait/AEGuestSpriteNimheSitP2_hover.png",
    "nimhe.wears('ITMUniformKrell')", "01_portrait/AEGuestSpriteNimheSitKrell_hover.png",
    "nimhe.wears('ITMUniformRevealing')", "01_portrait/AEGuestSpriteNimheSitRevealing_hover.png",
    "nimhe.wears('ITMUniformRacy')", "01_portrait/AEGuestSpriteNimheSitRacy_hover.png",
    "True", "01_portrait/AEGuestSpriteNimheSit_hover.png"
)
image AEGuestSpriteNimheSit_smart_idle= ConditionSwitch(
    "nimhe.wears('ITMOutfitHackerP1')", "01_portrait/AEGuestSpriteNimheSitP1_idle.png",    
    "nimhe.wears('ITMOutfitHackerP2')", "01_portrait/AEGuestSpriteNimheSitP2_idle.png",
    "nimhe.wears('ITMUniformKrell')", "01_portrait/AEGuestSpriteNimheSitKrell_idle.png",
    "nimhe.wears('ITMUniformRevealing')", "01_portrait/AEGuestSpriteNimheSitRevealing_idle.png",
    "nimhe.wears('ITMUniformRacy')", "01_portrait/AEGuestSpriteNimheSitRacy_idle.png",
    "True", "01_portrait/AEGuestSpriteNimheSit_idle.png"
)
image AEGuestCuffs_smart_hover= ConditionSwitch(
    "True", "02_locations/AEGuestCuffs_hover.png"
)
image AEGuestCuffs_smart_idle= ConditionSwitch(
    "True", "02_locations/AEGuestCuffs_idle.png"
)
image AEGuestCabinet_smart_hover= ConditionSwitch(
    "True", "02_locations/AEGuestCabinet_hover.png"
)
image AEGuestCabinet_smart_idle= ConditionSwitch(
    "True", "02_locations/AEGuestCabinet_idle.png"
)
image AEGuest1Plug_smart_hover= ConditionSwitch(
    "True", "02_locations/AEGuest1Plug_hover.png"
)
image AEGuest1Plug_smart_idle= ConditionSwitch(
    "True", "02_locations/AEGuest1Plug_idle.png"
)

#####################################################################
#                GUEST2
#####################################################################

image AEGuestSpriteSeraphine_smart_hover= ConditionSwitch(
    "seraphine.wears('ITMUniformKrell')", "01_portrait/AEGuestSpriteSeraphineKrell_hover.png",
    "seraphine.wears('ITMUniformRevealing')", "01_portrait/AEGuestSpriteSeraphineRevealing_hover.png",
    "seraphine.wears('ITMUniformRacy')", "01_portrait/AEGuestSpriteSeraphineRacy_hover.png",
    "True", "01_portrait/AEGuestSpriteSeraphine_hover.png"
)

image AEGuestSpriteSeraphine_smart_idle= ConditionSwitch(
    "seraphine.wears('ITMUniformKrell')", "01_portrait/AEGuestSpriteSeraphineKrell_idle.png",
    "seraphine.wears('ITMUniformRevealing')", "01_portrait/AEGuestSpriteSeraphineRevealing_idle.png",
    "seraphine.wears('ITMUniformRacy')", "01_portrait/AEGuestSpriteSeraphineRacy_idle.png",
    "True", "01_portrait/AEGuestSpriteSeraphine_idle.png"
)

#####################################################################
#                CREW
#####################################################################

image AECrew1SpriteKhelaraStand_smart_hover= ConditionSwitch(
    "khelara.wears('ITMUniformKrell')", "01_portrait/AECrew1SpriteKhelaraStandKrell_hover.png",    
    "khelara.wears('ITMUniformRevealing')", "01_portrait/AECrew1SpriteKhelaraStandRevealing_hover.png",
    "khelara.wears('ITMUniformRacy')", "01_portrait/AECrew1SpriteKhelaraStandRacy_hover.png",
    "True", "01_portrait/AECrew1SpriteKhelaraStand_hover.png"
)
image AECrew1SpriteKhelaraStand_smart_idle= ConditionSwitch(
    "khelara.wears('ITMUniformKrell')", "01_portrait/AECrew1SpriteKhelaraStandKrell_idle.png",
    "khelara.wears('ITMUniformRevealing')", "01_portrait/AECrew1SpriteKhelaraStandRevealing_idle.png",
    "khelara.wears('ITMUniformRacy')", "01_portrait/AECrew1SpriteKhelaraStandRacy_idle.png",
    "True", "01_portrait/AECrew1SpriteKhelaraStand_idle.png"
)

image AECrew2SpriteMoira_smart_idle = ConditionSwitch(
        "moira.wears('ITMUniformKrell')", "01_portrait/AECrew2SpriteMoiraKrell_idle.png",
        "moira.wears('ITMUniformRevealing')", "01_portrait/AECrew2SpriteMoiraRevealing_idle.png",
        "moira.wears('ITMUniformRacy')", "01_portrait/AECrew2SpriteMoiraRacy_idle.png",
        "True", "01_portrait/AECrew2SpriteMoira_idle.png"
)

image AECrew2SpriteMoira_smart_hover = ConditionSwitch(
        "moira.wears('ITMUniformKrell')", "01_portrait/AECrew2SpriteMoiraKrell_hover.png",
        "moira.wears('ITMUniformRevealing')", "01_portrait/AECrew2SpriteMoiraRevealing_hover.png",
        "moira.wears('ITMUniformRacy')", "01_portrait/AECrew2SpriteMoiraRacy_hover.png",
        "True", "01_portrait/AECrew2SpriteMoira_hover.png"
)

#####################################################################
#                MAINTENANCE (V)
#####################################################################

image AEMaintSpriteVSit_smart_hover= ConditionSwitch(
    "vee.wears('ITMUniformKrell')", "01_portrait/AEMaintSpriteVSitKrell_hover.png",
    "vee.wears('ITMOutfitSwarm')", "01_portrait/AEMaintSpriteVSitSwarm_hover.png",
    "True", "01_portrait/AEMaintSpriteVSit_hover.png")

image AEMaintSpriteVSit_smart_idle= ConditionSwitch(
    "vee.wears('ITMUniformKrell')", "01_portrait/AEMaintSpriteVSitKrell_idle.png",
    "vee.wears('ITMOutfitSwarm')", "01_portrait/AEMaintSpriteVSitSwarm_idle.png",
    "True", "01_portrait/AEMaintSpriteVSit_idle.png")

#####################################################################
#              DECK 3 / LOWER 2 xxx
#####################################################################
image AEL2DoorMessRoom_smart_hover= ConditionSwitch(
    "True", "02_locations/AEL2DoorMessRoom_hover.png"
)
image AEL2DoorMessRoom_smart_idle= ConditionSwitch(
    "True", "02_locations/AEL2DoorMessRoom_idle.png"
)

image AEL2DoorMed_smart_hover= ConditionSwitch(
    "True", "02_locations/AEL2DoorMed_hover.png"
)
image AEL2DoorMed_smart_idle= ConditionSwitch(
    "True", "02_locations/AEL2DoorMed_idle.png"
)

image AEL2DoorAux1_smart_idle= ConditionSwitch(
    "True", "02_locations/AEL2DoorAux1_idle.png"
)
image AEL2DoorAux1_smart_hover= ConditionSwitch(
    "True", "02_locations/AEL2DoorAux1_hover.png"
)
#####################################################################
#                ROOMS & LOCATIONS WAYSTATION SYSTEM
#####################################################################
# Waystation
image room_way_control_smart = ConditionSwitch(
    "'online' in GAME.getLoc().tags", "02_locations/room_way_control_online.png",
    "True", "02_locations/room_way_control_offline.png"
)
image room_way_dock_smart = ConditionSwitch(
    "True", "02_locations/room_waystation_dock.png"
)

# Stars
image room_beacon_stars_smart = ConditionSwitch(
    "'activated' in GAME.locs['LOCBeaconStars'].tags", "02_locations/room_beacon_stars_activated.jpg",
    "True", "02_locations/room_beacon_stars.jpg",
)
image room_landing_stars_smart = ConditionSwitch(
    "True", "02_locations/room_landing_stars.png",
)


# Assembly
image room_beacon_assembly_smart = ConditionSwitch(
    "'activated' in GAME.locs['LOCBeaconAssembly'].tags", "02_locations/room_beacon_assembly_activated.jpg",
    "True", "02_locations/room_beacon_assembly.jpg",
)
image room_landing_assembly_smart = ConditionSwitch(
    "True", "02_locations/room_landing_assembly.png",
)

# Automatons
image room_beacon_automatons_smart = ConditionSwitch(
    "'activated' in GAME.locs['LOCBeaconAutomatons'].tags", "02_locations/room_beacon_automatons_activated.jpg",
    "True", "02_locations/room_beacon_automatons.jpg",
)
image room_landing_automatons_smart = ConditionSwitch(
    "True", "02_locations/room_landing_automatons.png",
)

# Elements
image room_beacon_elements_smart = ConditionSwitch(
    "'activated' in GAME.locs['LOCBeaconElements'].tags", "02_locations/room_beacon_elements_activated.jpg",
    "True", "02_locations/room_beacon_elements.jpg",
)

image room_landing_elements_smart = ConditionSwitch(
    "True", "02_locations/room_landing_elements.png",
)

#####################################################################
#                ROOMS & LOCATIONS OTHER
#####################################################################

image room_engine_poster_001 = ConditionSwitch(
    "'ITMPoster001' in GAME.locs['LOCEngine'].tags", "02_locations/room_engine_poster_001.png",
    "True", "px_1x1_empty"
)
image room_engine_composite = LiveComposite(
    (1920,1080),
    (0,0), "02_locations/room_engine_default.png",
    (0,0), "room_engine_poster_001"
)

image room_engine_smart = ConditionSwitch(
    "'reactor activated' in GAME.mc.done", "room_engine_composite",
    "True", "02_locations/room_engine_dark.png"
)

image room_hallway1_smart = ConditionSwitch(
    "True", "02_locations/room_hallway1.png"
)
image room_hallway2_smart = ConditionSwitch(
    "True", "02_locations/room_hallway2.png"
)

image exterior_smart = ConditionSwitch(
    "GAME.ship.status=='landed' and GAME.getSpaceLoc().ID == 'LIDTenaris'", "11_backgrounds/SUIDTenaris_bg.png", # CR-0579    
    "GAME.ship.status=='docked' and GAME.getSpaceLoc().ID == 'LIDPirate'", "11_backgrounds/backdrop_hangar_pirate.png",    
    "GAME.ship.status=='docked' and GAME.getSpaceLoc().ID == 'LIDStationArellarti'", "11_backgrounds/backdrop_station_arellarti_var.png",  
    "GAME.ship.status=='docked' and GAME.getSpaceLoc().ID == 'LIDDomeArellarti'", "11_backgrounds/backdrop_dome_arellarti.png",  

    "GAME.ship.status=='docked' and GAME.getSpaceLoc().ID == 'LIDStationXenos'", "11_backgrounds/backdrop_station_xenos.png",  
    "GAME.ship.status=='docked' and GAME.getSpaceLoc().ID == 'LIDStationQuthor'", "11_backgrounds/backdrop_station_quthor.jpg", 
    "GAME.ship.status=='docked' and GAME.getSpaceLoc().ID == 'LIDWaystation'", "11_backgrounds/backdrop_waystation_dock.png", 

    "GAME.ship.status=='docked' and GAME.getSpaceLoc().ID in ['LIDBeaconElements', 'LIDBeaconAutomatons', 'LIDBeaconAssembly', 'LIDBeaconStars']", "11_backgrounds/backdrop_beacon.jpg",  
    "GAME.ship.status=='docked'", "11_backgrounds/backdrop_hangar.jpg",  

    "GAME.getSpaceLoc().ID == 'LIDJunkyardIltari'", "11_backgrounds/backdrop_junkyard.jpg",


    "GAME.getSpaceLoc().ID == 'LIDAsteroidsIltari'", "11_backgrounds/backdrop_asteroids.jpg",
    "GAME.getSpaceLoc().ID == 'LIDAsteroidsIltari'", "11_backgrounds/backdrop_asteroids.jpg",
    "GAME.getSpaceLoc().ID == 'LIDRubbleIltari'", "11_backgrounds/backdrop_asteroids.jpg",

    "GAME.getSpaceLoc().ID == 'LIDStationIltari'", "11_backgrounds/backdrop_station_SSIDIltari.png",      
    "GAME.getSpaceLoc().ID == 'LIDStationQuthor'", "06_cutscenes/cutscene_quthor_station_exterior.jpg",    
    "GAME.getSpaceLoc().ID == 'LIDPirate'", "11_backgrounds/backdrop_pirate.png",    
 
    "GAME.getStarSys().ID == 'SSIDWaystation'", "11_backgrounds/backdrop_space_SSIDWaystation.png",
    "GAME.getStarSys().ID == 'SSIDVoid'", "11_backgrounds/backdrop_space_oddity.png",
    "GAME.getStarSys().ID == 'SSIDArellarti'", "11_backgrounds/backdrop_space_Arellarti.png",
    "GAME.getStarSys().ID == 'SSIDXenos'", "11_backgrounds/backdrop_space_Xenos.png",
    "GAME.getStarSys().ID == 'SSIDQuthor'", "11_backgrounds/backdrop_space_SSIDQuthor.png",
    "GAME.getStarSys().ID == 'SSIDNX010'", "11_backgrounds/backdrop_space_SSIDNX010.png",
    "GAME.getStarSys().ID == 'SSIDIltari'", "11_backgrounds/backdrop_space_SSIDIltari.jpg",


    "True", "11_backgrounds/backdrop_space_SSIDDefault.jpg"
    )

image room_captain_smart = LiveComposite(
    (1920,1080),
    (0,0), "exterior_smart",
    (0,0), "02_locations/room_captain_foreground.png"
    )
image room_guest1_smart = LiveComposite(
    (1920,1080),
    (0,0), "exterior_smart",
    (0,0), "02_locations/room_guest1_foreground.png"
    )
image room_guest2_smart = LiveComposite(
    (1920,1080),
    (0,0), "exterior_smart",
    (0,0), "02_locations/room_guest2_foreground.png"
    )    
image room_nav_smart = LiveComposite(
    (1920,1080),
    (0,0), "exterior_smart",
    (0,0), "02_locations/room_nav_foreground.png"
    )
image room_bridge_smart = LiveComposite(
    (1920,1080),
    (0,0), "exterior_smart",
    (0,0), "02_locations/room_bridge_foreground.png"
    )

image room_crew1_smart = LiveComposite(
    (1920,1080),
    (0,0), "exterior_smart",
    (0,0), "02_locations/room_crew1_foreground.png"
    )

image room_crew2_smart = LiveComposite(
    (1920,1080),
    (0,0), "exterior_smart",
    (0,0), "02_locations/room_crew2_foreground.png"
    )

image room_maintenance_smart = ConditionSwitch(
    "True", "02_locations/room_maintenance.png"
)

image room_corridor_smart = LiveComposite(
    (1920,1080),
    (0,0), "02_locations/room_corridor_lower.png",
    (222,271), "room_corridor_nanites",
    (238,380), "AECorridorTerminal_smart_idle"
    )

image room_corridor_nanites = ConditionSwitch(
    "'nanite_report' not in bb_2.done", "05_gui/px_1x1_empty.png",
    "'nanites_removed' in GAME.mc.done", "05_gui/px_1x1_empty.png",
    "True", "02_locations/AECorridorNanites_idle.png",
)

image room_cargo_smart = ConditionSwitch(
    "True", "02_locations/room_cargo.png"
)
image room_cargo_b_smart = ConditionSwitch(
    "'machine_setup' in khelara.done", "02_locations/room_cargo_milker.jpg",  
    "'awake' in vee.status", "02_locations/room_cargobay_container_three.png",
    "vee.inventory.count(GAME.items['ITMPodEnergy']) == 0", "02_locations/room_cargobay_container_one_a.png",
    "vee.inventory.count(GAME.items['ITMPodEnergy']) >= 6", "02_locations/room_cargobay_container_one_b.png"
)

image room_hallway_lower1_smart = ConditionSwitch(
    "True", "02_locations/room_hallway_lower1.png"
)

image room_hallway_lower2_smart = ConditionSwitch(
    "True", "02_locations/room_hallway_lower2.png"
)

image room_lab_smart = ConditionSwitch(
    "True", "02_locations/room_lab.png"
)

image room_medbay_smart = ConditionSwitch(
    "True", "02_locations/room_medbay.png"
)
image room_aux1_smart = LiveComposite(
    (1920,1080),
    (0,0), "exterior_smart",
    (0,0), "02_locations/room_aux1_foreground.png"
    )

image room_mess_room_smart = LiveComposite(
    (1920,1080),
    (0,0), "exterior_smart",
    (0,0), "02_locations/room_mess_room_foreground.png"
    )

image room_holo_smart = ConditionSwitch(
    "True", "02_locations/room_holo.png"
)
image room_holo_blank_smart = ConditionSwitch(
    "True", "02_locations/room_holo_blank.png"
)

image room_holo_castle_smart = ConditionSwitch(
    "True", "02_locations/room_holo_castle.png"
)

image room_dock_smart = ConditionSwitch(
    "True", "02_locations/room_LOCIltariStationDA.png"
)

image room_iltari_entertain_smart = ConditionSwitch(
    "True", "02_locations/room_LOCIltariStationED.png"
)
image room_iltari_brothel_smart = ConditionSwitch(
    "True", "02_locations/room_LOCIltariStationBR.png"
)
image room_iltari_tavern_smart = ConditionSwitch(
    "True", "room_iltari_tavern_composite"
)
image ani_sprite_dancer_smart = ConditionSwitch(
    "GAME.hour == 15 and GAME.day >= 10 and not GAME.questSys.isActive('QID_MULT_TRANSPORT')", "ani_sprite_ylyee",
    "GAME.hour == 20", "ani_sprite_leila",
    "True", "05_gui/px_1x1_empty.png"
)
image room_iltari_tavern_composite = LiveComposite(
    (1920,1080),
    (0,0), "02_locations/room_LOCIltariStationSB.png",
    (69,305), "ani_sprite_dancer_smart"
)

#####################################################################
#					PIRATE STATION		
#####################################################################

#####################################################################
#                   XENOS
#####################################################################
image room_xenos_dock_smart = ConditionSwitch(
    "True", "02_locations/room_LOCXenosDock.png"
)

#####################################################################
#					ARELLARTI		
#####################################################################
image room_arellarti_dock_smart = ConditionSwitch(
    "True", "02_locations/room_LOCArellartiStationDA.png"
)

image room_arellarti_plaza_smart = ConditionSwitch(
    "True", "02_locations/room_LOCArellartiStationPL.png"
)

image room_arellarti_petshop_smart = ConditionSwitch(
    "True", "02_locations/room_LOCArellartiStationPS.png"
)

image room_arellarti_dome_dock_smart = ConditionSwitch(
    "True", "02_locations/room_LOCArellartiDomeDA.png"
)
image room_arellarti_dome_plaza_smart = ConditionSwitch(
    "True", "02_locations/room_LOCArellartiDomePL.png"
)

image room_arellarti_admin_smart = ConditionSwitch(
    "True", "02_locations/room_LOCArellartiAdmin.png"
)

image room_arellarti_petoffice_smart = ConditionSwitch(
    "True", "02_locations/room_LOCArellartiPetOffice.png"
)
#####################################################################
#              TENARIS BASE
#####################################################################
# ===== CR-0778 START
image room_tenaris_entrance_smart = LiveComposite(
    (1920,1080), 
    (0,0), "02_locations/room_LOCTenarisEntrance.png",
    (0,228), "trophy_scholar_composite",
    (412,332), "trophy_casanova_composite",
    (636,376), "trophy_trainer_composite",
    (970,376), "trophy_pharaoh_composite",
    (1165,332), "trophy_admiral_composite",
    (1436,228), "trophy_traveller_composite"
)

image trophy_scholar_composite = LiveComposite(
    (424,554),
    (0,0), "trophy_scholar_smart", 
    (0,0), "trophy_scholar_label_smart" 
)
image trophy_scholar_label_smart = ConditionSwitch(
    "GAME.trophyActive['scholar']==False", "05_gui/px_1x1_empty.png",
    "True", "10_anims/trophy_scholar_label.png"
)
image trophy_scholar_smart = ConditionSwitch(
    "GAME.trophyActive['scholar']==False", "05_gui/px_1x1_empty.png",
    "GAME.trophies['scholar']==1", "10_anims/trophy_scholar_1.png",
    "GAME.trophies['scholar']==2", "10_anims/trophy_scholar_2.png",
    "GAME.trophies['scholar']==3", "10_anims/trophy_scholar_3.png",
    "GAME.trophies['scholar']==4", "10_anims/trophy_scholar_4.png",
    "GAME.trophies['scholar']==5", "10_anims/trophy_scholar_5.png",
    "True", "10_anims/trophy_scholar_0.png"
)

image trophy_traveller_composite = LiveComposite(
    (483,554),
    (0,0), "trophy_traveller_smart",
    (0,0), "trophy_traveller_label_smart" 
)
image trophy_traveller_label_smart = ConditionSwitch(
    "GAME.trophyActive['traveller']==False", "05_gui/px_1x1_empty.png",
    "True", "10_anims/trophy_traveller_label.png"
)
image trophy_traveller_smart = ConditionSwitch(
    "GAME.trophyActive['traveller']==False", "05_gui/px_1x1_empty.png",
    "GAME.trophies['traveller']==1", "10_anims/trophy_traveller_1.png",
    "GAME.trophies['traveller']==2", "10_anims/trophy_traveller_2.png",
    "GAME.trophies['traveller']==3", "10_anims/trophy_traveller_3.png",
    "GAME.trophies['traveller']==4", "10_anims/trophy_traveller_4.png",
    "GAME.trophies['traveller']==5", "10_anims/trophy_traveller_5.png",
    "True", "10_anims/trophy_traveller_0.png"
)

image trophy_casanova_composite = LiveComposite(
    (311,358),
    (0,0), "trophy_casanova_smart", 
    (0,0), "trophy_casanova_label_smart" 
)
image trophy_casanova_label_smart = ConditionSwitch(
    "GAME.trophyActive['casanova']==False", "05_gui/px_1x1_empty.png",
    "True", "10_anims/trophy_casanova_label.png"
)
image trophy_casanova_smart = ConditionSwitch(
    "GAME.trophyActive['casanova']==False", "05_gui/px_1x1_empty.png",
    "GAME.trophies['casanova']==1", "10_anims/trophy_casanova_1.png",
    "GAME.trophies['casanova']==2", "10_anims/trophy_casanova_2.png",
    "GAME.trophies['casanova']==3", "10_anims/trophy_casanova_3.png",
    "GAME.trophies['casanova']==4", "10_anims/trophy_casanova_4.png",
    "GAME.trophies['casanova']==5", "10_anims/trophy_casanova_5.png",
    "True", "10_anims/trophy_casanova_0.png"
)

image trophy_trainer_composite = LiveComposite(
    (282,285),
    (0,0), "trophy_trainer_smart", 
    (0,0), "trophy_trainer_label_smart" 
)
image trophy_trainer_label_smart = ConditionSwitch(
    "GAME.trophyActive['trainer']==False", "05_gui/px_1x1_empty.png",
    "True", "10_anims/trophy_trainer_label.png"
)
image trophy_trainer_smart = ConditionSwitch(
    "GAME.trophyActive['trainer']==False", "05_gui/px_1x1_empty.png",
    "GAME.trophies['trainer']==1", "10_anims/trophy_trainer_1.png",
    "GAME.trophies['trainer']==1", "10_anims/trophy_trainer_2.png",
    "GAME.trophies['trainer']==1", "10_anims/trophy_trainer_3.png",
    "GAME.trophies['trainer']==1", "10_anims/trophy_trainer_4.png",
    "GAME.trophies['trainer']==1", "10_anims/trophy_trainer_5.png",
    "True", "10_anims/trophy_trainer_0.png"
)

image trophy_pharaoh_composite = LiveComposite(
    (483,554),
    (0,0), "trophy_pharaoh_smart", 
    (0,0), "trophy_pharaoh_label_smart" 
)
image trophy_pharaoh_label_smart = ConditionSwitch(
    "GAME.trophyActive['pharaoh']==False", "05_gui/px_1x1_empty.png",
    "True", "10_anims/trophy_pharaoh_label.png"
)
image trophy_pharaoh_smart = ConditionSwitch(
    "GAME.trophyActive['pharaoh']==False", "05_gui/px_1x1_empty.png",
    "GAME.trophies['pharaoh']==1", "10_anims/trophy_pharaoh_1.png",
    "GAME.trophies['pharaoh']==2", "10_anims/trophy_pharaoh_2.png",
    "GAME.trophies['pharaoh']==3", "10_anims/trophy_pharaoh_3.png",
    "GAME.trophies['pharaoh']==4", "10_anims/trophy_pharaoh_4.png",
    "GAME.trophies['pharaoh']==5", "10_anims/trophy_pharaoh_5.png",
    "True", "10_anims/trophy_pharaoh_0.png"
)

image trophy_admiral_composite = LiveComposite(
    (372,358),
    (0,0), "trophy_admiral_smart", 
    (0,0), "trophy_admiral_label_smart" 
)
image trophy_admiral_label_smart = ConditionSwitch(
    "GAME.trophyActive['admiral']==False", "05_gui/px_1x1_empty.png",
    "True", "10_anims/trophy_admiral_label.png"
)
image trophy_admiral_smart = ConditionSwitch(
    "GAME.trophyActive['admiral']==False", "05_gui/px_1x1_empty.png",
    "GAME.trophies['admiral']==1", "10_anims/trophy_admiral_1.png",
    "GAME.trophies['admiral']==2", "10_anims/trophy_admiral_2.png",
    "GAME.trophies['admiral']==3", "10_anims/trophy_admiral_3.png",
    "GAME.trophies['admiral']==4", "10_anims/trophy_admiral_4.png",
    "GAME.trophies['admiral']==5", "10_anims/trophy_admiral_5.png",
    "True", "10_anims/trophy_admiral_0.png"
)
# ===== CR-0778 END


image room_tenaris_hangar_smart = ConditionSwitch(
    "True", "02_locations/room_LOCTenarisHangar.png"
)
image room_tenaris_warehouse_smart = ConditionSwitch(
    "True", "02_locations/room_LOCTenarisWarehouse.png"
)








#####################################################################
#                RENPY
#####################################################################

label init_rooms():
    python:

        #####################################################################
        #                LOCATIONS
        #####################################################################
        locData = [
            ["LOCSpace", "LS", "Space Nav", [], "room_bridge_smart",[],{"ambient": "ambient_softdrone.mp3"}], # dummy location during space travel

            #####################################################################
            #              BEACONS
            #####################################################################
            # Waystation
            ["LOCWayControlRoom", "WA", "Waystation Control", [], "room_way_control_smart",[],{"ambient": "ambient_softdrone.mp3"}],
            ["LOCWayDock", "WD", "Waystation Control", [], "room_way_dock_smart",[],{"ambient": "ambient_dock.mp3"}],

            # Stars
            ["LOCBeaconStars", "ST", "Control Room", [], "room_beacon_stars_smart",[],{"ambient": "ambient_softdrone.mp3", "screens": []}],
            ["LOCLandingStars", "LP", "Landing Pad", [], "room_landing_stars_smart",[],{"ambient": "ambient_dock.mp3"}],

            # Assembly
            ["LOCBeaconAssembly", "AS", "Control Room", [], "room_beacon_assembly_smart",[],{"ambient": "ambient_softdrone.mp3", "screens": []}],
            ["LOCLandingAssembly", "LP", "Landing Pad", [], "room_landing_assembly_smart",[],{"ambient": "ambient_dock.mp3"}],


            # Automatons
            ["LOCBeaconAutomatons", "AT", "Control Room", [], "room_beacon_automatons_smart",[],{"ambient": "ambient_softdrone.mp3", "screens": []}],
            ["LOCLandingAutomatons", "LP", "Landing Pad", [], "room_landing_automatons_smart",[],{"ambient": "ambient_dock.mp3"}],

            # Elements
            ["LOCBeaconElements", "EL", "Elements Control Room", [], "room_beacon_elements_smart",[],{"ambient": "ambient_softdrone.mp3", "screens": []}],
            ["LOCLandingElements", "LP", "Landing Pad", [], "room_landing_elements_smart",[],{"ambient": "ambient_dock.mp3"}],

            #####################################################################
            #                ONBOARD
            #####################################################################

            ["LOCBridge", "BR", "Bridge", ["LOCHallway1"], "room_bridge_smart",[],{"ambient": "ambient_softdrone.mp3"}],

            ["LOCTurbo", "TL", "Turbolift", ["LOCHallway1"], "room_dummy_smart",[],{}],

            ["LOCHallway1", "H1", "Hallway 1", [], "room_hallway1_smart",[],{}],

            ["LOCCaptain", "CC", "Captain's Cabin", ["LOCHallway1"], "room_captain_smart",[],{}],
            ["LOCNav", "CN", "Navigator's Cabin", ["LOCHallway1"], "room_nav_smart",[],{}],

            ["LOCHallwayLower1", "L1", "Lower Hallway 1", [], "room_hallway_lower1_smart",[],{}],
            ["LOCCrew1", "C1", "Crew Cabin 1", [], "room_crew1_smart",[],{}],
            ["LOCCrew2", "C2", "Crew Cabin 2", [], "room_crew2_smart",[],{}],
            ["LOCLab", "LA", "Lab", [], "room_lab_smart",[],{}],
            ["LOCHolo", "HD", "Holo Deck", [], "room_holo_smart",[],{}],
         
            ["LOCHallwayLower2", "L2", "Lower Hallway 2", [], "room_hallway_lower2_smart",[],{}],
            ["LOCMessRoom", "MR", "Mess Room", [], "room_mess_room_smart",[],{}],
            ["LOCMedBay", "MB", "Med Bay", [], "room_medbay_smart",[],{}],
            ["LOCAux1", "A1", "Auxiliary 1", [], "room_aux1_smart",[],{}],

            ["LOCHallway2", "H2", "Hallway 2", [], "room_hallway2_smart",[],{}],
            ["LOCGuest1", "G1", "Guest Cabin 1", ["LOCHallway2"], "room_guest1_smart",[],{}],
            ["LOCGuest2", "G2", "Guest Cabin 2", ["LOCHallway2"], "room_guest2_smart",[],{}],
            ["LOCCorridorL2", "CO", "Corridor", [], "room_corridor_smart",[],{"ambient": "ambient_cargo.mp3"}],
            ["LOCMaintenance", "MA", "Maintenance", [], "room_maintenance",[],{"ambient": "dark.wav"}],

            ["LOCEngine", "EN", "Engine Room", [], "room_engine_smart",[],{"ambient": "ambient_engine2.mp3"}],
            ["LOCCargo", "CA", "Cargo Bay", [], "room_cargo_smart",[],{"ambient": "ambient_cargo.mp3"}],
            ["LOCCargoB", "CB", "Cargo Bay B", [], "room_cargo_b_smart",[],{"ambient": "ambient_cargo.mp3"}],

            ["LOCCubicles", "TC", "Training Cubicles", [], "room_cubicles_smart",[],{}],

            ["LOCDummy", "DU", "Dummy Location", [], "room_dummy_smart",[],{}],
            ["LOCAirlock", "AL", "Airlock", [], "room_dummy_smart",[],{}],
            ["LOCShip", "SH", "Ship", [], "room_dummy_smart",[],{}],

            #####################################################################
            #                ILTARI STATION
            #####################################################################

            ["LOCIltariStationDA", "SD", "Space Dock", [], "room_dock_smart",[],{"ambient": "ambient_dock.mp3"}],
            ["LOCIltariStationBR", "IB", "Iltari Brothel", [], "room_iltari_brothel_smart",[],{}],
            ["LOCIltariStationSB", "IT", "Iltari Space Bar", [], "room_iltari_tavern_smart",[], 
                {"ambient": "sjx_custom_spacebar.mp3" }],
            ["LOCIltariStationED", "IE", "Entertainment District", [], "room_iltari_entertain_smart",[],{"ambient": "ambient_streets.mp3"}],
            

            #####################################################################
            #                PIRATE HIDEOUT
            #####################################################################

            ["LOCPirateDock", "SD", "Space Dock", [], "room_pirate_dock",[],{"ambient": "ambient_dock.mp3"}],
            ["LOCPirateCantina", "CA", "Cantina", [], "room_pirate_cantina",[],{"ambient": "sjx_custom_cantina.mp3" } ],

            #####################################################################
            #              XENOS
            #####################################################################

            ["LOCXenosDock", "SD", "Space Dock", [], "room_xenos_dock_smart",[],{"ambient": "ambient_dock.mp3"}],

            #####################################################################
            #                ARELLARTI STATION / DOME
            #####################################################################

            ["LOCArellartiStationDA", "SD", "Arellarti Dock", [], "room_arellarti_dock_smart",[],{"ambient": "ambient_dock.mp3"}],
            ["LOCArellartiStationPL", "PL", "Station Plaza", [], "room_arellarti_plaza_smart",[],{"ambient": "ambient_streets.mp3"}],
            ["LOCArellartiStationPS", "PL", "Station Petshop", [], "room_arellarti_petshop_smart",[],{"ambient": "ambient_streets.mp3"}],

            ["LOCArellartiAdmin", "AA", "Arellarti Station Admin", [], "room_arellarti_admin_smart",[],{"ambient": "ambient_cargo.mp3"}],
            ["LOCArellartiPetOffice", "PO", "Arellarti Pet Office", [], "room_arellarti_petoffice_smart",[],{"ambient": "ambient_cargo.mp3"}],

            ["LOCArellartiDomeDA", "SD", "Dome Dock", [], "room_arellarti_dome_dock_smart",[],{"ambient": "ambient_dock.mp3"}],
            ["LOCArellartiDomePL", "PD", "Dome Plaza", [], "room_arellarti_dome_plaza_smart",[],{"ambient": "ambient_streets.mp3"}],



            #####################################################################
            #                HOLODECK
            #####################################################################
            ["LOCHoloCastle", "HC", "Holodeck Castle", [], "room_holo_castle_smart",[],{"ambient": "ambient_medieval_low.mp3"}],                         

            ["LOCHoloBlank", "HL", "Holodeck Loader", [], "room_holo_blank_smart",[],{"ambient": "ambient_cargo.mp3"}],

            #####################################################################
            #              TENARIS BASE
            #####################################################################

            ["LOCTenarisEntrance", "EN", "Entrance Hall", [], "room_tenaris_entrance_smart",[],{"ambient": "orchestral_strings.mp3"}],
            ["LOCTenarisHangar", "HA", "Hangar", [], "room_tenaris_hangar_smart",[],{"ambient": "ambient_hangar.mp3"}],
            ["LOCTenarisWarehouse", "WA", "Warehouse", [], "room_tenaris_warehouse_smart",[],{"ambient": "ambient_cargo.mp3"}]

        ]
        for i in locData:
            GAME.locs[i[0]] = Location(i[0],i[1],i[2], i[3], i[4], i[5], i[6])
        #GAME.locs["LOCIltariStationSB"].attr["dancers"] = {20: "leila", 15: "ylyee"}


        #####################################################################
        #                ACTIVE ELEM
        #####################################################################
        elemData  = [
            #["AEDummy", "Dummy Interaction", [0,0], "LOCEngine", "True", ["hidden"]],
            #####################################################################
            #                CHORES
            #####################################################################

            ["AEEngineRepairDucts", "Duct Maintenance", [630,0], "LOCEngine", "GAME.questSys.inProgress('QID_TSK_DUCTS_ENGINE') and 'QID_TSK_DUCTS_ENGINE' not in GAME.mc.doneToday", []],

            ["AEH1RepairPlating", "Plating Repair", [601,785], "LOCHallway1", "GAME.questSys.inProgress('QID_TSK_FLOOR_H1') and 'QID_TSK_FLOOR_H1' not in GAME.mc.doneToday", []],

            ["AEH1RepairPlating_2", "Plating Repair", [988,730], "LOCHallway1", "GAME.questSys.inProgress('QID_TSK_FLOOR_H1_2') and 'QID_TSK_FLOOR_H1_2' not in GAME.mc.doneToday", []],

            ["AEH2RepairTerminal", "Terminal Repair", [1437,409], "LOCHallway2", "GAME.questSys.inProgress('QID_TSK_TERMINAL_H2') and 'QID_TSK_TERMINAL_H2' not in GAME.mc.doneToday", []],


            ["AERepCargo1", "Repair Spot", [582,646], "LOCCargo", "'AERepCargo1' in GAME.repQueue", []],
            ["AERepCargo2", "Repair Spot", [1345,156], "LOCCargo", "'AERepCargo2' in GAME.repQueue", []],
            ["AERepCargo3", "Repair Spot", [1439,521], "LOCCargo", "'AERepCargo3' in GAME.repQueue", []],
            ["AERepEngine1", "Repair Spot", [598,359], "LOCEngine", "'AERepEngine1' in GAME.repQueue", []],
            ["AERepEngine2", "Repair Spot", [1622,193], "LOCEngine", "'AERepEngine2' in GAME.repQueue", []],
            ["AERepHallOne1", "Repair Spot", [408,399], "LOCHallway1", "'AERepHallOne1' in GAME.repQueue", []],
            ["AERepHallOne2", "Repair Spot", [928,472], "LOCHallway1", "'AERepHallOne2' in GAME.repQueue", []],
            ["AERepHallTwo1", "Repair Spot", [1438,330], "LOCHallway2", "'AERepHallTwo1' in GAME.repQueue", []],
            #####################################################################
            #              MESS ROOM
            #####################################################################
            ["AEMessReplicator", "Replicator Unit", [1618,283], "LOCMessRoom", "True", []],
            ["AEMessPole", "Pole Dancing Stage", [0,0], "LOCMessRoom", "True", []],
            ["AEMessSpriteTris", "Tris", [506,506], "LOCMessRoom", "tris.isHere() and 'intro_mess' in bb_2.done", ["ACTTRIS", "sprite"]],
            ["AEMessSpriteVerity", "Verity", [737,425], "LOCMessRoom", "'invited' in verity.doneToday and GAME.getSpaceLoc().ID == 'LIDStationIltari' and GAME.ship.status =='docked' and 'verity_met' not in GAME.mc.doneToday and GAME.hour >= 20", ["ACTVTY", "sprite"]],

            #####################################################################
            #              MED BAY & AUX1
            #####################################################################
            ["AEMedSpriteMoira", "Dr. Moira", [714,333], "LOCMedBay", "moira.isHere() and moira.getActivity()=='stand_med'", ["ACTMOIRA", "sprite"]],

            ["AEAux1Nightstand", "Nightstand", [1269,698], "LOCAux1", "GAME.questSys.isDone('QID_MAIN_SWARMPICKUP')", []],
            ["AEAux1SpriteYlyeeStand", "Ylyee", [601,190], "LOCAux1", "ylyee.isHere() and ylyee.getActivity()=='stand'", ["ACTYLYEE", "sprite"]],
            #####################################################################
            #                HOLO CASTLE
            #####################################################################
            ["AEHoloCastlePillar", "Holodeck Pillar", [1476,0], "LOCHoloCastle", "'holo_repaired' in khelara.done", []],
            ["AEHoloCastleVeeStand", "Vee", [1102,306], "LOCHoloCastle", "vee.isHere()", ["ACTVEE", "sprite"]],
            ["AEHoloCastleSeraphineSit", "Princess Seraphine", [611,395], "LOCHoloCastle", "seraphine.isHere()", ["ACTSER", "sprite"]],
            

            #####################################################################
            #                HOLO BLANK
            #####################################################################
            ["AEHoloBlankPillar", "Holodeck Pillar", [1476,0], "LOCHoloBlank", "'holo_repaired' in khelara.done", []],

            #####################################################################
            #                HOLO ROOM
            #####################################################################
            ["AEHoloRoomPillar", "Holodeck Pillar", [1476,0], "LOCHolo", "'holo_repaired' in khelara.done", []],

            ["AEHoloTerminal", "Holodeck Maintenance", [1543,435], "LOCHolo", "'holo_repaired' not in khelara.done", []],
            ["AEHoloProjector", "Isomorphic Projector", [1106,372], "LOCHolo", "True", []],

            #####################################################################
            #                LAB
            #####################################################################
            ["AELabSpriteNimheStand", "Nimhe", [0,0], "LOCLab", "nimhe.isHere() and nimhe.getActivity()=='lab_stand' and 'lab_seen' in nimhe.done", ["ACTNIMHE", "sprite"]],
            ["AELabSpriteV", "Vee", [956,270], "LOCLab", "vee.isHere() and vee.getActivity()=='lab_stand'", ["ACTVEE", "sprite"]],
            ["AELabTerminal", "Bot Management", [1207,578], "LOCLab", "GAME.questSys.isDone('QID_BOT_FIRST')", []],
            ["AELabBot", "Bot Configurator", [152,71], "LOCLab", "True", []],
            ["AELabStorage", "Lab Storage", [1405,386], "LOCLab", "True", []],

            #####################################################################
            #                ENGINE ROOM
            #####################################################################

            ["AEEngineTerminal", "Engine Controls", [1289,483], "LOCEngine", "'reactor activated' in GAME.mc.done", []],
            ["AEPoster001", "Poster", [1434,178], "LOCEngine", "'ITMPoster001' in GAME.locs['LOCEngine'].tags", []],
            ["AEEngineCrate", "Crates", [1640,645], "LOCEngine", "GAME.questSys.isActive('QID_INTRO_FINDMODULE')", []],
            ["AEEngineDoor", "Exit", [0,81], "LOCEngine", "GAME.questSys.isActive('QID_INTRO_WRISTBAND')", []],
            ["AEEngineButton", "Engine Switch", [1415,562], "LOCEngine", "True", []],
            ["AEEngineSpriteKhelaraStand", "Khelara", [0,0], "LOCEngine", "khelara.isHere() and khelara.getActivity()=='stand_engine'", ["ACTKHELARA", "sprite"]],


            #####################################################################
            #                CARGO BAY
            #####################################################################
            ["AECargoTerminal", "Manage Cargo", [658,436], "LOCCargo", "'intro trade cargo' in GAME.mc.done", []],
            ["AECargoSign", "Cargo Section B Access", [1729,391], "LOCCargo", "GAME.questSys.isDone('QID_MAIN_ANOMALY')", []],
            ["AECargoHatch", "Jefferson Tubes", [1129,25], "LOCCargo", "True", []],
            ["AECargoDoor", "Hallway Two Access", [0,170], "LOCCargo", "True", []],

            ["AEMilker", "Milking Machine", [244,508], "LOCCargoB", "GAME.questSys.isDone('QID_MOIRA_SUB_PET_INSPECT')", []],


            ["AEAwaken", "Mysterious Container", [0,0], "InteractiveScene", "True", []],


            #####################################################################
            #                HALLWAY ONE
            #####################################################################
            ["AEH1Bridge", "Bridge Access", [993,283], "LOCHallway1", "True", []],
            ["AEH1Turbo", "Turbolift Access", [495,294], "LOCHallway1", "True", []],
            ["AEH1Captain", "Captain's Cabin", [6,57], "LOCHallway1", "True", []],
            ["AEH1Nav", "Navigator's Cabin", [1541,67], "LOCHallway1", "True", []],

            #####################################################################
            #                HALLWAY TWO
            #####################################################################
            ["AEH2DoorLarge", "Hallway One Access", [434,201], "LOCHallway2", "True", []],
            ["AEH2Guest1", "Guest Cabin One", [6,57], "LOCHallway2", "True", []],
            ["AEH2Guest2", "Guest Cabin Two", [1541,97], "LOCHallway2", "True", []],

            #####################################################################
            #                LOWER HALLWAY ONE
            #####################################################################
            ["AEL1DoorLab", "Lab Access", [993,283], "LOCHallwayLower1", "True", []],
            ["AEL1Cam", "Security Cam", [363,115], "LOCHallwayLower1", "True", []],
            ["AEL1DoorHolo", "Holodeck Access", [495,294], "LOCHallwayLower1", "True", []],
            ["AEL1DoorCrew1", "Crew Cabin 1", [6,57], "LOCHallwayLower1", "True", []],
            ["AEL1DoorCrew2", "Crew Cabin 2", [1528,80], "LOCHallwayLower1", "True", []],

            #####################################################################
            #               LEVEL2 HALLWAY ONE
            #####################################################################
            ["AEL2DoorMessRoom", "Mess Room", [495,294], "LOCHallwayLower2", "True", []],
            ["AEL2DoorMed", "Med Bay", [1474,36], "LOCHallwayLower2", "True", []],
            ["AEL2DoorAux1", "Auxiliary 1", [0,50], "LOCHallwayLower2", "True", []],

            #####################################################################
            #                LOWER CORRIDOR
            #####################################################################
            ["AECorridorTerminal", "Access Panel", [238,380], "LOCCorridorL2", "True", []],
            ["AECorridorDoor", "Maintenance Access", [546,191], "LOCCorridorL2", "'nanites_removed' in GAME.mc.done", []],

            #####################################################################
            #                BRIDGE
            #####################################################################
            ["AEBridgeChair", "Out Into Space", [295,356], "LOCBridge", "True", []],
            ["AEBridgeSpriteTrisStand", "T'Ris", [0,0], "LOCBridge", "tris.getActivity()=='bridge wait' and tris.isHere()", ["ACTTRIS", "sprite"]],
            ["AEBridgeSpriteVStand", "Vee", [844,209], "LOCBridge", "vee.getActivity()=='bridge_stand' and vee.isHere()", ["ACTVEE", "sprite"]],

            #####################################################################
            #                CAPTAIN'S CABIN
            #####################################################################
            ["AECaptainBed", "Go To Sleep", [887,529], "LOCCaptain", "GAME.questSys.isDone('QID_INTRO_COMMAND')", []],
            ["AECaptainSpriteTypeJ", "Personal Bot", [0,0], "LOCCaptain", "'type_j_acquired' in GAME.mc.done", ["ACTTYPEJ","sprite"]],
            ["AECaptainCabinet", "Search", [1833,64], "LOCCaptain", "True", []],
            ["AECaptainComputer", "Use Computer", [327,353], "LOCCaptain", "GAME.questSys.isDone('QID_INTRO_COMMAND')", [1]],
            ["AECaptainCup", "Use Cup", [781,510], "LOCCaptain", "True", []],
            ["AECaptainBox", "Delivery", [758,751], "LOCCaptain", "'delivery' in GAME.locs['LOCCaptain'].tags", []],

            #####################################################################
            #                NAV CABIN
            #####################################################################

        
            ["AENavSpriteTrisExercise", "T'Ris", [0,0], "LOCNav", "tris.getActivity()=='exercise' and tris.isHere()", ["ACTTRIS", "sprite"]],
            ["AENavSpriteTrisStand", "T'Ris", [0,0], "LOCNav", "tris.getActivity()=='stand' and tris.isHere()", ["ACTTRIS", "sprite"]],                

   
            #####################################################################
            #                GUEST1 CABIN
            #####################################################################

            ["AEPoster002", "Yutani Poster", [144,199], "LOCGuest1", "True", []],
            ["AEPoster003", "Ponygirl Mag Poster", [1663,180], "LOCGuest1", "True", []],
            ["AEGuestSpriteNimheSit", "Nimhe", [0,0], "LOCGuest1", "nimhe.isHere() and nimhe.getActivity()=='sit'", ["ACTNIMHE", "sprite"]],
            ["AEGuestCuffs", "Kinky Cuffs", [1344,894], "LOCGuest1", "'fun_reject' in GAME.mc.done and not nimhe.isHere() and not 'nimhe_cuff_rescue' in GAME.mc.done", []],
            ["AEGuestCabinet", "Cabinet", [1816,53], "LOCGuest1", "True", []],
            ["AEGuest1Plug", "Amplifier Plug", [1704,753], "LOCGuest1", "GAME.questSys.isDone('QID_VEE_INHIBITOR') and 'amplifier_talk' not in nimhe.done", []],

            #####################################################################
            #                GUEST2 CABIN
            #####################################################################

            ["AEGuestSpriteSeraphine", "Princess Seraphine", [0,0], "LOCGuest2", "seraphine.getActivity()=='stand' and seraphine.isHere()", ["ACTSERA", "sprite"]],

            #####################################################################
            #                CREW1 + 2 CABIN / KHELARA + MOIRA
            #####################################################################
            ["AECrew1SpriteKhelaraStand", "Khelara", [0,0], "LOCCrew1", "khelara.isHere() and khelara.getActivity()=='stand_crew1'", ["ACTKHELARA", "sprite"]],
            ["AECrew2SpriteMoira", "Dr. Moira", [507,270], "LOCCrew2", "moira.isHere() and moira.getActivity()=='stand_crew2'", ["ACTMOIRA", "sprite"]],
            #####################################################################
            #                MAINTENANCE (V)
            #####################################################################
            ["AEMaintSpriteVSit", "Vee", [656,227], "LOCMaintenance", "vee.getActivity()=='sit_charge' and vee.isHere()", ["ACTVEE", "sprite"]],

            #####################################################################
            #                ILTARI STATION
            #####################################################################
            ["AEStationShip", "Back To Ship", [1305,738], "LOCIltariStationDA", "True", []],
            ["AEStationAdmin", "Station Admin", [853,367], "LOCIltariStationDA", "'heard announcement mining' in GAME.mc.done", []],
            ["AEStationEntertainment", "Back To Ship", [331,333], "LOCIltariStationDA", "True", []],

            ["AEStationBrothel", "Brothel", [64,361], "LOCIltariStationED", "True", []],
            ["AEStationSpacebar", "Spacebar", [1660,438], "LOCIltariStationED", "True", []],
            ["AEStationSpriteNimheStreet", "Nimhe", [394,421], "LOCIltariStationED", "nimhe not in GAME.crew and GAME.hour == 22", ["sprite"]],

            ["AEStationGambling", "Gamble", [1604,415], "LOCIltariStationSB", "True", []],
            ["AEStationDancing", "Request Dancer", [93,617], "LOCIltariStationSB", "True", []],
            ["AEStationSpriteShady", "Shady Trader", [1146,503], "LOCIltariStationSB", "GAME.hour in range(18,24)", ["sprite"]],
            ["AEStationSpriteAudra", "Audra", [489,456], "LOCIltariStationSB", "GAME.hour in range(18,24) and GAME.mc.getTally('Slaves Rescued') and GAME.day%2 == 0 and 'tour_ship' not in audra.doneToday", ["ACTAUDRA", "sprite"]],
            ["AEStationSpriteBarkeeper", "Barkeeper", [797,488], "LOCIltariStationSB", "True", ["sprite"]],
            #####################################################################
            #              XENOS STATION
            #####################################################################
            ["AEXenosShipOwn", "Bumbling Bee", [1535,812], "LOCXenosDock", "True", []],
            ["AEXenosMarquee", "Marquee", [174,187], "LOCXenosDock", "True", []],

            #####################################################################
            #				PIRATE HIDEOUT			
            #####################################################################
            ["AEPirateCantina", "Cantina", [334,377], "LOCPirateDock", "True", []],
            ["AEPirateScrap", "Scrap Trader", [558,427], "LOCPirateDock", "True", []],
            ["AEPirateShipArms", "Arms Dealer", [838,514], "LOCPirateDock", "True", []],
            ["AEPirateShipOwn", "Bumbling Bee", [1425,576], "LOCPirateDock", "True", []],

            ["AEPirateCantinaKhelara", "Khelara", [450,366], "LOCPirateCantina", "'pirate_affiliate' in GAME.mc.done and khelara not in GAME.crew", ["sprite"]],
            ["AEPirateCantinaVigo", "Vigo", [783,316], "LOCPirateCantina", "True", ["sprite"]],
            ["AEPirateCantinaTeri", "Khelara", [1078,312], "LOCPirateCantina", "True", ["sprite"]],
            ["AEPirateCantinaKrogneath", "Krogneath", [1314,388], "LOCPirateCantina", "GAME.hour in [18,19,20,21,22]", ["sprite"]],

            #####################################################################
            #				ARELLARTI STATION	
            #####################################################################
            ["AEArellartiStationGate", "Station Gate", [1503, 379], "LOCArellartiStationDA", "True", []],            
            ["AEArellartiStationShip", "Back To Ship", [849,391], "LOCArellartiStationDA", "True", []],

            ["AEArellartiPlazaPetOwner", "Station Plaza", [223, 513],             "LOCArellartiStationPL", "True", ["sprite"]],   
            ["AEArellartiPlazaPetshop", "Pet Store", [1424, 493], 
            "LOCArellartiStationPL", "True", ["sprite"]], 

            ["AEArellartiPetshopPet1", "Sales Pet", [1372, 188], 
            "LOCArellartiStationPS", "True", ["sprite"]], 
            # ["AEArellartiPetshopPet2", "Sales Pet", [430, 171], 
            # "LOCArellartiStationPS", "GAME.hour in range(9,13)", ["sprite"]], 


            ["AEArellartiStationAdmin", "Station Admin", [0, 97], "LOCArellartiStationDA", "True", []],                                
            ["AESpriteArellartiAdminReception", "Reception Pet", [415, 345],            "LOCArellartiAdmin", "True", ["sprite"]],   
            ["AESpriteArellartiAdminOrlok", "Sub-Administrator Orlok", [778, 360], "LOCArellartiPetOffice", "True", ["sprite"]],   


            ["AEArellartiDomeGate", "Dome Gate", [1188, 108], "LOCArellartiDomeDA", "True", []],            
            ["AEArellartiDomeShip", "Back To Ship", [481,296], "LOCArellartiDomeDA", "True", []],

            # Dome Plaza
            ["AEArellartiDomePlazaShady", "Shady", [941, 400], "LOCArellartiDomePL", "GAME.day%5 == 0", ["sprite"]],            
            ["AEArellartiDomePlazaShadyKrell", "ShadyKrell", [1016, 436], "LOCArellartiDomePL", "True", ["sprite"]], 
            ["AEArellartiDomePlazaPonyTrainer", "Pony Trainer", [1227, 426], "LOCArellartiDomePL", "True", ["sprite"]],            
            ["AEArellartiDomePlazaPetKrell2", "Pet Owner", [495, 340], "LOCArellartiDomePL", "GAME.hour in range(12,19)", ["sprite"]],            
            ["AEArellartiDomePlazaPetKrell1", "Pet Owner", [0, 215], "LOCArellartiDomePL", "GAME.hour in range(9,14)", ["sprite"]],            
            ["AEArellartiDomePlazaPetKrell1Pet", "Valkoran Pet", [1450, 493], "LOCArellartiDomePL", "GAME.hour in range(9,14)", ["sprite"]],            
            ["AEArellartiDomePlazaBookie", "Dome Bookie", [577, 225], "LOCArellartiDomePL", "True", []],  

            #####################################################################
            #				HOLODECK	
            #####################################################################
           

            #####################################################################
            #              TENARIS BASE
            #####################################################################
            ["AETrophyScholar", "Scholar", [55,696], "LOCTenarisEntrance", "True", []],
            ["AETrophyCasanova", "Casanova", [477,618], "LOCTenarisEntrance", "True", []],
            ["AETrophyTrainer", "Trainer", [687,610], "LOCTenarisEntrance", "True", []],
            ["AETrophyPharaoh", "Pharaoh", [1049,610], "LOCTenarisEntrance", "True", []],
            ["AETrophyAdmiral", "Admiral", [1276,618], "LOCTenarisEntrance", "True", []],
            ["AETrophyTraveller", "Traveller", [1640,696], "LOCTenarisEntrance", "True", []],
            ["AETenarisWarehouseTerminal", "Warehouse Terminal", [323, 572], "LOCTenarisWarehouse", "True", []],
            ["AETenarisHangarDrone", "Logistics Drone", [332, 507], "LOCTenarisHangar", "True", []], 
            ["AEEntranceDoor", "Living Quarters", [837, 355], "LOCTenarisEntrance", "True", []],

            #####################################################################
            #              WAYSTATION xxx
            #####################################################################
            ["AEWayDockShip", "Control Button", [680, 485], "LOCWayDock", "True", []],
            ["AEWayDockDoor", "Control Button", [436, 519], "LOCWayDock", "True", []],
            ["AEWaySpriteVConsole", "Vee", [291, 398], "LOCWayControlRoom", "vee.isAt()=='LOCWayControlRoom'", ["sprite"]],
            ["AEWayCtrlButton", "Control Button", [551, 629], "LOCWayControlRoom", "True", []],



            #####################################################################
            #              BEACON OF STARS
            #####################################################################
            ["AEBeaconStarsLandingDoor", "Beacon Door", [850, 463], "LOCLandingStars", "True", []],
            ["AEBeaconStarsLandingShip", "Ship", [1072, 497], "LOCLandingStars", "True", []],

            ["AEBeaconStaCtrlHints", "Defunct Panel", [1579, 588], "LOCBeaconStars", "'activated' in GAME.locs['LOCBeaconStars'].tags", []],
            
            ["AEBeaconStaCtrlTerm", "Element Terminal", [138, 540], "LOCBeaconStars", "'activated' in GAME.locs['LOCBeaconStars'].tags", []],

            ["AEBeaconStaCtrlButton", "Terminal Button", [340, 616], "LOCBeaconStars", "True", []],

            #####################################################################
            #              BEACON OF ASSEMBLY
            #####################################################################
            ["AEBeaconAsmLandingDoor", "Beacon Door", [850, 463], "LOCLandingAssembly", "True", []],
            ["AEBeaconAsmLandingShip", "Ship", [1072, 497], "LOCLandingAssembly", "True", []],
            ["AEBeaconAsmCtrlTerm", "Element Terminal", [138, 540], "LOCBeaconAssembly", "'activated' in GAME.locs['LOCBeaconAssembly'].tags", []],
            ["AEBeaconAsmCtrlButton", "Terminal Button", [340, 616], "LOCBeaconAssembly", "True", []],
            ["AEBeaconAsmCtrlCrate", "Storage Crate", [1507, 631], "LOCBeaconAssembly", "'activated' in GAME.locs['LOCBeaconAssembly'].tags", []],

            #####################################################################
            #              BEACON OF AUTOMATONS
            #####################################################################
            ["AEBeaconAutLandingDoor", "Beacon Door", [850, 463], "LOCLandingAutomatons", "True", []],
            ["AEBeaconAutLandingShip", "Ship", [1072, 497], "LOCLandingAutomatons", "True", []],

            ["AEBeaconAutCtrlHints", "Defunct Panel", [1579, 588], "LOCBeaconAutomatons", "'activated' in GAME.locs['LOCBeaconAutomatons'].tags", []],
            ["AEBeaconAutCtrlTerm", "Element Terminal", [138, 540], "LOCBeaconAutomatons", "'activated' in GAME.locs['LOCBeaconAutomatons'].tags", []],
            ["AEBeaconAutCtrlButton", "Terminal Button", [340, 616], "LOCBeaconAutomatons", "True", []],

            #####################################################################
            #              BEACON OF ELEMENTS
            #####################################################################
            ["AEBeaconEleLandingDoor", "Beacon Door", [850, 463], "LOCLandingElements", "True", []],

            ["AEBeaconEleLandingShip", "Ship", [1072, 497], "LOCLandingElements", "True", []],


            ["AEBeaconEleCtrlHints", "Defunct Panel", [1579, 588], "LOCBeaconElements", "'activated' in GAME.locs['LOCBeaconElements'].tags", []],

            ["AEBeaconEleCtrlTerm", "Element Terminal", [138, 540], "LOCBeaconElements", "'activated' in GAME.locs['LOCBeaconElements'].tags", []],

            ["AEBeaconEleCtrlButton", "Terminal Button", [340, 616], "LOCBeaconElements", "True", []]

        ]

        for i in elemData:
            GAME.aElem[i[0]] = ActiveElem(i[0],i[1],i[2], i[3], i[4], i[5])

        #####################################################################
        #                SHIP
        #####################################################################

        # Subsystems # ITEMID, Path1, Path 2, Path 3, Addons 
        subSys = {}
        subSys["engines"] = ["ITMEngineMkI", [1,0,0,1],[0,0,0,0], [0,0,0,0], [0,0,0,0,0,0,0]]
        subSys["shields"] = [False, [0,0,0,0],[0,0,0,0], [0,0,0,0], [0,0,0,0,0,0,0]]
        subSys["weapons"] = [False, [0,0,0,0],[0,0,0,0], [0,0,0,0], [0,0,0,0,0,0,0]]
        subSys["launcher"] = [False, [0,0,0,0],[0,0,0,0], [0,0,0,0], [0,0,0,0,0,0,0]]
        subSys["mining"] = [False, [0,0,0,0],[0,0,0,0], [0,0,0,0], [0,0,0,0,0,0,0]]
        subSys["cargo"] = [False, [0,0,0,0],[0,0,0,0], [0,0,0,0], [0,0,0,0,0,0,0]]
        subSys["uplink"] = [False, [0,0,0,0],[0,0,0,0], [0,0,0,0], [0,0,0,0,0,0,0]]
        subSys["hyperdrive"] = [False, [0,0,0,0],[0,0,0,0], [0,0,0,0], [0,0,0,0,0,0,0]]


        GAME.ship = Ship("SIDBumblingBee", "Bumbling Bee", [])
        GAME.ship.subSys = subSys

        GAME.navTiles = {}
        GAME.navTileData = {}


        #####################################################################
        #                MINIMAPS NEW
        #####################################################################

        #####################################################################
        #					MINIMAP SHIP UPPER		
        #####################################################################
        miniMap = MiniMap("MMIDShip", "Bumbling Bee", "LIDShip" , True)
        cellData = [
            [ 0,1, "BR", "Bridge", "LOCBridge", "loc", {}, [] ],
            [ 1,0, "CC", "Captain's Cabin", "LOCCaptain", "loc", {}, [] ],
            [ 0,0, "TL", "Turbolift", "LOCTurbo", "turbolift", {"linksTo": ["MMIDShipLower", "LOCHallwayLower1"]}, [] ],
            [ 1,1, "H1", "Deck 1 Hallway 1", "LOCHallway1", "loc", {}, [] ],
            [ 1,2, "NC", "Navigator Cabin", "LOCNav", "loc", {}, [] ],
            [ 2,0, "G1", "Guest Cabin One", "LOCGuest1", "loc", {}, [] ],
            [ 2,1, "H2", "Deck 1 Hallway 2", "LOCHallway2", "loc", {}, [] ],
            [ 2,2, "G2", "Guest Cabin Two", "LOCGuest2", "loc", {}, [] ],
            [ 3,0, "EN", "Engine Room", "LOCEngine", "loc", {}, [] ],
            [ 3,1, "CA", "Cargo Bay", "LOCCargo", "loc", {}, [] ],
            [ 3,2, "CB", "Cargo Section B", "LOCCargoB", "loc", {}, [] ],
            [ 4,1, "AL", "AirLock", "LOCAirlock", "airlock", {}, [] ]
        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap
        GAME.miniMapActive = miniMap # starting point

        #####################################################################
        #					MINIMAP SHIP LOWER		
        #####################################################################
        miniMap = MiniMap("MMIDShipLower", "Bumbling Bee", "LIDShip" , True)
        cellData = [
            [ 0,0, "HD", "Holo Deck", "LOCHolo", "loc", {}, [] ],
            [ 0,2, "LA", "Lab", "LOCLab", "loc", {}, [] ],

            [ 1,0, "C1", "Crew Cabin One", "LOCCrew1", "loc", {}, [] ],
            [ 1,1, "H2", "Deck 2 Hallway", "LOCHallwayLower1", "loc", {}, [] ],
            [ 1,2, "C2", "Crew Cabin Two", "LOCCrew2", "loc", {}, [] ],

            [ 2,1, "TL", "Turbolift", "LOCTurbo", "turbolift", {"linksTo": ["MMIDShip", "LOCHallway1"]}, [] ],
            [ 3,1, "CO", "Corridor", "LOCCorridorL2", "loc", {}, [] ],
            [ 3,2, "MA", "Maintenance", "LOCMaintenance", "loc", {}, [] ]

        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap


        #####################################################################
        #					MINIMAP SHIP LOWER2		
        #####################################################################
        miniMap = MiniMap("MMIDShipLower2", "Bumbling Bee", "LIDShip" , True)
        cellData = [
            [ 0,0, "MR", "Mess Room", "LOCMessRoom", "loc", {}, [] ],
            #[ 0,2, "AR", "Armory", "LOCArmory", "loc", {}, [] ],
            [ 1,0, "A1", "Aux One", "LOCAux1", "loc", {}, [] ],
            [ 1,1, "H3", "Deck 3 Hallway", "LOCHallwayLower2", "loc", {}, [] ],
            [ 1,2, "MB", "Med Bay", "LOCMedBay", "loc", {}, [] ],

            [ 2,1, "TL", "Turbolift", "LOCTurbo", "turbolift", {"linksTo": ["MMIDShip", "LOCHallway1"]}, [] ],
            #[ 3,1, "CO", "Corridor", "LOCCorridorL2", "loc", {}, [] ],
            #[ 3,2, "MA", "Maintenance", "LOCMaintenance", "loc", {}, [] ]

        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MINIMAP WAYSTATION	
        #####################################################################
        miniMap = MiniMap("MMIDWaystation", "The Waystation", "LIDWaystation" , True)
        cellData = [
            [ 0,1, "W1", "Control Room", "LOCWayControlRoom", "loc", {}, [] ],
            [ 1,1, "WD", "Landing Dock", "LOCWayDock", "loc", {}, ["docking cell"] ],
            [ 2,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],

        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MINIMAP BEACON STARS	
        #####################################################################
        miniMap = MiniMap("MMIDBeaconStars", "Beacon Of Stars", "LIDBeaconStars" , True)
        cellData = [
            [ 0,1, "CR", "Control Room", "LOCBeaconStars", "loc", {}, [] ],
            [ 1,1, "LP", "Landing Pad", "LOCLandingStars", "loc", {}, ["docking cell"] ],
            [ 2,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],

        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MINIMAP BEACON ASSEMBLY		
        #####################################################################
        miniMap = MiniMap("MMIDBeaconAssembly", "Beacon Of Assembly", "LIDBeaconAssembly" , True)
        cellData = [
            [ 0,1, "CR", "Control Room", "LOCBeaconAssembly", "loc", {}, [] ],
            [ 1,1, "LP", "Landing Pad", "LOCLandingAssembly", "loc", {}, ["docking cell"] ],
            [ 2,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],

        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MINIMAP BEACON AUTOMATONS		
        #####################################################################
        miniMap = MiniMap("MMIDBeaconAutomatons", "Beacon Of Automatons", "LIDBeaconAutomatons" , True)
        cellData = [
            [ 0,1, "CR", "Control Room", "LOCBeaconAutomatons", "loc", {}, [] ],
            [ 1,1, "LP", "Landing Pad", "LOCLandingAutomatons", "loc", {}, ["docking cell"] ],
            [ 2,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],

        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MINIMAP BEACON ELEMENTS		
        #####################################################################
        miniMap = MiniMap("MMIDBeaconElements", "Beacon Of Elements", "LIDBeaconElements" , True)
        cellData = [
            [ 0,1, "CR", "Control Room", "LOCBeaconElements", "loc", {}, [] ],
            [ 1,1, "LP", "Landing Pad", "LOCLandingElements", "loc", {}, ["docking cell"] ],
            [ 2,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],

        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MINIMAP STATION ILTARI		
        #####################################################################
        miniMap = MiniMap("MMIDStationIltari", "Iltari Station", "LIDStationIltari" , True)
        cellData = [
            [ 0,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],
            [ 1,1, "SD", "Space Dock", "LOCIltariStationDA", "loc", {}, ["docking cell"] ],
            [ 2,0, "SB", "Space Bar", "LOCIltariStationSB", "loc", {}, [] ],
            [ 2,1, "ED", "Entertainment District", "LOCIltariStationED", "loc", {}, [] ],
            [ 2,2, "SB", "Brothel", "LOCIltariStationBR", "loc", {}, [] ]

        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MINIMAP PIRATE HIDEOUT		
        #####################################################################
        miniMap = MiniMap("MMIDPirateHideout", "Pirate Hideout", "LIDPirate" , True)
        cellData = [
            [ 0,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],
            [ 1,1, "SD", "Space Dock", "LOCPirateDock", "loc", {}, ["docking cell"] ],
            [ 2,1, "CA", "Cantina", "LOCPirateCantina", "loc", {}, [] ]

        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MINIMAP XENOS STATION		
        #####################################################################
        miniMap = MiniMap("MMIDStationXenos", "Xenos Station", "LIDStationXenos" , True)
        cellData = [
            [ 0,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],
            [ 1,1, "SD", "Space Dock", "LOCXenosDock", "loc", {}, ["docking cell"] ]       
        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap


        #####################################################################
        #					MINIMAP ARELLARTI STATION		
        #####################################################################
        miniMap = MiniMap("MMIDStationArellarti", "Arellarti Station", "LIDStationArellarti" , True)
        cellData = [
            [ 0,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],
            [ 1,1, "SD", "Space Dock", "LOCArellartiStationDA", "loc", {}, ["docking cell"] ],
            [ 1,2, "AA", "Arellarti Station Admin", "LOCArellartiAdmin", "loc", {}, [] ],
            [ 2,1, "PL", "Station Plaza", "LOCArellartiStationPL", "loc", {}, [] ],
            [ 2,2, "PS", "Station Petshop", "LOCArellartiStationPS", "loc", {}, [] ]             
        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap


        #####################################################################
        #					MINIMAP ARELLARTI DOME		
        #####################################################################
        miniMap = MiniMap("MMIDDomeArellarti", "Arellarti Dome", "LIDDomeArellarti" , True)
        cellData = [
            [ 0,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],
            [ 1,1, "SD", "Space Dock", "LOCArellartiDomeDA", "loc", {}, ["docking cell"] ],
            [ 2,1, "PL", "Dome Plaza", "LOCArellartiDomePL", "loc", {}, [] ]            
        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap


        #####################################################################
        #					MINIMAP TENARIS BASE		
        #####################################################################
        miniMap = MiniMap("MMIDBase", "Tenaris Base", "LIDTenaris" , True)
        cellData = [
            [ 0,1, "SH", "Back To Ship", "LOCShip", "exit", {"linksTo": ["MMIDShip", "LOCCargo"]}, [] ],
            [ 1,1, "AL", "AirLock", "LOCAirlock", "airlock", {}, [] ],            
            [ 2,0, "HA", "Hangar", "LOCTenarisHangar", "loc", {}, [] ],
            [ 2,1, "EN", "Entrance", "LOCTenarisEntrance", "loc", {}, ["docking cell"] ],
            [ 2,2, "WA", "Warehouse", "LOCTenarisWarehouse", "loc", {}, [] ]
                        
        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MINIMAP HOLO CASTLE		
        #####################################################################
        miniMap = MiniMap("MMIDHoloCastle", "Holodeck Castle", "LIDShip" , True)
        cellData = [
            [ 0,1, "EX", "Exit Holodeck", "LOCHoloCastle", "exit", {"linksTo": ["MMIDShipLower", "LOCHallwayLower1"]}, [] ],
            [ 1,1, "HC", "Holodeck Main", "LOCHoloCastle", "loc", {}, [] ],        
        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MINIMAP HOLO BLANK		
        #####################################################################
        miniMap = MiniMap("MMIDHoloBlank", "Holodeck Blank", "LIDShip" , True)
        cellData = [
            [ 0,1, "EX", "Exit Holodeck", "LOCHoloBlank", "exit", {"linksTo": ["MMIDShipLower", "LOCHallwayLower1"]}, [] ],
            [ 1,1, "HC", "Holodeck Main", "LOCHoloBlank", "loc", {}, [] ],        
        ]
        # init nav cells
        miniMap.initCells(cellData)
        GAME.miniMaps[miniMap.ID] = miniMap

        #####################################################################
        #					MISC		
        #####################################################################
        repairData = {
            "AEH1Pipe": ["AEH1Pipe", "LOCHallway1", 0], 
            "AEH1Conduit": ["AEH1Conduit", "LOCHallway1", 0], 
            "AEH2Terminal": ["AEH2Terminal", "LOCHallway2", 0], 
            "AECargoVent": ["AECargoVent", "LOCCargo", 0], 
            "AECargoPanel": ["AECargoPanel", "LOCCargo", 0], 
            "AECargoContainer": ["AECargoContainer", "LOCCargo", 0], 
            "AEEnginePipe": ["AEEnginePipe", "LOCEngine", 0], 
            "AEEngineVent": ["AEEngineVent", "LOCEngine", 0] 
        }
        GAME.ship.repairSpots = repairData

        #####################################################################
        #					CARGO DRONES		
        #####################################################################
        for i in range(5):
            drone = Drone("Cargo-{}".format(i+1), "logistics", "warehouse")
            GAME.drones.append(drone)

        #####################################################################
        #					MISC		
        #####################################################################
        GAME.locs["LOCShip"].found = True 
        # Init other 
        GAME.lab = BotLab()


    return()
