def objectOptionOne_lever(player, obj): loc = None if player.getLocation().getX() > 3089 and player.getLocation().getY() < 3959: loc = Location.create(2539, 4712, 0) TeleportAction.getTeleportAction(player).castTeleport(loc) elif player.getLocation().getX() < 3000 and player.getLocation().getY() > 4700: loc = Location.create(3091, 3956, 0) TeleportAction.getTeleportAction(player).castTeleport(loc)
def annakarlTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getAnnakarlLocation())
def carrallangarTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getCarrallangarLocation())
def dareeyakTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getDareeyakLocation())
def lassarTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getLassarLocation())
def kharyrllTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getKharyrllLocation())
def senntistenTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getSenntistenLocation())
def lumbridgeTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getLumbridgeLocation())
def apeAtollTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getApeAtollLocation())
def trollheimTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getTrollheimLocation())
def watchtowerTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getWatchtowerLocation())
def ardougneTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getArdougneLocation())
def camelotTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getCamelotLocation())
def faladorTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getFaladorLocation())
def ghorrockTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getGhorrockLocation())
def paddewwaTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getPaddewwaLocation())
def varrockTeleport(mob): TeleportAction.getTeleportAction(mob).castTeleport(TeleportAction.getTeleportAction(mob).getVarrockLocation())