New feature: Boss tactics
All checks were successful
forgejo/Czech Quests/addon/pipeline/head This commit looks good
All checks were successful
forgejo/Czech Quests/addon/pipeline/head This commit looks good
This commit is contained in:
parent
6c2381d65c
commit
9fe284c18e
11 changed files with 21493 additions and 271 deletions
|
@ -116,6 +116,22 @@ local function InitSpeeches()
|
|||
|
||||
end
|
||||
|
||||
local function InitTactics()
|
||||
local function Update(name, value)
|
||||
CzechQuestsAddon_Store.config[name] = value
|
||||
addon.TacticFrame:UpdateSettings()
|
||||
end
|
||||
|
||||
local layout = Options.layout
|
||||
layout:AddInitializer(CreateSettingsListSectionHeaderInitializer("Taktiky"))
|
||||
|
||||
CreateCheckbox("TACTIC_ENABLED", "Zapnout", Update)
|
||||
|
||||
CreateDropdown("TACTIC_TEXT_FONT_NAME", "Pismo *", addon.API.GetFontContainer, Update)
|
||||
|
||||
CreateSlider("TACTIC_TEXT_FONT_SIZE", "Velikost pisma *", 10, 30, 1, Update)
|
||||
end
|
||||
|
||||
local function InitOthers()
|
||||
local layout = Options.layout
|
||||
layout:AddInitializer(CreateSettingsListSectionHeaderInitializer("Ostatni"))
|
||||
|
@ -131,6 +147,7 @@ local function InitOptions()
|
|||
|
||||
InitQuests()
|
||||
InitSpeeches()
|
||||
InitTactics()
|
||||
InitOthers()
|
||||
|
||||
Settings.RegisterAddOnCategory(category)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue