ed
This commit is contained in:
parent
993501dc99
commit
5f0d428070
18 changed files with 1236 additions and 49 deletions
314
resources/[inventory]/muhaddil-machines/config.lua
Normal file
314
resources/[inventory]/muhaddil-machines/config.lua
Normal file
|
|
@ -0,0 +1,314 @@
|
|||
Config = Config or {}
|
||||
|
||||
Config.DebugMode = true -- Enable debug mode
|
||||
Config.Framework = 'qb' -- 'esx', 'qb' or 'ox'
|
||||
Config.UseOXNotifications = true -- Use OX Notifications or framework notifications
|
||||
Config.Inventory = ''-- 'qs', 'ox' or leave blank
|
||||
Config.NewQBInventory = false -- If you're using the new QB Inventory
|
||||
|
||||
Config.ThirstRemoval = 150000 -- Amount of thirst removed by water coolers
|
||||
Config.WaterCoolerTimeout = 30 -- Timeout duration for water coolers in seconds
|
||||
Config.VisibleProp = false -- Show the prop when buying a drink
|
||||
Config.InputMaxValue = 10 -- Maximum value for the input
|
||||
Config.KillPlayerOnExcess = true -- Enable one of the two (WaterCooler)
|
||||
Config.ShowWaitNotification = false -- Enable one of the two (WaterCooler)
|
||||
Config.MaxDrinksBeforeKill = 3 -- (WaterCooler)
|
||||
Config.CountDrinksPlace = 'before' -- 'before' or 'after', it varies in the result of the Config.MaxDrinksBeforeKill (WaterCooler)
|
||||
|
||||
Config.Animations = { -- Animations for the vending machines
|
||||
stand = { -- Stand animations
|
||||
"special_ped@baygor@monologue_2@monologue_2h",
|
||||
"you_can_ignore_me_7"
|
||||
},
|
||||
sodamachines = { -- Soda machine animations
|
||||
"mini@sprunk@first_person",
|
||||
"plyr_buy_drink_pt1"
|
||||
},
|
||||
newsSellers = { -- News seller animations
|
||||
"anim@amb@nightclub@mini@drinking@drinking_shots@ped_c@normal",
|
||||
"pickup"
|
||||
},
|
||||
}
|
||||
|
||||
Config.machines = { -- Vending machines
|
||||
{
|
||||
model = 'prop_vend_soda_02',
|
||||
items = {
|
||||
{
|
||||
name = "ecola_dose",
|
||||
label = 'E-Cola Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "sprunk_dose",
|
||||
label = 'Sprunk Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "orange_o_tang_dose",
|
||||
label = 'Orange O Tang Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "ecola_zero_dose",
|
||||
label = 'E-Cola Zero Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "orange_o_tang_zero_dose",
|
||||
label = 'Orange O Tang Zero Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "sprunk_zero_dose",
|
||||
label = 'Sprunk Zero Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',',
|
||||
price = 4
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
model = 'prop_vend_soda_01',
|
||||
items = {
|
||||
{
|
||||
name = "ecola_dose",
|
||||
label = 'E-Cola Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "sprunk_dose",
|
||||
label = 'Sprunk Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "orange_o_tang_dose",
|
||||
label = 'Orange O Tang Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "ecola_zero_dose",
|
||||
label = 'E-Cola Zero Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "orange_o_tang_zero_dose",
|
||||
label = 'Orange O Tang Zero Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "sprunk_zero_dose",
|
||||
label = 'Sprunk Zero Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',',
|
||||
price = 4
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
model = 'ch_chint10_vending_smallroom_01',
|
||||
items = {
|
||||
{
|
||||
name = "ecola_dose",
|
||||
label = 'E-Cola Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "sprunk_dose",
|
||||
label = 'Sprunk Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "orange_o_tang_dose",
|
||||
label = 'Orange O Tang Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "ecola_zero_dose",
|
||||
label = 'E-Cola Zero Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "orange_o_tang_zero_dose",
|
||||
label = 'Orange O Tang Zero Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "sprunk_zero_dose",
|
||||
label = 'Sprunk Zero Dose ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',',
|
||||
price = 4
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
model = 'm23_2_prop_m32_vend_drink_01a',
|
||||
items = {
|
||||
{
|
||||
name = "junk_energy",
|
||||
label = 'Junk Energy ($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
model = 'sf_prop_sf_vend_drink_01a',
|
||||
items = {
|
||||
{
|
||||
name = "junk_energy",
|
||||
label = 'Junk Energy($%price%)',
|
||||
icon = 'fa-solid fa-can-food',
|
||||
price = 4
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
model = 'prop_vend_water_01',
|
||||
items = {
|
||||
{
|
||||
name = "water",
|
||||
label = 'Flasche Wasser ($%price%)',
|
||||
price = 2
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
model = 'prop_vend_snak_01',
|
||||
items = {
|
||||
{
|
||||
name = "mimis_instant_nudeln",
|
||||
label = 'Mimis Instant Nudeln ($%price%)',
|
||||
icon = 'fa-solid fa-pot-food',
|
||||
price = 6
|
||||
},
|
||||
{
|
||||
name = "twerks_candy",
|
||||
label = 'Ego Chaser Schockriegel ($%price%)',
|
||||
icon = 'fa-solid fa-candy-bar',
|
||||
price = 2
|
||||
},
|
||||
{
|
||||
name = "snikkel_candy",
|
||||
label = 'EarthQuakes ($%price%)',
|
||||
icon = 'fa-solid fa-candy-bar',
|
||||
price = 2
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
model = 'prop_vend_snak_01_tu',
|
||||
items = {
|
||||
{
|
||||
name = "mimis_instant_nudeln",
|
||||
label = 'Mimis Instant Nudeln ($%price%)',
|
||||
icon = 'fa-solid fa-pot-food',
|
||||
price = 6
|
||||
},
|
||||
{
|
||||
name = "twerks_candy",
|
||||
label = 'Ego Chaser Schockriegel ($%price%)',
|
||||
icon = 'fa-solid fa-candy-bar',
|
||||
price = 2
|
||||
},
|
||||
{
|
||||
name = "snikkel_candy",
|
||||
label = 'EarthQuakes ($%price%)',
|
||||
icon = 'fa-solid fa-candy-bar',
|
||||
price = 2
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
model = 'prop_vend_coffe_01',
|
||||
items = {
|
||||
{
|
||||
name = "coffe",
|
||||
label = 'Kaffee Togo ($%price%)',
|
||||
icon = 'fa fa-mug-hot',
|
||||
price = 4
|
||||
},
|
||||
{
|
||||
name = "kakao",
|
||||
label = 'Kakao Togo ($%price%)',
|
||||
icon = 'fa fa-mug-hot',
|
||||
price = 4
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
model = 'prop_vend_fags_01',
|
||||
items = {
|
||||
{
|
||||
name = "redwoodpack",
|
||||
label = 'Packung Redwood Zigaretten ($%price%)',
|
||||
icon = 'fa-solid fa-smoking',
|
||||
price = 10
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Config.WaterCoolers = { -- Water coolers
|
||||
{model = 'prop_watercooler_dark',},
|
||||
{model = 'prop_watercooler',},
|
||||
}
|
||||
|
||||
|
||||
Config.NewsSellers = { -- News sellers
|
||||
{
|
||||
model = 'prop_news_disp_06a',
|
||||
items = {
|
||||
{
|
||||
name = "newspaper",
|
||||
label = 'Periódico ($%price%)',
|
||||
icon = 'fa fa-newspaper',
|
||||
price = 30
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
model = 'prop_news_disp_01a',
|
||||
items = {
|
||||
{
|
||||
name = "newspaper",
|
||||
label = 'Periódico ($%price%)',
|
||||
icon = 'fa fa-newspaper',
|
||||
price = 30
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
model = 'prop_news_disp_03a',
|
||||
items = {
|
||||
{
|
||||
name = "newspaper",
|
||||
label = 'Periódico ($%price%)',
|
||||
icon = 'fa fa-newspaper',
|
||||
price = 30
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue