2025-02-26 02:05:52 +01:00
|
|
|
-- define FontOptions
|
|
|
|
function GetFontOptions()
|
|
|
|
local container = Settings.CreateControlTextContainer()
|
|
|
|
container:Add("morpheus_cz.ttf", "Morpheus (cz)")
|
|
|
|
container:Add("frizquadratatt_cz.ttf", "Friz Quadrata TT (cz)")
|
|
|
|
container:Add("quicksand.ttf", "Quicksand")
|
|
|
|
container:Add("caveat.ttf", "Caveat")
|
|
|
|
return container:GetData()
|
|
|
|
end
|
|
|
|
|
|
|
|
function CzechQuestsAddon:InitializeSettings()
|
2025-03-01 21:46:55 +01:00
|
|
|
local category, layout = Settings.RegisterVerticalLayoutCategory("CzechQuests")
|
2025-02-26 02:05:52 +01:00
|
|
|
|
|
|
|
-- Add options for quests
|
|
|
|
layout:AddInitializer(CreateSettingsListSectionHeaderInitializer("Questy"))
|
2025-03-01 21:46:55 +01:00
|
|
|
CzechQuestsAddon:AddQuestOptions(category, layout)
|
2025-02-26 02:05:52 +01:00
|
|
|
|
|
|
|
-- Add options for speech
|
2025-03-01 21:46:55 +01:00
|
|
|
layout:AddInitializer(CreateSettingsListSectionHeaderInitializer("Projevy (zatím ve vývoji)"))
|
|
|
|
CzechQuestsAddon:AddSpeechOptions(category, layout)
|
2025-02-26 02:05:52 +01:00
|
|
|
|
|
|
|
-- Add options for speech
|
|
|
|
layout:AddInitializer(CreateSettingsListSectionHeaderInitializer("Ostatní"))
|
2025-03-01 21:46:55 +01:00
|
|
|
CzechQuestsAddon:AddOthersOptions(category, layout)
|
2025-02-26 02:05:52 +01:00
|
|
|
|
|
|
|
-- Store it into Addon options
|
2025-03-01 21:46:55 +01:00
|
|
|
Settings.RegisterAddOnCategory(category)
|
2025-02-26 02:05:52 +01:00
|
|
|
end
|