Skip to content

Commit

Permalink
chore: Shotgun crafting introduced
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Nov 19, 2024
1 parent 412b88e commit f713819
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,7 @@ INSERT INTO `bpt_items` (`name`, `label`) VALUES
('armour', 'armour'),
('WEAPON_FLASHLIGHT', 'WEAPON FLASHLIGHT'),
('contract', 'Contract'),
('at_suppressor_light', 'Suppressor')
('at_suppressor_light', 'Suppressor'),
('WEAPON_COMBATSHOTGUN', 'WEAPON COMBATSHOTGUN'),
('ammo-shotgun', 'ammo shotgun')
;
41 changes: 41 additions & 0 deletions server-data/resources/[bpt_addons]/bpt_crafting/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,26 @@ Config = {
["hammer"] = 1,
},
},

["WEAPON_COMBATSHOTGUN"] = {
Level = 10,
Category = "ammu",
isGun = false,
Jobs = { "ammu" },
JobGrades = {},
Amount = 1,
SuccessRate = 100,
requireBlueprint = false,
Time = 180,
Ingredients = {
["copper"] = 1,
["iron"] = 5,
["wood"] = 1,
["steel"] = 10,
["hammer"] = 1,
},
},

["ammo-sniper"] = {
Level = 10,
Category = "ammunation",
Expand Down Expand Up @@ -410,6 +430,25 @@ Config = {
},
},

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

["WEAPON_KNIFE"] = {
Level = 10,
Category = "accessory",
Expand Down Expand Up @@ -647,13 +686,15 @@ Config = {
"WEAPON_APPISTOL",
"ammo-sniper",
"ammo-9",
"ammo-shotgun",
"WEAPON_KNIFE",
"WEAPON_KNUCKLE",
"WEAPON_NIGHTSTICK",
"WEAPON_PISTOL",
"armour",
"WEAPON_FLASHLIGHT",
"at_suppressor_light",
"WEAPON_COMBATSHOTGUN",
},
radius = 1.0,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,7 @@ INSERT INTO `bpt_items` (`name`, `label`) VALUES
('armour', 'giubbotto antiproiettile'),
('WEAPON_FLASHLIGHT', 'Torcia'),
('contract', 'Contratto per auto'),
('at_suppressor_light', 'Silenziatore')
('at_suppressor_light', 'Silenziatore'),
('WEAPON_COMBATSHOTGUN', 'Fucile a pompa da combattimento'),
('ammo-shotgun', 'Munizioni fucile a pompa')
;

0 comments on commit f713819

Please sign in to comment.