core = exports.oCore
font = exports.oFont
color, r, g, b = core:getServerColor()

paymentMethodes = {
    "A vásárló "..color.."bankkártyával #fffffffizetett.",
    "A vásárló "..color.."Apple Watch#ffffff-al fizetett.",
    "*DOLLAR*",
}

dollars = {1, 5, 10, 20, 50}

buyableItems = {
    -- OffsetX, OffsetY, Price
    {110, 140, 28},
    {110, 140, 33}, -- Fanta
    {112, 80, 28},
    {100, 50, 43},
    {60, 180, 43},
    {100, 130, 40}, -- Tej
    {110, 130, 36}, -- Bor
    {115, 150, 31},

    {115, 180, 40},
    {115, 100, 45}, -- Barack lekvár
    {120, 120, 33}, -- Cola Zero
    {110, 180, 36}, -- Fanta Zero

    {110, 100, 28}, -- Kenyér
    {70, 130, 36},
    {200, 170, 28},
    {30, 170, 36},

    {110, 85, 33},
    {110, 110, 36}, -- Lekvár
    {100, 130, 33}, -- Kukorica
}

markerPositions = {
    {1449.0876464844, -1864.2556152344, 13.539081573486},
    {667.34851074219, -1768.6136474609, 13.639453887939},
    {833.45178222656, -1014.9055786133, 27.764974594116},
    {2686.3635253906, -1427.9219970703, 30.510406494141},
    {2303.1442871094, -68.909385681152, 26.484375},
    {1288.6688232422, 316.73696899414, 19.5546875},
    {172.45915222168, -201.81489562988, 1.5703125},
    {690.84332275391,-546.58239746094,16.3359375},
}

skins = {2,15,16,20,21,22,23,24,26,27,29,30,32,35,44,60,66,67,72,80,81,82,83,84,87,90,92,98,100,101,123,133,147,170,182,183,186,187,188,206,210,230,234,7,10,17,12,13,14,18,19,25,40,41,55,56,91,93,148,190,191,192,193,195,216,231}

function genRandomBarcode()
    local barcode = ""

    for i = 1, math.random(8, 14) do 
        barcode = barcode .. math.random(0, 9)
    end

    return barcode
end