-- =============================================================================
-- Auction Classic - Client Config
-- =============================================================================

AuctionClassicConfig = {}

AuctionClassicConfig.Switch = true

AuctionClassicConfig.Lang = {
    Title       = {"Auction",      "Leilao",              "Subasta"},
    CurrentBid  = {"Current Bid:", "Lance Atual:",        "Oferta Actual:"},
    MinBid      = {"Min Bid:",     "Lance minimo:",       "Oferta minima:"},
    StartedAt   = {"Started at:",  "Leilao iniciado as:", "Inicio:"},
    ActiveFor   = {"Active for:",  "Leilao ativo por:",   "Activo por:"},
    EndsIn      = {"Ends in:",     "Fim do leilao em:",   "Finaliza en:"},
    Balance     = {"Balance:",     "Saldo:",              "Saldo:"},
    MyOffer     = {"My offer:",    "Minha oferta:",       "Mi oferta:"},
    SendOffer   = {"Send Offer",   "Enviar Oferta",       "Enviar Oferta"},
    History     = {"Bid History",  "Historico de Ofertas", "Historial"},
    NoBids      = {"No bids yet",  "Sem lances",          "Sin ofertas"},
    DoleLabel   = {"Dole",         "Dole",                "Dole"},
    DoleIn      = {"Dole %d in:",  "Dole %d em:",         "Dole %d en:"},
    Value       = {"Value",        "Valor",               "Valor"},
    Coin        = {"Coin",         "Moeda",               "Moneda"},
    Rewards     = {"Rewards",      "Premios",             "Premios"},
    Closed      = {"Closed",       "Encerrado",           "Cerrado"},
    AuctionEnd  = {"Auction ended","Leilao encerrado",    "Subasta terminada"},
    Winner      = {"Winner: %s",   "Vencedor: %s",        "Ganador: %s"},
}

-- HUD Button (floating icon during active auction)
AuctionClassicConfig.Button = {
    Show = false,                                        -- Show/hide the HUD button
    InitXMode = 1,                                      -- 0 = absolute, 1 = center, 2 = right
    InitYMode = 2,                                      -- 0 = absolute, 1 = center, 2 = bottom
    PosX = 120,
    PosY = 65,
    Width = 30,
    Height = 30,
    Tooltip = {"Auction", "Leilao", "Subasta"},
    Path = "Custom\\ScriptImages\\GeneralIcons\\Auction.tga",
}

AuctionClassicConfig.Icon = {
    Switch = true,
    Path = "Custom\\ScriptImages\\GeneralIcons\\Auction.tga",
    Index = 701,
}

-- Colors (RGBA)
AuctionClassicConfig.Colors = {
    Box        = {20, 20, 40, 200, 60, 60, 80, 255},   -- Info boxes
    Input      = {25, 25, 25, 255, 150, 150, 150, 255},   -- Input field
    DoleActive = {255, 200, 0, 255},                     -- Yellow for active dole
    DoleGreen  = {0, 255, 0, 255},                       -- Green for completed dole
    DoleGray   = {100, 100, 100, 255},                   -- Gray for inactive dole
    StatusOk   = {0, 255, 0, 255},                       -- Green for success
    StatusFail = {255, 0, 0, 255},                       -- Red for failure
}

return AuctionClassicConfig
