Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --###########################################################################################
- --###########################################################################################
- --##
- --## STARTING AREAS
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Starting Areas: Sunstrider Isle, Eversong Woods ( Blood Elf Starting Area )
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Eversong Woods"] ) and ( ( SubZoneName == SZ["The Sunspire"] ) or ( SubZoneName == SZ["Sunstrider Isle"] ) or ( SubZoneName == SZ["Falthrien Academy"] ) or ( SubZoneName == SZ["Shrine of Dath'Remar"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaSunstriderIsle == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_StarterAreaSunstriderIsle()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaSunstriderIsle = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Eversong Woods"] ) and ( ( SubZoneName == SZ["The Sunspire"] ) or ( SubZoneName == SZ["Sunstrider Isle"] ) or ( SubZoneName == SZ["Falthrien Academy"] ) or ( SubZoneName == SZ["Shrine of Dath'Remar"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaSunstriderIsle == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaSunstriderIsle = true
- else
- FinalFantasylization_InStarterAreaSunstriderIsle = false
- end
- --'==========================================================================================
- --' Starting Areas: Deathknell, Tirisfal Glades ( Undead Starting Area )
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Tirisfal Glades"] ) and ( ( SubZoneName == SZ["Deathknell"] ) or ( SubZoneName == SZ["Shadow Grave"] ) or ( SubZoneName == SZ["Night Web's Hollow"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaDeathknell == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_StarterAreaDeathknell()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaDeathknell = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Tirisfal Glades"] ) and ( ( SubZoneName == SZ["Deathknell"] ) or ( SubZoneName == SZ["Shadow Grave"] ) or ( SubZoneName == SZ["Night Web's Hollow"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaDeathknell == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaDeathknell = true
- else
- FinalFantasylization_InStarterAreaDeathknell = false
- end
- --'==========================================================================================
- --' Starting Areas: Valley of Trials, Durotar ( Orc and Troll Starting Area )
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Durotar"] ) and ( ( SubZoneName == SZ["Valley of Trials"] ) or ( SubZoneName == SZ["The Den"] ) or ( SubZoneName == SZ["Burning Blade Coven"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaValleyOfTrials == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_StarterAreaValleyOfTrials()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaValleyOfTrials = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Durotar"] ) and ( ( SubZoneName == SZ["Valley of Trials"] ) or ( SubZoneName == SZ["The Den"] ) or ( SubZoneName == SZ["Burning Blade Coven"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaValleyOfTrials == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaValleyOfTrials = true
- else
- FinalFantasylization_InStarterAreaValleyOfTrials = false
- end
- --'==========================================================================================
- --' Starting Areas: Camp Narache, Mulgore ( Tauren Starting Area )
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Mulgore"] ) and ( ( SubZoneName == SZ["Camp Narache"] ) or ( SubZoneName == SZ["Red Cloud Mesa"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaCampNarache == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_StarterAreaCampNarache()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaCampNarache = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Mulgore"] ) and ( ( SubZoneName == SZ["Camp Narache"] ) or ( SubZoneName == SZ["Red Cloud Mesa"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaCampNarache == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaCampNarache = true
- else
- FinalFantasylization_InStarterAreaCampNarache = false
- end
- --'==========================================================================================
- --' Starting Areas: Coldridge Valley, Dun Morogh ( Dwarf and Gnome Starting Area )
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Dun Morogh"] ) and ( ( SubZoneName == SZ["Coldridge Valley"] ) or ( MinimapZoneName == SZ["Anvilmar"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaColdridgeValley == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_StarterAreaColdridgeValley()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaColdridgeValley = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Dun Morogh"] ) and ( ( SubZoneName == SZ["Coldridge Valley"] ) or ( MinimapZoneName == SZ["Anvilmar"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaColdridgeValley == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaColdridgeValley = true
- else
- FinalFantasylization_InStarterAreaColdridgeValley = false
- end
- --'==========================================================================================
- --' Starting Areas: Northshire Valley, Elwynn Forest ( Human Starting Area )
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Elwynn Forest"] ) and ( ( SubZoneName == SZ["Northshire Valley"] ) or ( SubZoneName == SZ["Northshire Abbey"] ) or ( SubZoneName == SZ["Echo Ridge Mine"] ) or ( SubZoneName == SZ["Northshire Vineyards"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaNorthshireValley == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_StarterAreaNorthshireValley()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaNorthshireValley = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Elwynn Forest"] ) and ( ( SubZoneName == SZ["Northshire Valley"] ) or ( SubZoneName == SZ["Northshire Abbey"] ) or ( SubZoneName == SZ["Echo Ridge Mine"] ) or ( SubZoneName == SZ["Northshire Vineyards"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaNorthshireValley == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaNorthshireValley = true
- else
- FinalFantasylization_InStarterAreaNorthshireValley = false
- end
- --'==========================================================================================
- --' Starting Areas: Ammen Vale, Azuremyst Isle ( Draenei Starting Area )
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Azuremyst Isle"] ) and ( ( SubZoneName == SZ["Ammen Vale"] ) or ( SubZoneName == SZ["Ammen Fields"] ) or ( SubZoneName == SZ["Crash Site"] ) or ( SubZoneName == SZ["Silverline Lake"] ) or ( SubZoneName == SZ["Nestlewood Hills"] ) or ( SubZoneName == SZ["Nestlewood Thicket"] ) or ( SubZoneName == SZ["Shadow Ridge"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaAmmenVale == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_StarterAreaAmmenVale()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaAmmenVale = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Azuremyst Isle"] ) and ( ( SubZoneName == SZ["Ammen Vale"] ) or ( SubZoneName == SZ["Ammen Fields"] ) or ( SubZoneName == SZ["Crash Site"] ) or ( SubZoneName == SZ["Silverline Lake"] ) or ( SubZoneName == SZ["Nestlewood Hills"] ) or ( SubZoneName == SZ["Nestlewood Thicket"] )or ( SubZoneName == SZ["Shadow Ridge"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaAmmenVale == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaAmmenVale = true
- else
- FinalFantasylization_InStarterAreaAmmenVale = false
- end
- --'==========================================================================================
- --' Starting Areas: Shadowglen, Teldrassil ( Night Elf Starting Area )
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Teldrassil"] ) and ( ( SubZoneName == SZ["Shadowglen"] ) or ( SubZoneName == SZ["Aldrassil"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaShadowglen == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_StarterAreaShadowglen()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaShadowglen = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Teldrassil"] ) and ( ( SubZoneName == SZ["Shadowglen"] ) or ( SubZoneName == SZ["Aldrassil"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaShadowglen == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaShadowglen = true
- else
- FinalFantasylization_InStarterAreaShadowglen = false
- end
- --'==========================================================================================
- --' Starting Areas: Acherus: The Ebon Hold : DEATH KNIGHTS STARTING AREA
- --'==========================================================================================
- if ( ZoneName == Z["Plaguelands: The Scarlet Enclave"] ) and ( ( SubZoneName == SZ["Acherus: The Ebon Hold"] ) or ( SubZoneName == SZ["The Heart of Acherus"] ) or ( SubZoneName == SZ["Hall of Command"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InMiscEbonHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_EbonHoldSong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InMiscEbonHold = true
- else
- FinalFantasylization_InMiscEbonHold = false
- end
- --'==========================================================================================
- --' Starting Areas: Plaguelands: Scarlet Enclave ( Death Knight Starting Area )
- --'==========================================================================================
- if ( ZoneName == Z["Plaguelands: The Scarlet Enclave"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InStarterAreaScarletEnclave == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_StarterAreaScarletEnclave()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InStarterAreaScarletEnclave = true
- else
- FinalFantasylization_InStarterAreaScarletEnclave = false
- end
- --###########################################################################################
- --###########################################################################################
- --##
- --## HORDE CAPITAL CITIES
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Horde Capital Cities: Orgrimmar
- --'==========================================================================================
- if ( ZoneName == Z["Orgrimmar"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityOrgrimmar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_OrgrimmarSong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityOrgrimmar = true
- elseif ( ZoneName == Z["Orgrimmar"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityOrgrimmar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityOrgrimmar = true
- else
- FinalFantasylization_InCityOrgrimmar = false
- end
- --'==========================================================================================
- --' Horde Capital Cities: Silvermoon City
- --'==========================================================================================
- if ( ( ZoneName == Z["Silvermoon City"] ) or ( SubZoneName == SZ["The Shepherd's Gate"] ) ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCitySilvermoonCity == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_SilvermoonCitySong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCitySilvermoonCity = true
- elseif ( ( ZoneName == Z["Silvermoon City"] ) or ( SubZoneName == SZ["The Shepherd's Gate"] ) ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCitySilvermoonCity == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCitySilvermoonCity = true
- else
- FinalFantasylization_InCitySilvermoonCity = false
- end
- --'==========================================================================================
- --' Horde Capital Cities: Thunder Bluff
- --'==========================================================================================
- if ( ZoneName == Z["Thunder Bluff"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityThunderBluff == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_ThunderBluffSong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityThunderBluff = true
- elseif ( ZoneName == Z["Thunder Bluff"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityThunderBluff == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityThunderBluff = true
- else
- FinalFantasylization_InCityThunderBluff = false
- end
- --'==========================================================================================
- --' Horde Capital Cities: Undercity
- --'==========================================================================================
- if ( ( ZoneName == Z["Undercity"] ) or ( SubZoneName == SZ["Ruins of Lordaeron"] ) ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityUndercity == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_UndercitySong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityUndercity = true
- elseif ( ( ZoneName == Z["Undercity"] ) or ( SubZoneName == SZ["Ruins of Lordaeron"] ) ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityUndercity == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityUndercity = true
- else
- FinalFantasylization_InCityUndercity = false
- end
- --###########################################################################################
- --###########################################################################################
- --##
- --## ALLIANCE CAPITAL CITIES
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Alliance Capital Cities: Darnassus
- --'==========================================================================================
- if ( ZoneName == Z["Darnassus"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityDarnassus == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_DarnassusSong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityDarnassus = true
- elseif ( ZoneName == Z["Darnassus"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityDarnassus == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityDarnassus = true
- else
- FinalFantasylization_InCityDarnassus = false
- end
- --'==========================================================================================
- --' Alliance Capital Cities: Ironforge
- --'==========================================================================================
- if ( ( ZoneName == Z["Ironforge"] ) or ( SubZoneName == SZ["Gates of Ironforge"] ) ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityIronforge == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_IronforgeSong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityIronforge = true
- elseif ( ( ZoneName == Z["Ironforge"] ) or ( SubZoneName == SZ["Gates of Ironforge"] ) ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityIronforge == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityIronforge = true
- else
- FinalFantasylization_InCityIronforge = false
- end
- --'==========================================================================================
- --' Alliance Capital Cities: Stormwind City
- --'==========================================================================================
- if ( ZoneName == Z["Stormwind City"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityStormwind == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_StormwindCitySong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityStormwind = true
- elseif ( ZoneName == Z["Stormwind City"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityStormwind == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityStormwind = true
- else
- FinalFantasylization_InCityStormwind = false
- end
- --'==========================================================================================
- --' Alliance Capital Cities: The Exodar
- --'==========================================================================================
- if ( ZoneName == Z["The Exodar"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityExodar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_ExodarSong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityExodar = true
- elseif ( ZoneName == Z["The Exodar"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityExodar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileCity .. ZoneName .. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityExodar = true
- else
- FinalFantasylization_InCityExodar = false
- end
- --###########################################################################################
- --###########################################################################################
- --##
- --## NEUTRAL CAPITAL CITIES
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Neutral Capital Cities: Area 52, Netherstorm
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and ( SubZoneName ==Z["Area 52"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityArea52 == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
- FinalFantasylization_CityArea52()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityArea52 = true
- else
- FinalFantasylization_InCityArea52 = false
- end
- --'==========================================================================================
- --' Neutral Capital Cities: Booty Bay, Stranglethorn Vale
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Stranglethorn Vale"] ) and ( SubZoneName == SZ["Booty Bay"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityBootyBay == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
- FinalFantasylization_CityBootyBay()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityBootyBay = true
- else
- FinalFantasylization_InCityBootyBay = false
- end
- --'==========================================================================================
- --' Neutral Capital Cities: Dalaran
- --'==========================================================================================
- if ( ZoneName == Z["Dalaran"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityDalaran == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_DalaranSong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityDalaran = true
- else
- FinalFantasylization_InCityDalaran = false
- end
- --'==========================================================================================
- --' Neutral Capital Cities: Acherus: The Ebon Hold
- --'==========================================================================================
- if ( ZoneName == Z["Eastern Plaguelands"] ) and ( SubZoneName == SZ["Acherus: The Ebon Hold"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityEbonHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
- FinalFantasylization_EbonHoldSong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityEbonHold = true
- else
- FinalFantasylization_InCityEbonHold = false
- end
- --'==========================================================================================
- --' Neutral Capital Cities: Everlook, Winterspring
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Winterspring"] ) and ( SubZoneName == SZ["Everlook"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityEverlook == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
- FinalFantasylization_CityEverlook()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityEverlook = true
- else
- FinalFantasylization_InCityEverlook = false
- end
- --'==========================================================================================
- --' Neutral Capital Cities: Gadgetzan, Tanaris
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Tanaris"] ) and ( SubZoneName == SZ["Gadgetzan"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityGadgetzan == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
- FinalFantasylization_CityGadgetzan()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityGadgetzan = true
- else
- FinalFantasylization_InCityGadgetzan = false
- end
- --'==========================================================================================
- --' Neutral Capital Cities: Ratchet, The Barrens
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["Ratchet"] ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityRatchet == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName)
- FinalFantasylization_CityRatchet()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityRatchet = true
- else
- FinalFantasylization_InCityRatchet = false
- end
- --'==========================================================================================
- --' Neutral Capital Cities: Shattrath City
- --'==========================================================================================
- if ( ( ZoneName == Z["Shattrath City"] ) or ( SubZoneName == SZ["Lower City"] ) ) and FinalFantasylizationOptions.Capital == true and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InCityShattrathCity == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_ShattrathCitySong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InCityShattrathCity = true
- else
- FinalFantasylization_InCityShattrathCity = false
- end
- --###########################################################################################
- --###########################################################################################
- --##
- --## HORDE TOWNS
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Horde Towns: Agmar's Hammer, Dragonblight
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Agmar's Hammer"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownAgmarsHammer == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownAgmarsHammer()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownAgmarsHammer = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Agmar's Hammer"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownAgmarsHammer == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownAgmarsHammer = true
- else
- FinalFantasylization_InHordeTownAgmarsHammer = false
- end
- --'==========================================================================================
- --' Horde Towns: Apothecary Camp, Howling Fjord
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Apothecary Camp"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownApothecaryCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownApothecaryCamp()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownApothecaryCamp = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Apothecary Camp"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownApothecaryCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownApothecaryCamp = true
- else
- FinalFantasylization_InHordeTownApothecaryCamp = false
- end
- --'==========================================================================================
- --' Horde Towns: Bloodhoof Village, Mulgore : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Mulgore"] ) and ( SubZoneName == SZ["Bloodhoof Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownBloodhoofVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownBloodhoofVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownBloodhoofVillage = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Mulgore"] ) and ( SubZoneName == SZ["Bloodhoof Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownBloodhoofVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownBloodhoofVillage = true
- else
- FinalFantasylization_InHordeTownBloodhoofVillage = false
- end
- --'==========================================================================================
- --' Horde Towns: Bloodvenom Post, Felwood
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Felwood"] ) and ( SubZoneName == SZ["Bloodvenom Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownBloodvenomPost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownBloodvenomPost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownBloodvenomPost = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Felwood"] ) and ( SubZoneName == SZ["Bloodvenom Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownBloodvenomPost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownBloodvenomPost = true
- else
- FinalFantasylization_InHordeTownBloodvenomPost = false
- end
- --'==========================================================================================
- --' Horde Towns: Brackenwall Village, Dustwallow Marsh
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Dustwallow Marsh"] ) and ( SubZoneName == SZ["Brackenwall Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownBrackenwallVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownBrackenwallVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownBrackenwallVillage = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Dustwallow Marsh"] ) and ( SubZoneName == SZ["Brackenwall Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownBrackenwallVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownBrackenwallVillage = true
- else
- FinalFantasylization_InHordeTownBrackenwallVillage = false
- end
- --'==========================================================================================
- --' Horde Towns: Brill, Tirisfal Glades : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Tirisfal Glades"] ) and ( ( SubZoneName == SZ["Brill"] ) or ( SubZoneName == SZ["Brill Town Hall"] ) )and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownBrill == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownBrill()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownBrill = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Tirisfal Glades"] ) and ( ( SubZoneName == SZ["Brill"] ) or ( SubZoneName == SZ["Brill Town Hall"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownBrill == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownBrill = true
- else
- FinalFantasylization_InHordeTownBrill = false
- end
- --'==========================================================================================
- --' Horde Towns: Bor'gorok Outpost, Borean Tundra
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Bor'Gorok Outpost"] ) or ( SubZoneName == SZ["Bor'gorok Outpost"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownBorgorokOutpost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownBorgorokOutpost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownBorgorokOutpost = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Bor'Gorok Outpost"] ) or ( SubZoneName == SZ["Bor'gorok Outpost"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownBorgorokOutpost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownBorgorokOutpost = true
- else
- FinalFantasylization_InHordeTownBorgorokOutpost = false
- end
- --'==========================================================================================
- --' Horde Towns: Camp Mojache, Feralas
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Feralas"] ) and ( SubZoneName == SZ["Camp Mojache"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCampMojache == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownCampMojache()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCampMojache = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Feralas"] ) and ( SubZoneName == SZ["Camp Mojache"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCampMojache == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCampMojache = true
- else
- FinalFantasylization_InHordeTownCampMojache = false
- end
- --'==========================================================================================
- --' Horde Towns: Camp Oneqwah, Grizzly Hills
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Grizzly Hills"] ) and ( ( SubZoneName == SZ["Camp Oneqwah"] ) or ( SubZoneName == SZ["Camp One'Qwah"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCampOneqwah == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownCampOneqwah()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCampOneqwah = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Grizzly Hills"] ) and ( ( SubZoneName == SZ["Camp Oneqwah"] ) or ( SubZoneName == SZ["Camp One'Qwah"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCampOneqwah == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCampOneqwah = true
- else
- FinalFantasylization_InHordeTownCampOneqwah = false
- end
- --'==========================================================================================
- --' Horde Towns: Camp Taurajo, The Barrens : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["Camp Taurajo"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCampTaurajo == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownCampTaurajo()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCampTaurajo = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["Camp Taurajo"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCampTaurajo == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCampTaurajo = true
- else
- FinalFantasylization_InHordeTownCampTaurajo = false
- end
- --'==========================================================================================
- --' Horde Towns: Camp Tunka'lo, The Storm Peaks
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Camp Tunka'lo"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCampTunkalo == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownCampTunkalo()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCampTunkalo = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Camp Tunka'lo"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCampTunkalo == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCampTunkalo = true
- else
- FinalFantasylization_InHordeTownCampTunkalo = false
- end
- --'==========================================================================================
- --' Horde Towns: Camp Winterhoof, Howling Fjord
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Camp Winterhoof"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCampWinterhoof == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownCampWinterhoof()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCampWinterhoof = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Camp Winterhoof"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCampWinterhoof == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCampWinterhoof = true
- else
- FinalFantasylization_InHordeTownCampWinterhoof = false
- end
- --'==========================================================================================
- --' Horde Towns: Conquest Hold, Grizzly Hills
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Conquest Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownConquestHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownConquestHold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownConquestHold = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Conquest Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownConquestHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownConquestHold = true
- else
- FinalFantasylization_InHordeTownConquestHold = false
- end
- --'==========================================================================================
- --' Horde Towns: Fairbreeze Village, Eversong Woods : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Eversong Woods"] ) and ( SubZoneName == SZ["Fairbreeze Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownFairbreezeVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownFairbreezeVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownFairbreezeVillage = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Eversong Woods"] ) and ( SubZoneName == SZ["Fairbreeze Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownFairbreezeVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownFairbreezeVillage = true
- else
- FinalFantasylization_InHordeTownFairbreezeVillage = false
- end
- --'==========================================================================================
- --' Horde Towns: Falcon Watch, Hellfire Peninsula
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Falcon Watch"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownFalconWatch == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownFalconWatch()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownFalconWatch = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Falcon Watch"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownFalconWatch == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownFalconWatch = true
- else
- FinalFantasylization_InHordeTownFalconWatch = false
- end
- --'==========================================================================================
- --' Horde Towns: Falconwing Square, Eversong Woods : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Eversong Woods"] ) and ( SubZoneName == SZ["Falconwing Square"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownFalconwingSquare == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownFalconwingSquare()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownFalconwingSquare = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Eversong Woods"] ) and ( SubZoneName == SZ["Falconwing Square"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownFalconwingSquare == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownFalconwingSquare = true
- else
- FinalFantasylization_InHordeTownFalconwingSquare = false
- end
- --'==========================================================================================
- --' Horde Towns: Flame Crest, Burning Steppes
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Burning Steppes"] ) and ( SubZoneName == SZ["Flame Crest"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownFlameCrest == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownFlameCrest()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownFlameCrest = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Burning Steppes"] ) and ( SubZoneName == SZ["Flame Crest"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownFlameCrest == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownFlameCrest = true
- else
- FinalFantasylization_InHordeTownFlameCrest = false
- end
- --'==========================================================================================
- --' Horde Towns: Freewind Post, Thousand Needles
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Thousand Needles"] ) and ( SubZoneName == SZ["Freewind Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownFreewindPost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownFreewindPost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownFreewindPost = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Thousand Needles"] ) and ( SubZoneName == SZ["Freewind Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownFreewindPost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownFreewindPost = true
- else
- FinalFantasylization_InHordeTownFreewindPost = false
- end
- --'==========================================================================================
- --' Horde Towns: Garadar, Nagrand
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Nagrand"] ) and ( SubZoneName == SZ["Garadar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownGaradar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownGaradar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownGaradar = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Nagrand"] ) and ( SubZoneName == SZ["Garadar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownGaradar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownGaradar = true
- else
- FinalFantasylization_InHordeTownGaradar = false
- end
- --'==========================================================================================
- --' Horde Towns: Grom'arsh Crash-Site, The Storm Peaks
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Grom'arsh Crash-Site"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownGromarshCrashSite == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownGromarshCrashSite()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownGromarshCrashSite = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Grom'arsh Crash-Site"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownGromarshCrashSite == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownGromarshCrashSite = true
- else
- FinalFantasylization_InHordeTownGromarshCrashSite = false
- end
- --'==========================================================================================
- --' Horde Towns: Grom'gol Base Camp, Stranglethorn Vale
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Stranglethorn Vale"] ) and ( ( SubZoneName == SZ["Grom'gol Base Camp"] ) or ( SubZoneName == SZ["Grom'Gol Base Camp"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownGromgolBaseCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownGromgolBaseCamp()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownGromgolBaseCamp = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Stranglethorn Vale"] ) and ( ( SubZoneName == SZ["Grom'gol Base Camp"] ) or ( SubZoneName == SZ["Grom'Gol Base Camp"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownGromgolBaseCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownGromgolBaseCamp = true
- else
- FinalFantasylization_InHordeTownGromgolBaseCamp = false
- end
- --'==========================================================================================
- --' Horde Towns: Hammerfall, Arathi Highlands
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Arathi Highlands"] ) and ( SubZoneName == SZ["Hammerfall"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownHammerfall == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownHammerfall()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownHammerfall = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Arathi Highlands"] ) and ( SubZoneName == SZ["Hammerfall"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownHammerfall == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownHammerfall = true
- else
- FinalFantasylization_InHordeTownHammerfall = false
- end
- --'==========================================================================================
- --' Horde Towns: Kargath, Badlands
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Badlands"] ) and ( SubZoneName == SZ["Kargath"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownKargath == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownKargath()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownKargath = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Badlands"] ) and ( SubZoneName == SZ["Kargath"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownKargath == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownKargath = true
- else
- FinalFantasylization_InHordeTownKargath = false
- end
- --'==========================================================================================
- --' Horde Towns: Kor'kron Vanguard, Dragonblight
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Kor'kron Vanguard"] ) or ( SubZoneName == SZ["Kor'Kron Vanguard"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownKorkronVanguard == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownKorkronVanguard()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownKorkronVanguard = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Kor'kron Vanguard"] ) or ( SubZoneName == SZ["Kor'Kron Vanguard"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownKorkronVanguard == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownKorkronVanguard = true
- else
- FinalFantasylization_InHordeTownKorkronVanguard = false
- end
- --'==========================================================================================
- --' Horde Towns: Mok'Nathal Village, Blade's Edge Mountains
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Mok'Nathal Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownMokNathalVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownMokNathalVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownMokNathalVillage = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Mok'Nathal Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownMokNathalVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownMokNathalVillage = true
- else
- FinalFantasylization_InHordeTownMokNathalVillage = false
- end
- --'==========================================================================================
- --' Horde Towns: New Agamand, Howling Fjord
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["New Agamand"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownNewAgamand == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownNewAgamand()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownNewAgamand = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["New Agamand"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownNewAgamand == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownNewAgamand = true
- else
- FinalFantasylization_InHordeTownNewAgamand = false
- end
- --'==========================================================================================
- --' Horde Towns: Razor Hill, Durotar : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Durotar"] ) and ( SubZoneName == SZ["Razor Hill"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownRazorHill == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownRazorHill()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownRazorHill = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Durotar"] ) and ( SubZoneName == SZ["Razor Hill"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownRazorHill == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownRazorHill = true
- else
- FinalFantasylization_InHordeTownRazorHill = false
- end
- --'==========================================================================================
- --' Horde Towns: Revantusk Village, The Hinterlands
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["The Hinterlands"] ) and ( SubZoneName == SZ["Revantusk Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownRevantuskVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownRevantuskVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownRevantuskVillage = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["The Hinterlands"] ) and ( SubZoneName == SZ["Revantusk Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownRevantuskVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownRevantuskVillage = true
- else
- FinalFantasylization_InHordeTownRevantuskVillage = false
- end
- --'==========================================================================================
- --' Horde Towns: Sen'jin Village, Durotar : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Durotar"] ) and ( SubZoneName == SZ["Sen'jin Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSenjinVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownSenjinVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSenjinVillage = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Durotar"] ) and ( SubZoneName == SZ["Sen'jin Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSenjinVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSenjinVillage = true
- else
- FinalFantasylization_InHordeTownSenjinVillage = false
- end
- --'==========================================================================================
- --' Horde Towns: Sepulcher, Silverpine Forest : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Silverpine Forest"] ) and ( SubZoneName == SZ["The Sepulcher"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSepulcher == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownSepulcher()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSepulcher = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Silverpine Forest"] ) and ( SubZoneName == SZ["The Sepulcher"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSepulcher == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSepulcher = true
- else
- FinalFantasylization_InHordeTownSepulcher = false
- end
- --'==========================================================================================
- --' Horde Towns: Shadowmoon Village, Shadowmoon Valley
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Shadowmoon Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownShadowmoonVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownShadowmoonVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownShadowmoonVillage = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Shadowmoon Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownShadowmoonVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownShadowmoonVillage = true
- else
- FinalFantasylization_InHordeTownShadowmoonVillage = false
- end
- --'==========================================================================================
- --' Horde Towns: Shadowprey Village, Desolace
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Desolace"] ) and ( SubZoneName == SZ["Shadowprey Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownShadowpreyVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownShadowpreyVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownShadowpreyVillage = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Desolace"] ) and ( SubZoneName == SZ["Shadowprey Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownShadowpreyVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownShadowpreyVillage = true
- else
- FinalFantasylization_InHordeTownShadowpreyVillage = false
- end
- --'==========================================================================================
- --' Horde Towns: Splintertree Post, Ashenvale
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Splintertree Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSplintertreePost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownSplintertreePost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSplintertreePost = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Splintertree Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSplintertreePost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSplintertreePost = true
- else
- FinalFantasylization_InHordeTownSplintertreePost = false
- end
- --'==========================================================================================
- --' Horde Towns: Stonard, Swamp of Sorrows
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Swamp of Sorrows"] ) and ( SubZoneName == SZ["Stonard"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownStonard == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownStonard()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownStonard = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Swamp of Sorrows"] ) and ( SubZoneName == SZ["Stonard"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownStonard == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownStonard = true
- else
- FinalFantasylization_InHordeTownStonard = false
- end
- --'==========================================================================================
- --' Horde Towns: Stonebreaker Hold, Terokkar Forest
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Terokkar Forest"] ) and ( SubZoneName == SZ["Stonebreaker Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownStonebreakerHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownStonebreakerHold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownStonebreakerHold = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Terokkar Forest"] ) and ( SubZoneName == SZ["Stonebreaker Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownStonebreakerHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownStonebreakerHold = true
- else
- FinalFantasylization_InHordeTownStonebreakerHold = false
- end
- --'==========================================================================================
- --' Horde Towns: Sunreaver's Command, Crystalsong Forest
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Crystalsong Forest"] ) and ( SubZoneName == SZ["Sunreaver's Command"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSunreaversCommand == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownSunreaversCommand()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSunreaversCommand = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Crystalsong Forest"] ) and ( SubZoneName == SZ["Sunreaver's Command"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSunreaversCommand == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSunreaversCommand = true
- else
- FinalFantasylization_InHordeTownSunreaversCommand = false
- end
- --'==========================================================================================
- --' Horde Towns: Sun Rock Retreat, Stonetalon Mountains
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Stonetalon Mountains"] ) and ( SubZoneName == SZ["Sun Rock Retreat"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSunRockRetreat == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownSunRockRetreat()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSunRockRetreat = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Stonetalon Mountains"] ) and ( SubZoneName == SZ["Sun Rock Retreat"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSunRockRetreat == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSunRockRetreat = true
- else
- FinalFantasylization_InHordeTownSunRockRetreat = false
- end
- --'==========================================================================================
- --' Horde Towns: Swamprat Post, Zangarmarsh
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Swamprat Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSwampratPost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownSwampratPost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSwampratPost = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Swamprat Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownSwampratPost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownSwampratPost = true
- else
- FinalFantasylization_InHordeTownSwampratPost = false
- end
- --'==========================================================================================
- --' Horde Towns: Tarren Mill, Hillsbrad Foothills
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and ( SubZoneName == SZ["Tarren Mill"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownTarrenMill == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownTarrenMill()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownTarrenMill = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and ( SubZoneName == SZ["Tarren Mill"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownTarrenMill == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownTarrenMill = true
- else
- FinalFantasylization_InHordeTownTarrenMill = false
- end
- --'==========================================================================================
- --' Horde Towns: Taunka'le Village, Borean Tundra
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Taunka'le Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownTaunkaleVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownTaunkaleVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownTaunkaleVillage = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Taunka'le Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownTaunkaleVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownTaunkaleVillage = true
- else
- FinalFantasylization_InHordeTownTaunkaleVillage = false
- end
- --'==========================================================================================
- --' Horde Towns: The Crossroads, The Barrens : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["The Crossroads"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCrossroads == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownCrossroads()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCrossroads = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["The Crossroads"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownCrossroads == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownCrossroads = true
- else
- FinalFantasylization_InHordeTownCrossroads = false
- end
- --'==========================================================================================
- --' Horde Towns: Thrallmar, Hellfire Peninsula
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Thrallmar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownThrallmar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownThrallmar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownThrallmar = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Thrallmar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownThrallmar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownThrallmar = true
- else
- FinalFantasylization_InHordeTownThrallmar = false
- end
- --'==========================================================================================
- --' Horde Towns: Thunderlord Stronghold, Blade's Edge Mountains
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Thunderlord Stronghold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownThunderlordStronghold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownThunderlordStronghold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownThunderlordStronghold = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Thunderlord Stronghold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownThunderlordStronghold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownThunderlordStronghold = true
- else
- FinalFantasylization_InHordeTownThunderlordStronghold = false
- end
- --'==========================================================================================
- --' Horde Towns: Tranquillien, Ghostlands : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Ghostlands"] ) and ( SubZoneName == SZ["Tranquillien"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownTranquillien == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownTranquillien()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownTranquillien = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Ghostlands"] ) and ( SubZoneName == SZ["Tranquillien"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownTranquillien == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownTranquillien = true
- else
- FinalFantasylization_InHordeTownTranquillien = false
- end
- --'==========================================================================================
- --' Horde Towns: Valormok, Azshara
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Azshara"] ) and ( SubZoneName == SZ["Valormok"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownValormok == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownValormok()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownValormok = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Azshara"] ) and ( SubZoneName == SZ["Valormok"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownValormok == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownValormok = true
- else
- FinalFantasylization_InHordeTownValormok = false
- end
- --'==========================================================================================
- --' Horde Towns: Vengeance Landing, Howling Fjord
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Vengeance Landing"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownVengeanceLanding == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownVengeanceLanding()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownVengeanceLanding = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Vengeance Landing"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownVengeanceLanding == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownVengeanceLanding = true
- else
- FinalFantasylization_InHordeTownVengeanceLanding = false
- end
- --'==========================================================================================
- --' Horde Towns: Venomspite, Dragonblight
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Venomspite"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownVenomspite == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownVenomspite()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownVenomspite = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Venomspite"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownVenomspite == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownVenomspite = true
- else
- FinalFantasylization_InHordeTownVenomspite = false
- end
- --'==========================================================================================
- --' Horde Towns: Warsong Hold, Borean Tundra
- --'==========================================================================================
- if ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Warsong Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownWarsongHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownWarsongHold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownWarsongHold = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Warsong Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownWarsongHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName..PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownWarsongHold = true
- else
- FinalFantasylization_InHordeTownWarsongHold = false
- end
- --'==========================================================================================
- --' Horde Towns: Zabra'jin, Zangarmarsh
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Zabra'jin"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownZabrajin == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownZabrajin()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownZabrajin = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Zabra'jin"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownZabrajin == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownZabrajin = true
- else
- FinalFantasylization_InHordeTownZabrajin = false
- end
- --'==========================================================================================
- --' Horde Towns: Zoram'gar Outpost, Ashenvale
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Zoram'gar Outpost"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownZoramgarOutpost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownZoramgarOutpost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownZoramgarOutpost = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Zoram'gar Outpost"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownZoramgarOutpost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownZoramgarOutpost = true
- else
- FinalFantasylization_InHordeTownZoramgarOutpost = false
- end
- --'==========================================================================================
- --' Horde Towns: Ghost Walker Post, Desolace
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Desolace"] ) and ( SubZoneName == SZ["Ghost Walker Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownGhostWalkerPost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_HordeTownGhostWalkerPost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownGhostWalkerPost = true
- elseif ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Desolace"] ) and ( SubZoneName == SZ["Ghost Walker Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InHordeTownGhostWalkerPost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InHordeTownGhostWalkerPost = true
- else
- FinalFantasylization_InHordeTownGhostWalkerPost = false
- end
- --###########################################################################################
- --###########################################################################################
- --##
- --## ALLIANCE TOWNS
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Alliance Towns: Aerie Peak, The Hinterlands
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["The Hinterlands"] ) and ( SubZoneName == SZ["Aerie Peak"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAeriePeak == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownAeriePeak()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAeriePeak = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["The Hinterlands"] ) and ( SubZoneName == SZ["Aerie Peak"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAeriePeak == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAeriePeak = true
- else
- FinalFantasylization_InAllianceTownAeriePeak = false
- end
- --'==========================================================================================
- --' Alliance Towns: Allerian Stronghold, Terokkar Forest
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Terokkar Forest"] ) and ( SubZoneName == SZ["Allerian Stronghold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAllerianStronghold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownAllerianStronghold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAllerianStronghold = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Terokkar Forest"] ) and ( SubZoneName == SZ["Allerian Stronghold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAllerianStronghold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAllerianStronghold = true
- else
- FinalFantasylization_InAllianceTownAllerianStronghold = false
- end
- --'==========================================================================================
- --' Alliance Towns: Amberpine Lodge, Grizzly Hills
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Amberpine Lodge"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAmberpineLodge == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownAmberpineLodge()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAmberpineLodge = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Amberpine Lodge"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAmberpineLodge == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAmberpineLodge = true
- else
- FinalFantasylization_InAllianceTownAmberpineLodge = false
- end
- --'==========================================================================================
- --' Alliance Towns: Astranaar, Ashenvale
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Astranaar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAstranaar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownAstranaar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAstranaar = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Astranaar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAstranaar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAstranaar = true
- else
- FinalFantasylization_InAllianceTownAstranaar = false
- end
- --'==========================================================================================
- --' Alliance Towns: Auberdine, Darkshore : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Darkshore"] ) and ( SubZoneName == SZ["Auberdine"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAuberdine == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownAuberdine()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAuberdine = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Darkshore"] ) and ( SubZoneName == SZ["Auberdine"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAuberdine == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAuberdine = true
- else
- FinalFantasylization_InAllianceTownAuberdine = false
- end
- --'==========================================================================================
- --' Alliance Towns: Azure Watch, Azuremyst Isle : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Azuremyst Isle"] ) and ( SubZoneName == SZ["Azure Watch"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAzureWatch == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownAzureWatch()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAzureWatch = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Azuremyst Isle"] ) and ( SubZoneName == SZ["Azure Watch"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAzureWatch == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownAzureWatch = true
- else
- FinalFantasylization_InAllianceTownAzureWatch = false
- end
- --'==========================================================================================
- --' Alliance Towns: Blood Watch, Bloodmyst Isle : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Bloodmyst Isle"] ) and ( SubZoneName == SZ["Blood Watch"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownBloodWatch == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownBloodWatch()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownBloodWatch = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Bloodmyst Isle"] ) and ( SubZoneName == SZ["Blood Watch"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownBloodWatch == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownBloodWatch = true
- else
- FinalFantasylization_InAllianceTownBloodWatch = false
- end
- --'==========================================================================================
- --' Alliance Towns: Chillwind Camp, Western Plaguelands
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Western Plaguelands"] ) and ( SubZoneName == SZ["Chillwind Camp"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownChillwindCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownChillwindCamp()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownChillwindCamp = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Western Plaguelands"] ) and ( SubZoneName == SZ["Chillwind Camp"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownChillwindCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownChillwindCamp = true
- else
- FinalFantasylization_InAllianceTownChillwindCamp = false
- end
- --'==========================================================================================
- --' Alliance Towns: Darkshire, Duskwood
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Duskwood"] ) and ( SubZoneName == SZ["Darkshire"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownDarkshire == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownDarkshire()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownDarkshire = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Duskwood"] ) and ( SubZoneName == SZ["Darkshire"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownDarkshire == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownDarkshire = true
- else
- FinalFantasylization_InAllianceTownDarkshire = false
- end
- --'==========================================================================================
- --' Alliance Towns: Dolanaar, Teldrassil : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Teldrassil"] ) and ( SubZoneName == SZ["Dolanaar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownDolanaar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownDolanaar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownDolanaar = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Teldrassil"] ) and ( SubZoneName == SZ["Dolanaar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownDolanaar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownDolanaar = true
- else
- FinalFantasylization_InAllianceTownDolanaar = false
- end
- --'==========================================================================================
- --' Alliance Towns: Explorers' League Outpost, Howling Fjord
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Explorers' League Outpost"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownExplorersLeagueOutpost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownExplorersLeagueOutpost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownExplorersLeagueOutpost = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Explorers' League Outpost"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownExplorersLeagueOutpost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownExplorersLeagueOutpost = true
- else
- FinalFantasylization_InAllianceTownExplorersLeagueOutpost = false
- end
- --'==========================================================================================
- --' Alliance Towns: Feathermoon Stronghold, Feralas
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Feralas"] ) and ( SubZoneName == SZ["Feathermoon Stronghold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownFeathermoonStronghold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownFeathermoonStronghold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownFeathermoonStronghold = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Feralas"] ) and ( SubZoneName == SZ["Feathermoon Stronghold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownFeathermoonStronghold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownFeathermoonStronghold = true
- else
- FinalFantasylization_InAllianceTownFeathermoonStronghold = false
- end
- --'==========================================================================================
- --' Alliance Towns: Fizzcrank Airstrip, Borean Tundra
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Fizzcrank Airstrip"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownFizzcrankAirstrip == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownFizzcrankAirstrip()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownFizzcrankAirstrip = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Fizzcrank Airstrip"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownFizzcrankAirstrip == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownFizzcrankAirstrip = true
- else
- FinalFantasylization_InAllianceTownFizzcrankAirstrip = false
- end
- --'==========================================================================================
- --' Alliance Towns: Fordragon Hold, Dragonblight
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Fordragon Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownFordragonHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownFordragonHold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownFordragonHold = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Fordragon Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownFordragonHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownFordragonHold = true
- else
- FinalFantasylization_InAllianceTownFordragonHold = false
- end
- --'==========================================================================================
- --' Alliance Towns: Forest Song, Ashenvale
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Forest Song"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownForestSong == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownForestSong()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownForestSong = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Ashenvale"] ) and ( SubZoneName == SZ["Forest Song"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownForestSong == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownForestSong = true
- else
- FinalFantasylization_InAllianceTownForestSong = false
- end
- --'==========================================================================================
- --' Alliance Towns: Fort Wildervar, Howling Fjord
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( ( SubZoneName == SZ["Fort Wildervar"] ) or ( SubZoneName == SZ["Fort Wildevar"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownFortWildervar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownFortWildervar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownFortWildervar = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( ( SubZoneName == SZ["Fort Wildervar"] ) or ( SubZoneName == SZ["Fort Wildevar"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownFortWildervar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownFortWildervar = true
- else
- FinalFantasylization_InAllianceTownFortWildervar = false
- end
- --'==========================================================================================
- --' Alliance Towns: Frosthold, The Storm Peaks
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Frosthold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownFrosthold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownFrosthold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownFrosthold = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Frosthold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownFrosthold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownFrosthold = true
- else
- FinalFantasylization_InAllianceTownFrosthold = false
- end
- --'==========================================================================================
- --' Alliance Towns: Goldshire, Elwynn Forest : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Elwynn Forest"] ) and ( SubZoneName == SZ["Goldshire"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownGoldshire == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownGoldshire()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownGoldshire = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Elwynn Forest"] ) and ( SubZoneName == SZ["Goldshire"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownAuberdine == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownGoldshire = true
- else
- FinalFantasylization_InAllianceTownGoldshire = false
- end
- --'==========================================================================================
- --' Alliance Towns: Honor Hold, Hellfire Peninsula
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Honor Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownHonorHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownHonorHold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownHonorHold = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Honor Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownHonorHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownHonorHold = true
- else
- FinalFantasylization_InAllianceTownHonorHold = false
- end
- --'==========================================================================================
- --' Alliance Towns: Kharanos, Dun Morogh : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Dun Morogh"] ) and ( SubZoneName == SZ["Kharanos"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownKharanos == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownKharanos()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownKharanos = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Dun Morogh"] ) and ( SubZoneName == SZ["Kharanos"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownKharanos == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownKharanos = true
- else
- FinalFantasylization_InAllianceTownKharanos = false
- end
- --'==========================================================================================
- --' Alliance Towns: Lakeshire, Redridge Mountains
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Redridge Mountains"] ) and ( SubZoneName == SZ["Lakeshire"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownLakeshire == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownLakeshire()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownLakeshire = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Redridge Mountains"] ) and ( SubZoneName == SZ["Lakeshire"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownLakeshire == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownLakeshire = true
- else
- FinalFantasylization_InAllianceTownLakeshire = false
- end
- --'==========================================================================================
- --' Alliance Towns: Menethil Harbor, Wetlands
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Wetlands"] ) and ( SubZoneName == SZ["Menethil Harbor"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownMenethilHarbor == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownMenethilHarbor()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownMenethilHarbor = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Wetlands"] ) and ( SubZoneName == SZ["Menethil Harbor"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownMenethilHarbor == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownMenethilHarbor = true
- else
- FinalFantasylization_InAllianceTownMenethilHarbor = false
- end
- --'==========================================================================================
- --' Alliance Towns: Morgan's Vigil, Burning Steppes
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Burning Steppes"] ) and ( SubZoneName == SZ["Morgan's Vigil"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownMorgansVigil == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownMorgansVigil()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownMorgansVigil = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Burning Steppes"] ) and ( SubZoneName == SZ["Morgan's Vigil"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownMorgansVigil == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownMorgansVigil = true
- else
- FinalFantasylization_InAllianceTownMorgansVigil = false
- end
- --'==========================================================================================
- --' Alliance Towns: Nethergarde Keep, Blasted Lands
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Blasted Lands"] ) and ( SubZoneName == SZ["Nethergarde Keep"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownNethergardeKeep == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownNethergardeKeep()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownNethergardeKeep = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Blasted Lands"] ) and ( SubZoneName == SZ["Nethergarde Keep"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownNethergardeKeep == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownNethergardeKeep = true
- else
- FinalFantasylization_InAllianceTownNethergardeKeep = false
- end
- --'==========================================================================================
- --' Alliance Towns: Nijel's Point, Desolace
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Desolace"] ) and ( SubZoneName == SZ["Nijel's Point"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownNijelsPoint == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownNijelsPoint()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownNijelsPoint = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Desolace"] ) and ( SubZoneName == SZ["Nijel's Point"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownNijelsPoint == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownNijelsPoint = true
- else
- FinalFantasylization_InAllianceTownNijelsPoint = false
- end
- --'==========================================================================================
- --' Alliance Towns: Orebor Harborage, Zangarmarsh
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Orebor Harborage"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownOreborHarborage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownOreborHarborage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownOreborHarborage = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Orebor Harborage"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownOreborHarborage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownOreborHarborage = true
- else
- FinalFantasylization_InAllianceTownOreborHarborage = false
- end
- --'==========================================================================================
- --' Alliance Towns: Rebel Camp, Stranglethorn Vale
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Stranglethorn Vale"] ) and ( SubZoneName == SZ["Rebel Camp"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownRebelCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownRebelCamp()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownRebelCamp = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Stranglethorn Vale"] ) and ( SubZoneName == SZ["Rebel Camp"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownRebelCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownRebelCamp = true
- else
- FinalFantasylization_InAllianceTownRebelCamp = false
- end
- --'==========================================================================================
- --' Alliance Towns: Refuge Pointe, Arathi Highlands
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Arathi Highlands"] ) and ( SubZoneName == SZ["Refuge Pointe"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownRefugePointe == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownRefugePointe()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownRefugePointe = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Arathi Highlands"] ) and ( SubZoneName == SZ["Refuge Pointe"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownRefugePointe == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownRefugePointe = true
- else
- FinalFantasylization_InAllianceTownRefugePointe = false
- end
- --'==========================================================================================
- --' Alliance Towns: Sentinel Hill, Westfall : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Westfall"] ) and ( SubZoneName == SZ["Sentinel Hill"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownSentinelHill == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownSentinelHill()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownSentinelHill = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Westfall"] ) and ( SubZoneName == SZ["Sentinel Hill"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownSentinelHill == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownSentinelHill = true
- else
- FinalFantasylization_InAllianceTownSentinelHill = false
- end
- --'==========================================================================================
- --' Alliance Towns: Southshore, Hillsbrad Foothills
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and ( SubZoneName == SZ["Southshore"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownSouthshore == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownSouthshore()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownSouthshore = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and ( SubZoneName == SZ["Southshore"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownSouthshore == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownSouthshore = true
- else
- FinalFantasylization_InAllianceTownSouthshore = false
- end
- --'==========================================================================================
- --' Alliance Towns: Stars' Rest, Dragonblight
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Star's Rest"] ) or ( SubZoneName == SZ["Stars' Rest"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownStarsRest == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownStarsRest()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownStarsRest = true
- else
- FinalFantasylization_InAllianceTownStarsRest = false
- end
- --'==========================================================================================
- --' Alliance Towns: Stonetalon Peak, Stonetalon Mountains
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Stonetalon Mountains"] ) and ( SubZoneName == SZ["Stonetalon Peak"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownStonetalonPeak == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownStonetalonPeak()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownStonetalonPeak = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Stonetalon Mountains"] ) and ( SubZoneName == SZ["Stonetalon Peak"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownStonetalonPeak == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownStonetalonPeak = true
- else
- FinalFantasylization_InAllianceTownStonetalonPeak = false
- end
- --'==========================================================================================
- --' Alliance Towns: Sylvanaar, Blade's Edge Mountains
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Sylvanaar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownSylvanaar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownSylvanaar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownSylvanaar = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Sylvanaar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownSylvanaar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownSylvanaar = true
- else
- FinalFantasylization_InAllianceTownSylvanaar = false
- end
- --'==========================================================================================
- --' Alliance Towns: Talonbranch Glade, Felwood
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Felwood"] ) and ( SubZoneName == SZ["Talonbranch Glade"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTalonbranchGlade == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownTalonbranchGlade()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTalonbranchGlade = true
- else
- FinalFantasylization_InAllianceTownTalonbranchGlade = false
- end
- --'==========================================================================================
- --' Alliance Towns: Talrendis Point, Azshara
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Azshara"] ) and ( SubZoneName == SZ["Talrendis Point"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTalrendisPoint == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownTalrendisPoint()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTalrendisPoint = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Azshara"] ) and ( SubZoneName == SZ["Talrendis Point"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTalrendisPoint == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTalrendisPoint = true
- else
- FinalFantasylization_InAllianceTownTalrendisPoint = false
- end
- --'==========================================================================================
- --' Alliance Towns: Telaar, Nagrand
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Nagrand"] ) and ( SubZoneName == SZ["Telaar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTelaar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownTelaar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTelaar = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Nagrand"] ) and ( SubZoneName == SZ["Telaar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTelaar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTelaar = true
- else
- FinalFantasylization_InAllianceTownTelaar = false
- end
- --'==========================================================================================
- --' Alliance Towns: Telredor, Zangarmarsh
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Telredor"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTelredor == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownTelredor()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTelredor = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Telredor"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTelredor == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTelredor = true
- else
- FinalFantasylization_InAllianceTownTelredor = false
- end
- --'==========================================================================================
- --' Alliance Towns: Temple of Telhamat, Hellfire Peninsula
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Temple of Telhamat"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTempleOfTelhamat == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownTempleOfTelhamat()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTempleOfTelhamat = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Hellfire Peninsula"] ) and ( SubZoneName == SZ["Temple of Telhamat"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTempleOfTelhamat == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTempleOfTelhamat = true
- else
- FinalFantasylization_InAllianceTownTempleOfTelhamat = false
- end
- --'==========================================================================================
- --' Alliance Towns: Thalanaar, Feralas
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Feralas"] ) and ( SubZoneName == SZ["Thalanaar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownThalanaar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownThalanaar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownThalanaar = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Feralas"] ) and ( SubZoneName == SZ["Thalanaar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownThalanaar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownThalanaar = true
- else
- FinalFantasylization_InAllianceTownThalanaar = false
- end
- --'==========================================================================================
- --' Alliance Towns: Thelsamar, Loch Modan : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Loch Modan"] ) and ( SubZoneName == SZ["Thelsamar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownThelsamar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownThelsamar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownThelsamar = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Loch Modan"] ) and ( SubZoneName == SZ["Thelsamar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownThelsamar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownThelsamar = true
- else
- FinalFantasylization_InAllianceTownThelsamar = false
- end
- --'==========================================================================================
- --' Alliance Towns: Theramore Isle, Dustwallow Marsh
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Dustwallow Marsh"] ) and ( SubZoneName == SZ["Theramore Isle"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTheramoreIsle == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownTheramoreIsle()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTheramoreIsle = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Dustwallow Marsh"] ) and ( SubZoneName == SZ["Theramore Isle"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownTheramoreIsle == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownTheramoreIsle = true
- else
- FinalFantasylization_InAllianceTownTheramoreIsle = false
- end
- --'==========================================================================================
- --' Alliance Towns: Toshley's Station, Blade's Edge Mountains
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Toshley's Station"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownToshleysStation == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownToshleysStation()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownToshleysStation = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Toshley's Station"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownToshleysStation == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownToshleysStation = true
- else
- FinalFantasylization_InAllianceTownToshleysStation = false
- end
- --'==========================================================================================
- --' Alliance Towns: Valiance Keep, Borean Tundra
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Valiance Keep"] ) or ( SubZoneName == SZ["The Stormbreaker"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownValianceKeep == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownValianceKeep()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownValianceKeep = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Valiance Keep"] ) or ( SubZoneName == SZ["The Stormbreaker"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownValianceKeep == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownValianceKeep = true
- else
- FinalFantasylization_InAllianceTownValianceKeep = false
- end
- --'==========================================================================================
- --' Alliance Towns: Valgarde, Howling Fjord
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Valgarde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownValgarde == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownValgarde()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownValgarde = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Valgarde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownValgarde == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownValgarde = true
- else
- FinalFantasylization_InAllianceTownValgarde = false
- end
- --'==========================================================================================
- --' Alliance Towns: Westfall Brigade Encampment, Grizzly Hills
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Westfall Brigade Encampment"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownWestfallBrigadeEncampment == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownWestfallBrigadeEncampment()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownWestfallBrigadeEncampment = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Westfall Brigade Encampment"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownWestfallBrigadeEncampment == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownWestfallBrigadeEncampment = true
- else
- FinalFantasylization_InAllianceTownWestfallBrigadeEncampment = false
- end
- --'==========================================================================================
- --' Alliance Towns: Westguard Keep, Howling Fjord
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Westguard Keep"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownWestguardKeep == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownWestguardKeep()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownWestguardKeep = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Westguard Keep"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownWestguardKeep == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownWestguardKeep = true
- else
- FinalFantasylization_InAllianceTownWestguardKeep = false
- end
- --'==========================================================================================
- --' Alliance Towns: Wildhammer Stronghold, Shadowmoon Valley
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Wildhammer Stronghold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownWildhammerStronghold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownWildhammerStronghold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownWildhammerStronghold = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Wildhammer Stronghold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownWildhammerStronghold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownWildhammerStronghold = true
- else
- FinalFantasylization_InAllianceTownWildhammerStronghold = false
- end
- --'==========================================================================================
- --' Alliance Towns: Windrunner's Overlook, Crystalsong Forest
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Crystalsong Forest"] ) and ( SubZoneName == SZ["Windrunner's Overlook"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownWindrunnersOverlook == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownWindrunnersOverlook()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownWindrunnersOverlook = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Crystalsong Forest"] ) and ( SubZoneName == SZ["Windrunner's Overlook"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownWindrunnersOverlook == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownWindrunnersOverlook = true
- else
- FinalFantasylization_InAllianceTownWindrunnersOverlook = false
- end
- --'==========================================================================================
- --' Alliance Towns: Wintergarde Keep, Dragonblight
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Wintergarde Keep"] ) or ( SubZoneName == SZ["The Carrion Fields"] ) or ( SubZoneName == SZ["Wintergarde Mausoleum"] ) or ( SubZoneName == SZ["Wintergarde Crypt"] ) or ( SubZoneName == SZ["Thorson's Post"] ) or ( SubZoneName == SZ["Wintergarde Mine"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownWintergardeKeep == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownWintergardeKeep()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownWintergardeKeep = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName ==Z["Dragonblight"] ) and ( ( SubZoneName == SZ["Wintergarde Keep"] ) or ( SubZoneName == SZ["The Carrion Fields"] ) or ( SubZoneName == SZ["Wintergarde Mausoleum"] ) or ( SubZoneName == SZ["Wintergarde Crypt"] ) or ( SubZoneName == SZ["Thorson's Post"] ) or ( SubZoneName == SZ["Wintergarde Mine"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownWintergardeKeep == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownWintergardeKeep = true
- else
- FinalFantasylization_InAllianceTownWintergardeKeep = false
- end
- --'==========================================================================================
- --' Alliance Towns: Brewnall Village, Dun Morogh
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Dun Morogh"] ) and ( SubZoneName == SZ["Brewnall Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownBrewnallVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownBrewnallVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownBrewnallVillage = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Dun Morogh"] ) and ( SubZoneName == SZ["Brewnall Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownBrewnallVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownBrewnallVillage = true
- else
- FinalFantasylization_InAllianceTownBrewnallVillage = false
- end
- --'==========================================================================================
- --' Alliance Towns: Eastvale Logging Camp, Elwynn Forest
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Elwynn Forest"] ) and ( SubZoneName == SZ["Eastvale Logging Camp"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownEastvaleLoggingCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownEastvaleLoggingCamp()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownEastvaleLoggingCamp = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Elwynn Forest"] ) and ( SubZoneName == SZ["Eastvale Logging Camp"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownEastvaleLoggingCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownEastvaleLoggingCamp = true
- else
- FinalFantasylization_InAllianceTownEastvaleLoggingCamp = false
- end
- --'==========================================================================================
- --' Alliance Towns: Pyrewood Village, Silverpine Forest
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Silverpine Forest"] ) and ( SubZoneName == SZ["Pyrewood Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownPyrewoodVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownPyrewoodVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownPyrewoodVillage = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Silverpine Forest"] ) and ( SubZoneName == SZ["Pyrewood Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownPyrewoodVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownPyrewoodVillage = true
- else
- FinalFantasylization_InAllianceTownPyrewoodVillage = false
- end
- --'==========================================================================================
- --' Alliance Towns: Rut'theran Village, Teldrassil
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Teldrassil"] ) and ( ( SubZoneName == SZ["Rut'theran Village"] ) or ( SubZoneName == SZ["Rut'Theran Village"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownRuttheranVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownRuttheranVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownRuttheranVillage = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Teldrassil"] ) and ( ( SubZoneName == SZ["Rut'theran Village"] ) or ( SubZoneName == SZ["Rut'Theran Village"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownRuttheranVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownRuttheranVillage = true
- else
- FinalFantasylization_InAllianceTownRuttheranVillage = false
- end
- --'==========================================================================================
- --' Alliance Towns: Bael Modan, The Barrens
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["Bael Modan"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownBaelModan == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownBaelModan()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownBaelModan = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["The Barrens"] ) and ( SubZoneName == SZ["Bael Modan"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownBaelModan == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownBaelModan = true
- else
- FinalFantasylization_InAllianceTownBaelModan = false
- end
- --'==========================================================================================
- --' Alliance Towns: Starfall Village, Winterspring
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Winterspring"] ) and ( SubZoneName == SZ["Starfall Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownStarfallVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownStarfallVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownStarfallVillage = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Winterspring"] ) and ( SubZoneName == SZ["Starfall Village"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownStarfallVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownStarfallVillage = true
- else
- FinalFantasylization_InAllianceTownStarfallVillage = false
- end
- --'==========================================================================================
- --' Alliance Towns: The Maclure Vineyards, Elwynn Forest
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Elwynn Forest"] ) and ( SubZoneName == SZ["The Maclure Vineyards"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownMaclureVineyards == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownMaclureVineyards()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownMaclureVineyards = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Elwynn Forest"] ) and ( SubZoneName == SZ["The Maclure Vineyards"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownMaclureVineyards == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownMaclureVineyards = true
- else
- FinalFantasylization_InAllianceTownMaclureVineyards = false
- end
- --'==========================================================================================
- --' Alliance Towns: Hillsbrad Fields, Hillsbrad Foothills
- --'==========================================================================================
- if not ( IsResting() ) and ( factionEnglish == F["Alliance"] ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and ( SubZoneName == SZ["Hillsbrad Fields"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownHillsbradFields == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_AllianceTownHillsbradFields()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownHillsbradFields = true
- elseif ( factionEnglish == F["Horde"] ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and ( SubZoneName == SZ["Hillsbrad Fields"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InAllianceTownHillsbradFields == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileTown .. SubZoneName..", "..ZoneName.. PlayerInHostile)
- FinalFantasylization_HostileTowns() -- Music call for all towns you are hostile in.
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InAllianceTownHillsbradFields = true
- else
- FinalFantasylization_InAllianceTownHillsbradFields = false
- end
- --###########################################################################################
- --###########################################################################################
- --##
- --## NEUTRAL TOWNS
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Neutral Towns: Altar of Sha'tar, Shadowmoon Valley
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Altar of Sha'tar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownAltarOfShatar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownAltarOfShatar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownAltarOfShatar = true
- else
- FinalFantasylization_InNeutralTownAltarOfShatar = false
- end
- --'==========================================================================================
- --' Neutral Towns: Amber Ledge, Borean Tundra
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Amber Ledge"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownAmberLedge == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownAmberLedge()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownAmberLedge = true
- else
- FinalFantasylization_InNeutralTownAmberLedge = false
- end
- --'==========================================================================================
- --' Neutral Towns: Argent Tournament Grounds, Icecrown
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["Argent Tournament Grounds"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownArgentTournamentGrounds == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownArgentTournamentGrounds()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownArgentTournamentGrounds = true
- else
- FinalFantasylization_InNeutralTownArgentTournamentGrounds = false
- end
- --'==========================================================================================
- --' Neutral Towns: Argent Vanguard , Icecrown
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["Argent Vanguard"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownArgentVanguard == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownArgentVanguard()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownArgentVanguard = true
- else
- FinalFantasylization_InNeutralTownArgentVanguard = false
- end
- --'==========================================================================================
- --' Neutral Towns: Bouldercrag's Refuge, The Storm Peaks
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Bouldercrag's Refuge"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownBouldercragsRefuge == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownBouldercragsRefuge()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownBouldercragsRefuge = true
- else
- FinalFantasylization_InNeutralTownBouldercragsRefuge = false
- end
- --'==========================================================================================
- --' Neutral Towns: Cenarion Hold, Silithus
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Silithus"] ) and ( SubZoneName == SZ["Cenarion Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownCenarionHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownCenarionHold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownCenarionHold = true
- else
- FinalFantasylization_InNeutralTownCenarionHold = false
- end
- --'==========================================================================================
- --' Neutral Towns: Cenarion Refuge, Zangarmarsh
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Cenarion Refuge"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownCenarionRefuge == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownCenarionRefuge()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownCenarionRefuge = true
- else
- FinalFantasylization_InNeutralTownCenarionRefuge = false
- end
- --'==========================================================================================
- --' Neutral Towns: Cosmowrench, Netherstorm
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and ( SubZoneName == SZ["Cosmowrench"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownCosmowrench == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownCosmowrench()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownCosmowrench = true
- else
- FinalFantasylization_InNeutralTownCosmowrench = false
- end
- --'==========================================================================================
- --' Neutral Towns: Crusaders' Pinnacle, Icecrown
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["Crusaders' Pinnacle"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownCrusadersPinnacle == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownCrusadersPinnacle()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownCrusadersPinnacle = true
- else
- FinalFantasylization_InNeutralTownCrusadersPinnacle = false
- end
- --'==========================================================================================
- --' Neutral Towns: Death's Rise, Icecrown
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["Death's Rise"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownDeathsRise == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownDeathsRise()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownDeathsRise = true
- else
- FinalFantasylization_InNeutralTownDeathsRise = false
- end
- --'==========================================================================================
- --' Neutral Towns: Dun Niffelem, The Storm Peaks
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["Dun Niffelem"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownDunNiffelem == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownDunNiffelem()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownDunNiffelem = true
- else
- FinalFantasylization_InNeutralTownDunNiffelem = false
- end
- --'==========================================================================================
- --' Neutral Towns: Ebon Watch, Zul'drak
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Zul'Drak"] ) and ( SubZoneName == SZ["Ebon Watch"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownEbonWatch == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownEbonWatch()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownEbonWatch = true
- else
- FinalFantasylization_InNeutralTownEbonWatch = false
- end
- --'==========================================================================================
- --' Neutral Towns: Emerald Sanctuary, Felwood
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Felwood"] ) and ( SubZoneName == SZ["Emerald Sanctuary"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownEmeraldSanctuary == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownEmeraldSanctuary()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownEmeraldSanctuary = true
- else
- FinalFantasylization_InNeutralTownEmeraldSanctuary = false
- end
- --'==========================================================================================
- --' Neutral Towns: Evergrove, Blade's Edge Mountains
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Evergrove"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownEvergrove == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownEvergrove()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownEvergrove = true
- else
- FinalFantasylization_InNeutralTownEvergrove = false
- end
- --'==========================================================================================
- --' Neutral Towns: Frenzyheart Hill, Sholazar Basin (at odds with the Oracles in Rainspeaker Canopy)
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Frenzyheart Hill"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownFrenzyheartHill == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownFrenzyheartHill()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownFrenzyheartHill = true
- else
- FinalFantasylization_InNeutralTownFrenzyheartHill = false
- end
- --'==========================================================================================
- --' Neutral Towns: Halaa, Nagrand
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Nagrand"] ) and ( SubZoneName == SZ["Halaa"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownHalaa == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownHalaa()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownHalaa = true
- else
- FinalFantasylization_InNeutralTownHalaa = false
- end
- --'==========================================================================================
- --' Neutral Towns: K3, The Storm Peaks
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["The Storm Peaks"] ) and ( SubZoneName == SZ["K3"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownK3 == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownK3()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownK3 = true
- else
- FinalFantasylization_InNeutralTownK3 = false
- end
- --'==========================================================================================
- --' Neutral Towns: Kamagua, Howling Fjord
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Kamagua"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownKamagua == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownKamagua()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownKamagua = true
- else
- FinalFantasylization_InNeutralTownKamagua = false
- end
- --'==========================================================================================
- --' Neutral Towns: Light's Breach, Zul'drak
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Zul'Drak"] ) and ( SubZoneName == SZ["Light's Breach"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownLightsBreach == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownLightsBreach()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownLightsBreach = true
- else
- FinalFantasylization_InNeutralTownLightsBreach = false
- end
- --'==========================================================================================
- --' Neutral Towns: Light's Hope Chapel, Eastern Plaguelands
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Eastern Plaguelands"] ) and ( SubZoneName == SZ["Light's Hope Chapel"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownLightsHopeChapel == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownLightsHopeChapel()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownLightsHopeChapel = true
- else
- FinalFantasylization_InNeutralTownLightsHopeChapel = false
- end
- --'==========================================================================================
- --' Neutral Towns: Marshal's Refuge, Un'Goro Crater
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Un'Goro Crater"] ) and ( SubZoneName == SZ["Marshal's Refuge"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownMarshalsRefuge == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownMarshalsRefuge()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownMarshalsRefuge = true
- else
- FinalFantasylization_InNeutralTownMarshalsRefuge = false
- end
- --'==========================================================================================
- --' Neutral Towns: Moa'ki Harbor, Dragonblight
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Dragonblight"] ) and ( SubZoneName == SZ["Moa'ki Harbor"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownMoakiHarbor == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownMoakiHarbor()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownMoakiHarbor = true
- else
- FinalFantasylization_InNeutralTownMoakiHarbor = false
- end
- --'==========================================================================================
- --' Neutral Towns: Mudsprocket, Dustwallow Marsh
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Dustwallow Marsh"] ) and ( SubZoneName == SZ["Mudsprocket"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownMudsprocket == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownMudsprocket()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownMudsprocket = true
- else
- FinalFantasylization_InNeutralTownMudsprocket = false
- end
- --'==========================================================================================
- --' Neutral Towns: Nesingwary Base Camp, Sholazar Basin
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Nesingwary Base Camp"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownNesingwaryBaseCamp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownNesingwaryBaseCamp()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownNesingwaryBaseCamp = true
- else
- FinalFantasylization_InNeutralTownNesingwaryBaseCamp = false
- end
- --'==========================================================================================
- --' Neutral Towns: Nighthaven, Moonglade
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Moonglade"] ) and ( SubZoneName == SZ["Nighthaven"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownNighthaven == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownNighthaven()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownNighthaven = true
- else
- FinalFantasylization_InNeutralTownNighthaven = false
- end
- --'==========================================================================================
- --' Neutral Towns: Rainspeaker Canopy, Sholazar Basin (at odds with the Frenzyheart Tribe in Frenzyheart Hill)
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Rainspeaker Canopy"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownRainspeakerCanopy == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownRainspeakerCanopy()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownRainspeakerCanopy = true
- else
- FinalFantasylization_InNeutralTownRainspeakerCanopy = false
- end
- --'==========================================================================================
- --' Neutral Towns: River's Heart, Sholazar Basin
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["River's Heart"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownRiversHeart == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownRiversHeart()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownRiversHeart = true
- else
- FinalFantasylization_InNeutralTownRiversHeart = false
- end
- --'==========================================================================================
- --' Neutral Towns: Sanctum of the Stars, Shadowmoon Valley
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Shadowmoon Valley"] ) and ( SubZoneName == SZ["Sanctum of the Stars"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownSanctumOfTheStars == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownSanctumOfTheStars()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownSanctumOfTheStars = true
- else
- FinalFantasylization_InNeutralTownSanctumOfTheStars = false
- end
- --'==========================================================================================
- --' Neutral Towns: The Shadow Vault, Icecrown
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["The Shadow Vault"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownShadowVault == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownShadowVault()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownShadowVault = true
- else
- FinalFantasylization_InNeutralTownShadowVault = false
- end
- --'==========================================================================================
- --' Neutral Towns: Sporeggar, Zangarmarsh
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Zangarmarsh"] ) and ( SubZoneName == SZ["Sporeggar"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownSporeggar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownSporeggar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownSporeggar = true
- else
- FinalFantasylization_InNeutralTownSporeggar = false
- end
- --'==========================================================================================
- --' Neutral Towns: The Stormspire, Netherstorm
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and ( ( SubZoneName == SZ["The Stormspire"] ) or ( SubZoneName == SZ["Eco-Dome Sutheron"] ) or ( SubZoneName == SZ["Eco-Dome Skyperch"] ) )and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownStormspire == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownStormspire()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownStormspire = true
- else
- FinalFantasylization_InNeutralTownStormspire = false
- end
- --'==========================================================================================
- --' Neutral Towns: Sun's Reach, Isle of Quel'Danas
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Isle of Quel'Danas"] ) and ( ( SubZoneName == SZ["Sun's Reach Armory"] ) or ( SubZoneName == SZ["Sun's Reach Harbor"] ) or ( SubZoneName == SZ["Sun's Reach Sanctum"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownSunsReach == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownSunsReach()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownSunsReach = true
- else
- FinalFantasylization_InNeutralTownSunsReach = false
- end
- --'==========================================================================================
- --' Neutral Towns: The Argent Stand, Zul'drak
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Zul'Drak"] ) and ( SubZoneName == SZ["The Argent Stand"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownTheArgentStand == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownTheArgentStand()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownTheArgentStand = true
- else
- FinalFantasylization_InNeutralTownTheArgentStand = false
- end
- --'==========================================================================================
- --' Neutral Towns: Thorium Point, Searing Gorge
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Searing Gorge"] ) and ( SubZoneName == SZ["Thorium Point"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownThoriumPoint == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownThoriumPoint()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownThoriumPoint = true
- else
- FinalFantasylization_InNeutralTownThoriumPoint = false
- end
- --'==========================================================================================
- --' Neutral Towns: Transitus Shield, Borean Tundra
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Transitus Shield"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownTransitusShield == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownTransitusShield()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownTransitusShield = true
- else
- FinalFantasylization_InNeutralTownTransitusShield = false
- end
- --'==========================================================================================
- --' Neutral Towns: Unu'pe, Borean Tundra
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( SubZoneName == SZ["Unu'pe"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownUnupe == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownUnupe()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownUnupe = true
- else
- FinalFantasylization_InNeutralTownUnupe = false
- end
- --'==========================================================================================
- --' Neutral Towns: Wyrmrest Temple, Dragonblight
- --'==========================================================================================
- if ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Wyrmrest Temple"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownWyrmrestTemple == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownWyrmrestTemple()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownWyrmrestTemple = true
- else
- FinalFantasylization_InNeutralTownWyrmrestTemple = false
- end
- --'==========================================================================================
- --' Neutral Towns: Zim'Torga, Zul'drak
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Zul'Drak"] ) and ( SubZoneName == SZ["Zim'Torga"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownZimTorga == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownZimTorga()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownZimTorga = true
- else
- FinalFantasylization_InNeutralTownZimTorga = false
- end
- --'==========================================================================================
- --' Neutral Towns: The Harborage, Swamp of Sorrows
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Swamp of Sorrows"] ) and ( SubZoneName == SZ["The Harborage"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownTheHarborage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownTheHarborage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownTheHarborage = true
- else
- FinalFantasylization_InNeutralTownTheHarborage = false
- end
- --'==========================================================================================
- --' Neutral Towns: Valor's Rest, Silithus
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Silithus"] ) and ( SubZoneName == SZ["Valor's Rest"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownValorsRest == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownValorsRest()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownValorsRest = true
- else
- FinalFantasylization_InNeutralTownValorsRest = false
- end
- --'==========================================================================================
- --' Neutral Towns: Steamwheedle Port, Tanaris
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Tanaris"] ) and ( SubZoneName == SZ["Steamwheedle Port"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownSteamwheedlePort == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownSteamwheedlePort()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownSteamwheedlePort = true
- else
- FinalFantasylization_InNeutralTownSteamwheedlePort = false
- end
- --'==========================================================================================
- --' Neutral Towns: Mirage Raceway, Thousand Needles
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Thousand Needles"] ) and ( SubZoneName == SZ["Mirage Raceway"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownMirageRaceway == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownMirageRaceway()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownMirageRaceway = true
- else
- FinalFantasylization_InNeutralTownMirageRaceway = false
- end
- --'==========================================================================================
- --' Neutral Towns: Aeris Landing, Nagrand
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Nagrand"] ) and ( SubZoneName == SZ["Aeris Landing"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownAerisLanding == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownAerisLanding()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownAerisLanding = true
- else
- FinalFantasylization_InNeutralTownAerisLanding = false
- end
- --'==========================================================================================
- --' Neutral Towns: Midrealm Post, Netherstorm
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and ( ( SubZoneName == SZ["Midrealm Post"] ) or ( SubZoneName == SZ["Eco-Dome Midrealm"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownMidrealmPost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownMidrealmPost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownMidrealmPost = true
- else
- FinalFantasylization_InNeutralTownMidrealmPost = false
- end
- --'==========================================================================================
- --' Neutral Towns: Protectorate Watch Post, Netherstorm
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and ( SubZoneName == SZ["Protectorate Watch Post"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownProtectorateWatchPost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownProtectorateWatchPost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownProtectorateWatchPost = true
- else
- FinalFantasylization_InNeutralTownProtectorateWatchPost = false
- end
- --'==========================================================================================
- --' Neutral Towns: Dawn's Reach, Dragonblight
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Dawn's Reach"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownDawnsReach == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownDawnsReach()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownDawnsReach = true
- else
- FinalFantasylization_InNeutralTownDawnsReach = false
- end
- --'==========================================================================================
- --' Neutral Towns: Light's Trust, Dragonblight
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName ==Z["Dragonblight"] ) and ( SubZoneName == SZ["Light's Trust"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownLightsTrust == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownLightsTrust()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownLightsTrust = true
- else
- FinalFantasylization_InNeutralTownLightsTrust = false
- end
- --'==========================================================================================
- --' Neutral Towns: Granite Springs, Grizzly Hills
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Granite Springs"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownGraniteSprings == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownGraniteSprings()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownGraniteSprings = true
- else
- FinalFantasylization_InNeutralTownGraniteSprings = false
- end
- --'==========================================================================================
- --' Neutral Towns: Venture Bay, Grizzly Hills
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Grizzly Hills"] ) and ( SubZoneName == SZ["Venture Bay"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownVentureBay == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownVentureBay()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownVentureBay = true
- else
- FinalFantasylization_InNeutralTownVentureBay = false
- end
- --'==========================================================================================
- --' Neutral Towns: Scalawag Point, Howling Fjord
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Howling Fjord"] ) and ( SubZoneName == SZ["Scalawag Point"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownScalawagPoint == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownScalawagPoint()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownScalawagPoint = true
- else
- FinalFantasylization_InNeutralTownScalawagPoint = false
- end
- --'==========================================================================================
- --' Neutral Towns: Blackwatch, Icecrown
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Icecrown"] ) and ( SubZoneName == SZ["Blackwatch"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownBlackwatch == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownBlackwatch()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownBlackwatch = true
- else
- FinalFantasylization_InNeutralTownBlackwatch = false
- end
- --'==========================================================================================
- --' Neutral Towns: Dorian's Outpost, Sholazar Basin
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Dorian's Outpost"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownDoriansOutpost == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownDoriansOutpost()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownDoriansOutpost = true
- else
- FinalFantasylization_InNeutralTownDoriansOutpost = false
- end
- --'==========================================================================================
- --' Neutral Towns: Kartak's Hold, Sholazar Basin
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Kartak's Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownKartaksHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownKartaksHold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownKartaksHold = true
- else
- FinalFantasylization_InNeutralTownKartaksHold = false
- end
- --'==========================================================================================
- --' Neutral Towns: Lakeside Landing, Sholazar Basin
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Lakeside Landing"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownLakesideLanding == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownLakesideLanding()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownLakesideLanding = true
- else
- FinalFantasylization_InNeutralTownLakesideLanding = false
- end
- --'==========================================================================================
- --' Neutral Towns: Mistwhisper Refuge, Sholazar Basin
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Mistwhisper Refuge"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownMistwhisperRefuge == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownMistwhisperRefuge()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownMistwhisperRefuge = true
- else
- FinalFantasylization_InNeutralTownMistwhisperRefuge = false
- end
- --'==========================================================================================
- --' Neutral Towns: Sparktouched Haven, Sholazar Basin
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Sparktouched Haven"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownSparktouchedHaven == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownSparktouchedHaven()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownSparktouchedHaven = true
- else
- FinalFantasylization_InNeutralTownSparktouchedHaven = false
- end
- --'==========================================================================================
- --' Neutral Towns: Spearborn Encampment, Sholazar Basin
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Sholazar Basin"] ) and ( SubZoneName == SZ["Spearborn Encampment"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownSpearbornEncampment == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownSpearbornEncampment()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownSpearbornEncampment = true
- else
- FinalFantasylization_InNeutralTownSpearbornEncampment = false
- end
- --'==========================================================================================
- --' Neutral Towns: Dubra'Jin, Zul'Drak
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Zul'Drak"] ) and ( SubZoneName == SZ["Dubra'Jin"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownDubraJin == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownDubraJin()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownDubraJin = true
- else
- FinalFantasylization_InNeutralTownDubraJin = false
- end
- --'==========================================================================================
- --' Neutral Towns: Ogri'la, Blade's Edge Mountains
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and ( SubZoneName == SZ["Ogri'la"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownOgrila == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownOgrila()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownOgrila = true
- else
- FinalFantasylization_InNeutralTownOgrila = false
- end
- --'==========================================================================================
- --' Neutral Towns: Timbermaw Hold
- --'==========================================================================================
- if not ( IsResting() ) and ( ( ZoneName == Z["Azshara"] ) or ( ZoneName == Z["Felwood"] ) or ( ZoneName == Z["Moonglade"] ) or ( ZoneName == Z["Winterspring"] ) ) and ( SubZoneName == SZ["Timbermaw Hold"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownTimbermawHold == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownTimbermawHold()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownTimbermawHold = true
- else
- FinalFantasylization_InNeutralTownTimbermawHold = false
- end
- --'==========================================================================================
- --' Neutral Towns: Darrowshire, Eastern Plaguelands
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Eastern Plaguelands"] ) and ( SubZoneName == SZ["Darrowshire"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownDarrowshire == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownDarrowshire()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownDarrowshire = true
- else
- FinalFantasylization_InNeutralTownDarrowshire = false
- end
- --'==========================================================================================
- --' Neutral Towns: Kirin'Var Village, Netherstorm
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and ( ( SubZoneName == SZ["Wizard Row"] ) or ( SubZoneName == SZ["Town Square"] ) or ( SubZoneName == SZ["Chapel Yard"] ) or ( SubZoneName == SZ["The Violet Tower"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNeutralTownKirinVarVillage == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NeutralTownKirinVarVillage()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNeutralTownKirinVarVillage = true
- else
- FinalFantasylization_InNeutralTownKirinVarVillage = false
- end
- --###########################################################################################
- --###########################################################################################
- --##
- --## MISCELANEOUS ZONES
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Misc Areas: Deeprun Tram, Between Stormwing City and Ironforge
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Deeprun Tram"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InMiscAreaDeeprunTram == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_MiscAreaDeeprunTram()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InMiscAreaDeeprunTram = true
- else
- FinalFantasylization_InMiscAreaDeeprunTram = false
- end
- --'==========================================================================================
- --' Misc Areas: Scarlet Monastery, Tirisfal Glades (the building in Tirisfal Glades, not the instance itself.)
- --'==========================================================================================
- if not ( IsInInstance() ) and ( ZoneName == Z["Scarlet Monastery"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InMiscAreaScarletMonastery == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_MiscAreaScarletMonastery()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InMiscAreaScarletMonastery = true
- else
- FinalFantasylization_InMiscAreaScarletMonastery = false
- end
- --'==========================================================================================
- --' Misc Areas: Razorfen Kraul, The Barrens (the area directly before Razorfen Kraul instance)
- --'==========================================================================================
- if not ( IsInInstance() ) and ( ( ZoneName == Z["Razorfen Kraul"] ) or ( SubZoneName == SZ["Razorfen Kraul"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InMiscAreaRazorfenKraul == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_MiscAreaRazorfenKraul()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InMiscAreaRazorfenKraul = true
- else
- FinalFantasylization_InMiscAreaRazorfenKraul = false
- end
- --'==========================================================================================
- --' Misc Areas: Razorfen Downs, The Barrens (the area directly before Razorfen Kraul instance)
- --'==========================================================================================
- if not ( IsInInstance() ) and ( ( ZoneName == Z["Razorfen Downs"] ) or ( SubZoneName == SZ["Razorfen Downs"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InMiscAreaRazorfenDowns == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_MiscAreaRazorfenDowns()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InMiscAreaRazorfenDowns = true
- else
- FinalFantasylization_InMiscAreaRazorfenDowns = false
- end
- --'==========================================================================================
- --' Misc Areas: Wailing Caverns, The Barrens (the Cave before Wailing Caverns instance)
- --'==========================================================================================
- if not ( IsInInstance() ) and ( ZoneName == Z["Wailing Caverns"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InMiscAreaWailingCaverns == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn .. " " .. ZoneName)
- FinalFantasylization_MiscAreaWailingCaverns()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InMiscAreaWailingCaverns = true
- else
- FinalFantasylization_InMiscAreaWailingCaverns = false
- end
- --'==========================================================================================
- --' Misc Areas: The Deadmines, Westfall (the Cave before The Deadmines instance)
- --'==========================================================================================
- if not ( IsInInstance() ) and ( ZoneName == Z["The Deadmines"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InMiscAreaTheDeadmines == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_MiscAreaTheDeadmines()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InMiscAreaTheDeadmines = true
- else
- FinalFantasylization_InMiscAreaTheDeadmines = false
- end
- --'==========================================================================================
- --' Misc Areas: Caverns of Time, Tanaris
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Tanaris"] ) and ( SubZoneName == SZ["Caverns of Time"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InMiscAreaCavernsOfTime == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_MiscAreaCavernsOfTime()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InMiscAreaCavernsOfTime = true
- else
- FinalFantasylization_InMiscAreaCavernsOfTime = false
- end
- --###########################################################################################
- --###########################################################################################
- --##
- --## EASTERN KINGDOMS ZONES
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Alterac Mountains
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Alterac Mountains"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsAlteracMountains == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsAlteracMountains()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsAlteracMountains = true
- else
- FinalFantasylization_InEasternKingdomsAlteracMountains = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Arathi Highlands
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Arathi Highlands"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsArathiHighlands == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsArathiHighlands()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsArathiHighlands = true
- else
- FinalFantasylization_InEasternKingdomsArathiHighlands = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Badlands
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Badlands"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsBadlands == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsBadlands()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsBadlands = true
- else
- FinalFantasylization_InEasternKingdomsBadlands = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Blackrock Mountain
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Blackrock Mountain"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsBlackrockMountain == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsBlackrockMountain()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsBlackrockMountain = true
- else
- FinalFantasylization_InEasternKingdomsBlackrockMountain = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Blasted Lands
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Blasted Lands"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsTheBlastedLands == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsBlastedLands()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsTheBlastedLands = true
- else
- FinalFantasylization_InEasternKingdomsTheBlastedLands = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Burning Steppes
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Burning Steppes"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsBurningSteppes == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsBurningSteppes()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsBurningSteppes = true
- else
- FinalFantasylization_InEasternKingdomsBurningSteppes = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Deadwind Pass
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Deadwind Pass"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsDeadwindPass == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsDeadwindPass()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsDeadwindPass = true
- else
- FinalFantasylization_InEasternKingdomsDeadwindPass = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Dun Morogh : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Dun Morogh"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsDunMorogh == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsDunMorogh()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsDunMorogh = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Dun Morogh"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsDunMorogh == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_EasternKingdomsDunMoroghHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsDunMorogh = true
- else
- FinalFantasylization_InEasternKingdomsDunMorogh = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Duskwood
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Duskwood"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsDuskwood == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsDuskwood()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsDuskwood = true
- else
- FinalFantasylization_InEasternKingdomsDuskwood = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Eastern Plaguelands
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Eastern Plaguelands"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsEasternPlaguelands == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsEasternPlaguelands()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsEasternPlaguelands = true
- else
- FinalFantasylization_InEasternKingdomsEasternPlaguelands = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Elwynn Forest : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Elwynn Forest"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsElwynnForest == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsElwynnForest()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsElwynnForest = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Elwynn Forest"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsElwynnForest == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_EasternKingdomsElwynnForestHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsElwynnForest = true
- else
- FinalFantasylization_InEasternKingdomsElwynnForest = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Eversong Woods : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Eversong Woods"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsEversongWoods == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsEversongWoods()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsEversongWoods = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Eversong Woods"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsEversongWoods == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_EasternKingdomsEversongWoodsHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsEversongWoods = true
- else
- FinalFantasylization_InEasternKingdomsEversongWoods = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Ghostlands : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Ghostlands"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsGhostlands == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsGhostlands()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsGhostlands = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Ghostlands"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsGhostlands == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_EasternKingdomsGhostlandsHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsGhostlands = true
- else
- FinalFantasylization_InEasternKingdomsGhostlands = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Hillsbrad Foothills
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Hillsbrad Foothills"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsHillsbradFoothills == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsHillsbradFoothills()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsHillsbradFoothills = true
- else
- FinalFantasylization_InEasternKingdomsHillsbradFoothills = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Isle of Quel'Danas
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Isle of Quel'Danas"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsIsleofQuelDanas == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsIsleofQuelDanas()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsIsleofQuelDanas = true
- else
- FinalFantasylization_InEasternKingdomsIsleofQuelDanas = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Loch Modan : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Loch Modan"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsLochModan == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsLochModan()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsLochModan = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Loch Modan"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsLochModan == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_EasternKingdomsLochModanHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsLochModan = true
- else
- FinalFantasylization_InEasternKingdomsLochModan = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Redridge Mountains
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Redridge Mountains"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsRedridgeMountains == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsRedridgeMountains()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsRedridgeMountains = true
- else
- FinalFantasylization_InEasternKingdomsRedridgeMountains = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Searing Gorge
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Searing Gorge"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsSearingGorge == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsSearingGorge()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsSearingGorge = true
- else
- FinalFantasylization_InEasternKingdomsSearingGorge = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Silverpine Forest : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Silverpine Forest"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsSilverpineForest == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsSilverpineForest()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsSilverpineForest = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Silverpine Forest"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsSilverpineForest == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_EasternKingdomsSilverpineForestHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsSilverpineForest = true
- else
- FinalFantasylization_InEasternKingdomsSilverpineForest = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Stranglethorn Vale
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Stranglethorn Vale"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsStranglethornVale == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsStranglethornVale()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsStranglethornVale = true
- else
- FinalFantasylization_InEasternKingdomsStranglethornVale = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Swamp of Sorrows
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Swamp of Sorrows"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsSwampOfSorrows == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsSwampOfSorrows()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsSwampOfSorrows = true
- else
- FinalFantasylization_InEasternKingdomsSwampOfSorrows = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: The Hinterlands
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["The Hinterlands"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsTheHinterlands == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsTheHinterlands()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsTheHinterlands = true
- else
- FinalFantasylization_InEasternKingdomsTheHinterlands = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Tirisfal Glades : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Tirisfal Glades"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsTirisfalGlades == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsTirisfalGlades()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsTirisfalGlades = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Tirisfal Glades"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsTirisfalGlades == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_EasternKingdomsTirisfalGladesHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsTirisfalGlades = true
- else
- FinalFantasylization_InEasternKingdomsTirisfalGlades = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Western Plaguelands
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Western Plaguelands"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsWesternPlaguelands == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsWesternPlaguelands()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsWesternPlaguelands = true
- else
- FinalFantasylization_InEasternKingdomsWesternPlaguelands = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Westfall : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Westfall"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsWestfall == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsWestfall()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsWestfall = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Westfall"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsWestfall == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_EasternKingdomsWestfallHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsWestfall = true
- else
- FinalFantasylization_InEasternKingdomsWestfall = false
- end
- --'==========================================================================================
- --' Eastern Kingdoms Zones: Wetlands
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Wetlands"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InEasternKingdomsWetlands == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_EasternKingdomsWetlands()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InEasternKingdomsWetlands = true
- else
- FinalFantasylization_InEasternKingdomsWetlands = false
- end
- --###########################################################################################
- --###########################################################################################
- --##
- --## KALIMDOR ZONES
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Kalimdor Zones: Ashenvale
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Ashenvale"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorAshenvale == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorAshenvale()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorAshenvale = true
- else
- FinalFantasylization_InKalimdorAshenvale = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Azshara
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Azshara"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorAzshara == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorAzshara()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorAzshara = true
- else
- FinalFantasylization_InKalimdorAzshara = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Azuremyst Isle : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Azuremyst Isle"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorAzuremystIsle == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorAzuremystIsle()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorAzuremystIsle = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Azuremyst Isle"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorAzuremystIsle == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_KalimdorAzuremystIsleHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorAzuremystIsle = true
- else
- FinalFantasylization_InKalimdorAzuremystIsle = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Bloodmyst Isle : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Bloodmyst Isle"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorBloodmystIsle == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorBloodmystIsle()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorBloodmystIsle = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Bloodmyst Isle"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorBloodmystIsle == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_KalimdorBloodmystIsleHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorBloodmystIsle = true
- else
- FinalFantasylization_InKalimdorBloodmystIsle = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Darkshore : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Darkshore"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorDarkshore == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorDarkshore()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorDarkshore = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Darkshore"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorDarkshore == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_KalimdorDarkshoreHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorDarkshore = true
- else
- FinalFantasylization_InKalimdorDarkshore = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Desolace
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Desolace"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorDesolace == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorDesolace()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorDesolace = true
- else
- FinalFantasylization_InKalimdorDesolace = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Durotar : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Durotar"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorDurotar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorDurotar()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorDurotar = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Durotar"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorDurotar == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_KalimdorDurotarHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorDurotar = true
- else
- FinalFantasylization_InKalimdorDurotar = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Dustwallow Marsh
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Dustwallow Marsh"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorDustwallowMarsh == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorDustwallowMarsh()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorDustwallowMarsh = true
- else
- FinalFantasylization_InKalimdorDustwallowMarsh = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Felwood
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Felwood"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorFelwood == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorFelwood()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorFelwood = true
- else
- FinalFantasylization_InKalimdorFelwood = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Feralas
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Feralas"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorFeralas == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorFeralas()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorFeralas = true
- else
- FinalFantasylization_InKalimdorFeralas = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Moonglade
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Moonglade"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorMoonglade == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorMoonglade()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorMoonglade = true
- else
- FinalFantasylization_InKalimdorMoonglade = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Mulgore : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Mulgore"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorMulgore == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorMulgore()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorMulgore = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Mulgore"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorMulgore == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_KalimdorMulgoreHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorMulgore = true
- else
- FinalFantasylization_InKalimdorMulgore = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Silithus
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Silithus"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorSilithus == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorSilithus()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorSilithus = true
- else
- FinalFantasylization_InKalimdorSilithus = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Stonetalon Mountains
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Stonetalon Mountains"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorStonetalonMountains == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorStonetalonMountains()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorStonetalonMountains = true
- else
- FinalFantasylization_InKalimdorStonetalonMountains = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Tanaris
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Tanaris"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorTanaris == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorTanaris()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorTanaris = true
- else
- FinalFantasylization_InKalimdorTanaris = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Teldrassil : ALLIANCE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Teldrassil"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorTeldrassil == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorTeldrassil()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorTeldrassil = true
- elseif not ( IsResting() ) and ( ZoneName == Z["Teldrassil"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorTeldrassil == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_KalimdorTeldrassilHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorTeldrassil = true
- else
- FinalFantasylization_InKalimdorTeldrassil = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: The Barrens : HORDE TERRITORY
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["The Barrens"] ) and ( factionEnglish == F["Horde"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorTheBarrens == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorTheBarrens()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorTheBarrens = true
- elseif not ( IsResting() ) and ( ZoneName == Z["The Barrens"] ) and ( factionEnglish == F["Alliance"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorTheBarrens == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Crimson .. PlayerInHostileZone .. ZoneName.."!!")
- FinalFantasylization_KalimdorTheBarrensHostile()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorTheBarrens = true
- else
- FinalFantasylization_InKalimdorTheBarrens = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Thousand Needles
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Thousand Needles"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorThousandNeedles == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorThousandNeedles()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorThousandNeedles = true
- else
- FinalFantasylization_InKalimdorThousandNeedles = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Un'Goro Crater
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Un'Goro Crater"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorUngoroCrater == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorUngoroCrater()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorUngoroCrater = true
- else
- FinalFantasylization_InKalimdorUngoroCrater = false
- end
- --'==========================================================================================
- --' Kalimdor Zones: Winterspring
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Winterspring"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InKalimdorWinterspring == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_KalimdorWinterspring()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InKalimdorWinterspring = true
- else
- FinalFantasylization_InKalimdorWinterspring = false
- end
- --###########################################################################################
- --###########################################################################################
- --##
- --## OUTLAND ZONES
- --##
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Outland Zones: Blade's Edge Mountains
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Blade's Edge Mountains"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InOutlandBladesEdgeMountains == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_OutlandBladesEdgeMountains()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InOutlandBladesEdgeMountains = true
- else
- FinalFantasylization_InOutlandBladesEdgeMountains = false
- end
- --'==========================================================================================
- --' Outland Zones: Hellfire Peninsula
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Hellfire Peninsula"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InOutlandHellfirePeninsula == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_OutlandHellfirePeninsula()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InOutlandHellfirePeninsula = true
- else
- FinalFantasylization_InOutlandHellfirePeninsula = false
- end
- --'==========================================================================================
- --' Outland Zones: Nagrand
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Nagrand"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InOutlandNagrand == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_OutlandNagrand()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InOutlandNagrand = true
- else
- FinalFantasylization_InOutlandNagrand = false
- end
- --'==========================================================================================
- --' Outland Zones: Netherstorm
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Netherstorm"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InOutlandNetherstorm == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_OutlandNetherstorm()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InOutlandNetherstorm = true
- else
- FinalFantasylization_InOutlandNetherstorm = false
- end
- --'==========================================================================================
- --' Outland Zones: Shadowmoon Valley
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Shadowmoon Valley"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InOutlandShadowmoonValley == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_OutlandShadowmoonValley()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InOutlandShadowmoonValley = true
- else
- FinalFantasylization_InOutlandShadowmoonValley = false
- end
- --'==========================================================================================
- --' Outland Zones: Terokkar Forest
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Terokkar Forest"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InOutlandTerokkarForest == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_OutlandTerokkarForest()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InOutlandTerokkarForest = true
- else
- FinalFantasylization_InOutlandTerokkarForest = false
- end
- --'==========================================================================================
- --' Outland Zones: Zangarmarsh
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Zangarmarsh"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InOutlandZangarmarsh == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_OutlandZangarmarsh()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InOutlandZangarmarsh = true
- else
- FinalFantasylization_InOutlandZangarmarsh = false
- end
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' NORTHREND
- --' By Hellfox Kilrogg EU Alliance, big thanks to you other guys <3
- --' Wouldnt have been able to do this without the former authors :) thanks for the original
- --' idea and for keeping it up as long as you did ^^ proves what can be done in a week off
- --' WoW loooool.
- --'==========================================================================================
- --###########################################################################################
- --###########################################################################################
- --'==========================================================================================
- --' Northrend Zones: Coldarra, Borean Tundra
- --'==========================================================================================
- if not ( IsResting() ) and ( ZoneName == Z["Borean Tundra"] ) and ( ( SubZoneName == SZ["Coldarra"] ) or ( SubZoneName == SZ["The Nexus"] ) ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendColdarra == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. SubZoneName..", "..ZoneName)
- FinalFantasylization_NorthrendColdarra()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendColdarra = true
- else
- FinalFantasylization_InNorthrendColdarra = false
- end
- --'==========================================================================================
- --' Northrend Zones: Borean Tundra
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Borean Tundra"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendBoreanTundra == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_NorthrendBoreanTundra()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendBoreanTundra = true
- else
- FinalFantasylization_InNorthrendBoreanTundra = false
- end
- --'==========================================================================================
- --' Northrend Zones: Crystalsong Forest
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Crystalsong Forest"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendCrystalsongForest == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_NorthrendCrystalsongForest()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendCrystalsongForest = true
- else
- FinalFantasylization_InNorthrendCrystalsongForest = false
- end
- --'==========================================================================================
- --' Northrend Zones: Dragonblight
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName ==Z["Dragonblight"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendDragonblight == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_NorthrendDragonblight()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendDragonblight = true
- else
- FinalFantasylization_InNorthrendDragonblight = false
- end
- --'==========================================================================================
- --' Northrend Zones: Grizzly Hills
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Grizzly Hills"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendGrizzlyHills == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_NorthrendGrizzlyHills()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendGrizzlyHills = true
- else
- FinalFantasylization_InNorthrendGrizzlyHills = false
- end
- --'==========================================================================================
- --' Northrend Zones: Howling Fjord
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Howling Fjord"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendHowlingFjord == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_NorthrendHowlingFjord()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendHowlingFjord = true
- else
- FinalFantasylization_InNorthrendHowlingFjord = false
- end
- --'==========================================================================================
- --' Northrend Zones: Icecrown
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Icecrown"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendIcecrown == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_NorthrendIcecrown()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendIcecrown = true
- else
- FinalFantasylization_InNorthrendIcecrown = false
- end
- --'==========================================================================================
- --' Northrend Zones: Sholazar Basin
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Sholazar Basin"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendSholazarBasin == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_NorthrendSholazarBasin()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendSholazarBasin = true
- else
- FinalFantasylization_InNorthrendSholazarBasin = false
- end
- --'==========================================================================================
- --' Northrend Zones: The Storm Peaks
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["The Storm Peaks"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendStormPeaks == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_NorthrendStormPeaks()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendStormPeaks = true
- else
- FinalFantasylization_InNorthrendStormPeaks = false
- end
- --'==========================================================================================
- --' Northrend Zones: Wintergrasp
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Wintergrasp"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendWintergrasp == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_NorthrendWintergrasp()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendWintergrasp = true
- else
- FinalFantasylization_InNorthrendWintergrasp = false
- end
- --'==========================================================================================
- --' Northrend Zones: Zul'Drak
- --'==========================================================================================
- if not ( IsResting () ) and ( ZoneName == Z["Zul'Drak"] ) and FinalFantasylization_IsPlaying == false then
- if FinalFantasylization_InNorthrendZulDrak == false then
- FinalFantasylization_debugMsg(FFZlib.Color.Aqua .. PlayerIn.. ZoneName)
- FinalFantasylization_NorthrendZulDrak()
- end
- FinalFantasylization_IsPlaying = true
- FinalFantasylization_InNorthrendZulDrak = true
- else
- FinalFantasylization_InNorthrendZulDrak = false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement