🛠️Config

TZMCVendingConfig = {}
 
TZMCVendingConfig.UseAnimation = true
TZMCVendingConfig.InventoryLabel = "Vending Machine"
 
TZMCVendingConfig.UseAnimationDrinking = true
 
-- PROGRESS BAR --
 
TZMCVendingConfig.UseProgressBar = true
TZMCVendingConfig.ProgressBarTime = 3000
TZMCVendingConfig.ProgressBarLabel = "Accessing Vending Machine"
 
TZMCVendingConfig.UseProgressBarDrinking = true
TZMCVendingConfig.ProgressBarTimeDrinking = 5000
TZMCVendingConfig.ProgressBarLabelDrinking = "Drinking"
 
 
-- VENDING MACHINE MODELS --
 
TZMCVendingConfig.SodaModels = {
    "prop_vend_soda_01",
    "prop_vend_soda_02",
    "prop_vend_fridge01"
}
 
TZMCVendingConfig.CoffeeModels = {
    "prop_vend_coffe_01",
}
 
TZMCVendingConfig.SnackModels = {
    "prop_vend_snak_01",
}
 
TZMCVendingConfig.WaterModel = {
    "prop_vend_water_01",
}
 
TZMCVendingConfig.WatercoolerModel = {
    "prop_watercooler",
    "prop_watercooler_dark"
}
 
-- VENDING MACHINE ITEMS --
 
TZMCVendingConfig.Beverage = {
    [1] = {
        name = "kurkakola",
        price = 2,
        amount = 50,
        info = {},
        type = "item",
        slot = 1,
    },
    [2] = {
        name = "water_bottle",
        price = 2,
        amount = 50,
        info = {},
        type = "item",
        slot = 2,
    },
    [3] = {
        name = "beer",
        price = 7,
        amount = 50,
        info = {},
        type = "item",
        slot = 3,
    },
}
 
TZMCVendingConfig.Coffee = {
    [1] = {
        name = "coffee",
        price = 2,
        amount = 50,
        info = {},
        type = "item",
        slot = 1,
    }
}
 
TZMCVendingConfig.Water = {
    [1] = {
        name = "water_bottle",
        price = 2,
        amount = 50,
        info = {},
        type = "item",
        slot = 1,
    }
}
 
TZMCVendingConfig.Snacks = {
    [1] = {
        name = "tosti",
        price = 2,
        amount = 50,
        info = {},
        type = "item",
        slot = 1,
    },
    [2] = {
        name = "twerks_candy",
        price = 7,
        amount = 50,
        info = {},
        type = "item",
        slot = 2,
    },
    [3] = {
        name = "snikkel_candy",
        price = 7,
        amount = 50,
        info = {},
        type = "item",
        slot = 3,
    },
    [4] = {
        name = "sandwich",
        price = 7,
        amount = 50,
        info = {},
        type = "item",
        slot = 4,
    },
}

Last updated