Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed Jul 4, 2024
1 parent 82c081a commit 658c61c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion code/modules/projectiles/guns/smgs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@
/obj/item/attachable/lasersight, // Under
/obj/item/attachable/gyro,
/obj/item/attachable/bipod,
/obj/item/attachable/burstfire_assembly
/obj/item/attachable/burstfire_assembly,
/obj/item/attachable/attached_gun/grenade/m203,
)

flags_gun_features = GUN_CAN_POINTBLANK|GUN_ANTIQUE
Expand All @@ -192,6 +193,13 @@
damage_mult = BASE_BULLET_DAMAGE_MULT + BULLET_DAMAGE_MULT_TIER_4
recoil_unwielded = RECOIL_AMOUNT_TIER_5

/obj/item/weapon/gun/smg/mp5/Initialize(mapload, spawn_empty)
. = ..()
if(prob(10))
var/obj/item/attachable/attached_gun/grenade/m203/UGL = new(src)
UGL.Attach(src)
update_attachable(UGL.slot)

//-------------------------------------------------------
//MP27, based on the MP27, based on the M7.

Expand Down

0 comments on commit 658c61c

Please sign in to comment.