1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
statValuePair : SetStat ( GetString ( "SI_ZONECOMPLETIONTYPE_PROGRESSHEADER" , completionType ) , self : GetStyle ( "statValuePairStat" ) )
statValuePair : SetValue ( ZO_ZoneStories_Manager . GetActivityCompletionProgressText ( zoneData . id , completionType ) , self : GetStyle ( "statValuePairValue" ) )
bodySection : AddLine ( GetString ( "SI_ZONECOMPLETIONTYPE_DESCRIPTION" , completionType ) , self : GetStyle ( "flavorText" ) )
end
-- Title
titleTextSection : AddLine ( zo_strformat ( SI_ZONE_STORY_LIST_TOOLTIP_TITLE_FORMATTER , zoneData . name , GetString ( "SI_ZONECOMPLETIONTYPE" , completionType ) ) , self : GetStyle ( "title" ) )
-- Checkboxes
local numUnblockedActivities , blockingBranchErrorStringId = select ( 3 , ZO_ZoneStories_Manager . GetActivityCompletionProgressValues ( zoneData . id , completionType ) )
for i = 1 , numUnblockedActivities do
activityListSection : AddSection ( self : GetCheckboxSection ( zo_strformat ( SI_ZONE_STORY_LIST_TOOLTIP_ACTIVITY_NAME_FORMATTER , name ) , isComplete ) )
end
if blockingBranchErrorStringId ~= 0 then
end
end |