Skip to content

Commit

Permalink
[MIRROR] Adds the Napad submachine gun (#5421)
Browse files Browse the repository at this point in the history
* Adds the Napad submachine gun (#4880)

* Adds a new pistol, the Zashch 10mm

Adds the 'Zashch' 10mm pistol to the game, a slow firing pistol with a time to crit on a human of 4 seconds, but boasts 18 rounds in a magazine, giving it the highest damage-per-reload of any handgun crew acquirable in the game.

It is sold by NRI surplus for the same price as the Bobr revolver. It is chambered for 10mm to give life to a dead calibre and to give a crew-gun that fires the bullet, to give the calibre a chance to have a life outside of being solely an evil syndicate calibre that is for some reason, orderable from cargo.

Magazines, in-hand sprites, and mob sprites are all tested and functioning correctly, as if the flashlight function.

* Update modular_nova/modules/modular_weapons/code/company_and_or_faction_based/szot_dynamica/pistol.dm

Co-authored-by: Bloop <[email protected]>

* Update modular_nova/modules/modular_weapons/code/company_and_or_faction_based/szot_dynamica/pistol.dm

Co-authored-by: Bloop <[email protected]>

* Update modular_nova/modules/modular_weapons/code/company_and_or_faction_based/szot_dynamica/magazines.dm

Co-authored-by: Bloop <[email protected]>

* Update modular_nova/modules/modular_weapons/code/company_and_or_faction_based/szot_dynamica/pistol.dm

Co-authored-by: Bloop <[email protected]>

* Update modular_nova/modules/modular_weapons/code/company_and_or_faction_based/szot_dynamica/pistol.dm

Co-authored-by: Bloop <[email protected]>

* Adds the Type 213 Submachine Gun

Adds a new sub machine gun to the game, a companion piece to the Type 207 kinetic pistol.  The weapon uses the same ammo, different magazines that hold 24 rounds, and fires in 3 round bursts with high spread. Made to make the kinetic ball ammo more viable. Downs in 6 hits to the chest, which is two full bursts.

* Update to the sprite of the Type 213

As per Jungle's suggestion, changes the finish of the type 213's base sprite to a more darker blued finish, contrasting better with the red-ish furniture, white barrel and bolt, and the green accenting stripe.

* I forgot the magazines.

I forgot them.

* Update modular_nova/modules/modular_weapons/code/company_and_or_faction_based/bolt_fabrications/longarm.dm

Co-authored-by: Bloop <[email protected]>

* Adds the Vapad Submachine gun

The Zashchitnik gets a big brother.

* Mispelt the damned name

This is the kind of thing that only happens when you're coding at damn near midnight. Name change was one character from V to N, screenshots are not updated but the name works just fine

* Last minute sprite tune ups

made the back-facing worn sprite less messy, cleaned up some accidental white pixels. Should be good to go now!

* Minor spelling fix

Fixed a minor spelling mistake in the extended description and removed 5 of the wound penalty

* Update modular_nova/modules/modular_weapons/code/company_and_or_faction_based/szot_dynamica/submachinegun.dm

Co-authored-by: Bloop <[email protected]>

---------

Co-authored-by: Bloop <[email protected]>

* [MIRROR] Adds the Napad submachine gun

---------

Co-authored-by: Trelus <[email protected]>
Co-authored-by: Bloop <[email protected]>
Co-authored-by: StealsThePRs <[email protected]>
  • Loading branch information
4 people authored Feb 17, 2025
1 parent 97a9255 commit 8ff410d
Show file tree
Hide file tree
Showing 8 changed files with 90 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@
cost = PAYCHECK_COMMAND * 10
restricted = TRUE

/datum/armament_entry/company_import/nri_surplus/firearm/napad
item_type = /obj/item/gun/ballistic/automatic/napad
cost = PAYCHECK_COMMAND * 12
restricted = TRUE

/datum/armament_entry/company_import/nri_surplus/firearm/sakhno_rifle
item_type = /obj/item/gun/ballistic/rifle/boltaction
cost = PAYCHECK_COMMAND * 12
Expand All @@ -163,6 +168,9 @@
/datum/armament_entry/company_import/nri_surplus/firearm_ammo/miecz
item_type = /obj/item/ammo_box/magazine/miecz/spawns_empty

/datum/armament_entry/company_import/nri_surplus/firearm_ammo/napad
item_type = /obj/item/ammo_box/magazine/napad/spawns_empty

/datum/armament_entry/company_import/nri_surplus/firearm_ammo/sakhno
item_type = /obj/item/ammo_box/strilka310

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,25 @@
/obj/item/ammo_box/magazine/miecz/spawns_empty
start_empty = TRUE

// Magazine for the Napad submachine gun

/obj/item/ammo_box/magazine/napad
name = "\improper Napad submachinegun magazine"
desc = "A massive magazine for the Napadayuschiy Submachine gun. Holds fifty rounds of 10mm ammunition."

icon = 'modular_nova/modules/modular_weapons/icons/obj/company_and_or_faction_based/szot_dynamica/ammo.dmi'
icon_state = "napad_mag"

w_class = WEIGHT_CLASS_NORMAL
multiple_sprites = AMMO_BOX_FULL_EMPTY

ammo_type = /obj/item/ammo_casing/c10mm
caliber = CALIBER_10MM
max_ammo = 50

/obj/item/ammo_box/magazine/napad/spawns_empty
start_empty = TRUE

// Plasma thrower 'magazine'

/obj/item/ammo_box/magazine/recharge/plasma_battery
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,66 @@

/obj/item/gun/ballistic/automatic/miecz/no_mag
spawnwithmagazine = FALSE


/obj/item/gun/ballistic/automatic/napad
name = "\improper 'Napad' Submachine Gun"
desc = "A bulky submachine gun holding a close relation to the Zashchitnik pistol. Designated 'Napadayuschiy'. \
It holds a notable fifty rounds of 10mm in the magazine."

icon = 'modular_nova/modules/modular_weapons/icons/obj/company_and_or_faction_based/szot_dynamica/guns_48.dmi'
icon_state = "napad"

worn_icon = 'modular_nova/modules/modular_weapons/icons/mob/company_and_or_faction_based/szot_dynamica/guns_worn.dmi'
worn_icon_state = "napad"

lefthand_file = 'modular_nova/modules/modular_weapons/icons/mob/company_and_or_faction_based/szot_dynamica/guns_lefthand.dmi'
righthand_file = 'modular_nova/modules/modular_weapons/icons/mob/company_and_or_faction_based/szot_dynamica/guns_righthand.dmi'
inhand_icon_state = "napad"

special_mags = FALSE

bolt_type = BOLT_TYPE_LOCKING

w_class = WEIGHT_CLASS_BULKY
weapon_weight = WEAPON_HEAVY
slot_flags = ITEM_SLOT_BACK

accepted_magazine_type = /obj/item/ammo_box/magazine/napad

fire_sound = 'modular_nova/modules/modular_weapons/sounds/smg_heavy.ogg'
fire_sound_volume = 80
can_suppress = FALSE

burst_size = 1
fire_delay = 0.55 SECONDS
actions_types = list()

// This thing shoots faster then the Zashch, but the DPS and killing speed should not be that fast overall
projectile_wound_bonus = -10
projectile_damage_multiplier = 0.65
spread = 6

/obj/item/gun/ballistic/automatic/napad/give_manufacturer_examine()
AddElement(/datum/element/manufacturer_examine, COMPANY_SZOT)
AddComponent(/datum/component/automatic_fire, fire_delay)

/obj/item/gun/ballistic/automatic/napad/examine(mob/user)
. = ..()
. += span_notice("You can <b>examine closer</b> to learn a little more about this weapon.")

/obj/item/gun/ballistic/automatic/napad/examine_more(mob/user)
. = ..()

. += "The Napadayuschiy was made for the inevitable situation of the Zashchitnik not being enough firepower \
for the job. The Napadayuschiy sports a colossal magazine and a familiarly oversized stature to the Zashchitnik. \
The massive magazine is a point of contention, being a stick magazine, it sticks far from the gun, \
making it easy to catch on surfaces and door frames. Regardless, the weapon is reliable, \
though if you do not place the charging handle into the loading notch before inserting a fresh magazine, \
the spring pressure of the weapon's fully loaded magazine will make operating the charging handle require \
a herculean feat of strength."

return .

/obj/item/gun/ballistic/automatic/napad/no_mag
spawnwithmagazine = FALSE
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 8ff410d

Please sign in to comment.