Merge branch 'master' into dullahan-2-electric-boogaloo
This commit is contained in:
@@ -1,36 +1,28 @@
|
||||
// 1.95x129mm (SAW)
|
||||
// 7.12x82mm (SAW)
|
||||
|
||||
/obj/item/ammo_casing/mm195x129
|
||||
name = "1.95x129mm bullet casing"
|
||||
desc = "A 1.95x129mm bullet casing."
|
||||
/obj/item/ammo_casing/mm712x82
|
||||
name = "7.12x82mm bullet casing"
|
||||
desc = "A 7.12x82mm bullet casing."
|
||||
icon_state = "762-casing"
|
||||
caliber = "mm195129"
|
||||
projectile_type = /obj/item/projectile/bullet/mm195x129
|
||||
caliber = "mm71282"
|
||||
projectile_type = /obj/item/projectile/bullet/mm712x82
|
||||
|
||||
/obj/item/ammo_casing/mm195x129/ap
|
||||
name = "1.95x129mm armor-piercing bullet casing"
|
||||
desc = "A 1.95x129mm bullet casing designed with a hardened-tipped core to help penetrate armored targets."
|
||||
projectile_type = /obj/item/projectile/bullet/mm195x129_ap
|
||||
/obj/item/ammo_casing/mm712x82/ap
|
||||
name = "7.12x82mm armor-piercing bullet casing"
|
||||
desc = "A 7.12x82mm bullet casing designed with a hardened-tipped core to help penetrate armored targets."
|
||||
projectile_type = /obj/item/projectile/bullet/mm712x82_ap
|
||||
|
||||
/obj/item/ammo_casing/mm195x129/hollow
|
||||
name = "1.95x129mm hollow-point bullet casing"
|
||||
desc = "A 1.95x129mm bullet casing designed to cause more damage to unarmored targets."
|
||||
projectile_type = /obj/item/projectile/bullet/mm195x129_hp
|
||||
/obj/item/ammo_casing/mm712x82/hollow
|
||||
name = "7.12x82mm hollow-point bullet casing"
|
||||
desc = "A 7.12x82mm bullet casing designed to cause more damage to unarmored targets."
|
||||
projectile_type = /obj/item/projectile/bullet/mm712x82_hp
|
||||
|
||||
/obj/item/ammo_casing/mm195x129/incen
|
||||
name = "1.95x129mm incendiary bullet casing"
|
||||
desc = "A 1.95x129mm bullet casing designed with a chemical-filled capsule on the tip that when bursted, reacts with the atmosphere to produce a fireball, engulfing the target in flames."
|
||||
projectile_type = /obj/item/projectile/bullet/incendiary/mm195x129
|
||||
/obj/item/ammo_casing/mm712x82/incen
|
||||
name = "7.12x82mm incendiary bullet casing"
|
||||
desc = "A 7.12x82mm bullet casing designed with a chemical-filled capsule on the tip that when bursted, reacts with the atmosphere to produce a fireball, engulfing the target in flames."
|
||||
projectile_type = /obj/item/projectile/bullet/incendiary/mm712x82
|
||||
|
||||
/obj/item/ammo_casing/mm712x82/match
|
||||
name = "7.12x82mm match bullet casing"
|
||||
desc = "A 7.12x82mm bullet casing manufactured to unfailingly high standards, you could pull off some cool trickshots with this."
|
||||
projectile_type = /obj/item/projectile/bullet/mm712x82_match
|
||||
|
||||
/obj/item/projectile/bullet/mm712x82_match
|
||||
name = "7.12x82mm match bullet"
|
||||
damage = 40
|
||||
ricochets_max = 2
|
||||
ricochet_chance = 60
|
||||
ricochet_auto_aim_range = 4
|
||||
ricochet_incidence_leeway = 35
|
||||
projectile_type = /obj/item/projectile/bullet/mm712x82/match
|
||||
|
||||
+14
-14
@@ -1,23 +1,23 @@
|
||||
/obj/item/ammo_box/magazine/mm195x129
|
||||
name = "box magazine (1.95x129mm)"
|
||||
/obj/item/ammo_box/magazine/mm712x82
|
||||
name = "box magazine (7.12x82mm)"
|
||||
icon_state = "a762-50"
|
||||
ammo_type = /obj/item/ammo_casing/mm195x129
|
||||
caliber = "mm195129"
|
||||
ammo_type = /obj/item/ammo_casing/mm712x82
|
||||
caliber = "mm71282"
|
||||
max_ammo = 50
|
||||
|
||||
/obj/item/ammo_box/magazine/mm195x129/hollow
|
||||
name = "box magazine (Hollow-Point 1.95x129mm)"
|
||||
ammo_type = /obj/item/ammo_casing/mm195x129/hollow
|
||||
/obj/item/ammo_box/magazine/mm712x82/hollow
|
||||
name = "box magazine (Hollow-Point 7.12x82mm)"
|
||||
ammo_type = /obj/item/ammo_casing/mm712x82/hollow
|
||||
|
||||
/obj/item/ammo_box/magazine/mm195x129/ap
|
||||
name = "box magazine (Armor Penetrating 1.95x129mm)"
|
||||
ammo_type = /obj/item/ammo_casing/mm195x129/ap
|
||||
/obj/item/ammo_box/magazine/mm712x82/ap
|
||||
name = "box magazine (Armor Penetrating 7.12x82mm)"
|
||||
ammo_type = /obj/item/ammo_casing/mm712x82/ap
|
||||
|
||||
/obj/item/ammo_box/magazine/mm195x129/incen
|
||||
name = "box magazine (Incendiary 1.95x129mm)"
|
||||
ammo_type = /obj/item/ammo_casing/mm195x129/incen
|
||||
/obj/item/ammo_box/magazine/mm712x82/incen
|
||||
name = "box magazine (Incendiary 7.12x82mm)"
|
||||
ammo_type = /obj/item/ammo_casing/mm712x82/incen
|
||||
|
||||
/obj/item/ammo_box/magazine/mm195x129/update_icon()
|
||||
/obj/item/ammo_box/magazine/mm712x82/update_icon()
|
||||
..()
|
||||
icon_state = "a762-[round(ammo_count(),10)]"
|
||||
|
||||
|
||||
@@ -94,6 +94,9 @@
|
||||
|
||||
var/automatic = 0 //can gun use it, 0 is no, anything above 0 is the delay between clicks in ds
|
||||
|
||||
/// directional recoil multiplier
|
||||
var/dir_recoil_amp = 10
|
||||
|
||||
/obj/item/gun/Initialize(mapload)
|
||||
. = ..()
|
||||
if(no_pin_required)
|
||||
@@ -159,7 +162,7 @@
|
||||
|
||||
/obj/item/gun/proc/shoot_live_shot(mob/living/user, pointblank = FALSE, mob/pbtarget, message = 1, stam_cost = 0)
|
||||
if(recoil)
|
||||
shake_camera(user, recoil + 1, recoil)
|
||||
directional_recoil(user, recoil*dir_recoil_amp, Get_Angle(user, pbtarget))
|
||||
|
||||
if(stam_cost) //CIT CHANGE - makes gun recoil cause staminaloss
|
||||
var/safe_cost = clamp(stam_cost, 0, user.stamina_buffer)*(firing && burst_size >= 2 ? 1/burst_size : 1)
|
||||
|
||||
@@ -296,13 +296,13 @@
|
||||
|
||||
/obj/item/gun/ballistic/automatic/l6_saw
|
||||
name = "\improper L6 SAW"
|
||||
desc = "A heavily modified 1.95x129mm light machine gun, designated 'L6 SAW'. Has 'Aussec Armoury - 2531' engraved on the receiver below the designation."
|
||||
desc = "A heavily modified 7.12x82mm light machine gun, designated 'L6 SAW'. Has 'Aussec Armoury - 2531' engraved on the receiver below the designation."
|
||||
icon_state = "l6closed100"
|
||||
item_state = "l6closedmag"
|
||||
fire_sound = "sound/weapons/lmgshot.ogg"
|
||||
w_class = WEIGHT_CLASS_HUGE
|
||||
slot_flags = 0
|
||||
mag_type = /obj/item/ammo_box/magazine/mm195x129
|
||||
mag_type = /obj/item/ammo_box/magazine/mm712x82
|
||||
weapon_weight = WEAPON_HEAVY
|
||||
var/cover_open = FALSE
|
||||
can_suppress = FALSE
|
||||
|
||||
@@ -167,6 +167,7 @@
|
||||
icon_state = "goldrevolver"
|
||||
fire_sound = 'sound/weapons/resonator_blast.ogg'
|
||||
recoil = 8
|
||||
dir_recoil_amp = 5 // 40 directional recoil is already really funny
|
||||
pin = /obj/item/firing_pin
|
||||
|
||||
/obj/item/gun/ballistic/revolver/nagant
|
||||
|
||||
@@ -21,22 +21,22 @@
|
||||
/obj/item/projectile/bullet/syndicate_turret
|
||||
damage = 20
|
||||
|
||||
// 1.95x129mm (SAW)
|
||||
// 7.12x82mm (SAW)
|
||||
|
||||
/obj/item/projectile/bullet/mm195x129
|
||||
name = "1.95x129mm bullet"
|
||||
/obj/item/projectile/bullet/mm712x82
|
||||
name = "7.12x82mm bullet"
|
||||
damage = 40
|
||||
armour_penetration = 5
|
||||
wound_bonus = -50
|
||||
wound_falloff_tile = 0
|
||||
|
||||
/obj/item/projectile/bullet/mm195x129_ap
|
||||
name = "1.95x129mm armor-piercing bullet"
|
||||
/obj/item/projectile/bullet/mm712x82_ap
|
||||
name = "7.12x82mm armor-piercing bullet"
|
||||
damage = 40
|
||||
armour_penetration = 75
|
||||
|
||||
/obj/item/projectile/bullet/mm195x129_hp
|
||||
name = "1.95x129mm hollow-point bullet"
|
||||
/obj/item/projectile/bullet/mm712x82_hp
|
||||
name = "7.12x82mm hollow-point bullet"
|
||||
damage = 50
|
||||
armour_penetration = -60
|
||||
sharpness = SHARP_EDGED
|
||||
@@ -44,7 +44,15 @@
|
||||
bare_wound_bonus = 30
|
||||
wound_falloff_tile = -8
|
||||
|
||||
/obj/item/projectile/bullet/incendiary/mm195x129
|
||||
name = "1.95x129mm incendiary bullet"
|
||||
/obj/item/projectile/bullet/incendiary/mm712x82
|
||||
name = "7.12x82mm incendiary bullet"
|
||||
damage = 20
|
||||
fire_stacks = 3
|
||||
|
||||
/obj/item/projectile/bullet/mm712x82/match
|
||||
name = "7.12x82mm match bullet"
|
||||
damage = 40
|
||||
ricochets_max = 2
|
||||
ricochet_chance = 60
|
||||
ricochet_auto_aim_range = 4
|
||||
ricochet_incidence_leeway = 35
|
||||
|
||||
Reference in New Issue
Block a user