diff --git a/server-data/resources/[bpt_addons]/bpt_crafting/bpt_crafting.sql b/server-data/resources/[bpt_addons]/bpt_crafting/bpt_crafting.sql index 4516ed73e..ef27f7a34 100644 --- a/server-data/resources/[bpt_addons]/bpt_crafting/bpt_crafting.sql +++ b/server-data/resources/[bpt_addons]/bpt_crafting/bpt_crafting.sql @@ -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') ; \ No newline at end of file diff --git a/server-data/resources/[bpt_addons]/bpt_crafting/config.lua b/server-data/resources/[bpt_addons]/bpt_crafting/config.lua index 6c53bcb72..e14303a1b 100644 --- a/server-data/resources/[bpt_addons]/bpt_crafting/config.lua +++ b/server-data/resources/[bpt_addons]/bpt_crafting/config.lua @@ -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", @@ -441,6 +458,7 @@ Config = { "WEAPON_KNIFE", "WEAPON_KNUCKLE", "WEAPON_NIGHTSTICK", + "WEAPON_PISTOL", }, radius = 1.0, }, diff --git a/server-data/resources/[bpt_addons]/bpt_crafting/html/img/WEAPON_PISTOL.png b/server-data/resources/[bpt_addons]/bpt_crafting/html/img/WEAPON_PISTOL.png new file mode 100644 index 000000000..cd6a82d21 Binary files /dev/null and b/server-data/resources/[bpt_addons]/bpt_crafting/html/img/WEAPON_PISTOL.png differ diff --git a/server-data/resources/[bpt_addons]/bpt_crafting/html/img/steel.png b/server-data/resources/[bpt_addons]/bpt_crafting/html/img/steel.png new file mode 100644 index 000000000..251f032f1 Binary files /dev/null and b/server-data/resources/[bpt_addons]/bpt_crafting/html/img/steel.png differ diff --git a/server-data/resources/[bpt_addons]/bpt_crafting/localization/bpt_crafting_it.sql b/server-data/resources/[bpt_addons]/bpt_crafting/localization/bpt_crafting_it.sql index a2288a1f1..79b8799fd 100644 --- a/server-data/resources/[bpt_addons]/bpt_crafting/localization/bpt_crafting_it.sql +++ b/server-data/resources/[bpt_addons]/bpt_crafting/localization/bpt_crafting_it.sql @@ -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') ; \ No newline at end of file