Adds a sniper bolt action rifle (#15899)

* Adds a sniper bolt action rifle

* Update code/modules/mob/mob_helpers.dm

Co-authored-by: mikomyazaki <47489928+mikomyazaki@users.noreply.github.com>

* hunting

* scope for him too

---------

Co-authored-by: mikomyazaki <47489928+mikomyazaki@users.noreply.github.com>
This commit is contained in:
Alberyk
2023-03-06 13:10:01 +00:00
committed by GitHub
co-authored by mikomyazaki
parent ae948d0de6
commit fa603b245b
6 changed files with 28 additions and 4 deletions
@@ -24,6 +24,21 @@
desc = "A replica of a traditional adhomian bolt action rifle. It has the seal of the Grand Romanovich Casino on its stock. Uses 7.62mm rounds."
ammo_type = /obj/item/ammo_casing/a762/blank
/obj/item/gun/projectile/shotgun/pump/rifle/scope
name = "sniper bolt action rifle"
desc = "A cheap ballistic rifle often found in the hands of Tajaran conscripts. This one has a telescopic sight attached to it. Uses 7.62mm rounds."
icon = 'icons/obj/guns/bolt_scope.dmi'
/obj/item/gun/projectile/shotgun/pump/rifle/scope/verb/scope()
set category = "Object"
set name = "Use Scope"
set popup_menu = 1
if(wielded)
toggle_scope(2.0, usr)
else
to_chat(usr, SPAN_WARNING ("You can't look through the scope without stabilizing the rifle!"))
/obj/item/gun/projectile/shotgun/pump/rifle/saw_off(mob/user, obj/item/tool)
icon = 'icons/obj/guns/obrez.dmi'
icon_state = "obrez"