-- Carbonite | Modules / PlayerCharacter / Defaults
-- The AceDB defaults table for Carbonite. Used by OnInitialize
-- (db = LibStub(AceDB):New("CarbData", Nx.Defaults, true)) and
-- OnProfileChanged (db:RegisterDefaults(Nx.Defaults)). Lifted out
-- of Carbonite.lua, which used to carry a 468-line `local defaults`
-- block.
--
-- Exposed as Nx.Defaults so both runtime callsites can resolve it
-- at OnInitialize / profile-change time.

local L = LibStub("AceLocale-3.0"):GetLocale("Carbonite")

Nx.Defaults = {
    char = {
        Map = {
            ShowGatherA = false,
            ShowGatherH = false,
            ShowGatherM = false,
            ShowGatherL = false,
            ShowClassTrainer = false,
            ShowProfessionTrainer = false,
            ShowQuestGivers = 1,
            ShowContPois = true,
            ShowMailboxes = true,
            ShowRaidBoss = true,
            ShowWorldQuest = true,
            ShowCustom = true,
            ShowCCity = false,
            ShowCExtra = true,
            ShowCTown = false,
            ShowArchBlobs = true,
            ShowQuestBlobs = true,
        },
    },
    global = {
       Characters = {},
    },
    profile = {
        Battleground = {
            ShowStats = true
        },
        General = {
            CameraForceMaxDist = false,
            CaptureEnable = false,
            CaptureShare = true,
            ChatMsgFrm = "",
            GryphonsHide = true,
            LoginHideVer = true,
            TitleOff = true,
            TitleSoundOn = false,
        },
        Guide = {
            VendorVMax = 60,
            GatherEnabled = true,
            ShowMines = {
                [1] = true,
                [2] = true,
                [3] = true,
                [4] = true,
                [5] = true,
                [6] = true,
                [7] = true,
                [8] = true,
                [9] = true,
                [10] = true,
                [11] = true,
                [12] = true,
                [13] = true,
                [14] = true,
                [15] = true,
                [16] = true,
                [17] = true,
                [18] = true,
                [19] = true,
                [20] = true,
                [21] = true,
                [22] = true,
                [23] = true,
                [24] = true,
                [25] = true,
                [26] = true,
                [27] = true,
                [28] = true,
                [29] = true,
                [30] = true,
                [31] = true,
                [32] = true,
                [33] = true,
                [34] = true,
                [35] = true,
                [36] = true,
                [37] = true,
                [38] = true,
                [39] = true,
                [40] = true,
                [41] = true,
                [42] = true,
                [43] = true,
                [44] = true,
                [45] = true,
                [46] = true,
                [47] = true,
                [48] = true,
                [49] = true,
                [50] = true,
                [51] = true,
                [52] = true,
                [53] = true,
                [54] = true,
                [55] = true,
                [56] = true,
                [57] = true,
                [58] = true,
                [59] = true,
                [60] = true,
                [61] = true,
                [62] = true,
                [63] = true,
                [64] = true,
                [65] = true,
                [66] = true,
                [67] = true,
                [68] = true,
                [69] = true,
                [70] = true,
                [71] = true,
                [72] = true,
                [73] = true,
                [74] = true,
                [75] = true,
                [76] = true,
                [77] = true,
                [78] = true,
                [79] = true,
                [80] = true,
                [81] = true,
                [82] = true,
                [83] = true,
                [84] = true,
                [85] = true,
                [86] = true,
                [87] = true,
                [88] = true,
                [89] = true,
                [90] = true,
                [91] = true,
                [92] = true,
                [93] = true,
                [94] = true,
                [95] = true,
                [96] = true,
                [97] = true,
                [98] = true,
                [99] = true,
                [100] = true,
                [101] = true,
                [102] = true,
                [103] = true,
                [104] = true,
                [105] = true,
                [106] = true,
                [107] = true,
                [108] = true,
                [109] = true,
                [110] = true,
                [111] = true,
                [112] = true,
                [113] = true,
                [114] = true,
                [115] = true,
                [116] = true,
                [117] = true,
                [118] = true,
                [119] = true,
                [120] = true,
            },
            ShowHerbs = {
                [1] = true,
                [2] = true,
                [3] = true,
                [4] = true,
                [5] = true,
                [6] = true,
                [7] = true,
                [8] = true,
                [9] = true,
                [10] = true,
                [11] = true,
                [12] = true,
                [13] = true,
                [14] = true,
                [15] = true,
                [16] = true,
                [17] = true,
                [18] = true,
                [19] = true,
                [20] = true,
                [21] = true,
                [22] = true,
                [23] = true,
                [24] = true,
                [25] = true,
                [26] = true,
                [27] = true,
                [28] = true,
                [29] = true,
                [30] = true,
                [31] = true,
                [32] = true,
                [33] = true,
                [34] = true,
                [35] = true,
                [36] = true,
                [37] = true,
                [38] = true,
                [39] = true,
                [40] = true,
                [41] = true,
                [42] = true,
                [43] = true,
                [44] = true,
                [45] = true,
                [46] = true,
                [47] = true,
                [48] = true,
                [49] = true,
                [50] = true,
                [51] = true,
                [52] = true,
                [53] = true,
                [54] = true,
                [55] = true,
                [56] = true,
                [57] = true,
                [58] = true,
                [59] = true,
                [60] = true,
                [61] = true,
                [62] = true,
                [63] = true,
                [64] = true,
                [65] = true,
                [66] = true,
                [67] = true,
                [68] = true,
                [69] = true,
                [70] = true,
                [71] = true,
                [72] = true,
                [73] = true,
                [74] = true,
                [75] = true,
                [76] = true,
                [77] = true,
                [78] = true,
                [79] = true,
                [80] = true,
                [81] = true,
                [82] = true,
                [83] = true,
                [84] = true,
                [85] = true,
                [86] = true,
                [87] = true,
                [88] = true,
                [89] = true,
                [90] = true,
                [91] = true,
                [92] = true,
                [93] = true,
                [94] = true,
                [95] = true,
                [96] = true,
                [97] = true,
                [98] = true,
                [99] = true,
                [100] = true,
                [101] = true,
                [102] = true,
                [103] = true,
                [104] = true,
                [105] = true,
                [106] = true,
                [107] = true,
                [108] = true,
                [109] = true,
                [110] = true,
                [111] = true,
                [112] = true,
                [113] = true,
                [114] = true,
                [115] = true,
                [116] = true,
                [117] = true,
                [118] = true,
                [119] = true,
                [120] = true,
                [121] = true,
                [122] = true,
                [123] = true,
                [124] = true,
                [125] = true,
                [126] = true,
                [127] = true,
            },
            ShowTimber = {
                [1] = true,
                [2] = true,
                [3] = true,
            },
        },
        Comm = {
            Global = true,
            Zone = true,
            LvlUpShow = true,
            SendToFriends = true,
            SendToGuild = true,
            SendToZone = true,
        },
        Debug = {
          VerDebug = false,
          VerT = 0,
          DebugMap = false,
          DebugDock = false,
          DBGather = false,
          DBMapMax = false,
          DebugCom = false,
          DebugUnit = false,
        },
        Font = {
            Small = "Friz",
            SmallSize = 10,
            SmallSpacing = 0,
            Medium = "Friz",
            MediumSize = 12,
            MediumSpacing = 0,
            Map = "Friz",
            MapSize = 10,
            MapSpacing = 0,
            MapLoc = "Friz",
            MapLocSize = 10,
            MapLocSpacing = 0,
            Menu = "Friz",
            MenuSize = 10,
            MenuSpacing = 0,
        },
        Skin = {
          Name = "",
          WinBdColor = ".8|.8|1|1",
          WinFixedBgColor = ".5|.5|.5|.5",
          WinSizedBgColor = ".121|.121|.121|.88",
        },
        Map = {
            ButLAlt = L["None"],
            ButLCtrl = L["Goto"],
            ButM = L["Show Player Zone"],
            ButMAlt = L["None"],
            ButMCtrl = L["None"],
            ButR = L["Menu"],
            ButRAlt = L["None"],
            ButRCtrl = L["None"],
            But4 = L["Show Selected Zone"],
            But4Alt = L["Add Note"],
            But4Ctrl = L["None"],
            Compatibility = false,
            DetailSize = 6,
            IconPOIAlpha = 1,
            IconGatherA = 0.7,
            IconGatherAtScale = 0.5,
            LineThick = 1.0,
            LocTipAnchor = "TopRight",
            LocTipAnchorRel = "None",
            MaxCenter = true,
            MaxMouseIgnore = false,
            MaxOverride = true,
            MaxRestoreHide = false,
            MouseIgnore = false,
            PlyrArrowSize = 32,
            RestoreScaleAfterTrack = true,
            RouteUse = true,
            TopTooltip = false,
            IconScaleMin = 1,
            ShowOthersInCities = true,
            ShowOthersInZone = true,
            ShowPalsInCities = true,
            ShowPOI = true,
            ShowTitleName = true,
            ShowTitleXY = true,
            ShowTitleSpeed = true,
            ShowTitle2 = false,
            ShowToolBar = true,
            ShowTrail = true,
            TakeFunctions = false,
            TrailCnt = 100,
            TrailDist = 2,
            TrailTime = 90,
            WOwn = false,
            ZoneDrawCnt = 3,
            InstanceBossSize = 32,
            InstancePlayerSize = 24,
            InstanceGroupSize = 24,
            InstanceScale = 16,
            mapUpdate = .05,
            UseLocaleTextures = false,  -- Use locale-specific compressed overlay textures (Conv/locale/)
        },
        MiniMap = {
            AboveIcons = false,
            ButColumns = 1,
            ButCorner = "TopRight",
            ButOwn = false,
            ButShowCarb = true,
            ButHide = false,
            ButLock = false,
            ButShowCalendar = true,
            ButShowClock = true,
            ButShowWorldMap = true,
            ButShowLFG = true,
            ButSpacing = 29,
            ButWinMinimize = false,
            DockHigh = "",
            DockAlways = false,
            DockBugged = true,
            DockIndoors = true,
            DockOnMax = false,
            DockSquare = true,
            DockBottom = false,
            DockRight = false,
            DockIScale = 1,
            DockZoom = 0,
            DXO = 0,
            DYO = 0,
            HideOnMax = false,
            InstanceTogFullSize = false,
            IndoorTogFullSize = false,
            BuggedTogFullSize = false,
            IScale = 1,
            MoveCapBars = true,
            NodeGD = 0,
            Own = false,
            ShowOldNameplate = true,
            Square = false,
        },
        Menu = {
            CenterH = false,
            CenterV = false,
            UseMenuUtil = (MenuUtil and MenuUtil.CreateContextMenu) and true or false,  -- Route simple menus through Blizzard MenuUtil for native dropdown look (retail / Cata+ Classic)
        },
        Route = {
            GatherRadius = 60,
            MergeRadius = 20,
            Recycle = false,
        },
        Track = {
            EmuTomTom = true,
            Hide = false,
            HideInBG = false,
            ShowDir = false,
            Lock = false,
            AGfx = "Gloss",
            ASize = 44,
            AXO = 0,
            AYO = 0,
            TBut = true,
            TButColor = "0|0|0|.101",
            TButCombatColor = "1|0|0|.101",
            TSoundOn = true,
            ATBGPal = true,
            ATCorpse = true,
            ATTaxi = true,
        },
        Version = {
            OptionsVersion = 0,
        },
        WinSettings = {
        },
        Whatsnew = {
            lastreadtime = 0,
        },
   },
}
