mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
103 lines
6.3 KiB
Plaintext
103 lines
6.3 KiB
Plaintext
// For all intents and purposes, these work exactly the same as pump shotguns. It's unnecessary to make their own procs for them.
|
||
|
||
/obj/item/weapon/gun/projectile/shotgun/pump/rifle
|
||
name = "bolt action rifle"
|
||
desc = "The Weissen Company Type-19 is a modern interpretation of an almost ancient weapon design. The model is popular among hunters and collectors due to its reliability. Uses 7.62mm rounds."
|
||
description_fluff = "The frontier’s largest home-grown firearms manufacturer, the APEX Arms Company offers a range of high-quality, high-cost hunting rifles and shotguns designed with the wild frontier wilderness - and its wildlife - in mind. \
|
||
The company operates just one production plant in the Mytis system, but their weapons have found popularity on garden worlds as far afield as the Tajaran homeworld due to their excellent build quality, precision, and stopping power."
|
||
icon = 'icons/obj/gun_vr.dmi'
|
||
icon_state = "boltaction"
|
||
item_state = "boltaction"
|
||
fire_sound = 'sound/weapons/Gunshot_generic_rifle.ogg'
|
||
max_shells = 5
|
||
caliber = "7.62mm"
|
||
origin_tech = list(TECH_COMBAT = 1)// Old as shit rifle doesn't have very good tech.
|
||
ammo_type = /obj/item/ammo_casing/a762
|
||
load_method = SINGLE_CASING|SPEEDLOADER
|
||
action_sound = 'sound/weapons/riflebolt.ogg'
|
||
pump_animation = null
|
||
|
||
/obj/item/weapon/gun/projectile/shotgun/pump/rifle/practice //For target practice
|
||
name = "practice rifle"
|
||
desc = "A bolt-action rifle with a lightweight synthetic wood stock, designed for competitive shooting. Comes shipped with practice rounds pre-loaded into the gun. Popular among professional marksmen. Uses 7.62mm rounds."
|
||
icon = 'icons/obj/gun_vr.dmi'
|
||
icon_state = "boltaction_p"
|
||
item_state = "boltaction_p"
|
||
max_shells = 4
|
||
ammo_type = /obj/item/ammo_casing/a762/practice
|
||
|
||
/obj/item/weapon/gun/projectile/shotgun/pump/rifle/ceremonial
|
||
name = "ceremonial bolt-action rifle"
|
||
desc = "A bolt-action rifle with a heavy, high-quality wood stock that has a beautiful finish. Clearly not intended to be used in combat. Uses 7.62mm rounds."
|
||
icon = 'icons/obj/gun_vr.dmi'
|
||
icon_state = "boltaction_c"
|
||
item_state = "boltaction_c"
|
||
max_shells = 5
|
||
ammo_type = /obj/item/ammo_casing/a762/blank
|
||
|
||
// Stole hacky terrible code from doublebarrel shotgun. -Spades
|
||
/obj/item/weapon/gun/projectile/shotgun/pump/rifle/ceremonial/attackby(var/obj/item/A as obj, mob/user as mob)
|
||
if(istype(A, /obj/item/weapon/surgical/circular_saw) || istype(A, /obj/item/weapon/melee/energy) || istype(A, /obj/item/weapon/pickaxe/plasmacutter) && w_class != ITEMSIZE_NORMAL)
|
||
to_chat(user, "<span class='notice'>You begin to shorten the barrel and stock of \the [src].</span>")
|
||
if(loaded.len)
|
||
afterattack(user, user)
|
||
playsound(src, fire_sound, 50, 1)
|
||
user.visible_message("<span class='danger'>[src] goes off!</span>", "<span class='danger'>The rifle goes off in your face!</span>")
|
||
return
|
||
if(do_after(user, 30))
|
||
icon_state = "sawnrifle"
|
||
w_class = ITEMSIZE_NORMAL
|
||
recoil = 2 // Owch
|
||
accuracy = -15 // You know damn well why.
|
||
item_state = "gun"
|
||
slot_flags &= ~SLOT_BACK //you can't sling it on your back
|
||
slot_flags |= (SLOT_BELT|SLOT_HOLSTER) //but you can wear it on your belt (poorly concealed under a trenchcoat, ideally) - or in a holster, why not.
|
||
name = "sawn-off rifle"
|
||
desc = "The firepower of a rifle, now the size of a pistol, with an effective combat range of about three feet. Uses 7.62mm rounds."
|
||
to_chat(user, "<span class='warning'>You shorten the barrel and stock of \the [src]!</span>")
|
||
else
|
||
..()
|
||
|
||
////////////////////////Yee-haw guns////////////////////////
|
||
|
||
/obj/item/weapon/gun/projectile/shotgun/pump/rifle/lever
|
||
name = "lever-action rifle"
|
||
desc = "The Weissen Company Thunderking is the latest version of an almost ancient weapon design from the 19th century, popular with some due to its simplistic design. This one uses a lever-action to move new rounds into the chamber. Uses 7.62mm rounds."
|
||
description_fluff = "The frontier’s largest home-grown firearms manufacturer, the Weissen Company offers a range of high-quality, high-cost hunting rifles and shotguns designed with the wild frontier wilderness - and its wildlife - in mind. \
|
||
The company operates just one production plant in the Mytis system, but their weapons have found popularity on garden worlds as far afield as the Tajaran homeworld due to their excellent build quality, precision, and stopping power."
|
||
icon = 'icons/obj/gun_vr.dmi'
|
||
icon_state = "levergun"
|
||
item_state = "leveraction"
|
||
max_shells = 6
|
||
caliber = "7.62mm"
|
||
load_method = SINGLE_CASING
|
||
|
||
/obj/item/weapon/gun/projectile/shotgun/pump/rifle/lever/vintage
|
||
name = "vintage repeater"
|
||
desc = "The Weissen Company's version of an iconic manually operated lever action rifle, the Bushhog, offering adequate stopping power due to it's still powerful cartridge while at the same time having a rather respectable firing rate due to it's mechanism. It is very probable this is a replica instead of a museum piece, but rifles of this pattern still see usage as colonist guns in some far off regions. Uses 7.62mm rounds."
|
||
description_fluff = "The frontier’s largest home-grown firearms manufacturer, the Weissen Company offers a range of high-quality, high-cost hunting rifles and shotguns designed with the wild frontier wilderness - and its wildlife - in mind. \
|
||
The company operates just one production plant in the Mytis system, but their weapons have found popularity on garden worlds as far afield as the Tajaran homeworld due to their excellent build quality, precision, and stopping power."
|
||
icon = 'icons/obj/gun_vr.dmi'
|
||
icon_state = "levergunv"
|
||
item_state = "leveraction"
|
||
max_shells = 5
|
||
caliber = "7.62mm"
|
||
load_method = SINGLE_CASING
|
||
|
||
////////////////////////surplus gun - for derelicts (04/26/2021)////////////////////////
|
||
|
||
/obj/item/weapon/gun/projectile/shotgun/pump/surplus
|
||
name = "surplus rifle"
|
||
desc = "An ancient weapon from an era long pas, crude in design, but still just as effective as any modern interpretation. Uses 7.62mm rounds."
|
||
icon = 'icons/obj/gun_vr.dmi'
|
||
icon_state = "boltaction_s"
|
||
item_state = "boltaction_p"
|
||
fire_sound = 'sound/weapons/Gunshot_generic_rifle.ogg'
|
||
max_shells = 4
|
||
slot_flags = null
|
||
caliber = "7.62mm"
|
||
origin_tech = list(TECH_COMBAT = 1) // Old(er) as shit rifle doesn't have very good tech.
|
||
ammo_type = /obj/item/ammo_casing/a762
|
||
load_method = SINGLE_CASING|SPEEDLOADER
|
||
action_sound = 'sound/weapons/riflebolt.ogg'
|
||
pump_animation = null |