Skip to content

Commit

Permalink
Funny
Browse files Browse the repository at this point in the history
  • Loading branch information
BasiaBelov committed Dec 12, 2024
1 parent bd3e89f commit f92a646
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
18 changes: 18 additions & 0 deletions code/modules/projectiles/guns/pistols.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions code/modules/projectiles/magazines/pistols.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Binary file modified icons/obj/items/ammo/pistol.dmi
Binary file not shown.
Binary file modified icons/obj/items/gun.dmi
Binary file not shown.

0 comments on commit f92a646

Please sign in to comment.