Sniper Rifle QOL

- Adds Action Buttons for Sniper Rifles

I have been thinking of a very mild buff to the LWAP, mainly because the Laser Cannon does far more damage and is more portable, and the Laser Rifle has much more shots and has swappable cells.

But for now just going with this QOL Tweak.
This commit is contained in:
Unknown
2020-03-29 21:15:15 -04:00
parent 44cd9de168
commit 665a2f45bf
2 changed files with 16 additions and 0 deletions

View File

@@ -166,6 +166,7 @@
origin_tech = list(TECH_COMBAT = 6, TECH_MATERIAL = 5, TECH_POWER = 4)
projectile_type = /obj/item/projectile/beam/sniper
slot_flags = SLOT_BACK
action_button_name = "Use Scope"
battery_lock = 1
charge_cost = 600
fire_delay = 35
@@ -176,6 +177,9 @@
// requires_two_hands = 1
// one_handed_penalty = 60 // The weapon itself is heavy, and the long barrel makes it hard to hold steady with just one hand.
/obj/item/weapon/gun/energy/sniperrifle/ui_action_click()
scope()
/obj/item/weapon/gun/energy/sniperrifle/verb/scope()
set category = "Object"
set name = "Use Scope"
@@ -192,6 +196,7 @@
origin_tech = list(TECH_COMBAT = 6, TECH_MATERIAL = 4, TECH_POWER = 3)
projectile_type = /obj/item/projectile/beam/sniper
slot_flags = SLOT_BACK
action_button_name = "Aim Down Sights"
charge_cost = 1300
fire_delay = 20
force = 8
@@ -200,6 +205,9 @@
scoped_accuracy = 15
var/scope_multiplier = 1.5
/obj/item/weapon/gun/energy/monorifle/ui_action_click()
sights()
/obj/item/weapon/gun/energy/monorifle/verb/sights()
set category = "Object"
set name = "Aim Down Sights"

View File

@@ -8,6 +8,7 @@
w_class = ITEMSIZE_HUGE // So it can't fit in a backpack.
force = 10
slot_flags = SLOT_BACK
action_button_name = "Use Scope"
origin_tech = list(TECH_COMBAT = 8, TECH_MATERIAL = 2, TECH_ILLEGAL = 8)
caliber = "14.5mm"
recoil = 5 //extra kickback
@@ -61,6 +62,9 @@
return
..()
/obj/item/weapon/gun/projectile/heavysniper/ui_action_click()
scope()
/obj/item/weapon/gun/projectile/heavysniper/verb/scope()
set category = "Object"
set name = "Use Scope"
@@ -78,6 +82,7 @@
w_class = ITEMSIZE_HUGE // So it can't fit in a backpack.
force = 10
slot_flags = SLOT_BACK // Needs a sprite.
action_button_name = "Use Scope"
origin_tech = list(TECH_COMBAT = 8, TECH_MATERIAL = 2, TECH_ILLEGAL = 8)
caliber = "7.62mm"
load_method = MAGAZINE
@@ -96,6 +101,9 @@
else
icon_state = "SVD-empty"
/obj/item/weapon/gun/projectile/SVD/ui_action_click()
scope()
/obj/item/weapon/gun/projectile/SVD/verb/scope()
set category = "Object"
set name = "Use Scope"