Skip to content

Commit

Permalink
chore: Implements the 9mm pistol to the crafting system
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Aug 6, 2024
1 parent be7700b commit 6bea959
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ INSERT INTO `bpt_items` (`name`, `label`) VALUES
('steel', 'steel'),
('plastic_bag', 'Plastic bag'),
('recycled_plastic', 'Recycled plastic'),
('WEAPON_NIGHTSTICK', 'NIGHTSTICK')
('WEAPON_NIGHTSTICK', 'NIGHTSTICK'),
('WEAPON_PISTOL', 'Pistol')
;
18 changes: 18 additions & 0 deletions server-data/resources/[bpt_addons]/bpt_crafting/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,23 @@ Config = {
},
},

["WEAPON_PISTOL"] = {
Level = 10,
Category = "ammu",
isGun = false,
Jobs = { "ammu" },
JobGrades = {},
Amount = 1,
SuccessRate = 100,
requireBlueprint = false,
Time = 180,
Ingredients = {
["copper"] = 1,
["iron"] = 3,
["wood"] = 1,
["steel"] = 5,
},
},
["ammo-sniper"] = {
Level = 10,
Category = "ammu",
Expand Down Expand Up @@ -441,6 +458,7 @@ Config = {
"WEAPON_KNIFE",
"WEAPON_KNUCKLE",
"WEAPON_NIGHTSTICK",
"WEAPON_PISTOL",
},
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.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ INSERT INTO `bpt_items` (`name`, `label`) VALUES
('WEAPON_KNUCKLE', 'tira pugni'),
('steel', 'acciaio'),
('plastic_bag', 'Sacchetto di plastica'),
('recycled_plastic', 'Plastica riciclata')
('WEAPON_NIGHTSTICK', 'Manganello')
('recycled_plastic', 'Plastica riciclata'),
('WEAPON_NIGHTSTICK', 'Manganello'),
('WEAPON_PISTOL', 'Pistola 9mm')
;

0 comments on commit 6bea959

Please sign in to comment.