Skip to content

Commit

Permalink
chore: created the creation and consumption of French fries
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Nov 25, 2024
1 parent 2803598 commit 7af36b8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ INSERT INTO `bpt_items` (`name`, `label`) VALUES
('water', 'water'),
('almonds', 'almonds'),
('chips', 'chips'),
('slicedchips', 'slicedchips'),
('fries', 'fries'),
('potato', 'patato'),
('trash_can', 'trash can'),
('recycled_paper', 'recycled paper'),
Expand Down Expand Up @@ -65,5 +65,6 @@ INSERT INTO `bpt_items` (`name`, `label`) VALUES
('at_suppressor_light', 'Suppressor'),
('WEAPON_COMBATSHOTGUN', 'WEAPON COMBATSHOTGUN'),
('ammo-shotgun', 'ammo shotgun'),
('salmon', 'Salmon')
('salmon', 'Salmon'),
('fry_oil', 'Fry oil')
;
7 changes: 4 additions & 3 deletions server-data/resources/[bpt_addons]/bpt_crafting/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ Config = {
},
},

["slicedchips"] = {
["fries"] = {
Level = 0,
Category = "unicorn",
isGun = false,
Expand All @@ -300,7 +300,8 @@ Config = {
Time = 10,
Ingredients = {
["potato"] = 1,
["water"] = 1,
["fry_oil"] = 1,
["WEAPON_KNIFE"] = 1,
},
},

Expand Down Expand Up @@ -702,7 +703,7 @@ Config = {
coords = vector3(129.217590, -1283.802246, 29.263062),
jobs = { "unicorn" },
blip = false,
recipes = { "almondmilk", "slicedchips", "bread_deer", "salmon_fillet" },
recipes = { "almondmilk", "fries", "bread_deer", "salmon_fillet" },
radius = 1.0,
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ INSERT INTO `bpt_items` (`name`, `label`) VALUES
('ice', 'ghiaccio'),
('water', 'acqua'),
('almonds', 'mandorle'),
('chips', 'patatine fritte'),
('slicedchips', 'patate affettate'),
('fries', 'patatine fritte'),
('potato', 'patate'),
('trash_can', 'lattina usata'),
('recycled_paper', 'carta riciclata'),
Expand Down Expand Up @@ -65,5 +64,6 @@ INSERT INTO `bpt_items` (`name`, `label`) VALUES
('at_suppressor_light', 'Silenziatore'),
('WEAPON_COMBATSHOTGUN', 'Fucile a pompa da combattimento'),
('ammo-shotgun', 'Munizioni fucile a pompa'),
('salmon', 'Salmone')
('salmon', 'Salmone'),
('fry_oil', 'olio per fritti')
;
18 changes: 12 additions & 6 deletions server-data/resources/[ox]/ox_inventory/data/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ return {
},
},

["fries"] = {
label = "patatine fritte",
weight = 220,
client = {
status = { hunger = 40000 },
anim = "eating",
prop = "burger",
usetime = 2500,
notification = "Stai mangiano delle patatine fritte",
},
},

["bread_deer"] = {
label = "panino con carne di cervo",
weight = 220,
Expand Down Expand Up @@ -420,12 +432,6 @@ return {
stack = true,
},

["slicedchips"] = {
label = "Patate affettate",
weight = 100,
stack = true,
},

["fishingrod"] = {
label = "canna da pesca",
weight = 100,
Expand Down

0 comments on commit 7af36b8

Please sign in to comment.