props
|
@ -699,7 +699,30 @@ CodeStudio.Products = {
|
|||
itemPrice = 100,
|
||||
itemInfo = "",
|
||||
},
|
||||
|
||||
['baseball'] = {
|
||||
itemName = "Baseball",
|
||||
itemStock = 150,
|
||||
itemPrice = 600,
|
||||
itemInfo = "",
|
||||
},
|
||||
['soccer'] = {
|
||||
itemName = "Fußball",
|
||||
itemStock = 150,
|
||||
itemPrice = 20,
|
||||
itemInfo = "",
|
||||
},
|
||||
['football'] = {
|
||||
itemName = "Football",
|
||||
itemStock = 150,
|
||||
itemPrice = 100,
|
||||
itemInfo = "",
|
||||
},
|
||||
['basketball'] = {
|
||||
itemName = "Basketball",
|
||||
itemStock = 150,
|
||||
itemPrice = 100,
|
||||
itemInfo = "",
|
||||
},
|
||||
|
||||
}
|
||||
},
|
||||
|
@ -1127,7 +1150,7 @@ CodeStudio.Products = {
|
|||
itemInfo = "Protective body armor",
|
||||
},
|
||||
['radio'] = {
|
||||
itemName = "Radio",
|
||||
itemName = "Funkgerät",
|
||||
itemStock = 50,
|
||||
itemPrice = 0,
|
||||
itemInfo = "Communication device for officers",
|
||||
|
@ -1156,6 +1179,14 @@ CodeStudio.Products = {
|
|||
itemPrice = 500,
|
||||
itemInfo = "",
|
||||
},
|
||||
['weapon_flashlight'] = {
|
||||
itemName = "Taschenlampe",
|
||||
itemStock = 150,
|
||||
itemPrice = 50,
|
||||
itemInfo = "",
|
||||
},
|
||||
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
@ -1619,6 +1650,31 @@ CodeStudio.Products = {
|
|||
itemPrice = 0,
|
||||
itemInfo = "",
|
||||
},
|
||||
['weapon_flashlight'] = {
|
||||
itemName = "Taschenlampe",
|
||||
itemStock = 150,
|
||||
itemPrice = 50,
|
||||
itemInfo = "",
|
||||
},
|
||||
['binoculars'] = {
|
||||
itemName = "Fernglas",
|
||||
itemStock = 50,
|
||||
itemPrice = 50,
|
||||
itemInfo = "ey! du sollst net spannern!",
|
||||
},
|
||||
['emergencydrone'] = {
|
||||
itemName = "Einsatz Drohne",
|
||||
itemStock = 50,
|
||||
itemPrice = 500,
|
||||
itemInfo = "",
|
||||
},
|
||||
['radio'] = {
|
||||
itemName = "Funkgerät",
|
||||
itemStock = 50,
|
||||
itemPrice = 100,
|
||||
itemInfo = "",
|
||||
},
|
||||
|
||||
}
|
||||
},
|
||||
['cinema'] = {
|
||||
|
|
|
@ -1697,7 +1697,7 @@ Config = {
|
|||
}
|
||||
},
|
||||
["burrito"] = {
|
||||
PropModel = "prop_taco_01",
|
||||
PropModel = "bzzz_food_burrito_a",
|
||||
UsesAmount = 2, -- The Amount Of Times This Item Can Be Eaten / Drinked
|
||||
Actions = {
|
||||
Enter = { -- I Won't Recomenned Replacing The Animation Because Stuff Related To This Are Hardcoded (Will Be Support For Customs Soon)
|
||||
|
@ -1873,7 +1873,7 @@ Config = {
|
|||
|
||||
|
||||
["dueruem"] = {
|
||||
PropModel = "prop_taco_01",
|
||||
PropModel = "bzzz_food_burrito_a",
|
||||
UsesAmount = 2, -- The Amount Of Times This Item Can Be Eaten / Drinked
|
||||
Actions = {
|
||||
Enter = { -- I Won't Recomenned Replacing The Animation Because Stuff Related To This Are Hardcoded (Will Be Support For Customs Soon)
|
||||
|
@ -1987,7 +1987,7 @@ Config = {
|
|||
}
|
||||
},
|
||||
["doener"] = {
|
||||
PropModel = "bzzz_camp_food_kebab",
|
||||
PropModel = "bzzz_food_kebab_a",
|
||||
UsesAmount = 2, -- The Amount Of Times This Item Can Be Eaten / Drinked
|
||||
Actions = {
|
||||
Enter = { -- I Won't Recomenned Replacing The Animation Because Stuff Related To This Are Hardcoded (Will Be Support For Customs Soon)
|
||||
|
@ -2187,8 +2187,8 @@ Config = {
|
|||
},
|
||||
Use = {
|
||||
Animation = {
|
||||
Dict = "anim@scripted@island@special_peds@pavel@hs4_pavel_ig5_caviar_p1",
|
||||
Anim = "base_idle",
|
||||
Dict = "bzzz@restaurant@eat",
|
||||
Anim = "bzzz_restaurant_eat",
|
||||
flag = 49,
|
||||
Speed = 1.0,
|
||||
},
|
||||
|
@ -2785,7 +2785,7 @@ Config = {
|
|||
}
|
||||
},
|
||||
["salsa_nachos"] = {
|
||||
PropModel = "prop_food_chips",
|
||||
PropModel = "bzzz_food_nachos_a",
|
||||
UsesAmount = 2, -- The Amount Of Times This Item Can Be Eaten / Drinked
|
||||
Actions = {
|
||||
Enter = { -- I Won't Recomenned Replacing The Animation Because Stuff Related To This Are Hardcoded (Will Be Support For Customs Soon)
|
||||
|
@ -2842,7 +2842,7 @@ Config = {
|
|||
}
|
||||
},
|
||||
["cheeseanachos"] = {
|
||||
PropModel = "prop_food_chips",
|
||||
PropModel = "bzzz_food_nachos_a",
|
||||
UsesAmount = 2, -- The Amount Of Times This Item Can Be Eaten / Drinked
|
||||
Actions = {
|
||||
Enter = { -- I Won't Recomenned Replacing The Animation Because Stuff Related To This Are Hardcoded (Will Be Support For Customs Soon)
|
||||
|
@ -3241,7 +3241,7 @@ Config = {
|
|||
}
|
||||
},
|
||||
["waffle_icream"] = {
|
||||
PropModel = "bzzz_camp_food_melloburnt",
|
||||
PropModel = "bzzz_food_dessert_a",
|
||||
UsesAmount = 2,
|
||||
Actions = {
|
||||
Enter = {
|
||||
|
@ -4938,7 +4938,7 @@ Config = {
|
|||
},
|
||||
},
|
||||
["slushi"] = {
|
||||
PropModel = "v_62_ecolacup01",
|
||||
PropModel = "prop_cs_bs_cup",
|
||||
UsesAmount = 4, -- The Amount Of Times This Item Can Be Eaten / Drinked
|
||||
Actions = {
|
||||
Enter = { -- I Won't Recomenned Replacing The Animation Because Stuff Related To This Are Hardcoded (Will Be Support For Customs Soon)
|
||||
|
@ -5008,7 +5008,7 @@ Config = {
|
|||
},
|
||||
},
|
||||
["bubble_tea"] = {
|
||||
PropModel = "scully_boba3",
|
||||
PropModel = "bzzz_food_bubbletea_a",
|
||||
UsesAmount = 1, -- The Amount Of Times This Item Can Be Eaten / Drinked
|
||||
Actions = {
|
||||
Enter = { -- I Won't Recomenned Replacing The Animation Because Stuff Related To This Are Hardcoded (Will Be Support For Customs Soon)
|
||||
|
@ -6112,7 +6112,7 @@ Config = {
|
|||
|
||||
|
||||
["munky_juice"] = {
|
||||
PropModel = "prop_ld_flow_bottle",
|
||||
PropModel = "bzzz_food_capisun_a",
|
||||
UsesAmount = 1,
|
||||
Actions = {
|
||||
Enter = {
|
||||
|
|
|
@ -102,7 +102,7 @@ Config.QBX = qbxHas
|
|||
|
||||
Config.FetchOldInventory = false -- Set to 'true' only once to start the migration process, then return to 'false' immediately after.
|
||||
|
||||
Config.UseTarget = true -- Set to true to enable targeting with either 'qb-target' or 'ox_target', or false to disable entirely.
|
||||
Config.UseTarget = false -- Set to true to enable targeting with either 'qb-target' or 'ox_target', or false to disable entirely.
|
||||
|
||||
--[[
|
||||
General Configuration Guide for the Inventory System
|
||||
|
|
|
@ -71,6 +71,7 @@ Config.CustomTrunk = {
|
|||
[joaat('Hauler')] = { slots = 0, maxweight = 0 },
|
||||
[joaat('Phantom2')] = { slots = 0, maxweight = 0 },
|
||||
[joaat('Phantom')] = { slots = 0, maxweight = 0 },
|
||||
[joaat('brickade')] = { slots = 0, maxweight = 200000 },
|
||||
|
||||
}
|
||||
|
||||
|
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 48 KiB |
BIN
resources/[props]/bzzz_food_dessert/bzzz_food_dessert_a.png
Normal file
After Width: | Height: | Size: 20 KiB |
10
resources/[props]/bzzz_food_dessert/configs.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
ox_inventory:
|
||||
https://github.com/Mrs-BzZz/food_coords/blob/main/ox_inventory/smore.lua
|
||||
|
||||
|
||||
|
||||
|
||||
qb-smallresources:
|
||||
https://github.com/Mrs-BzZz/food_coords/blob/main/qb-smallresources/bzzz_smore.lua
|
||||
|
||||
|
11
resources/[props]/bzzz_food_dessert/fxmanifest.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
fx_version 'cerulean'
|
||||
game { 'gta5' }
|
||||
author 'BzZz'
|
||||
description 'Bzzz - Dessert'
|
||||
version '1.0.0'
|
||||
|
||||
|
||||
|
||||
data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_food_dessert_a.ytyp'
|
||||
|
||||
|
BIN
resources/[props]/bzzz_food_dessert/images/20221119194134_1.jpg
Normal file
After Width: | Height: | Size: 102 KiB |
BIN
resources/[props]/bzzz_food_dessert/images/20221119194837_1.jpg
Normal file
After Width: | Height: | Size: 128 KiB |
BIN
resources/[props]/bzzz_food_dessert/images/time.jpg
Normal file
After Width: | Height: | Size: 965 KiB |
41
resources/[props]/bzzz_food_dessert/readme.txt
Normal file
|
@ -0,0 +1,41 @@
|
|||
Hi,
|
||||
thank you for your purchase.
|
||||
|
||||
|
||||
--------------------------------------------------
|
||||
My contact:
|
||||
Cfx forum: https://forum.cfx.re/u/bzzzi/summary
|
||||
Tebex: https://bzzz.tebex.io/
|
||||
Discord: https://discord.gg/PpAHBCMW97
|
||||
--------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Installation:
|
||||
1) Insert folder "bzzz_food_dessert" to resources folder
|
||||
2) Add to server.cfg
|
||||
3) Restart server
|
||||
|
||||
|
||||
|
||||
If you stream props in another resource, you must edit the fxmanifest.
|
||||
Add this line:
|
||||
data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_food_dessert_a.ytyp'
|
||||
|
||||
|
||||
|
||||
|
||||
Then the server must be restarted.
|
||||
YTYP loads properties of props.
|
||||
|
||||
|
||||
|
||||
Coords for eat animation:
|
||||
|
||||
["desert"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "Eat dessert", AnimationOptions =
|
||||
{
|
||||
Prop = 'bzzz_food_dessert_a',
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.15, 0.03, 0.03, -42.0, -36.0, 0.0},
|
||||
EmoteMoving = true,
|
||||
}},
|
|
@ -0,0 +1,133 @@
|
|||
-- add to bzzz_usableitems V2
|
||||
|
||||
----- FOOD -----
|
||||
|
||||
["hotdog_a"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000,
|
||||
animationDict = "mp_player_inteat@burger",
|
||||
animationName = "mp_player_int_eat_burger"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_food_hotdog_a",
|
||||
xPos = 0.14, yPos = 0.06, zPos = 0.03, xRot = 20.0, yRot = -210.0, zRot = 0.0
|
||||
}
|
||||
},
|
||||
["hotdog_b"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000,
|
||||
animationDict = "mp_player_inteat@burger",
|
||||
animationName = "mp_player_int_eat_burger"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_food_hotdog_b",
|
||||
xPos = 0.14, yPos = 0.06, zPos = 0.03, xRot = 20.0, yRot = -210.0, zRot = 0.0
|
||||
}
|
||||
},
|
||||
["carneasada_a"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000,
|
||||
animationDict = "mp_player_inteat@burger",
|
||||
animationName = "mp_player_int_eat_burger"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_food_carneasada_a",
|
||||
xPos = 0.16, yPos = 0.05, zPos = 0.01, xRot = -31.0, yRot = 298.0, zRot = 7.0
|
||||
}
|
||||
},
|
||||
["nachos_a"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000,
|
||||
animationDict = "mp_player_inteat@pnq",
|
||||
animationName = "loop"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_food_nachos_a",
|
||||
xPos = 0.15, yPos = -0.05, zPos = 0.1, xRot = -176.0, yRot = 310.0, zRot = 189.0
|
||||
}
|
||||
},
|
||||
["kebab_a"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000,
|
||||
animationDict = "mp_player_inteat@burger",
|
||||
animationName = "mp_player_int_eat_burger"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_food_kebab_a",
|
||||
xPos = 0.15, yPos = 0.06, zPos = 0.04, xRot = -240.0, yRot = 310.0, zRot = 189.0
|
||||
}
|
||||
},
|
||||
["burrito_a"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000,
|
||||
animationDict = "mp_player_inteat@burger",
|
||||
animationName = "mp_player_int_eat_burger"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_food_burrito_a",
|
||||
xPos = 0.12, yPos = 0.02, zPos = 0.04, xRot = -240.0, yRot = 310.0, zRot = 189.0
|
||||
}
|
||||
},
|
||||
["churros_a"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000,
|
||||
animationDict = "mp_player_inteat@burger",
|
||||
animationName = "mp_player_int_eat_burger"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_food_churros_a",
|
||||
xPos = 0.12, yPos = 0.0, zPos = 0.09, xRot = -228.0, yRot = 310.0, zRot = 189.0
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
----- DRINK -----
|
||||
|
||||
["coffeecup_a"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000,
|
||||
animationDict = "mp_player_intdrink",
|
||||
animationName = "loop_bottle"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_food_cooffeecup01_a",
|
||||
xPos = 0.14, yPos = 0.0, zPos = 0.06, xRot = -224.0, yRot = -77.0, zRot = -132.0
|
||||
}
|
||||
},
|
||||
["bubbletea_a"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000,
|
||||
animationDict = "mp_player_intdrink",
|
||||
animationName = "loop_bottle"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_food_bubbletea_a",
|
||||
xPos = 0.12, yPos = 0.0, zPos = 0.05, xRot = -115.0, yRot = 296.0, zRot = 13.0
|
||||
}
|
||||
},
|
||||
["capisun_a"] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000,
|
||||
animationDict = "mp_player_intdrink",
|
||||
animationName = "loop_bottle"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_food_capisun_a",
|
||||
xPos = 0.11, yPos = -0.09, zPos = 0.1, xRot = -240.0, yRot = 310.0, zRot = 189.0
|
||||
}
|
||||
},
|
||||
|
|
@ -0,0 +1,83 @@
|
|||
-- add to dpemotes
|
||||
|
||||
|
||||
["coffeecup_a"] = {"mp_player_intdrink", "loop_bottle", "Cup of coffee", AnimationOptions =
|
||||
{
|
||||
Prop = 'bzzz_food_cooffeecup01_a',
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.14, 0.0, 0.06, -224.0, -77.0, -132.0,},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["bubbletea_a"] = {"mp_player_intdrink", "loop_bottle", "Bubble tea", AnimationOptions =
|
||||
{
|
||||
Prop = 'bzzz_food_bubbletea_a',
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.12, 0.0, 0.05, -115.0, 296.0, 13.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["capisun_a"] = {"mp_player_intdrink", "loop_bottle", "Juice Capi-Sun", AnimationOptions =
|
||||
{
|
||||
Prop = 'bzzz_food_capisun_a',
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.11, -0.09, 0.1, -240.0, 310.0, 189.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["hotdog_a"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "Hotdog with mustard", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_food_hotdog_a",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.14, 0.06, 0.03, 20.0, -210.0, 0.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["hotdog_b"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "Hotdog with ketchup", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_food_hotdog_b",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.14, 0.06, 0.03, 20.0, -210.0, 0.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["carneasada_a"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "Eat carneasada", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_food_carneasada_a",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.16, 0.05, 0.01, -31.0, 298.0, 7.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["nachos_a"] = {"mp_player_inteat@pnq", "loop", "Eat nachos", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_food_nachos_a",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.15, -0.05, 0.1, -176.0, 310.0, 189.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["kebab_a"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "Eat kebab", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_food_kebab_a",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.15, 0.06, 0.04, -240.0, 310.0, 189.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["burrito_a"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "Eat burrito", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_food_burrito_a",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.12, 0.02, 0.04, -240.0, 310.0, 189.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["churros_a"] = {"mp_player_inteat@burger", "mp_player_int_eat_burger", "Eat churros", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_food_churros_a",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.12, 0.0, 0.09, -228.0, 310.0, 189.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
|
@ -0,0 +1 @@
|
|||
https://github.com/Mrs-BzZz/food_coords/blob/main/ox_inventory/bzzz_mixfood.lua
|
|
@ -0,0 +1 @@
|
|||
https://github.com/Mrs-BzZz/food_coords/blob/main/qb-smallresources/bzzz_mixfood.lua
|
11
resources/[props]/bzzz_mixfood/bzzz_mixfood/fxmanifest.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
fx_version 'cerulean'
|
||||
game { 'gta5' }
|
||||
author 'BzZz'
|
||||
description 'Bzzz - Mixfood'
|
||||
version '1.0.0'
|
||||
|
||||
|
||||
|
||||
data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_food_hotdog_props.ytyp'
|
||||
|
||||
|
After Width: | Height: | Size: 287 KiB |
After Width: | Height: | Size: 123 KiB |
After Width: | Height: | Size: 422 KiB |
BIN
resources/[props]/bzzz_mixfood/bzzz_mixfood/images/gif.gif
Normal file
After Width: | Height: | Size: 1.9 MiB |
BIN
resources/[props]/bzzz_mixfood/bzzz_mixfood/images/in_time.jpg
Normal file
After Width: | Height: | Size: 418 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 17 KiB |
12
resources/[props]/bzzz_mixfood/bzzz_mixfood/items.sql
Normal file
|
@ -0,0 +1,12 @@
|
|||
INSERT INTO `items` (`name`, `label`, `weight`) VALUES
|
||||
('coffeecup_a', 'Cup of coffee', 1),
|
||||
('bubbletea_a', 'Bubble Tea', 1),
|
||||
('capisun_a', 'Juice Capi-Sun', 1),
|
||||
('hotdog_a', 'Hotdog with mustard', 1),
|
||||
('hotdog_b', 'Hotdog with ketchup', 1),
|
||||
('carneasada_a', 'Carne asada', 1),
|
||||
('nachos_a', 'Nachos', 1),
|
||||
('kebab_a', 'Kebab', 1),
|
||||
('burrito_a', 'Burrito', 1),
|
||||
('churros_a', 'Churros', 1)
|
||||
;
|
31
resources/[props]/bzzz_mixfood/bzzz_mixfood/readme.txt
Normal file
|
@ -0,0 +1,31 @@
|
|||
Hi,
|
||||
thank you for your purchase.
|
||||
Please don't release my work any longer.
|
||||
|
||||
--------------------------------------------------
|
||||
My contact:
|
||||
Cfx forum: https://forum.cfx.re/u/bzzzi/summary
|
||||
Tebex: https://bzzz.tebex.io/
|
||||
Discord: https://discord.gg/PpAHBCMW97
|
||||
--------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Installation:
|
||||
1) Insert folder "bzzz_mixfood" to resources folder
|
||||
2) Add to server.cfg
|
||||
3) Restart server
|
||||
|
||||
|
||||
--------------------------------------------------
|
||||
If you stream props in another resource, you must edit the fxmanifest.
|
||||
Add this line:
|
||||
data_file 'DLC_ITYP_REQUEST' 'stream/bzzz_food_hotdog_props.ytyp'
|
||||
|
||||
Then the server must be restarted.
|
||||
YTYP loads properties of props.
|
||||
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
Do you need images for inventory? Join discord
|
135
resources/[props]/bzzz_restaurantfood/data/animation_coords.lua
Normal file
|
@ -0,0 +1,135 @@
|
|||
|
||||
|
||||
|
||||
["food_a"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Schnitzel with fries", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_a",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_a',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.1, 0.05, 0.0, -117.0, -68.0, -43.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_b"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Schnitzel with croquettes", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_b",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_b',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.1, 0.05, 0.0, -117.0, -68.0, -43.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_c"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Spaghetti", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_c",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_c',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.1, 0.05, 0.0, -117.0, -68.0, -43.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_d"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Grilled fish", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_d",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_d',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.1, 0.05, 0.0, -117.0, -68.0, -43.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_e"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Steak with potatoes", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_e",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_e',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.1, 0.05, 0.0, -117.0, -68.0, -43.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_f"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Steak with fries", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_f",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_a',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.1, 0.05, 0.0, -117.0, -68.0, -43.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_g"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Lobster", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_g",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_d',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.1, 0.05, 0.0, -117.0, -68.0, -43.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_h"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Eggs with toast", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_h",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_f',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.1, 0.05, 0.0, -117.0, -68.0, -43.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_i"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Sushi", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_i",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_h',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.11, 0.05, -0.02, 78.0, 150.0, 188.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_j"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Shrimps with sauce", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_j",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_material_shrimp_a',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.14, 0.06, -0.05, 24.0, 282.0, 176.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_k"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Chicken with potatoes", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_k",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_e',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.1, 0.05, 0.0, -117.0, -68.0, -43.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
||||
["food_l"] = {"bzzz@restaurant@eat", "bzzz_restaurant_eat", "Vegetarian salad", AnimationOptions =
|
||||
{
|
||||
Prop = "bzzz_restaurant_food_l",
|
||||
PropBone = 18905,
|
||||
PropPlacement = {0.08, -0.04, 0.07, -30.0, 10.0, 0.0},
|
||||
SecondProp = 'bzzz_restaurant_fork_g',
|
||||
SecondPropBone = 57005,
|
||||
SecondPropPlacement = {0.1, 0.05, 0.0, -117.0, -68.0, -43.0},
|
||||
EmoteLoop = true,
|
||||
EmoteMoving = true,
|
||||
}},
|
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 82 KiB |
|
@ -0,0 +1,14 @@
|
|||
INSERT INTO `items` (`name`, `label`, `weight`) VALUES
|
||||
('res_food_a', 'Schnitzel with fries', 1),
|
||||
('res_food_b', 'Schnitzel with croquettes', 1),
|
||||
('res_food_c', 'Spaghetti', 1),
|
||||
('res_food_d', 'Grilled fish', 1),
|
||||
('res_food_e', 'Steak with potatoes', 1),
|
||||
('res_food_f', 'Steak with fries', 1),
|
||||
('res_food_g', 'Lobster', 1),
|
||||
('res_food_h', 'Eggs with toast', 1),
|
||||
('res_food_i', 'Sushi', 1),
|
||||
('res_food_j', 'Shrimps with sauce', 1),
|
||||
('res_food_k', 'Chicken with potatoes', 1),
|
||||
('res_food_l', 'Vegetarian salad', 1)
|
||||
;
|
|
@ -0,0 +1,71 @@
|
|||
1) If you're using version '2.0.0', it's necessary to add an additional section to the client.lua file.
|
||||
This is so that the mouth moves while eating. Of course, you can use the old config, but your mouth won't move.
|
||||
|
||||
-------- ADD CLIENT.LUA - BZZZ_USABLEITEMS verison 2.0.0. ----------------------
|
||||
|
||||
RegisterNetEvent('bzzz_usableitems:onEatPlates')
|
||||
AddEventHandler('bzzz_usableitems:onEatPlates', function(basicInfo, firstProp, secondProp)
|
||||
if not IsAnimated then
|
||||
IsAnimated = true
|
||||
|
||||
CreateThread(function()
|
||||
local playerPed = PlayerPedId()
|
||||
local x, y, z = table.unpack(GetEntityCoords(playerPed))
|
||||
|
||||
if secondProp and secondProp.propName then
|
||||
local boneIndex2 = GetPedBoneIndex(playerPed, secondProp.boneIndex)
|
||||
prop2 = CreateObject(secondProp.propName, x, y, z + 0.2, true, true, true)
|
||||
AttachEntityToEntity(prop2, playerPed, boneIndex2, secondProp.xPos, secondProp.yPos, secondProp.zPos, secondProp.xRot, secondProp.yRot, secondProp.zRot, true, true, false, true, 1, true)
|
||||
end
|
||||
|
||||
local boneIndex = GetPedBoneIndex(playerPed, firstProp.boneIndex)
|
||||
local prop = CreateObject(firstProp.propName, x, y, z + 0.2, true, true, true)
|
||||
AttachEntityToEntity(prop, playerPed, boneIndex, firstProp.xPos, firstProp.yPos, firstProp.zPos, firstProp.xRot, firstProp.yRot, firstProp.zRot, true, true, false, true, 1, true)
|
||||
|
||||
ESX.Streaming.RequestAnimDict(basicInfo.animationDictEat, function()
|
||||
TaskPlayAnim(playerPed, basicInfo.animationDictEat, basicInfo.animationNameEat, 8.0, -8, -1, 49, 0, 0, 0, 0)
|
||||
PlayFacialAnim(playerPed, basicInfo.animationNameChewing, basicInfo.animationDictChewing)
|
||||
|
||||
Wait(6000)
|
||||
IsAnimated = false
|
||||
ClearPedSecondaryTask(playerPed)
|
||||
DeleteObject(prop)
|
||||
DeleteObject(prop2)
|
||||
end)
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
--------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
2) Also, edit the server.lua file.
|
||||
Insert the code into the function!
|
||||
|
||||
|
||||
-------- ADD SERVER.LUA - BZZZ_USABLEITEMS verison 2.0.0. ----------------------
|
||||
|
||||
for k, v in pairs(Config.Items['FoodPlates']) do
|
||||
|
||||
ESX.RegisterUsableItem(k, function(source)
|
||||
local _source = source
|
||||
local xPlayer = ESX.GetPlayerFromId(_source)
|
||||
xPlayer.removeInventoryItem(k, 1)
|
||||
|
||||
TriggerClientEvent('esx_status:add', _source, 'hunger', v.basicInfo.amountToAdd)
|
||||
TriggerClientEvent('bzzz_usableitems:onEatPlates', _source, v.basicInfo, v.firstProp, v.secondProp or nil)
|
||||
xPlayer.showNotification('~q~Bon appetit!')
|
||||
end)
|
||||
end
|
||||
|
||||
--------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
3) Paste the entire code from the file 'restaurant_code_for_usableitems.lua' into the configuration file in 'bzzz_usableitems'.
|
||||
|
||||
After all changes, you must restart the server. It is never enough to restart the script only in txadmin.
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,236 @@
|
|||
-- insert bzzz_usableitems into Config.Items
|
||||
|
||||
|
||||
|
||||
|
||||
FoodPlates = { -- Food which uses special animation for eating, like when you eating from plate or box :D chewing is included too
|
||||
['res_food_a'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_a",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_a",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_b'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_b",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_b",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_c'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_c",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_c",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_d'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_d",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_d",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_e'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_e",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_e",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_f'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_f",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_a",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_g'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_g",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_d",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_h'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_h",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_f",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_i'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_i",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_h",
|
||||
xPos = 0.11, yPos = 0.05, zPos = -0.02, xRot = 78.0, yRot = 150.0, zRot = 188.0
|
||||
}
|
||||
},
|
||||
['res_food_j'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_j",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_material_shrimp_a",
|
||||
xPos = 0.14, yPos = 0.06, zPos = -0.05, xRot = 24.0, yRot = 282.0, zRot = 176.0
|
||||
}
|
||||
},
|
||||
['res_food_k'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_k",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_e",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_l'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_l",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_g",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
|
||||
},
|
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 82 KiB |
|
@ -0,0 +1,14 @@
|
|||
INSERT INTO `items` (`name`, `label`, `weight`) VALUES
|
||||
('res_food_a', 'Schnitzel with fries', 1),
|
||||
('res_food_b', 'Schnitzel with croquettes', 1),
|
||||
('res_food_c', 'Spaghetti', 1),
|
||||
('res_food_d', 'Grilled fish', 1),
|
||||
('res_food_e', 'Steak with potatoes', 1),
|
||||
('res_food_f', 'Steak with fries', 1),
|
||||
('res_food_g', 'Lobster', 1),
|
||||
('res_food_h', 'Eggs with toast', 1),
|
||||
('res_food_i', 'Sushi', 1),
|
||||
('res_food_j', 'Shrimps with sauce', 1),
|
||||
('res_food_k', 'Chicken with potatoes', 1),
|
||||
('res_food_l', 'Vegetarian salad', 1)
|
||||
;
|
|
@ -0,0 +1,237 @@
|
|||
-- insert bzzz_usableitems into Config.Items
|
||||
-- "res_food_a" already exists in the config
|
||||
|
||||
|
||||
|
||||
|
||||
FoodPlates = { -- Food which uses special animation for eating, like when you eating from plate or box :D chewing is included too
|
||||
['res_food_a'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_a",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_a",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_b'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_b",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_b",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_c'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_c",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_c",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_d'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_d",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_d",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_e'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_e",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_e",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_f'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_f",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_a",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_g'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_g",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_d",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_h'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_h",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_f",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_i'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_i",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_h",
|
||||
xPos = 0.11, yPos = 0.05, zPos = -0.02, xRot = 78.0, yRot = 150.0, zRot = 188.0
|
||||
}
|
||||
},
|
||||
['res_food_j'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_j",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_material_shrimp_a",
|
||||
xPos = 0.14, yPos = 0.06, zPos = -0.05, xRot = 24.0, yRot = 282.0, zRot = 176.0
|
||||
}
|
||||
},
|
||||
['res_food_k'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_k",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_e",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
['res_food_l'] = {
|
||||
basicInfo = {
|
||||
amountToAdd = 200000, -- Adds food to your status bar (require esx_status)
|
||||
animationDictEat = "bzzz@restaurant@eat",
|
||||
animationNameEat = "bzzz_restaurant_eat",
|
||||
animationDictChewing = "facials@gen_male@base",
|
||||
animationNameChewing = "eating_1"
|
||||
},
|
||||
firstProp = {
|
||||
boneIndex = 18905,
|
||||
propName = "bzzz_restaurant_food_l",
|
||||
xPos = 0.08, yPos = -0.04, zPos = 0.07, xRot = -30.0, yRot = 10.0, zRot = 0.0
|
||||
},
|
||||
secondProp = {
|
||||
boneIndex = 57005,
|
||||
propName = "bzzz_restaurant_fork_g",
|
||||
xPos = 0.1, yPos = 0.05, zPos = 0.0, xRot = -117.0, yRot = -68.0, zRot = -43.0
|
||||
}
|
||||
},
|
||||
|
||||
},
|
|
@ -0,0 +1 @@
|
|||
I'm sorry if it's not clear. If you have a problem, be sure to contact me :)
|
38
resources/[props]/bzzz_restaurantfood/data/client.lua
Normal file
|
@ -0,0 +1,38 @@
|
|||
--[[
|
||||
|
||||
- Animation template example
|
||||
- Mouth opening does not work for addon animations
|
||||
- You have to run two animations :(
|
||||
- I'm not a scripter, so it's not in my power to help you with the script
|
||||
|
||||
|
||||
]]--
|
||||
|
||||
|
||||
RegisterCommand('food_a', function()
|
||||
local playerPed = PlayerPedId()
|
||||
local x, y, z = table.unpack(GetEntityCoords(playerPed))
|
||||
|
||||
-- First prop
|
||||
local boneIndex = GetPedBoneIndex(playerPed, 18905)
|
||||
local prop = CreateObject('bzzz_restaurant_food_a', x, y, z + 0.2, true, true, true)
|
||||
AttachEntityToEntity(prop, playerPed, boneIndex, 0.08, -0.04, 0.07, -30.0, 10.0, 0.0, true, true, false, true, 1, true)
|
||||
|
||||
-- Second prop
|
||||
local boneIndex2 = GetPedBoneIndex(playerPed, 57005)
|
||||
prop2 = CreateObject('bzzz_restaurant_fork_a', x, y, z + 0.2, true, true, true)
|
||||
AttachEntityToEntity(prop2, playerPed, boneIndex2, 0.1, 0.05, 0.0, -117.0, -68.0, -43.0, true, true, false, true, 1, true)
|
||||
|
||||
-- Animations
|
||||
RequestAnimDict('bzzz@restaurant@eat') --'bzzz@restaurant@eat', 'bzzz_restaurant_eat'
|
||||
RequestAnimDict('facials@gen_male@base') -- mouth opening
|
||||
while (not HasAnimDictLoaded("bzzz@restaurant@eat")) do Wait(10) end
|
||||
while (not HasAnimDictLoaded("facials@gen_male@base")) do Wait(10) end
|
||||
TaskPlayAnim(playerPed,"bzzz@restaurant@eat","bzzz_restaurant_eat", 8.0, -8, -1, 49, 0, 0, 0, 0)
|
||||
PlayFacialAnim(playerPed, 'eating_1', 'facials@gen_male@base')
|
||||
|
||||
Wait(5000) -- animation duration
|
||||
ClearPedSecondaryTask(playerPed)
|
||||
DeleteObject(prop)
|
||||
DeleteObject(prop2)
|
||||
end)
|
|
@ -0,0 +1,301 @@
|
|||
--copy and paste into ox_inventory
|
||||
----------------------------------------------- bzzz_restaurantfood ----------------------------------
|
||||
|
||||
['res_food_a'] = {
|
||||
label = 'Schnitzel with fries',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Schnitzel with fries",
|
||||
client = {
|
||||
status = { hunger = 200000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_a',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_a',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
||||
|
||||
['res_food_b'] = {
|
||||
label = 'Schnitzel with croquettes',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Schnitzel with croquettes",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_b',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_b',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
||||
|
||||
['res_food_c'] = {
|
||||
label = 'Spaghetti',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Spaghetti",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_c',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_c',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
||||
|
||||
['res_food_d'] = {
|
||||
label = 'Grilled fish',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Grilled fish",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_d',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_d',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
||||
|
||||
['res_food_e'] = {
|
||||
label = 'Steak with potatoes',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Steak with potatoes",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_e',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_e',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
||||
|
||||
['res_food_f'] = {
|
||||
label = 'Steak with fries',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Steak with fries",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_f',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_a',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
|
||||
usetime = 17500,
|
||||
},
|
||||
},
|
||||
|
||||
['res_food_g'] = {
|
||||
label = 'Lobster',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Lobster",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_g',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_d',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
||||
|
||||
['res_food_h'] = {
|
||||
label = 'Eggs with toast',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Eggs with toast",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_h',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_f',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
||||
|
||||
['res_food_i'] = {
|
||||
label = 'Sushi',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Sushi",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_i',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_h',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
||||
|
||||
['res_food_j'] = {
|
||||
label = 'Shrimps with sauce',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Shrimps with sauce",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_j',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_material_shrimp_a',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
||||
['res_food_k'] = {
|
||||
label = 'Chicken with potatoes',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Chicken with potatoes",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_k',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_e',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
||||
['res_food_l'] = {
|
||||
label = 'Vegetarian salad',
|
||||
degrade = 2880,-- 48 stunden
|
||||
weight = 200,
|
||||
stack = false,
|
||||
close = true,
|
||||
description = "Vegetarian salad",
|
||||
client = {
|
||||
status = { hunger = 150000 },
|
||||
anim = { dict = 'bzzz@restaurant@eat', clip = 'bzzz_restaurant_eat' },
|
||||
|
||||
prop = { model = 'bzzz_restaurant_food_l',
|
||||
bone = 60309,
|
||||
pos = vec3(0.08, -0.04, 0.07),
|
||||
rot = vec3(-30.0, 10.0, 0.0) },
|
||||
|
||||
propTwo = { model = 'bzzz_restaurant_fork_g',
|
||||
bone = 28422,
|
||||
pos = vec3(0.07, 0.05, -0.03),
|
||||
rot = vec3(-100.0, 24.0, -86.0) },
|
||||
usetime = 17500,
|
||||
notification = 'You have satisfied your hunger'
|
||||
},
|
||||
},
|
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 5.4 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 7 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 21 KiB |