diff --git a/code/modules/projectiles/guns/pistols.dm b/code/modules/projectiles/guns/pistols.dm index 523eb670f44..b53d15d2c14 100644 --- a/code/modules/projectiles/guns/pistols.dm +++ b/code/modules/projectiles/guns/pistols.dm @@ -473,6 +473,24 @@ /obj/item/weapon/gun/pistol/p17/p51 name = "\improper P-51 tristol" desc = "Сваренные друг с другом три пистолета P17. Вот кому-то делать нефиг..." + icon_state = "tp51" + default_ammo_type = /obj/item/ammo_magazine/pistol/p17/p51 + allowed_ammo_types = list(/obj/item/ammo_magazine/pistol/p17/p51) + attachable_allowed = list( + /obj/item/attachable/flashlight, + /obj/item/attachable/heavy_barrel, + /obj/item/attachable/lace, + /obj/item/attachable/flashlight/under, + ) + + attachable_offset = list("muzzle_x" = 28, "muzzle_y" = 20,"rail_x" = 9, "rail_y" = 23, "under_x" = 18, "under_y" = 14, "stock_x" = 21, "stock_y" = 18) + + recoil_backtime_multiplier = 0.7 + recoil = 5 + recoil_unwielded = 7 + scatter = 10 + scatter_unwielded = 20 + fire_delay = 0.02 SECONDS //------------------------------------------------------- // Browning Hipower diff --git a/code/modules/projectiles/magazines/pistols.dm b/code/modules/projectiles/magazines/pistols.dm index 416e6545abf..4f6ddc9b246 100644 --- a/code/modules/projectiles/magazines/pistols.dm +++ b/code/modules/projectiles/magazines/pistols.dm @@ -166,6 +166,14 @@ max_rounds = 8 w_class = WEIGHT_CLASS_TINY +//------------------------------------------------------- +//P-51. +/obj/item/ammo_magazine/pistol/p17/p51 + name = "\improper P-51 pocket pistol AP magazine (.380)" + desc = "Склеянные друг с другом три магазина для такого же пистолета." + max_rounds = 24 + icon_state = "tp51" + //------------------------------------------------------- //Automag. .50. diff --git a/icons/obj/items/ammo/pistol.dmi b/icons/obj/items/ammo/pistol.dmi index db124563518..6674f8005b6 100644 Binary files a/icons/obj/items/ammo/pistol.dmi and b/icons/obj/items/ammo/pistol.dmi differ diff --git a/icons/obj/items/gun.dmi b/icons/obj/items/gun.dmi index 1b9789fd23f..9ee4b57a2f0 100644 Binary files a/icons/obj/items/gun.dmi and b/icons/obj/items/gun.dmi differ