forked from Simnation/Main
Merge branch 'master' of https://git.evolution-state-life.de/Evolution-State-Life/Main
This commit is contained in:
commit
5c1b74ac6e
186 changed files with 6936 additions and 6433 deletions
|
@ -1224,12 +1224,6 @@ CodeStudio.Products = {
|
|||
itemPrice = 0,
|
||||
itemInfo = "Submachine gun for rapid fire",
|
||||
},
|
||||
['weapon_sniperrifle'] = {
|
||||
itemName = "Sniper Rifle",
|
||||
itemStock = 50,
|
||||
itemPrice = 0,
|
||||
itemInfo = "Sniper for Long Range",
|
||||
},
|
||||
['weapon_appistol'] = {
|
||||
itemName = "Klog 19 A",
|
||||
itemStock = 50,
|
||||
|
|
|
@ -1,47 +1,63 @@
|
|||
local QBCore = exports['qb-core']:GetCoreObject()
|
||||
|
||||
-- Debug Print Function
|
||||
-- Debug-Funktion
|
||||
local function Debug(msg)
|
||||
print("^2[Grill Debug] ^7" .. msg) -- Changed from Coffee to Grill
|
||||
print("^2[Grill Debug] ^7" .. msg)
|
||||
end
|
||||
|
||||
-- Warte auf vollständige Initialisierung von QBCore
|
||||
CreateThread(function()
|
||||
Debug("Script starting...")
|
||||
for _, prop in pairs(Config.GrillProps) do -- Changed from CoffeeProps to GrillProps
|
||||
if not QBCore then
|
||||
Debug("QBCore nicht gefunden, warte...")
|
||||
while not QBCore do
|
||||
QBCore = exports['qb-core']:GetCoreObject()
|
||||
Wait(100)
|
||||
end
|
||||
end
|
||||
|
||||
Debug("QBCore initialisiert")
|
||||
|
||||
-- Registriere Grill-Props für qb-target
|
||||
for _, prop in pairs(Config.GrillProps) do
|
||||
Debug("Registriere Target für Prop: " .. tostring(prop))
|
||||
exports['qb-target']:AddTargetModel(prop, {
|
||||
options = {
|
||||
{
|
||||
num = 1,
|
||||
type = "client",
|
||||
event = "nordi_grill:client:OpenMenu", -- Changed event name
|
||||
icon = 'fas fa-fire', -- Changed icon
|
||||
label = 'Grillen', -- Changed label
|
||||
event = "nordi_bbq:OpenGrillMenu",
|
||||
icon = "fas fa-fire",
|
||||
label = "Grillen",
|
||||
}
|
||||
},
|
||||
distance = 2.0
|
||||
})
|
||||
end
|
||||
Debug("Target options registered")
|
||||
|
||||
Debug("Target-Optionen registriert")
|
||||
end)
|
||||
|
||||
-- Event Handler for opening the menu
|
||||
RegisterNetEvent('nordi_grill:client:OpenMenu') -- Changed event name
|
||||
AddEventHandler('nordi_grill:client:OpenMenu', function() -- Changed event name
|
||||
Debug("Opening menu...")
|
||||
OpenGrillMenu() -- Changed function name
|
||||
-- Event zum Öffnen des Grill-Menüs
|
||||
RegisterNetEvent('nordi_bbq:OpenGrillMenu', function()
|
||||
Debug("Öffne Grill-Menü")
|
||||
OpenGrillMenu()
|
||||
end)
|
||||
|
||||
function CheckIngredients(requirements)
|
||||
-- Funktion zum Überprüfen der Zutaten
|
||||
function CheckIngredients(recipe)
|
||||
local hasItems = true
|
||||
local missingItems = {}
|
||||
|
||||
for _, requirement in ipairs(requirements) do
|
||||
local hasItem = QBCore.Functions.HasItem(requirement.item, requirement.amount)
|
||||
if not hasItem then
|
||||
if not recipe or not recipe.requires then
|
||||
Debug("Rezept oder Anforderungen fehlen")
|
||||
return false, {}
|
||||
end
|
||||
|
||||
for _, item in pairs(recipe.requires) do
|
||||
if not QBCore.Functions.HasItem(item.item, item.amount) then
|
||||
hasItems = false
|
||||
table.insert(missingItems, {
|
||||
item = requirement.item,
|
||||
required = requirement.amount
|
||||
item = item.item,
|
||||
amount = item.amount
|
||||
})
|
||||
end
|
||||
end
|
||||
|
@ -49,68 +65,84 @@ function CheckIngredients(requirements)
|
|||
return hasItems, missingItems
|
||||
end
|
||||
|
||||
function ShowMissingIngredientsWarning(missingItems)
|
||||
local warningText = "Fehlende Zutaten:\n"
|
||||
for _, item in ipairs(missingItems) do
|
||||
local itemLabel = QBCore.Shared.Items[item.item].label
|
||||
warningText = warningText .. "- " .. itemLabel .. " (benötigt: " .. item.required .. ")\n"
|
||||
-- Funktion zum Anzeigen fehlender Zutaten
|
||||
function ShowMissingIngredients(missingItems)
|
||||
local text = "Fehlende Zutaten:\n"
|
||||
|
||||
for _, item in pairs(missingItems) do
|
||||
local itemLabel = QBCore.Shared.Items[item.item] and QBCore.Shared.Items[item.item].label or item.item
|
||||
text = text .. "- " .. itemLabel .. " (" .. item.amount .. "x)\n"
|
||||
end
|
||||
|
||||
QBCore.Functions.Notify(warningText, "error", 5000)
|
||||
QBCore.Functions.Notify(text, "error", 5000)
|
||||
end
|
||||
|
||||
function OpenGrillMenu() -- Changed function name
|
||||
Debug("Building menu options...")
|
||||
local options = {}
|
||||
-- Funktion zum Öffnen des Grill-Menüs
|
||||
function OpenGrillMenu()
|
||||
Debug("Erstelle Grill-Menü")
|
||||
|
||||
for _, food in ipairs(Config.GrillOptions) do -- Changed from CoffeeOptions to GrillOptions
|
||||
local hasIngredients, missing = CheckIngredients(food.requires)
|
||||
local description = food.description .. "\n\nBenötigt:"
|
||||
local menuOptions = {}
|
||||
|
||||
for _, recipe in pairs(Config.GrillRecipes) do
|
||||
local hasIngredients, _ = CheckIngredients(recipe)
|
||||
local status = hasIngredients and "~g~✓" or "~r~✗"
|
||||
|
||||
for _, req in ipairs(food.requires) do
|
||||
local itemLabel = QBCore.Shared.Items[req.item].label
|
||||
local hasItem = QBCore.Functions.HasItem(req.item, req.amount)
|
||||
local status = hasItem and "~g~✓" or "~r~✗"
|
||||
description = description .. "\n- " .. req.amount .. "x " .. itemLabel .. " " .. status
|
||||
-- Erstelle Beschreibung mit Zutaten
|
||||
local description = recipe.description .. "\n\nZutaten:"
|
||||
for _, item in pairs(recipe.requires) do
|
||||
local itemLabel = QBCore.Shared.Items[item.item] and QBCore.Shared.Items[item.item].label or item.item
|
||||
local hasItem = QBCore.Functions.HasItem(item.item, item.amount)
|
||||
local itemStatus = hasItem and "~g~✓" or "~r~✗"
|
||||
description = description .. "\n- " .. item.amount .. "x " .. itemLabel .. " " .. itemStatus
|
||||
end
|
||||
|
||||
table.insert(options, {
|
||||
title = food.label,
|
||||
|
||||
table.insert(menuOptions, {
|
||||
title = recipe.label,
|
||||
description = description,
|
||||
icon = food.icon,
|
||||
icon = recipe.icon or "fas fa-drumstick-bite",
|
||||
onSelect = function()
|
||||
local canMake, missingItems = CheckIngredients(food.requires)
|
||||
if canMake then
|
||||
PrepareFood(food) -- Changed function name
|
||||
else
|
||||
ShowMissingIngredientsWarning(missingItems)
|
||||
end
|
||||
StartGrilling(recipe)
|
||||
end
|
||||
})
|
||||
end
|
||||
|
||||
Debug("Showing menu...")
|
||||
lib.registerContext({
|
||||
id = 'grill_menu', -- Changed ID
|
||||
title = 'Grill', -- Changed title
|
||||
options = options
|
||||
})
|
||||
|
||||
lib.showContext('grill_menu') -- Changed context ID
|
||||
|
||||
-- Registriere und zeige das Menü mit ox_lib
|
||||
if lib and lib.registerContext then
|
||||
lib.registerContext({
|
||||
id = 'grill_menu',
|
||||
title = 'Grill',
|
||||
options = menuOptions
|
||||
})
|
||||
|
||||
lib.showContext('grill_menu')
|
||||
else
|
||||
Debug("FEHLER: ox_lib nicht verfügbar")
|
||||
QBCore.Functions.Notify("Fehler beim Laden des Menüs", "error")
|
||||
end
|
||||
end
|
||||
|
||||
function PrepareFood(selectedFood) -- Changed function name
|
||||
Debug("Starting food preparation...")
|
||||
local player = PlayerPedId()
|
||||
local animDict = "amb@prop_human_bbq@male@base" -- Changed animation
|
||||
local anim = "base" -- Changed animation
|
||||
-- Funktion zum Starten des Grillvorgangs
|
||||
function StartGrilling(recipe)
|
||||
Debug("Starte Grillvorgang für: " .. recipe.label)
|
||||
|
||||
-- Überprüfe Zutaten erneut
|
||||
local hasIngredients, missingItems = CheckIngredients(recipe)
|
||||
|
||||
if not hasIngredients then
|
||||
ShowMissingIngredients(missingItems)
|
||||
return
|
||||
end
|
||||
|
||||
-- Animation und Progressbar
|
||||
local animDict = "amb@prop_human_bbq@male@base"
|
||||
local anim = "base"
|
||||
|
||||
RequestAnimDict(animDict)
|
||||
while not HasAnimDictLoaded(animDict) do
|
||||
Wait(0)
|
||||
Wait(10)
|
||||
end
|
||||
|
||||
QBCore.Functions.Progressbar("grill_food", selectedFood.label.." wird gegrillt...", Config.ProgressTime or 5000, false, true, { -- Changed text and function name
|
||||
|
||||
QBCore.Functions.Progressbar("grill_food", "Grille " .. recipe.label .. "...", Config.GrillTime, false, true, {
|
||||
disableMovement = true,
|
||||
disableCarMovement = true,
|
||||
disableMouse = false,
|
||||
|
@ -120,16 +152,10 @@ function PrepareFood(selectedFood) -- Changed function name
|
|||
anim = anim,
|
||||
flags = 49,
|
||||
}, {}, {}, function() -- Success
|
||||
Debug("Food preparation successful, triggering server event...")
|
||||
TriggerServerEvent('grill-script:giveFood', selectedFood.item, selectedFood.requires) -- Changed event name
|
||||
end, function() -- Cancelled
|
||||
Debug("Food preparation cancelled")
|
||||
QBCore.Functions.Notify("Zubereitung abgebrochen", "error")
|
||||
Debug("Grillvorgang abgeschlossen")
|
||||
TriggerServerEvent('nordi_bbq:server:GiveGrilledFood', recipe.item, recipe.requires)
|
||||
end, function() -- Cancel
|
||||
Debug("Grillvorgang abgebrochen")
|
||||
QBCore.Functions.Notify("Grillvorgang abgebrochen", "error")
|
||||
end)
|
||||
end
|
||||
|
||||
-- Debug Event
|
||||
RegisterNetEvent('grill-script:debug') -- Changed event name
|
||||
AddEventHandler('grill-script:debug', function(msg)
|
||||
Debug(msg)
|
||||
end)
|
||||
|
|
|
@ -1,72 +1,65 @@
|
|||
Config = {}
|
||||
|
||||
-- Change coffee props to grill props
|
||||
-- Grill-Props (Standard-GTA-Props)
|
||||
Config.GrillProps = {
|
||||
`prop_bbq_1`,
|
||||
`prop_bbq_2`,
|
||||
`prop_bbq_3`,
|
||||
`prop_bbq_4`,
|
||||
`prop_bbq_5`,
|
||||
`bzzz_grill_small_a`,
|
||||
`bzzz_grill_small_b`,
|
||||
`bzzz_grill_a`,
|
||||
`smallbbqtrailer`,
|
||||
`bigbbqtrailer`,
|
||||
|
||||
-- Add any other grill props you want to use
|
||||
"prop_bbq_1",
|
||||
"prop_bbq_2",
|
||||
"prop_bbq_3",
|
||||
"prop_bbq_4",
|
||||
"prop_bbq_5"
|
||||
}
|
||||
|
||||
-- Progressbar duration in ms
|
||||
Config.ProgressTime = 5000 -- Maybe increase time for grilling
|
||||
-- Zeit zum Grillen (in ms)
|
||||
Config.GrillTime = 5000
|
||||
|
||||
-- Change coffee options to grilling options
|
||||
Config.GrillOptions = {
|
||||
{
|
||||
label = "Hamburger",
|
||||
description = "Ein saftiger Hamburger",
|
||||
item = "hamburger",
|
||||
icon = "fa-solid fa-burger",
|
||||
requires = {
|
||||
{item = "raw_beef", amount = 1},
|
||||
{item = "burger_bun", amount = 1},
|
||||
}
|
||||
},
|
||||
{
|
||||
label = "Cheeseburger",
|
||||
description = "Ein Hamburger mit Käse",
|
||||
item = "cheeseburger",
|
||||
icon = "fa-solid fa-burger",
|
||||
requires = {
|
||||
{item = "raw_beef", amount = 1},
|
||||
{item = "burger_bun", amount = 1},
|
||||
{item = "cheese", amount = 1}
|
||||
}
|
||||
},
|
||||
-- Grill-Rezepte
|
||||
Config.GrillRecipes = {
|
||||
{
|
||||
label = "Steak",
|
||||
description = "Ein perfekt gegrilltes Steak",
|
||||
item = "steak",
|
||||
icon = "fa-solid fa-drumstick-bite",
|
||||
item = "cooked_bbq_ribeye",
|
||||
icon = "fas fa-drumstick-bite",
|
||||
requires = {
|
||||
{item = "ribeye_steak", amount = 1},
|
||||
{item = "rawmeat", amount = 1}
|
||||
}
|
||||
},
|
||||
{
|
||||
label = "Bratwurst",
|
||||
description = "Eine leckere Bratwurst",
|
||||
item = "grilled_sausage",
|
||||
icon = "fa-solid fa-hotdog",
|
||||
requires = {
|
||||
{item = "raw_sausage", amount = 1},
|
||||
}
|
||||
},
|
||||
{
|
||||
label = "Gegrilltes Gemüse",
|
||||
description = "Grillgemüse – weil Salat keine Röstaromen hat",
|
||||
item = "grilled_vegetables",
|
||||
icon = "fa-solid fa-carrot",
|
||||
requires = {
|
||||
{item = "vegetables", amount = 1},
|
||||
}
|
||||
},
|
||||
}
|
||||
-- Hier kannst du weitere Rezepte hinzufügen
|
||||
}
|
||||
|
||||
-- Überprüfe, ob alle Items existieren
|
||||
CreateThread(function()
|
||||
Wait(5000) -- Warte auf vollständige Initialisierung
|
||||
|
||||
local QBCore = exports['qb-core']:GetCoreObject()
|
||||
if not QBCore or not QBCore.Shared or not QBCore.Shared.Items then
|
||||
print("^1FEHLER: QBCore.Shared.Items nicht verfügbar^7")
|
||||
return
|
||||
end
|
||||
|
||||
local missingItems = {}
|
||||
|
||||
-- Überprüfe Rezept-Items
|
||||
for _, recipe in pairs(Config.GrillRecipes) do
|
||||
if not QBCore.Shared.Items[recipe.item] then
|
||||
table.insert(missingItems, recipe.item)
|
||||
end
|
||||
|
||||
-- Überprüfe Zutaten
|
||||
for _, req in pairs(recipe.requires) do
|
||||
if not QBCore.Shared.Items[req.item] then
|
||||
table.insert(missingItems, req.item)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if #missingItems > 0 then
|
||||
print("^1WARNUNG: Folgende Items fehlen in QBCore.Shared.Items:^7")
|
||||
for _, item in ipairs(missingItems) do
|
||||
print("^1- " .. item .. "^7")
|
||||
end
|
||||
else
|
||||
print("^2Alle Grill-Items existieren in QBCore.Shared.Items^7")
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
fx_version 'cerulean'
|
||||
game 'gta5'
|
||||
|
||||
description 'Kaffee mit qb_target'
|
||||
author 'Nordi'
|
||||
description 'Grill-Script'
|
||||
author 'Nord98'
|
||||
version '1.0.0'
|
||||
|
||||
shared_scripts {
|
||||
|
@ -25,4 +24,4 @@ dependencies {
|
|||
'qb-target',
|
||||
'qb-core',
|
||||
'ox_lib'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,56 +1,58 @@
|
|||
local QBCore = exports['qb-core']:GetCoreObject()
|
||||
|
||||
-- Debug Print Function
|
||||
-- Debug-Funktion
|
||||
local function Debug(msg)
|
||||
print("^2[Grill Debug] ^7" .. msg) -- Changed from Coffee to Grill
|
||||
print("^2[Grill Debug] ^7" .. msg)
|
||||
end
|
||||
|
||||
RegisterNetEvent('grill-script:giveFood') -- Changed event name
|
||||
AddEventHandler('grill-script:giveFood', function(itemName, requirements) -- Changed event name
|
||||
Debug("Give food event triggered") -- Changed text
|
||||
-- Event zum Geben des gegrillten Essens
|
||||
RegisterNetEvent('nordi_bbq:server:GiveGrilledFood', function(itemName, requirements)
|
||||
local src = source
|
||||
local Player = QBCore.Functions.GetPlayer(src)
|
||||
|
||||
if Player then
|
||||
-- Check if the item is in the allowed grill options
|
||||
local isValidItem = false
|
||||
for _, food in ipairs(Config.GrillOptions) do -- Changed from CoffeeOptions to GrillOptions
|
||||
if food.item == itemName then
|
||||
isValidItem = true
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if isValidItem then
|
||||
Debug("Valid food item requested") -- Changed text
|
||||
-- Double-check ingredients
|
||||
local hasAllItems = true
|
||||
for _, requirement in ipairs(requirements) do
|
||||
if not Player.Functions.HasItem(requirement.item, requirement.amount) then
|
||||
hasAllItems = false
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if hasAllItems then
|
||||
Debug("Player has all required items")
|
||||
-- Remove required items
|
||||
for _, requirement in ipairs(requirements) do
|
||||
Player.Functions.RemoveItem(requirement.item, requirement.amount)
|
||||
TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items[requirement.item], "remove")
|
||||
end
|
||||
|
||||
-- Give the finished food
|
||||
Player.Functions.AddItem(itemName, 1)
|
||||
TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items[itemName], "add")
|
||||
TriggerClientEvent('QBCore:Notify', src, "Du hast " .. QBCore.Shared.Items[itemName].label .. " gegrillt!", "success") -- Changed text
|
||||
else
|
||||
Debug("Player missing required items")
|
||||
TriggerClientEvent('QBCore:Notify', src, "Du hast nicht alle benötigten Zutaten!", "error")
|
||||
end
|
||||
else
|
||||
Debug("Invalid food item requested: " .. itemName) -- Changed text
|
||||
TriggerClientEvent('QBCore:Notify', src, "Fehler beim Grillen!", "error") -- Changed text
|
||||
|
||||
if not Player then
|
||||
Debug("Spieler nicht gefunden")
|
||||
return
|
||||
end
|
||||
|
||||
-- Überprüfe, ob das Item in den erlaubten Rezepten ist
|
||||
local validRecipe = false
|
||||
for _, recipe in pairs(Config.GrillRecipes) do
|
||||
if recipe.item == itemName then
|
||||
validRecipe = true
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if not validRecipe then
|
||||
Debug("Ungültiges Rezept: " .. itemName)
|
||||
TriggerClientEvent('QBCore:Notify', src, "Fehler beim Grillen!", "error")
|
||||
return
|
||||
end
|
||||
|
||||
-- Überprüfe Zutaten
|
||||
local hasAllItems = true
|
||||
for _, requirement in pairs(requirements) do
|
||||
if not Player.Functions.HasItem(requirement.item, requirement.amount) then
|
||||
hasAllItems = false
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if hasAllItems then
|
||||
-- Entferne Zutaten
|
||||
for _, requirement in pairs(requirements) do
|
||||
Player.Functions.RemoveItem(requirement.item, requirement.amount)
|
||||
TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items[requirement.item], "remove")
|
||||
end
|
||||
|
||||
-- Gib das fertige Essen
|
||||
Player.Functions.AddItem(itemName, 1)
|
||||
TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items[itemName], "add")
|
||||
|
||||
local itemLabel = QBCore.Shared.Items[itemName] and QBCore.Shared.Items[itemName].label or itemName
|
||||
TriggerClientEvent('QBCore:Notify', src, "Du hast " .. itemLabel .. " gegrillt!", "success")
|
||||
else
|
||||
TriggerClientEvent('QBCore:Notify', src, "Du hast nicht alle benötigten Zutaten!", "error")
|
||||
end
|
||||
end)
|
||||
|
|
|
@ -158,7 +158,7 @@ Config.Items = {
|
|||
prop = { model = `prop_choc_ego`, boneId = 18905, offset = vec3(0.1114, 0.0389, 0.0497), rotation = vec3(160.2057, 77.8283, -7.5425) },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 6,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -171,7 +171,7 @@ Config.Items = {
|
|||
prop = { model = `prop_choc_ego`, boneId = 18905, offset = vec3(0.13, 0.05, 0.02), rotation = vec3(120.0, 196.0, 60.0) },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 6,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -185,7 +185,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_restaurant_eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 15,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -199,7 +199,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "base_idle", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz@restaurant@eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 15,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -213,7 +213,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 6,
|
||||
hunger = 8,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -241,7 +241,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 6,
|
||||
hunger = 8,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -255,7 +255,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 6,
|
||||
hunger = 10,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -269,7 +269,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 6,
|
||||
hunger = 10,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -283,7 +283,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 6,
|
||||
hunger = 10,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -297,7 +297,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 6,
|
||||
hunger = 10,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -339,7 +339,7 @@ Config.Items = {
|
|||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 6,
|
||||
hunger = 20,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -353,7 +353,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 6,
|
||||
hunger = 10,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -395,7 +395,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 6,
|
||||
hunger = 10,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -479,7 +479,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 15,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -493,7 +493,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -507,7 +507,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -521,7 +521,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -535,7 +535,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 20,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -549,7 +549,7 @@ Config.Items = {
|
|||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 20,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -563,7 +563,7 @@ Config.Items = {
|
|||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 20,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -577,7 +577,7 @@ Config.Items = {
|
|||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 20,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -689,7 +689,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -698,7 +698,7 @@ Config.Items = {
|
|||
}
|
||||
},
|
||||
["scookie"] = {
|
||||
uses = 2,
|
||||
uses = 1,
|
||||
prop = { model = `bzzz_sugary_cookie_a`, boneId = 60309, offset = vec3(0.1114, 0.0389, 0.0497), rotation = vec3(160.2057, 77.8283, -7.5425) },
|
||||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
|
@ -740,12 +740,12 @@ Config.Items = {
|
|||
}
|
||||
},
|
||||
["marshmallows"] = {
|
||||
uses = 1,
|
||||
uses = 4
|
||||
prop = { model = `v_ret_ml_chips4`, boneId = 60309, offset = vec3(0.1114, 0.0389, 0.0497), rotation = vec3(160.2057, 77.8283, -7.5425) },
|
||||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 4,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -759,7 +759,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 15,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -773,7 +773,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 15,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -787,7 +787,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 4,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -801,7 +801,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -815,7 +815,7 @@ Config.Items = {
|
|||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 8,
|
||||
hunger = 10,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -829,7 +829,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -843,7 +843,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -857,7 +857,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "base_idle", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz@restaurant@eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 30,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -871,7 +871,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "base_idle", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz@restaurant@eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 30,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -885,7 +885,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "base_idle", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz@restaurant@eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -899,7 +899,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "base_idle", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz@restaurant@eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -927,7 +927,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -941,7 +941,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -955,7 +955,7 @@ Config.Items = {
|
|||
idle = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mp_player_inteat@burger", anim = "mp_player_int_eat_burger_fp", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -969,7 +969,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "base_idle", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz@restaurant@eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 30,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -983,7 +983,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "base_idle", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz@restaurant@eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 30,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -997,7 +997,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "base_idle", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz@restaurant@eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 30,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -1011,7 +1011,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "base_idle", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz@restaurant@eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 30,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -1025,7 +1025,7 @@ Config.Items = {
|
|||
idle = { dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1", anim = "base_idle", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz@restaurant@eat", anim = "bzzz_restaurant_eat", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -1039,7 +1039,7 @@ Config.Items = {
|
|||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 8,
|
||||
hunger = 10,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -1053,7 +1053,7 @@ Config.Items = {
|
|||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 8,
|
||||
hunger = 10,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -1067,21 +1067,7 @@ Config.Items = {
|
|||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 8,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
alcohol = 0,
|
||||
stamina = 0,
|
||||
}
|
||||
},
|
||||
["hors_hunder_ings"] = {
|
||||
uses = 4,
|
||||
prop = { model = `prop_food_cb_nugets`, boneId = 60309, offset = vec3(0.1114, 0.0389, 0.0497), rotation = vec3(160.2057, 77.8283, -7.5425) },
|
||||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 8,
|
||||
hunger = 10,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -1265,7 +1251,7 @@ Config.Items = {
|
|||
idle = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "bzzz_popcorn_animation", anim = "bzzz_popcorn_animation", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 10,
|
||||
hunger = 25,
|
||||
thirst = 0,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
|
@ -1294,7 +1280,7 @@ Config.Items = {
|
|||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 0,
|
||||
thirst = 10,
|
||||
thirst = 25,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
alcohol = 0,
|
||||
|
@ -1308,14 +1294,14 @@ Config.Items = {
|
|||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 0,
|
||||
thirst = 10,
|
||||
thirst = 25,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
alcohol = 0,
|
||||
stamina = 0,
|
||||
}
|
||||
},
|
||||
["ecoal_dose"] = {
|
||||
["ecola_dose"] = {
|
||||
uses = 1,
|
||||
prop = { model = `prop_ecola_can`, boneId = 28422, offset = vec3(0.0, 0.00, -0.07), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
idle = { dict = "amb@code_human_wander_drinking_fat@beer@male@base", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
|
@ -1703,7 +1689,7 @@ Config.Items = {
|
|||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 0,
|
||||
thirst = 10,
|
||||
thirst = 25,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
alcohol = 0,
|
||||
|
@ -1732,7 +1718,7 @@ Config.Items = {
|
|||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 0,
|
||||
thirst = 10,
|
||||
thirst = 25,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
alcohol = 0,
|
||||
|
@ -1747,7 +1733,7 @@ Config.Items = {
|
|||
effect = { name = "drunk", time = 40000, intensity = 1.0 },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 0,
|
||||
thirst = 10,
|
||||
thirst = 20,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
alcohol = 0,
|
||||
|
@ -2028,7 +2014,7 @@ Config.Items = {
|
|||
},
|
||||
["sprunk"] = {
|
||||
uses = 2,
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.20), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.07), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
idle = { dict = "amb@code_human_wander_drinking_fat@beer@male@base", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
|
@ -2042,7 +2028,7 @@ Config.Items = {
|
|||
},
|
||||
["ecola"] = {
|
||||
uses = 2,
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.20), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.07), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
idle = { dict = "amb@code_human_wander_drinking_fat@beer@male@base", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
|
@ -2056,7 +2042,7 @@ Config.Items = {
|
|||
},
|
||||
["ornageo"] = {
|
||||
uses = 2,
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.20), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.07), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
idle = { dict = "amb@code_human_wander_drinking_fat@beer@male@base", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
|
@ -2070,7 +2056,7 @@ Config.Items = {
|
|||
},
|
||||
["ecola_light"] = {
|
||||
uses = 2,
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.20), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.07), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
idle = { dict = "amb@code_human_wander_drinking_fat@beer@male@base", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
|
@ -2084,7 +2070,7 @@ Config.Items = {
|
|||
},
|
||||
["sludgie"] = {
|
||||
uses = 2,
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.20), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.07), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
idle = { dict = "amb@code_human_wander_drinking_fat@beer@male@base", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
|
@ -2098,7 +2084,7 @@ Config.Items = {
|
|||
},
|
||||
["juice"] = {
|
||||
uses = 2,
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.20), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
prop = { model = `prop_cs_bs_cup`, boneId = 28422, offset = vec3(0.0, 0.00, -0.07), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
idle = { dict = "amb@code_human_wander_drinking_fat@beer@male@base", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
|
@ -2335,13 +2321,13 @@ Config.Items = {
|
|||
}
|
||||
},
|
||||
["applejuice"] = {
|
||||
uses = 1,
|
||||
prop = { model = `bzzz_tree_juice_red`, boneId = 28422, offset = vec3(0.0, 0.00, 0.00), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
uses = 2,
|
||||
prop = { model = `bzzz_tree_juice_red`, boneId = 28422, offset = vec3(0.0, 0.00, -0.20), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
idle = { dict = "amb@code_human_wander_drinking_fat@beer@male@base", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 0,
|
||||
thirst = 6,
|
||||
thirst = 20,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
alcohol = 0,
|
||||
|
@ -2349,13 +2335,27 @@ Config.Items = {
|
|||
}
|
||||
},
|
||||
["orangejuice"] = {
|
||||
uses = 1,
|
||||
prop = { model = `bzzz_tree_juice_red`, boneId = 28422, offset = vec3(0.0, 0.00, 0.00), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
uses = 2,
|
||||
prop = { model = `bzzz_tree_juice_red`, boneId = 28422, offset = vec3(0.0, 0.00, -0.20), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
idle = { dict = "amb@code_human_wander_drinking_fat@beer@male@base", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 0,
|
||||
thirst = 6,
|
||||
thirst = 20,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
alcohol = 0,
|
||||
stamina = 0,
|
||||
}
|
||||
},
|
||||
["grapejuice"] = {
|
||||
uses = 2,
|
||||
prop = { model = `bzzz_tree_juice_red`, boneId = 28422, offset = vec3(0.0, 0.00, -0.20), rotation = vec3(0.0, 0.0, 0.0) },
|
||||
idle = { dict = "amb@code_human_wander_drinking_fat@beer@male@base", anim = "static", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
animation = { dict = "mini@sprunk", anim = "plyr_buy_drink_pt2", time = 2000, params = { nil, nil, nil, 49 } },
|
||||
status = { -- Per use. Values are based on percentage of the max value of the status. If below zero, it will remove the status percentage.
|
||||
hunger = 0,
|
||||
thirst = 20,
|
||||
stress = 0,
|
||||
armor = 0,
|
||||
alcohol = 0,
|
||||
|
@ -2365,5 +2365,4 @@ Config.Items = {
|
|||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue