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

Bringing Back Dual Wielding + Ranger Ocelot #483

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
16 changes: 9 additions & 7 deletions code/modules/jobs/job_types/ncr.dm
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,6 @@ Weapons Service Rifle, Grease Gun, 9mm pistol, all good.
id = /obj/item/card/id/dogtag/ncrvetranger
uniform = /obj/item/clothing/under/f13/ranger/vet
suit = /obj/item/clothing/suit/armor/f13/rangercombat
suit_store = /obj/item/gun/ballistic/revolver/sequoia
head = /obj/item/clothing/head/helmet/f13/ncr/rangercombat
gloves = /obj/item/clothing/gloves/rifleman
shoes = /obj/item/clothing/shoes/f13/military/leather
Expand All @@ -587,31 +586,34 @@ Weapons Service Rifle, Grease Gun, 9mm pistol, all good.
/obj/item/storage/bag/money/small/ncrofficers = 1,
/obj/item/reagent_containers/hypospray/medipen/stimpak = 3,
/obj/item/grenade/smokebomb = 1,
/obj/item/ammo_box/c4570 = 3
)

/datum/outfit/loadout/vrclassic
name = "Sniper Veteran Ranger"
suit_store = /obj/item/gun/ballistic/rifle/mag/antimateriel
backpack_contents = list(
/obj/item/storage/box/ration/ranger_dinner = 1,
/obj/item/ammo_box/magazine/amr = 2
/obj/item/ammo_box/magazine/amr = 2,
/obj/item/ammo_box/c4570 = 3,
/obj/item/gun/ballistic/revolver/sequoia = 1
)

/datum/outfit/loadout/vrlite
name = "Rifleman Veteran Ranger"
suit_store = /obj/item/gun/ballistic/rifle/repeater/brush
backpack_contents = list(
/obj/item/storage/box/ration/ranger_lunch = 1,
/obj/item/ammo_box/tube/c4570 = 3
/obj/item/ammo_box/tube/c4570 = 3,
/obj/item/ammo_box/c4570 = 3,
/obj/item/gun/ballistic/revolver/sequoia = 1
)

/datum/outfit/loadout/vrshotgunner
name = "Veteran Ranger Shotgunner"
suit_store = /obj/item/gun/ballistic/shotgun/automatic/combat/neostead
name = "Veteran Ranger Ocelot"
backpack_contents = list(
/obj/item/storage/box/ration/ranger_breakfast = 1,
/obj/item/ammo_box/shotgun/buck = 3
/obj/item/gun/ballistic/revolver/revolver45/gunslinger = 2,
/obj/item/ammo_box/magazine/internal/cylinder/rev45/gunslinger = 4
)

/datum/outfit/job/ncr/f13vetranger/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/projectiles/guns/ballistic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
name = "sawn-off [src.name]"
desc = sawn_desc
w_class = WEIGHT_CLASS_NORMAL
weapon_weight = WEAPON_MEDIUM // Nope. Not unless you want broken wrist.
weapon_weight = WEAPON_MEDIUM // FUCK IT WE BALL
SirSwagmeyer marked this conversation as resolved.
Show resolved Hide resolved
item_state = "gun"
slot_flags &= ~ITEM_SLOT_BACK //you can't sling it on your back
slot_flags |= ITEM_SLOT_BELT //but you can wear it on your belt (poorly concealed under a trenchcoat, ideally)
Expand Down
2 changes: 2 additions & 0 deletions code/modules/projectiles/guns/ballistic/automatic.dm

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok but make it fit in a holster please

Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@
icon_state = "uzi"
item_state = "uzi"
mag_type = /obj/item/ammo_box/magazine/uzim9mm
weapon_weight = WEAPON_MEDIUM
w_class = WEIGHT_CLASS_SMALL
fire_delay = 3
burst_shot_delay = 2.2
is_automatic = TRUE
Expand Down
15 changes: 10 additions & 5 deletions code/modules/projectiles/guns/ballistic/pistol.dm
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
desc = "Chinese military sidearm at the time of the Great War. The ones around are old and worn, but somewhat popular due to the long barrel and rechambered in 10mm after the original ammo ran dry decades ago."
icon_state = "chinapistol"
mag_type = /obj/item/ammo_box/magazine/m10mm_adv/simple
weapon_weight = WEAPON_LIGHT
fire_delay = 1
extra_damage = 24
recoil = 0.1
Expand Down Expand Up @@ -166,7 +167,7 @@
icon_state = "beretta"
mag_type = /obj/item/ammo_box/magazine/m9mmds
weapon_weight = WEAPON_LIGHT
extra_damage = 20
extra_damage = 24
spread = 1
can_attachments = TRUE
can_suppress = "pistol_suppressor"
Expand All @@ -182,7 +183,7 @@
fire_delay = 2
burst_size = 2
burst_shot_delay = 2.5
spread = 9
spread = 4
recoil = 0.2
actions_types = list(/datum/action/item_action/toggle_firemode)
automatic_burst_overlay = TRUE
Expand All @@ -196,16 +197,16 @@
if(0)
select += 1
burst_size = 2
spread = 9
spread = 4
recoil = 0.1
weapon_weight = WEAPON_HEAVY
weapon_weight = WEAPON_LIGHT
to_chat(user, "<span class='notice'>You switch to automatic fire.</span>")
if(1)
select = 0
burst_size = 1
spread = 1
recoil = 0
weapon_weight = WEAPON_MEDIUM
weapon_weight = WEAPON_LIGHT
to_chat(user, "<span class='notice'>You switch to semi-auto.</span>")
playsound(user, 'sound/weapons/empty.ogg', 100, 1)
update_icon()
Expand All @@ -218,6 +219,7 @@
desc = "A classic .45 handgun with a small magazine capacity."
icon_state = "m1911"
item_state = "pistolchrome"
weapon_weight = WEAPON_LIGHT
w_class = WEIGHT_CLASS_NORMAL
fire_delay = 2
slowdown = 0.05
Expand All @@ -235,6 +237,7 @@
name = "M1911 Custom"
desc = "A well-maintained stainless-steel frame 1911, with genuine wooden grips."
icon_state = "m1911_custom"
weapon_weight = WEAPON_LIGHT
recoil = 0.05
fire_delay = 2

Expand Down Expand Up @@ -272,6 +275,7 @@
icon_state = "deagle"
item_state = "deagle"
mag_type = /obj/item/ammo_box/magazine/m44
weapon_weight = WEAPON_LIGHT
fire_delay = 3
force = 15
extra_damage = 38
Expand Down Expand Up @@ -301,6 +305,7 @@
icon_state = "automag"
item_state = "deagle"
mag_type = /obj/item/ammo_box/magazine/automag
weapon_weight = WEAPON_LIGHT
fire_delay = 4
extra_damage = 41
extra_speed = 300
Expand Down
10 changes: 7 additions & 3 deletions code/modules/projectiles/guns/ballistic/revolver.dm
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
item_state = "45revolver"
icon_state = "45revolver"
mag_type = /obj/item/ammo_box/magazine/internal/cylinder/rev45
weapon_weight = WEAPON_LIGHT
extra_damage = 34
fire_delay = 4.5
spread = 1
Expand Down Expand Up @@ -200,7 +201,7 @@
desc = "The revolver here appears to be made out of number of Sequoia's once held by a Vet Ranger. It doesn't have the punch as it once did."
icon_state = "lucky"
item_state = "lucky"
w_class = WEIGHT_CLASS_SMALL
weapon_weight = WEAPON_LIGHT
extra_damage = 30
fire_delay = 3

Expand All @@ -211,6 +212,7 @@
icon_state = "police"
extra_damage = 28
mag_type = /obj/item/ammo_box/magazine/internal/cylinder/rev357
weapon_weight = WEAPON_LIGHT
w_class = WEIGHT_CLASS_TINY
spread = 2
fire_sound = 'sound/f13weapons/policepistol.ogg'
Expand Down Expand Up @@ -263,6 +265,7 @@
desc = "A snubnose variant of the commonplace .44 magnum. An excellent holdout weapon for self defense."
icon_state = "m29_snub"
w_class = WEIGHT_CLASS_TINY
weapon_weight = WEAPON_LIGHT
extra_damage = 35
spread = 3

Expand Down Expand Up @@ -299,7 +302,6 @@
desc = "This large, double-action revolver is a trademark weapon of the New California Republic Rangers. It features a dark finish with intricate engravings etched all around the weapon. Engraved along the barrel are the words 'For Honorable Service,' and 'Against All Tyrants.' The hand grip bears the symbol of the NCR Rangers, a bear, and a brass plate attached to the bottom that reads '20 Years.' "
icon_state = "sequoia"
item_state = "sequoia"
weapon_weight = WEAPON_MEDIUM
recoil = 0.2
fire_delay = 1
extra_damage = 40
Expand Down Expand Up @@ -352,6 +354,7 @@
item_state = "coltwalker"
icon_state = "peacemaker"
mag_type = /obj/item/ammo_box/magazine/internal/cylinder/rev45/gunslinger
weapon_weight = WEAPON_LIGHT
extra_damage = 38
extra_penetration = 0.15
fire_delay = 4.5
Expand All @@ -365,7 +368,7 @@
desc = "A strange pistol firing rifle ammunition, possibly damaging the users wrist and with poor accuracy."
icon_state = "thatgun"
mag_type = /obj/item/ammo_box/magazine/internal/cylinder/thatgun
weapon_weight = WEAPON_MEDIUM
weapon_weight = WEAPON_LIGHT
extra_damage = 33
extra_penetration = 0.2
spread = 4
Expand Down Expand Up @@ -398,6 +401,7 @@
icon_state = "needler"
mag_type = /obj/item/ammo_box/magazine/internal/cylinder/revneedler
fire_sound = 'sound/weapons/gunshot_silenced.ogg'
weapon_weight = WEAPON_LIGHT
w_class = WEIGHT_CLASS_SMALL

/obj/item/gun/ballistic/revolver/needler/ultra
Expand Down
9 changes: 5 additions & 4 deletions code/modules/projectiles/guns/energy/laser.dm
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
fire_delay = 0
slowdown = 0.2
w_class = WEIGHT_CLASS_NORMAL
weapon_weight = WEAPON_MEDIUM
weapon_weight = WEAPON_LIGHT
slot_flags = ITEM_SLOT_BELT
ammo_type = list(/obj/item/ammo_casing/energy/laser/pistol/wattz/hitscan)
cell_type = /obj/item/stock_parts/cell/ammo/ec
Expand All @@ -223,6 +223,7 @@
fire_delay = 0
item_state = "laser-pistol"
ammo_type = list(/obj/item/ammo_casing/energy/laser/pistol/wattz/magneto/hitscan)
weapon_weight = WEAPON_LIGHT

/obj/item/gun/energy/laser/wattz/recharger
name = "Recharger Pistol"
Expand All @@ -232,7 +233,7 @@
selfcharge = 1
icon_state = "rechargerpistol"
w_class = WEIGHT_CLASS_SMALL
weapon_weight = WEAPON_MEDIUM
weapon_weight = WEAPON_LIGHT
slot_flags = ITEM_SLOT_BELT
ammo_type = list(/obj/item/ammo_casing/energy/laser/pistol/recharger/hitscan)
cell_type = /obj/item/stock_parts/cell/ammo/breeder
Expand All @@ -246,7 +247,7 @@
icon_state = "AEP7"
item_state = "laser-pistol"
w_class = WEIGHT_CLASS_NORMAL
weapon_weight = WEAPON_MEDIUM
weapon_weight = WEAPON_LIGHT
slot_flags = ITEM_SLOT_BELT
ammo_type = list(/obj/item/ammo_casing/energy/laser/pistol/hitscan)
cell_type = /obj/item/stock_parts/cell/ammo/ec
Expand Down Expand Up @@ -555,7 +556,7 @@
icon_state = "ultra_pistol"
item_state = "laser-pistol"
w_class = WEIGHT_CLASS_NORMAL
weapon_weight = WEAPON_MEDIUM
weapon_weight = WEAPON_LIGHT
slot_flags = ITEM_SLOT_BELT
ammo_type = list(/obj/item/ammo_casing/energy/gammagun)
cell_type = /obj/item/stock_parts/cell/ammo/mfc
Expand Down
Loading