tempText = tempText .. "\n\n" .. TRZ_WHITE .. TRZ_TOOLTIP_RECOMMEND .. TRZ_FONT_OFF; |
local iZone; |
for iZone in LT:IterateZones() do |
local low, high = LT:GetLevel(iZone) |
if ( (low - showHigher) <= player_level and |
(high + showLower) >= player_level ) then |
if ( LT:IsContested(iZone) or LT:IsFriendly(iZone) ) then |
if (not LT:IsComplex(iZone)) then |
local low, high = LT:GetLevel(iZone) |
if ( (low - showHigher) <= player_level and |
(high + showLower) >= player_level ) then |
if ( LT:IsContested(iZone) or LT:IsFriendly(iZone) ) then |
|
if ( rows >= TRZ_MAX_ROWS ) then |
tempText = tempText .. "\n" .. TRZ_TOOLTIP_MORE; |
trz_tooltip_text = tempText; |
return |
end |
if ( rows >= TRZ_MAX_ROWS ) then |
tempText = tempText .. "\n" .. TRZ_TOOLTIP_MORE; |
trz_tooltip_text = tempText; |
return |
end |
|
-- Add zone name and level range. |
tempText = tempText .. "\n" .. TRZ_GetZoneText(iZone,colorTooltip) .. "\t"; |
rows = rows + 1; |
-- Add zone name and level range. |
tempText = tempText .. "\n" .. TRZ_GetZoneText(iZone,colorTooltip) .. "\t"; |
rows = rows + 1; |
|
-- Show faction |
if ( showFaction ) then |
tempText = tempText .. TRZ_GetFactionText(iZone,colorTooltip); |
end |
-- Show faction |
if ( showFaction ) then |
tempText = tempText .. TRZ_GetFactionText(iZone,colorTooltip); |
end |
|
-- show continent |
if ( showContinent ) then |
tempText = tempText .. TRZ_GetContinentText(iZone,colorTooltip); |
-- show continent |
if ( showContinent ) then |
tempText = tempText .. TRZ_GetContinentText(iZone,colorTooltip); |
end |
end |
end |
end |