-
Notifications
You must be signed in to change notification settings - Fork 557
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
M47A2 Offensive Handgun #6734
M47A2 Offensive Handgun #6734
Changes from all commits
a4d9d08
c588bbf
7c2c77d
f6da020
beb8cc3
ce0f446
7337e64
02561c1
f31beae
339b136
e7df59e
471c588
c419960
f2423c9
67a9dd7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,57 @@ | |
/obj/item/weapon/gun/pistol/m1911/socom/equipped | ||
starting_attachment_types = list(/obj/item/attachable/suppressor, /obj/item/attachable/lasersight, /obj/item/attachable/reflex) | ||
|
||
// A version of the M1911 for COs and FORECON. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Forecom quite literally already spawns with a m1911 |
||
|
||
/obj/item/weapon/gun/pistol/m47 | ||
name = "\improper M47A2 offensive handgun" | ||
desc = "It's hard to keep a classic down. While Armat's M80A3, an update on the 1911 failed to make it into standard adoption during the Marine '70s revitalization, a variant of their handgun was picked up by FORECON and specialized units within the USCM. 14 rounds of .45, extended barrel, and integrated night sights - more than enough features to justify its designation as an 'Offensive Handgun.'" | ||
icon = 'icons/obj/items/weapons/guns/guns_by_faction/uscm.dmi' | ||
icon_state = "m47" | ||
item_state = "m4a3" | ||
fire_sound = 'sound/weapons/gun_m47.ogg' | ||
firesound_volume = 80 | ||
reload_sound = 'sound/weapons/reload_m47.ogg' | ||
reload_volume = 60 | ||
unload_sound = 'sound/weapons/unload_m47.ogg' | ||
fire_rattle = 'sound/weapons/gun_m47.ogg' | ||
cocked_sound = 'sound/weapons/cocking_m47.ogg' | ||
pickup_sound = 'sound/weapons/draw_m47.ogg' | ||
empty_sound = null | ||
flags_gun_features = GUN_CAN_POINTBLANK|GUN_ONE_HAND_WIELDED|GUN_AUTO_EJECTOR|GUN_AMMO_COUNTER | ||
current_mag = /obj/item/ammo_magazine/pistol/m47 | ||
attachable_allowed = list( | ||
/obj/item/attachable/suppressor, | ||
/obj/item/attachable/reddot, | ||
/obj/item/attachable/reflex, | ||
/obj/item/attachable/flashlight, | ||
/obj/item/attachable/lasersight, | ||
/obj/item/attachable/extended_barrel, | ||
/obj/item/attachable/heavy_barrel, | ||
) | ||
|
||
/obj/item/weapon/gun/pistol/m47/set_gun_attachment_offsets() | ||
attachable_offset = list("muzzle_x" = 26, "muzzle_y" = 20,"rail_x" = 12, "rail_y" = 22, "under_x" = 21, "under_y" = 17, "stock_x" = 21, "stock_y" = 17) | ||
|
||
|
||
/obj/item/weapon/gun/pistol/m47/set_gun_config_values() | ||
..() | ||
set_fire_delay(FIRE_DELAY_TIER_7) | ||
accuracy_mult = BASE_ACCURACY_MULT + HIT_ACCURACY_MULT_TIER_6 | ||
accuracy_mult_unwielded = BASE_ACCURACY_MULT | ||
scatter = SCATTER_AMOUNT_TIER_7 | ||
scatter_unwielded = SCATTER_AMOUNT_TIER_5 | ||
recoil = RECOIL_AMOUNT_TIER_4 | ||
recoil_unwielded = RECOIL_AMOUNT_TIER_3 | ||
damage_mult = BASE_BULLET_DAMAGE_MULT + BULLET_DAMAGE_MULT_TIER_3 | ||
|
||
/obj/item/weapon/gun/pistol/m47/co | ||
name = "\improper custom M47A2 offensive handgun" | ||
desc_lore = "The feeding ramp is polished to a mirror sheen, with a reinforced slide, and tightened locking mechanisms in the frame for added precision. The thumb safety is extended to make it easier on the finger, with a long-type trigger with non-slip grooves. A ring hammer. The base of the trigger guards's been filed down for a higher grip, too. And not only that, but nearly every other part of this gun has been expertly crafted and customized by USMC armourers." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. USCM not USMC There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. edited! |
||
unacidable = TRUE | ||
indestructible = 1 | ||
current_mag = /obj/item/ammo_magazine/pistol/m47/impact | ||
|
||
//------------------------------------------------------- | ||
//Beretta 92FS, the gun McClane carries around in Die Hard. Very similar to the service pistol, all around. | ||
|
||
|
@@ -236,6 +287,8 @@ | |
icon = 'icons/obj/items/weapons/guns/guns_by_faction/colony.dmi' | ||
icon_state = "c_deagle" | ||
item_state = "c_deagle" | ||
unacidable = TRUE | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. undocumented change There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added. thanks for da reminder |
||
indestructible = 1 | ||
current_mag = /obj/item/ammo_magazine/pistol/heavy/super/highimpact | ||
black_market_value = 100 | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undocumented ?