Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds silenced smartgun for gms to spawn #227

Merged
merged 1 commit into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions code/modules/projectiles/gun_attachables.dm
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,11 @@ Defined in conflicts.dm of the #defines folder.
pixel_shift_x = 14
hud_offset_mod = -4

/obj/item/attachable/smartbarrel/suppressed
name = "suppressed smartgun barrel"
icon_state = "silenced_smartgun"
gun_traits = list(TRAIT_GUN_SILENCED)

// Mateba barrels

/obj/item/attachable/mateba
Expand Down
5 changes: 5 additions & 0 deletions code/modules/projectiles/guns/smartgun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -756,3 +756,8 @@
/obj/item/weapon/gun/smartgun/rmc/Initialize(mapload, ...)
. = ..()
MD.iff_signal = FACTION_TWE

/obj/item/weapon/gun/smartgun/silenced
name = "XM56E smartgun"
desc = "An experimental smartgun variant currently undergoing field testing. This model is outfitted with integrated suppressor and modified internal mechanism."
starting_attachment_types = list(/obj/item/attachable/smartbarrel/suppressed)
Binary file modified icons/obj/items/weapons/guns/attachments/barrel.dmi
Binary file not shown.
Loading