Skip to content

Commit

Permalink
chore: bpt_crafting new craftable item and code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Jul 4, 2024
1 parent 6d68e70 commit 5c74e17
Show file tree
Hide file tree
Showing 5 changed files with 753 additions and 727 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ INSERT INTO `bpt_items` (`name`, `label`) VALUES
('ammo-sniper', '7.62 NATO'),
('grain', 'grain'),
('flour', 'flour'),
('bread', 'empty sandwich')
('bread', 'empty sandwich'),
('ammo-9', '9mm')
;
22 changes: 20 additions & 2 deletions server-data/resources/[bpt_addons]/bpt_crafting/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,24 @@ Config = {
},
},

["ammo-9"] = {
Level = 10,
Category = "ammu",
isGun = false,
Jobs = { "ammu" },
JobGrades = {},
Amount = 1,
SuccessRate = 100,
requireBlueprint = false,
Time = 30,
Ingredients = {
["copper"] = 1,
["iron"] = 1,
["gunpowder"] = 1,
["gold"] = 1,
},
},

["bread"] = {
Level = 0,
Category = "baker",
Expand Down Expand Up @@ -350,10 +368,10 @@ Config = {
radius = 1.0,
},
{
coords = vector3(809.090088, -2172.923096, 29.616821),
coords = vector3(808.984619, -2159.630859, 29.616821),
jobs = { "ammu" },
blip = false,
recipes = { "WEAPON_APPISTOL", "ammo-sniper" },
recipes = { "WEAPON_APPISTOL", "ammo-sniper", "ammo-9" },
radius = 1.0,
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5c74e17

Please sign in to comment.