Skip to content

Commit

Permalink
Update smgs.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Blundir committed Jul 17, 2024
1 parent 66d8581 commit 74b715a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions code/modules/projectiles/guns/smgs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@

flags_gun_features = GUN_CAN_POINTBLANK|GUN_ANTIQUE

random_spawn_chance = 10
random_spawn_under = list(
/obj/item/attachable/attached_gun/grenade/m203,
)


/obj/item/weapon/gun/smg/mp5/set_gun_attachment_offsets()
Expand All @@ -193,13 +197,6 @@
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)

/obj/item/weapon/gun/smg/mp5/tactical
random_spawn_chance = 100
random_spawn_rail = list(
Expand Down

0 comments on commit 74b715a

Please sign in to comment.