mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
@@ -95,4 +95,109 @@
|
||||
/datum/category_item/autolathe/arms/sks_762
|
||||
name = "SKS Clip (10x 7.62x39 standard)"
|
||||
path = /obj/item/ammo_magazine/clip/sks
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/sks_762_ap
|
||||
name = "SKS Clip (10x 7.62x39 armor-piercing)"
|
||||
path = /obj/item/ammo_magazine/clip/sks/ap
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/mosin_762
|
||||
name = "Mosin Nagant Clip (5x 7.62x54mmR standard)"
|
||||
path = /obj/item/ammo_magazine/clip/mosin
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/mosin_762_ap
|
||||
name = "Mosin Nagant Clip (5x 7.62x54mmR armor-piercing)"
|
||||
path = /obj/item/ammo_magazine/clip/mosin
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/t901_762
|
||||
name = "Type-901 magazine (7.62x51mm standard)"
|
||||
path = /obj/item/ammo_magazine/type901
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/t901_762_ap
|
||||
name = "Type-901 magazine (7.62x51mm armor-piercing)"
|
||||
path = /obj/item/ammo_magazine/type901/ap
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/awp_338
|
||||
name = "AWP magazine (.338 Lapua standard)"
|
||||
path = /obj/item/ammo_magazine/awp
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/awp_338_ap
|
||||
name = "AWP magazine (.338 Lapua armor-piercing)"
|
||||
path = /obj/item/ammo_magazine/awp/ap
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/hectate_50bmg
|
||||
name = "Hectate II magazine (.50 BMG standard)"
|
||||
path = /obj/item/ammo_magazine/hectate
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/hectate_50bmg_ap
|
||||
name = "Hectate II magazine (.50 BMG armor-piercing)"
|
||||
path = /obj/item/ammo_magazine/hectate/ap
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/ppsh_762x25
|
||||
name = "PPSH drum Magazine (7.62x25mm Tokarev standard)"
|
||||
path = /obj/item/ammo_magazine/ppsh
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/plamya_9x39
|
||||
name = "Plamya drum magazine(9x39mm standard)"
|
||||
path = /obj/item/ammo_magazine/plamya
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/plamya_9x39_ap
|
||||
name = "Plamya drum magazine(9x39mm armor-piercing)"
|
||||
path = /obj/item/ammo_magazine/plamya/ap
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/strela_12g
|
||||
name = "Strela magazine (12 gauge buckshot)"
|
||||
path = /obj/item/ammo_magazine/strela
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/strela_12g_slug
|
||||
name = "Strela magazine (12 gauge slug)"
|
||||
path = /obj/item/ammo_magazine/strela/slug
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/molniya_762
|
||||
name = "Molniya magazine box (7.62x51mm standard)"
|
||||
path = /obj/item/ammo_magazine/molniya
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/molniya_762_ap
|
||||
name = "Molniya magazine box (7.62x51mm armor-piercing)"
|
||||
path = /obj/item/ammo_magazine/molniya/ap
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/ssp4_10mm
|
||||
name = "SSP4 magazine (10mm standard)"
|
||||
path = /obj/item/ammo_magazine/ssp4
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/makarov_9x18
|
||||
name = "Makarov magazine (9x18mm Makarov standard)"
|
||||
path = /obj/item/ammo_magazine/makarov
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/vp70_9mm
|
||||
name = "VP70 magazine (18x 9x19mm standard)"
|
||||
path = /obj/item/ammo_magazine/m9mm/vp70
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/vp70_9mm_ap
|
||||
name = "VP70 magazine (18x 9x19mm armor-piercing)"
|
||||
path = /obj/item/ammo_magazine/m9mm/vp70/ap
|
||||
hidden = 1
|
||||
|
||||
/datum/category_item/autolathe/arms/vp70_9mm_hp
|
||||
name = "VP70 magazine (18x 9x19mm hollow-point)"
|
||||
path = /obj/item/ammo_magazine/m9mm/vp70/hp
|
||||
hidden = 1
|
||||
@@ -40,8 +40,8 @@
|
||||
|
||||
/obj/item/ammo_magazine/mp5mag
|
||||
name = "mp5 magazine(9x19mm standard)"
|
||||
icon = 'icons/obj/ammo_vr.dmi'
|
||||
icon_state = "smg"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
icon_state = "mp5mag"
|
||||
max_ammo = 30
|
||||
mag_type = MAGAZINE
|
||||
caliber = "9mm"
|
||||
@@ -120,6 +120,12 @@
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 1700)
|
||||
ammo_type = /obj/item/ammo_casing/a556/hp
|
||||
|
||||
/obj/item/ammo_magazine/m16/patriot
|
||||
name = "Patriot magazine (5.56x45mm standard)"
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 5000)
|
||||
max_ammo = 100
|
||||
icon_state = "patriotmag"
|
||||
|
||||
/obj/item/ammo_magazine/m41
|
||||
name = "M41A magazine (10x24mm standard)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
@@ -132,9 +138,172 @@
|
||||
ammo_type = /obj/item/ammo_casing/a10x24
|
||||
|
||||
/obj/item/ammo_magazine/clip/sks
|
||||
name = "Ammo clip(7.62x39mm)"
|
||||
name = "Ammo clip(7.62x39mm standard)"
|
||||
icon_state = "gclip"
|
||||
max_ammo = 10
|
||||
caliber = "7.62x39mm"
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 400)
|
||||
ammo_type = /obj/item/ammo_casing/a762x39
|
||||
|
||||
/obj/item/ammo_magazine/clip/sks/ap
|
||||
name = "Ammo clip(7.62x39mm armor-piercing)"
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 700)
|
||||
ammo_type = /obj/item/ammo_casing/a762x39/ap
|
||||
|
||||
/obj/item/ammo_magazine/clip/mosin
|
||||
name = "Ammo clip(7.62x54mmR standard)"
|
||||
icon_state = "clip_rifle"
|
||||
max_ammo = 5
|
||||
caliber = "7.62x54mmR"
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 300)
|
||||
ammo_type = /obj/item/ammo_casing/a762x54
|
||||
|
||||
/obj/item/ammo_magazine/clip/mosin/ap
|
||||
name = "Ammo clip(7.62x54mmR armor-piercing)"
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 600)
|
||||
ammo_type = /obj/item/ammo_casing/a762x54/ap
|
||||
|
||||
/obj/item/ammo_magazine/type901
|
||||
name = "Type-901 magazine(7.62x51mm standard)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
caliber = "7.62mm"
|
||||
icon_state = "762mag"
|
||||
max_ammo = 30
|
||||
mag_type = MAGAZINE
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 2400)
|
||||
ammo_type = /obj/item/ammo_casing/a762
|
||||
|
||||
/obj/item/ammo_magazine/type901/ap
|
||||
name = "Type-901 magazine(7.62x51mm armor-piercing)"
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 3000)
|
||||
ammo_type = /obj/item/ammo_casing/a762/ap
|
||||
|
||||
/obj/item/ammo_magazine/awp
|
||||
name = "AWP magazine(.338 Lapua standard)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
caliber = ".338"
|
||||
icon_state = "awp"
|
||||
max_ammo = 5
|
||||
mag_type = MAGAZINE
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 2400)
|
||||
ammo_type = /obj/item/ammo_casing/a338
|
||||
|
||||
/obj/item/ammo_magazine/awp/ap
|
||||
name = "AWP magazine(.338 Lapua armor-piercing)"
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 3000)
|
||||
ammo_type = /obj/item/ammo_casing/a338/ap
|
||||
|
||||
/obj/item/ammo_magazine/hectate
|
||||
name = "Hectate II magazine(.50 BMG standard)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
caliber = ".50 BMG"
|
||||
icon_state = "hectate"
|
||||
max_ammo = 7
|
||||
mag_type = MAGAZINE
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 4000)
|
||||
ammo_type = /obj/item/ammo_casing/a50bmg
|
||||
|
||||
/obj/item/ammo_magazine/hectate/ap
|
||||
name = "Hectate II magazine(.50 BMG armor-piercing)"
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 5000)
|
||||
ammo_type = /obj/item/ammo_casing/a50bmg/ap
|
||||
|
||||
/obj/item/ammo_magazine/ppsh
|
||||
name = "PPSH-17b drum magazine(7.62x25mm Tokarev standard)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
caliber = "7.62x25mm"
|
||||
icon_state = "ppshmag"
|
||||
max_ammo = 71
|
||||
mag_type = MAGAZINE
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 1500)
|
||||
ammo_type = /obj/item/ammo_casing/a762x25
|
||||
|
||||
/obj/item/ammo_magazine/plamya
|
||||
name = "Plamya drum magazine(9x39mm standard)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
caliber = "9x39mm"
|
||||
icon_state = "plamyamag"
|
||||
max_ammo = 50
|
||||
mag_type = MAGAZINE
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 2500)
|
||||
ammo_type = /obj/item/ammo_casing/a9x39
|
||||
|
||||
/obj/item/ammo_magazine/plamya/ap
|
||||
name = "Plamya drum magazine(9x39mm armor-piercing)"
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 3000)
|
||||
ammo_type = /obj/item/ammo_casing/a9x39/ap
|
||||
|
||||
/obj/item/ammo_magazine/strela
|
||||
name = "Strela magazine(12 gauge buckshot)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
caliber = "12g"
|
||||
icon_state = "strelamag"
|
||||
max_ammo = 7
|
||||
mag_type = MAGAZINE
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 800)
|
||||
ammo_type = /obj/item/ammo_casing/a12g/pellet
|
||||
|
||||
/obj/item/ammo_magazine/strela/slug
|
||||
name = "Strela magazine(12 gauge slug)"
|
||||
ammo_type = /obj/item/ammo_casing/a12g
|
||||
|
||||
/obj/item/ammo_magazine/molniya
|
||||
name = "Molniya magazine box(7.62x51mm standard)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
caliber = "7.62mm"
|
||||
icon_state = "molniyamag"
|
||||
max_ammo = 100
|
||||
mag_type = MAGAZINE
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 8000)
|
||||
ammo_type = /obj/item/ammo_casing/a762
|
||||
|
||||
/obj/item/ammo_magazine/molniya/ap
|
||||
name = "Molniya magazine box(7.62x51mm armor-piercing)"
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 10000)
|
||||
ammo_type = /obj/item/ammo_casing/a762/ap
|
||||
|
||||
/obj/item/ammo_magazine/ssp4
|
||||
name = "SSP4 magazine(10mm standard)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
caliber = "10mm"
|
||||
icon_state = "10mmmag"
|
||||
max_ammo = 8
|
||||
mag_type = MAGAZINE
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 400)
|
||||
ammo_type = /obj/item/ammo_casing/a10mm
|
||||
|
||||
/obj/item/ammo_magazine/makarov
|
||||
name = "Makarov magazine(9x18mm Makarov standard)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
caliber = "9x18mm"
|
||||
icon_state = "9mmmag"
|
||||
max_ammo = 8
|
||||
mag_type = MAGAZINE
|
||||
multiple_sprites = 1
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 400)
|
||||
ammo_type = /obj/item/ammo_casing/a9x18
|
||||
|
||||
/obj/item/ammo_magazine/m9mm/vp70
|
||||
name = "VP70 magazine (18x 9x19mm standard)"
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
icon_state = "9mmmag"
|
||||
ammo_type = /obj/item/ammo_casing/a9mm
|
||||
max_ammo = 18
|
||||
|
||||
/obj/item/ammo_magazine/m9mm/vp70/ap
|
||||
name = "VP70 magazine (18x 9x19mm armor-piercing)"
|
||||
ammo_type = /obj/item/ammo_casing/a9mm/ap
|
||||
|
||||
/obj/item/ammo_magazine/m9mm/vp70/hp
|
||||
name = "VP70 magazine (18x 9x19mm hollow-point)"
|
||||
ammo_type = /obj/item/ammo_casing/a9mm/ap
|
||||
@@ -36,6 +36,16 @@
|
||||
desc = "A rubber 5.7x28mm round"
|
||||
projectile_type = /obj/item/projectile/bullet/pistol/rubber
|
||||
|
||||
/obj/item/ammo_casing/a762x25
|
||||
desc = "A standard 7.62x25mm Tokarev round"
|
||||
caliber = "7.62x25mm"
|
||||
projectile_type = /obj/item/projectile/bullet/a762x25
|
||||
|
||||
/obj/item/ammo_casing/a9x18
|
||||
desc = "A standard 9x18mm Makarov round"
|
||||
caliber = "9x18mm"
|
||||
projectile_type = /obj/item/projectile/bullet/a9x18
|
||||
|
||||
/obj/item/ammo_casing/a762x54
|
||||
desc = "A standard 7.62x54mmR round"
|
||||
caliber = "7.62x54mmR"
|
||||
@@ -46,6 +56,24 @@
|
||||
desc = "An armor piercing 7.62x54mmR round"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a762x54/ap
|
||||
|
||||
/obj/item/ammo_casing/a338
|
||||
desc = "A standard .338 Lapua round"
|
||||
caliber = ".338"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a338
|
||||
|
||||
/obj/item/ammo_casing/a338/ap
|
||||
desc = "An armor piercing .338 Lapua round"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a338/ap
|
||||
|
||||
/obj/item/ammo_casing/a50bmg
|
||||
desc = "A standard .50 BMG round"
|
||||
caliber = ".50 BMG"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a50bmg
|
||||
|
||||
/obj/item/ammo_casing/a50bmg/ap
|
||||
desc = "An armor piercing .50 BMG round"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a50bmg/ap
|
||||
|
||||
/obj/item/ammo_casing/a9x39
|
||||
desc = "A standard 9x39mm round"
|
||||
caliber = "9x39mm"
|
||||
|
||||
84
code/modules/projectiles/guns/energy/laser_ch.dm
Normal file
84
code/modules/projectiles/guns/energy/laser_ch.dm
Normal file
@@ -0,0 +1,84 @@
|
||||
/obj/item/weapon/gun/energy/laser
|
||||
icon = 'icons/obj/64x32guns_ch.dmi'
|
||||
icon_state = "lcarbine"
|
||||
name = "NT LC-525 Laser Rifle"
|
||||
desc = "A relatively new, mass produced Nanotrasen laser carbine designed to kill with concentrated energy blasts. Just like the G40E, it has two firemodes, standard, and suppressive, which fires more efficent but weaker beams."
|
||||
icon_expected_width = 64
|
||||
var/is64x32 = TRUE
|
||||
var/is64x32_override = FALSE
|
||||
var/is_picked_up = FALSE
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/equipped()
|
||||
. = ..()
|
||||
is_picked_up = TRUE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/pickup()
|
||||
. = ..()
|
||||
is_picked_up = TRUE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/dropped()
|
||||
. = ..()
|
||||
if(!istype(loc,/mob/living))
|
||||
is_picked_up = FALSE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/Initialize()
|
||||
. = ..()
|
||||
if((!(type == /obj/item/weapon/gun/energy/laser)) && !is64x32_override)
|
||||
is64x32 = FALSE
|
||||
if(icon_expected_width == 64)
|
||||
icon_expected_width = 32
|
||||
if(icon == 'icons/obj/64x32guns_ch.dmi')
|
||||
icon = 'icons/obj/gun.dmi'
|
||||
if(is64x32)
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/update_transform()
|
||||
. = ..()
|
||||
if(is64x32)
|
||||
if(is_picked_up)
|
||||
transform = transform.Turn(-45)
|
||||
transform = transform.Translate(-16,0)
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/empty
|
||||
is64x32_override = TRUE
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/mounted
|
||||
is64x32_override = TRUE
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/practice
|
||||
is64x32_override = TRUE
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/vepr
|
||||
name = "WKHM 'Vepr'"
|
||||
desc = "The Vepr lasgun, in 40 Watt range. One of the most robust laser rifles out there, but not one that's commonly seen. This piece is WKHM's latest entry into the energy weapon market, competing with the Hephaestus Industries G40E. Uses its own proprietary energy cells. It has three settings, standard, suppressive, and burst. This one bears the 'WKHM Adamant' arkship's production stamp."
|
||||
description_fluff = "WKHM, is a minor arms company that has been around for quite some time, established in 2408. Known for being one of the many suppliers of weapons to dangerous worlds on the rim, and a part of the FTU. They produce a large variety of firearms, strike craft, and armored vehicles to fufill various their various contracts, and are largely migrant, moving wherever the money is. Found almost entirely on mobile production ships and various escort craft. Identifiable by their logo, a red Omega symbol with a black or white W in the middle. The sheer quantity of their firearms produced ensures they can be found.. just about anywhere, and they are very sought after by pirates for their reliability."
|
||||
icon_expected_width = 64
|
||||
icon_state = "vepr"
|
||||
firemodes = list(
|
||||
list(mode_name="normal", fire_delay=8, projectile_type=/obj/item/projectile/beam/midlaser, charge_cost = 240),
|
||||
list(mode_name="suppressive", fire_delay=5, projectile_type=/obj/item/projectile/beam/weaklaser, charge_cost = 60),
|
||||
list(mode_name="burst", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,0,0), dispersion=list(0.0, 0.2, 0.5), projectile_type=/obj/item/projectile/beam/burstlaser, charge_cost = 200),
|
||||
)
|
||||
force = 8
|
||||
w_class = ITEMSIZE_HUGE //Probably gonna make it a rifle sooner or later //CHOMP Edit, and so I did.
|
||||
slot_flags = SLOT_BELT|SLOT_BACK //CHOMP Edit. Let's make it so that if it doesn't fit in a backpack, it doesn't fit in a holster either.
|
||||
is64x32_override = TRUE
|
||||
accept_cell_type = /obj/item/weapon/cell/vepr
|
||||
cell_type = /obj/item/weapon/cell/vepr
|
||||
origin_tech = list(TECH_POWER = 4, TECH_COMBAT = 6, TECH_MAGNET = 4, TECH_ILLEGAL = 4)
|
||||
|
||||
/obj/item/weapon/cell/vepr
|
||||
icon = 'icons/obj/ammo_ch.dmi'
|
||||
icon_state = "veprcell"
|
||||
item_state = "egg6"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
maxcharge = 7200
|
||||
charge_amount = 20
|
||||
matter = list("metal" = 350, "glass" = 50)
|
||||
preserve_item = 1
|
||||
overlay_half_state = "veprcell_o1"
|
||||
overlay_full_state = "veprcell_o2"
|
||||
origin_tech = list(TECH_POWER = 6)
|
||||
@@ -0,0 +1,43 @@
|
||||
/obj/item/weapon/gun/magnetic/railgun
|
||||
name = "WKHM 'Strzyga' railgun"
|
||||
desc = "A devastatingly powerful, and very expensive railgun built for long range engagements, and anti vehicle applications. Possibly one of the most powerful handheld weapons to date. Capable of punching a hole clean through a durasteel wall. The last thing the enemy will never see. 'DO NOT TOUCH THE RAILS' is stickered on the receiver. Chambers 16.5x122mm slugs. "
|
||||
description_fluff = "WKHM, is a minor arms company that has been around for quite some time, established in 2408. Known for being one of the many suppliers of weapons to dangerous worlds on the rim, and a part of the FTU. They produce a large variety of firearms, strike craft, and armored vehicles to fufill various their various contracts, and are largely migrant, moving wherever the money is. Found almost entirely on mobile production ships and various escort craft. Identifiable by their logo, a red Omega symbol with a black or white W in the middle. The sheer quantity of their firearms produced ensures they can be found.. just about anywhere, and they are very sought after by pirates for their reliability."
|
||||
icon = 'icons/obj/64x32guns_ch.dmi'
|
||||
icon_state = "railgun-e"
|
||||
icon_expected_width = 64
|
||||
var/is64x32 = TRUE
|
||||
var/is64x32_override = FALSE
|
||||
var/is_picked_up = FALSE
|
||||
|
||||
/obj/item/weapon/gun/magnetic/railgun/equipped()
|
||||
. = ..()
|
||||
is_picked_up = TRUE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/magnetic/railgun/pickup()
|
||||
. = ..()
|
||||
is_picked_up = TRUE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/magnetic/railgun/dropped()
|
||||
. = ..()
|
||||
is_picked_up = FALSE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/magnetic/railgun/Initialize()
|
||||
. = ..()
|
||||
if((!(type == /obj/item/weapon/gun/magnetic/railgun)) && !is64x32_override)
|
||||
is64x32 = FALSE
|
||||
if(icon_expected_width == 64)
|
||||
icon_expected_width = 32
|
||||
if(icon == 'icons/obj/64x32guns_ch.dmi')
|
||||
icon = 'icons/obj/railgun.dmi'
|
||||
if(is64x32)
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/magnetic/railgun/update_transform()
|
||||
. = ..()
|
||||
if(is64x32)
|
||||
if(is_picked_up)
|
||||
transform = transform.Turn(-45)
|
||||
transform = transform.Translate(-16,0)
|
||||
@@ -66,6 +66,9 @@
|
||||
icon_state = "asval"
|
||||
icon_expected_height = 32
|
||||
icon_expected_width = 64
|
||||
firemodes = list()
|
||||
var/is_picked_up = FALSE
|
||||
var/is_long = TRUE
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/Initialize()
|
||||
. = ..()
|
||||
@@ -73,7 +76,33 @@
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/update_transform()
|
||||
. = ..()
|
||||
if(is_picked_up && is_long)
|
||||
transform = transform.Turn(-45)
|
||||
transform = transform.Translate(-16,0)
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/equipped()
|
||||
. = ..()
|
||||
is_picked_up = TRUE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/pickup()
|
||||
. = ..()
|
||||
is_picked_up = TRUE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/dropped()
|
||||
. = ..()
|
||||
is_picked_up = FALSE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/update_icon()
|
||||
. = ..()
|
||||
if(load_method == MAGAZINE)
|
||||
icon_state = ammo_magazine ? "[initial(icon_state)]" : "[initial(icon_state)]-e"
|
||||
else
|
||||
icon_state = bolt_open ? "[initial(icon_state)]-e" : "[initial(icon_state)]"
|
||||
|
||||
|
||||
//AK Variants
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/asval
|
||||
@@ -92,6 +121,7 @@
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_MANUAL_LOCK
|
||||
muzzle_velocity = 295
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 50
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/krinkov
|
||||
name = "Krinkov"
|
||||
@@ -108,6 +138,7 @@
|
||||
load_method = MAGAZINE
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_MANUAL_LOCK
|
||||
muzzle_velocity = 680
|
||||
is_long = FALSE
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/akm
|
||||
name = "AKM"
|
||||
@@ -125,6 +156,7 @@
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_MANUAL_LOCK
|
||||
muzzle_velocity = 715
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 60
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/scrapak
|
||||
name = "AKM"
|
||||
@@ -142,6 +174,7 @@
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_MANUAL_LOCK
|
||||
muzzle_velocity = 700
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 70
|
||||
|
||||
// AR Variants
|
||||
|
||||
@@ -179,12 +212,13 @@
|
||||
load_method = MAGAZINE
|
||||
muzzle_velocity = 910
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 50
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/patriot
|
||||
name = "Patriot"
|
||||
desc = "I raised you, and loved you, I've given you weapons, taught you techniques, endowed you with knowledge. There's nothing more for me to give you. All that's left for you to take is my life. 'Still in a dream' is stamped into the receiver, and it has no serial number. Chambered in 5.56x45mm."
|
||||
caliber = "5.56x45mm"
|
||||
magazine_type = /obj/item/ammo_magazine/m16
|
||||
magazine_type = /obj/item/ammo_magazine/m16/patriot
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/m16)
|
||||
icon_state="patriot"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a556
|
||||
@@ -196,6 +230,7 @@
|
||||
load_method = MAGAZINE
|
||||
muzzle_velocity = 960
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 40
|
||||
|
||||
//Other rifles
|
||||
|
||||
@@ -205,7 +240,7 @@
|
||||
caliber = "10x24mm caseless"
|
||||
magazine_type = /obj/item/ammo_magazine/m41
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/m41)
|
||||
icon_state="m41ab"
|
||||
icon_state="m41b"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a10x24
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
@@ -213,6 +248,8 @@
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
muzzle_velocity = 840
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 50
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/m41a //This gun is pretty overpowered. Leaving it as an admin spawn. Might even interfere with lore.
|
||||
name = "M41A"
|
||||
@@ -228,6 +265,8 @@
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
muzzle_velocity = 840
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 50
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/sks //Reminder to myself to make sure this works and also to make sure that people are able to empty the internal mag
|
||||
name = "SKS"
|
||||
@@ -240,7 +279,396 @@
|
||||
muzzle_velocity = 735
|
||||
max_shells = 10
|
||||
ammo_type = /obj/item/ammo_casing/a762x39
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 60
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/mosin
|
||||
name = "Mosin Nagant"
|
||||
desc = "A reproduction of some old russian bolt-action rifle from some backwater rimworld. Smells strongly of cosmoline. The inscriptions on it are in pan-slavic. Chambered in 7.62x54mmR."
|
||||
caliber = "7.62x54mmR"
|
||||
auto_loading_type = NO_AUTO_LOAD
|
||||
load_method = SINGLE_CASING|SPEEDLOADER
|
||||
only_open_load = TRUE
|
||||
icon_state = "mosin"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a762x54
|
||||
muzzle_velocity = 865
|
||||
max_shells = 5
|
||||
ammo_type = /obj/item/ammo_casing/a762x54
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 70
|
||||
bolt_name = "bolt"
|
||||
sound_eject = 'sound/weapons/ballistics/boltactionopen.ogg'
|
||||
sound_chamber = 'sound/weapons/ballistics/boltactionclose.ogg'
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/mosin/scoped
|
||||
name = "Scoped Mosin Nagant"
|
||||
icon_state = "scopedmosin"
|
||||
desc = "A reproduction of some old russian bolt-action rifle from some backwater rimworld. Smells strongly of cosmoline. The inscriptions on it are in pan-slavic. This one has a scope attached to it. Chambered in 7.62x54mmR."
|
||||
action_button_name = "Use Scope"
|
||||
accuracy = -15
|
||||
scoped_accuracy = 50
|
||||
one_handed_penalty = 70
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/mosin/scoped/ui_action_click()
|
||||
scope()
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/mosin/scoped/verb/scope()
|
||||
set category = "Object"
|
||||
set name = "Use Scope"
|
||||
set popup_menu = 1
|
||||
|
||||
toggle_scope(2.0)
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/type901
|
||||
name = "Type 901 Assault rifle"
|
||||
desc = "A heavy bullpup assault rifle of unknown make, with a very high muzzle velocity and fair accuracy. A favorite of scum and villainy everywhere due to its complete lack of identification markings. Popularized by the 2541 movie, 'Boarding Party'. Chambered in 7.62x51mm."
|
||||
caliber = "7.62mm"
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_OPEN_EMPTY | LOCK_SLAPPABLE
|
||||
magazine_type = /obj/item/ammo_magazine/type901
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/type901)
|
||||
icon_state = "type901"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a762
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-10,-10), dispersion=list(0.0, 0.3, 0.6))
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
muzzle_velocity = 910
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 60
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/type901/carbine
|
||||
name = "Type 901-C Carbine"
|
||||
desc = "A lightweight bullpup assault carbine of unknown make, with a very high muzzle velocity and fair accuracy. A favorite of scum and villainy everywhere due to its complete lack of identification markings. Popularized by the 2541 movie, 'Boarding Party'. This one is smaller and more compact than its larger counterpart. Chambered in 7.62x39mm."
|
||||
icon_state = "type901b"
|
||||
muzzle_velocity = 880
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 30
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/awp
|
||||
name = "AWP"
|
||||
desc = "A galaxy-wide favorite for hunting, target shooting, and rushing B. Legend has it, this rifle originated from three guys in a garage. This one is a reproduction. It has 'Scarborough Arms - Per falcis, per pravitas' inscribed on the stock. Chambered in .338 Lapua."
|
||||
caliber = ".338"
|
||||
auto_loading_type = NO_AUTO_LOAD
|
||||
magazine_type = /obj/item/ammo_magazine/awp
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/awp)
|
||||
icon_state = "awp"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a338
|
||||
load_method = MAGAZINE
|
||||
muzzle_velocity = 936
|
||||
action_button_name = "Use Scope"
|
||||
accuracy = -30
|
||||
scoped_accuracy = 50
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 90
|
||||
bolt_name = "bolt"
|
||||
sound_eject = 'sound/weapons/ballistics/boltactionopen.ogg'
|
||||
sound_chamber = 'sound/weapons/ballistics/boltactionclose.ogg'
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/awp/ui_action_click()
|
||||
scope()
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/awp/verb/scope()
|
||||
set category = "Object"
|
||||
set name = "Use Scope"
|
||||
set popup_menu = 1
|
||||
|
||||
toggle_scope(2.0)
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/hectate
|
||||
name = "Hectate II"
|
||||
desc = "An old world anti material rifle. Ideal for dealing with mechs, armored personnel, and space dragons. Chambered in .50 BMG."
|
||||
caliber = ".50 BMG"
|
||||
auto_loading_type = NO_AUTO_LOAD
|
||||
magazine_type = /obj/item/ammo_magazine/hectate
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/hectate)
|
||||
icon_state = "hectate"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a50bmg
|
||||
load_method = MAGAZINE
|
||||
muzzle_velocity = 825
|
||||
action_button_name = "Use Scope"
|
||||
accuracy = -60
|
||||
scoped_accuracy = 15
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 120
|
||||
bolt_name = "bolt"
|
||||
sound_eject = 'sound/weapons/ballistics/boltactionopen.ogg'
|
||||
sound_chamber = 'sound/weapons/ballistics/boltactionclose.ogg'
|
||||
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/hectate/ui_action_click()
|
||||
scope()
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/hectate/verb/scope()
|
||||
set category = "Object"
|
||||
set name = "Use Scope"
|
||||
set popup_menu = 1
|
||||
|
||||
toggle_scope(2.0)
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/memegun
|
||||
name = "Hardbass Special"
|
||||
desc = "Три полоски, три по три полоски Три полоски, три по три полоски Три полоски, три по три полоски Три полоски, три по три полоски Три полоски, три по три полоски Три полоски, три по три полоски. Chambered in 7.62x39mm"
|
||||
caliber = "7.62x39mm"
|
||||
magazine_type = /obj/item/ammo_magazine/akm
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/akm)
|
||||
icon_state = "memegun"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a762x39
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-10,-10), dispersion=list(0.0, 0.3, 0.6))
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_MANUAL_LOCK
|
||||
muzzle_velocity = 715
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 40
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/tkb408
|
||||
name = "TKB-408"
|
||||
desc ="An odd, bullpup, slavic assault rifle from some distant rimworld. Very sturdy, unbeleivably reliable. Chambered in 7.62x39mm."
|
||||
caliber = "7.62x39mm"
|
||||
magazine_type = /obj/item/ammo_magazine/akm
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/akm)
|
||||
icon_state = "tkb"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a762x39
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-10,-10), dispersion=list(0.0, 0.3, 0.6))
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_MANUAL_LOCK
|
||||
muzzle_velocity = 750
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 60
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/groza
|
||||
name = "OTs-14"
|
||||
desc = "A strangely ergonomic bullpup version of an AK. Commonly found in Pan-slavic speaking regions of space. All of the inscriptions on this thing are in pan-slavic. Chambered in 7.62x39mm."
|
||||
caliber = "7.62x39mm"
|
||||
magazine_type = /obj/item/ammo_magazine/akm
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/akm)
|
||||
icon_state = "groza"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a762x39
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-10,-10), dispersion=list(0.0, 0.3, 0.6))
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_MANUAL_LOCK
|
||||
muzzle_velocity = 685
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/plamya
|
||||
name = "WKHM 'Plamya' Mk. 1"
|
||||
desc = "The original Plamya assault rifle, produced by WKHM back in the 2330's. Highly sought after for their collectability, and their superb reliability. They don't quite make them like they used to. It may not fire as fast as the newer ones, but these old models haven't survived this long for no reason. This one has a classic walnut thumbhole stock and foregrip. It has a heavy titanium chassis, durasteel bolt, and the original style 'PPSh' heatshield. The gun is dated 2336, and bears the 'WKHM Endurance' arkship's production stamp on the buttstock. 'A light in the dark' is stamped into the receiver. Chambered in 9x39mm."
|
||||
description_fluff = "WKHM, is a minor arms company that has been around for quite some time, established in 2408. Known for being one of the many suppliers of weapons to dangerous worlds on the rim, and a part of the FTU. They produce a large variety of firearms, strike craft, and armored vehicles to fufill various their various contracts, and are largely migrant, moving wherever the money is. Found almost entirely on mobile production ships and various escort craft. Identifiable by their logo, a red Omega symbol with a black or white W in the middle. The sheer quantity of their firearms produced ensures they can be found.. just about anywhere, and they are very sought after by pirates for their reliability."
|
||||
caliber = "9x39mm"
|
||||
magazine_type = /obj/item/ammo_magazine/plamya
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/plamya)
|
||||
icon_state = "plamyac"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a9x39
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="5-round bursts", burst=5, fire_delay=0.5, move_delay=3.5, burst_accuracy=list(0,-10,-15,-20,-25), dispersion=list(0.0, 0.3, 0.6, 0.9, 1.1))
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_OPEN_EMPTY | LOCK_SLAPPABLE
|
||||
muzzle_velocity = 285
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 50
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/plamya/mk2
|
||||
name = "WKHM 'Plamya' Mk. 2"
|
||||
desc = "An old school assault rifle. A favorite on the rimworld for it's blisteringly high rate of fire. One of the best selling products of W-K Heavy Manufacturing. Virtually impossible to break. The gold standard, with a rosewood thumbhole stock, a full length barrel, and an improved heatshield. The most mass produced firearm in WKHM's lineup. This one bears the 'WKHM Adamant' arkship's production stamp. Chambered in 9x39mm."
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="5-round bursts", burst=5, fire_delay=0.5, move_delay=3.5, burst_accuracy=list(0,-5,-10,-10,-15), dispersion=list(0.0, 0.2, 0.35, 0.5, 0.6))
|
||||
)
|
||||
muzzle_velocity = 305
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/plamya/mk3
|
||||
name = "WKHM 'Plamya' Mk. 3"
|
||||
desc = "An old school assault rifle with a modern twist. A favorite on the rimworld for it's blisteringly high rate of fire. One of the best selling products of W-K Heavy Manufacturing. Virtually impossible to break. This is a newer variant, with a fully synthetic stock, and a shorter barrel. The serial number and production stamp has been sanded off. Chambered in 9x39mm."
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="5-round bursts", burst=5, fire_delay=0.5, move_delay=3.5, burst_accuracy=list(0,-7.5,-10,-15,-20), dispersion=list(0.0, 0.2, 0.4, 0.6, 0.7))
|
||||
)
|
||||
muzzle_velocity = 290
|
||||
|
||||
//Auto-shotgun, closer to the rifles than anything else though.
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/strela
|
||||
name = "WKHM 'Strela'"
|
||||
desc = "A fully automatic, 12 gauge assault shotgun, that goes by many names. The Strela, The Bear, The Mule- The list goes on. If the Plamya is the scalpel, This heavy chunk of forged steel and titanium is the sledgehammer. Bring a shoulder pad and some tramadol. This one has a nice walnut thumbhole stock, and an AK style fore end. It also bears the 'WKHM Endurance' arkship's production stamp. Chambered in 12 gauge."
|
||||
description_fluff = "WKHM, is a minor arms company that has been around for quite some time, established in 2408. Known for being one of the many suppliers of weapons to dangerous worlds on the rim, and a part of the FTU. They produce a large variety of firearms, strike craft, and armored vehicles to fufill various their various contracts, and are largely migrant, moving wherever the money is. Found almost entirely on mobile production ships and various escort craft. Identifiable by their logo, a red Omega symbol with a black or white W in the middle. The sheer quantity of their firearms produced ensures they can be found.. just about anywhere, and they are very sought after by pirates for their reliability."
|
||||
caliber = "12g"
|
||||
magazine_type = /obj/item/ammo_magazine/strela
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/strela)
|
||||
icon_state = "strela"
|
||||
projectile_type = /obj/item/projectile/bullet/shotgun
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="2-round bursts", burst=2, fire_delay=null, move_delay=3, burst_accuracy=list(0,-5), dispersion=list(0.0, 0.2)),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-10,-10), dispersion=list(0.0, 0.3, 0.6))
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_OPEN_EMPTY | LOCK_SLAPPABLE
|
||||
muzzle_velocity = 470
|
||||
w_class = ITEMSIZE_HUGE
|
||||
one_handed_penalty = 50
|
||||
|
||||
//SMGs
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/ppsh
|
||||
name = "PPSh-17b"
|
||||
desc = "A cheap remake of the venerable russian PPSh-41. Empties a 71 round magazine in less than 10 seconds. Compensates for poor accuracy with volume of bullet. Every inscription on this thing is in pan-slavic. Chambered in 7.62x25mm Tokarev."
|
||||
caliber = "7.62x25mm"
|
||||
magazine_type = /obj/item/ammo_magazine/ppsh
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/ppsh)
|
||||
icon_state="ppsh"
|
||||
projectile_type = /obj/item/projectile/bullet/a762x25
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-10,-10), dispersion=list(0.0, 0.3, 0.6))
|
||||
)
|
||||
auto_loading_type = OPEN_BOLT
|
||||
load_method = MAGAZINE
|
||||
muzzle_velocity = 488
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/mp5
|
||||
name = "MP5"
|
||||
desc = "A favorite of law enforcement and corporate security across the galaxy for centuries. This old H&K design has survived the test of time. And while in many places it has been replaced long ago, it still stands as a reliable weapon platform. No need to fix what isn't broken. Chambered in 9mm."
|
||||
caliber = "9mm"
|
||||
magazine_type = /obj/item/ammo_magazine/mp5mag
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/mp5mag)
|
||||
icon_state="mp5"
|
||||
projectile_type = /obj/item/projectile/bullet/pistol
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-10,-10), dispersion=list(0.0, 0.3, 0.6))
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
muzzle_velocity = 400
|
||||
is_long = FALSE
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/vityaz
|
||||
name = "WKHM 'Vityaz'"
|
||||
desc = "A swarm of angry bees. The Plamya's baby brother. With 12 total moving parts, including the trigger mechanism, this gun was built with one purpose. Longevity and reliability. Commonly found in the hands of private security, criminals, and law enforcement alike across many worlds. This one is unmarked. Chambered in 10mm."
|
||||
description_fluff = "WKHM, is a minor arms company that has been around for quite some time, established in 2408. Known for being one of the many suppliers of weapons to dangerous worlds on the rim, and a part of the FTU. They produce a large variety of firearms, strike craft, and armored vehicles to fufill various their various contracts, and are largely migrant, moving wherever the money is. Found almost entirely on mobile production ships and various escort craft. Identifiable by their logo, a red Omega symbol with a black or white W in the middle. The sheer quantity of their firearms produced ensures they can be found.. just about anywhere, and they are very sought after by pirates for their reliability."
|
||||
caliber = "10mm"
|
||||
magazine_type = /obj/item/ammo_magazine/m10mm
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/m10mm)
|
||||
icon_state = "vityaz"
|
||||
projectile_type = /obj/item/projectile/bullet/a10mm
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-10,-10), dispersion=list(0.0, 0.3, 0.6))
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_OPEN_EMPTY | LOCK_SLAPPABLE
|
||||
muzzle_velocity = 430
|
||||
is_long = FALSE
|
||||
|
||||
//LMGs
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/molniya
|
||||
name = "WKHM 'Molniya'"
|
||||
desc = "A light machinegun manufactured by WKHM for various paramilitaries, private security companies, and rimworld governments. Big, heavy, and with a fire rate similar to that of an MG42. Often used in emplacements and on top of armored vehicles, or as a squad support weapon. Nicknamed the 'Pig' or the 'Sawzall', this one has a solid oak stock, and bears the 'WKHM Adamant' arkship's production stamp. If you ever see this gun, there is no doubt shit's about to go down. Chambered in 7.62x51mm."
|
||||
description_fluff = "WKHM, is a minor arms company that has been around for quite some time, established in 2408. Known for being one of the many suppliers of weapons to dangerous worlds on the rim, and a part of the FTU. They produce a large variety of firearms, strike craft, and armored vehicles to fufill various their various contracts, and are largely migrant, moving wherever the money is. Found almost entirely on mobile production ships and various escort craft. Identifiable by their logo, a red Omega symbol with a black or white W in the middle. The sheer quantity of their firearms produced ensures they can be found.. just about anywhere, and they are very sought after by pirates for their reliability."
|
||||
caliber = "7.62mm"
|
||||
magazine_type = /obj/item/ammo_magazine/molniya
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/molniya)
|
||||
icon_state = "molniya"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a762
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-15,-15), dispersion=list(0.0, 0.6, 1.0)),
|
||||
list(mode_name="short bursts", burst=5, move_delay=6, burst_accuracy = list(0,-15,-15,-30,-30), dispersion = list(0.6, 1.0, 1.0, 1.0, 1.2))
|
||||
)
|
||||
load_method = MAGAZINE
|
||||
auto_loading_type = OPEN_BOLT
|
||||
muzzle_velocity = 860
|
||||
one_handed_penalty = 90
|
||||
|
||||
//Pistols
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/ssp4
|
||||
name = "WKHM SSP4"
|
||||
desc = "A unique, high end service pistol carried by W-K security personnel in the outer rim, and various law enforcement agencies across the galaxy. Features a hidden ejector port, and an integral laser sight. Surprisingly reliable despite its unorthodox design. This one bears the 'WKHM Obsidian' arkship's production stamp. Chambered in 10mm."
|
||||
description_fluff = "WKHM, is a minor arms company that has been around for quite some time, established in 2408. Known for being one of the many suppliers of weapons to dangerous worlds on the rim, and a part of the FTU. They produce a large variety of firearms, strike craft, and armored vehicles to fufill various their various contracts, and are largely migrant, moving wherever the money is. Found almost entirely on mobile production ships and various escort craft. Identifiable by their logo, a red Omega symbol with a black or white W in the middle. The sheer quantity of their firearms produced ensures they can be found.. just about anywhere, and they are very sought after by pirates for their reliability."
|
||||
caliber = "10mm"
|
||||
magazine_type = /obj/item/ammo_magazine/ssp4
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/ssp4)
|
||||
icon_state = "ssp4"
|
||||
projectile_type = /obj/item/projectile/bullet/a10mm
|
||||
load_method = MAGAZINE
|
||||
bolt_name="slide"
|
||||
bolt_release = "slide release"
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_OPEN_EMPTY
|
||||
muzzle_velocity = 405
|
||||
is_long = FALSE
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/serdy/ssp4/silenced
|
||||
name = "WKHM SSP4-S"
|
||||
desc = "A unique, high end service pistol carried by W-K security personnel in the outer rim, and various law enforcement agencies across the galaxy. Features a hidden ejector port, and an integral laser sight. Surprisingly reliable despite its unorthodox design. This one is unmarked and is suppressed. Due to the minimal amount of moving parts, this gun is almost completely silent when used with subsonic ammunition. Chambered in 10mm."
|
||||
silenced = 1
|
||||
icon_state = "ssp4s"
|
||||
|
||||
/obj/item/weapon/gun/projectile/serdy_pistols
|
||||
icon = 'icons/obj/gun_ch.dmi'
|
||||
bolt_name="slide"
|
||||
bolt_release = "slide release"
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_OPEN_EMPTY
|
||||
load_method = MAGAZINE
|
||||
|
||||
/obj/item/weapon/gun/projectile/serdy_pistols/makarov
|
||||
name = "Makarov PM"
|
||||
desc = "The venerable Makarov. An easily concealable 9x18mm pistol design from Russia. This one is old and worn, but still reliable as ever. Chambered in 9x18mm makarov."
|
||||
icon_state = "makarov"
|
||||
caliber = "9x18mm"
|
||||
magazine_type = /obj/item/ammo_magazine/makarov
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/makarov)
|
||||
projectile_type = /obj/item/projectile/bullet/a9x18
|
||||
muzzle_velocity = 315
|
||||
|
||||
/obj/item/weapon/gun/projectile/serdy_pistols/vp70m
|
||||
name = "VP70M"
|
||||
desc = "Old Matilda. An ancient design, one of the first, if not the first entirely polymer framed pistols. Can commonly be found in the hands of.. well, anybody with access to a 3d printer. The designs for this pistol are absolutely everywhere, and it's still a favorite to this day, 500 some-odd years later. Chambered in 9mm."
|
||||
icon_state = "vp70"
|
||||
caliber = "9mm"
|
||||
magazine_type = /obj/item/ammo_magazine/m9mm/vp70
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/m9mm)
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-20,-40), dispersion=list(0.0, 0.9, 1.8))
|
||||
)
|
||||
projectile_type = /obj/item/projectile/bullet/pistol
|
||||
muzzle_velocity = 365
|
||||
|
||||
/obj/item/weapon/gun/projectile/serdy_pistols/glock71
|
||||
name = "Glock 71"
|
||||
desc = "Following the same design for centuries, the Glock 71 is one of the most reliable sidearms you can buy for cheap these days. These things are everywhere, and for good reason. Chambered in 9mm."
|
||||
icon_state = "glock"
|
||||
caliber = "9mm"
|
||||
magazine_type = /obj/item/ammo_magazine/m9mm/large
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/m9mm)
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=0, move_delay=null, burst_accuracy=null, dispersion=null),
|
||||
list(mode_name="3-round bursts", burst=3, fire_delay=null, move_delay=4, burst_accuracy=list(0,-20,-40), dispersion=list(0.0, 0.9, 1.8))
|
||||
)
|
||||
projectile_type = /obj/item/projectile/bullet/pistol
|
||||
muzzle_velocity = 375
|
||||
|
||||
/obj/item/weapon/gun/projectile/revolver/nagant
|
||||
name = "nagant revolver"
|
||||
desc = "A 7 shot, gas-seal revolver designed to have increased muzzle velocity by not allowing excess gasses to escape out of the sides of the cylinder. One of the few revolvers that can be suppressed. Good luck finding a suppressor for one, though. Chambered in .357."
|
||||
icon = 'icons/obj/gun_ch.dmi'
|
||||
icon_state = "nagant"
|
||||
max_shells = 7
|
||||
|
||||
/obj/item/weapon/gun/projectile/revolver/nagant/skinned
|
||||
name = "nagant revolver"
|
||||
icon_state = "nagantb"
|
||||
|
||||
//Time to give all these existing guns some new properties.
|
||||
//automatic.dm
|
||||
@@ -258,6 +686,22 @@
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/sts35
|
||||
muzzle_velocity = 900 //Based off AK-74
|
||||
icon = 'icons/obj/64x32guns_ch.dmi'
|
||||
icon_state = "sts35"
|
||||
icon_expected_height = 32
|
||||
icon_expected_width = 64
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/sts35/update_icon()
|
||||
. = ..()
|
||||
icon_state = ammo_magazine ? "[initial(icon_state)]" : "[initial(icon_state)]-e"
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/sts35/Initialize()
|
||||
. = ..()
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/sts35/update_transform()
|
||||
. = ..()
|
||||
transform = transform.Translate(-16,0)
|
||||
|
||||
/obj/item/weapon/gun/projectile/automatic/wt550
|
||||
muzzle_velocity = 375 //Guestimation
|
||||
@@ -317,6 +761,10 @@
|
||||
//boltaction.dm
|
||||
/obj/item/weapon/gun/projectile/shotgun/pump/rifle
|
||||
muzzle_velocity = 860 //Guestimation
|
||||
is64x32 = FALSE
|
||||
icon_expected_height = 32
|
||||
icon_expected_width = 32
|
||||
icon = 'icons/obj/gun.dmi'
|
||||
|
||||
//caseless.dm
|
||||
/obj/item/weapon/gun/projectile/caseless
|
||||
@@ -338,6 +786,26 @@
|
||||
bolt_release = "slide release"
|
||||
auto_loading_type = CLOSED_BOLT | LOCK_OPEN_EMPTY
|
||||
muzzle_velocity = 253 //M1911
|
||||
icon = 'icons/obj/gun_ch.dmi'
|
||||
icon_state = "m1911"
|
||||
|
||||
/obj/item/weapon/gun/projectile/colt/Initialize()
|
||||
.=..()
|
||||
update_icon()
|
||||
|
||||
/obj/item/weapon/gun/projectile/colt/update_icon()
|
||||
if(ammo_magazine)
|
||||
if(unique_reskin)
|
||||
icon = 'icons/obj/gun.dmi'
|
||||
icon_state = unique_reskin
|
||||
else
|
||||
icon_state = initial(icon_state)
|
||||
else
|
||||
if(unique_reskin)
|
||||
icon = 'icons/obj/gun.dmi'
|
||||
icon_state = "[unique_reskin]-e"
|
||||
else
|
||||
icon_state = "[initial(icon_state)]-e"
|
||||
|
||||
/obj/item/weapon/gun/projectile/sec
|
||||
bolt_name="slide"
|
||||
@@ -467,6 +935,7 @@
|
||||
sound_ejectchamber = 'sound/weapons/ballistics/rifle_ejectchamber.ogg'
|
||||
sound_eject = 'sound/weapons/ballistics/rifle_eject.ogg'
|
||||
sound_chamber = 'sound/weapons/ballistics/rifle_chamber.ogg'
|
||||
only_open_load = TRUE
|
||||
|
||||
/obj/item/weapon/gun/projectile/revolvingrifle
|
||||
manual_chamber = FALSE
|
||||
@@ -478,10 +947,53 @@
|
||||
|
||||
/obj/item/weapon/gun/projectile/shotgun/pump
|
||||
manual_chamber = FALSE
|
||||
icon = 'icons/obj/64x32guns_ch.dmi'
|
||||
icon_state = "winchester"
|
||||
icon_expected_height = 32
|
||||
icon_expected_width = 64
|
||||
pump_animation = "winchester-pump"
|
||||
var/is64x32 = TRUE
|
||||
var/is_picked_up = FALSE
|
||||
|
||||
/obj/item/weapon/gun/projectile/shotgun/pump/Initialize()
|
||||
. = ..()
|
||||
if(is64x32)
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/projectile/shotgun/pump/equipped()
|
||||
. = ..()
|
||||
is_picked_up = TRUE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/projectile/shotgun/pump/pickup()
|
||||
. = ..()
|
||||
is_picked_up = TRUE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/projectile/shotgun/pump/dropped()
|
||||
. = ..()
|
||||
is_picked_up = FALSE
|
||||
update_transform()
|
||||
|
||||
/obj/item/weapon/gun/projectile/shotgun/pump/update_transform()
|
||||
. = ..()
|
||||
if(is64x32)
|
||||
if(is_picked_up)
|
||||
transform = transform.Turn(-45)
|
||||
transform = transform.Translate(-16,0)
|
||||
|
||||
/obj/item/weapon/gun/projectile/shotgun/pump/combat
|
||||
icon = 'icons/obj/64x32guns_ch.dmi'
|
||||
|
||||
/obj/item/weapon/gun/projectile/shotgun/doublebarrel
|
||||
manual_chamber = FALSE
|
||||
|
||||
//shotgun_vr.dm
|
||||
/obj/item/weapon/gun/projectile/shotgun/pump/USDF
|
||||
is64x32 = FALSE
|
||||
icon_expected_height = 32
|
||||
icon_expected_width = 32
|
||||
|
||||
//shotgun_yw.dm
|
||||
/obj/item/weapon/gun/projectile/revolvershotgun
|
||||
manual_chamber = FALSE
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
/obj/item/weapon/gun/projectile
|
||||
var/manual_chamber = TRUE
|
||||
var/only_open_load = FALSE
|
||||
var/auto_loading_type = CLOSED_BOLT | LOCK_MANUAL_LOCK | LOCK_SLAPPABLE
|
||||
var/bolt_name = "bolt"
|
||||
var/bolt_open = FALSE
|
||||
@@ -69,7 +70,7 @@
|
||||
if(chambered)
|
||||
chambered.expend()
|
||||
if(!manual_chamber) process_chambered()
|
||||
if(manual_chamber)
|
||||
if(manual_chamber && auto_loading_type)
|
||||
bolt_toggle()
|
||||
|
||||
/obj/item/weapon/gun/projectile/attack_self(mob/user as mob)
|
||||
@@ -84,6 +85,7 @@
|
||||
/obj/item/weapon/gun/projectile/proc/bolt_handle(mob/user)
|
||||
var/previous_chambered = chambered
|
||||
var/result = bolt_toggle(TRUE)
|
||||
update_icon()
|
||||
if(!result)
|
||||
to_chat(user,"<span class='notice'>Nothing happens.</span>")
|
||||
else
|
||||
@@ -159,10 +161,10 @@
|
||||
else
|
||||
bolt_open = TRUE
|
||||
var/ejected = process_chambered()
|
||||
var/chambering = chamber_bullet()
|
||||
|
||||
var/output = BOLT_OPENED
|
||||
if(ejected) output |= BOLT_CASING_EJECTED
|
||||
if(chambering) output |= BOLT_CASING_CHAMBERED
|
||||
//if(chambering) output |= BOLT_CASING_CHAMBERED
|
||||
return output
|
||||
else
|
||||
if(auto_loading_type)
|
||||
@@ -192,7 +194,10 @@
|
||||
return BOLT_CLOSED
|
||||
else
|
||||
bolt_open = FALSE
|
||||
return BOLT_CLOSED
|
||||
var/output = BOLT_CLOSED
|
||||
var/chambering = chamber_bullet()
|
||||
if(chambering) output |= BOLT_CASING_CHAMBERED
|
||||
return output
|
||||
|
||||
|
||||
/obj/item/weapon/gun/projectile/process_chambered()
|
||||
@@ -250,6 +255,8 @@
|
||||
return null
|
||||
|
||||
/obj/item/weapon/gun/projectile/proc/chamber_bullet()
|
||||
if(chambered)
|
||||
return 0
|
||||
var/obj/item/ammo_casing/to_chamber
|
||||
if(loaded.len)
|
||||
to_chamber = loaded[1] //load next casing.
|
||||
@@ -288,6 +295,9 @@
|
||||
bolt_toggle()
|
||||
playsound(src, 'sound/weapons/flipblade.ogg', 50, 1)
|
||||
if(SPEEDLOADER)
|
||||
if(only_open_load && !bolt_open)
|
||||
to_chat(user, "<span_class='warning'>[src] must have its bolt open to be loaded!</span>")
|
||||
return
|
||||
if(loaded.len >= max_shells)
|
||||
to_chat(user, "<span class='warning'>[src] is full!</span>")
|
||||
return
|
||||
@@ -340,6 +350,9 @@
|
||||
return
|
||||
else
|
||||
return
|
||||
if(only_open_load && !bolt_open)
|
||||
to_chat(user, "<span_class='warning'>[src] must have its bolt open to be loaded!</span>")
|
||||
return
|
||||
if(loaded.len >= max_shells)
|
||||
to_chat(user, "<span class='warning'>[src] is full.</span>")
|
||||
return
|
||||
@@ -411,11 +424,29 @@
|
||||
else if(CHECK_BITFIELD(auto_loading_type,CLOSED_BOLT) && bolt_open)
|
||||
to_chat(user,"<span class='warning'>This is a closed bolt gun! You need to close the bolt before firing it!</span>")
|
||||
return 0
|
||||
else if(bolt_open)
|
||||
to_chat(user,"<span class='warning'>This is a manual action gun, the bolt or chamber must be closed before firing it!</span>")
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
else
|
||||
return 1
|
||||
|
||||
/obj/item/weapon/gun/projectile/unload_ammo(mob/user, var/allow_dump=1)
|
||||
if(manual_chamber && only_open_load && !bolt_open)
|
||||
to_chat(user,"<span class='warning'>You must open the bolt to load or unload this gun!</span>")
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/item/weapon/gun/projectile/handle_click_empty(mob/user)
|
||||
if (user)
|
||||
user.visible_message("*click click*", "<span class='danger'>*click*</span>")
|
||||
else
|
||||
src.visible_message("*click click*")
|
||||
playsound(src, 'sound/weapons/empty.ogg', 100, 1)
|
||||
if(!manual_chamber)
|
||||
process_chambered()
|
||||
|
||||
/obj/item/weapon/gun/projectile/New(loc, var/starts_loaded = 1)
|
||||
..()
|
||||
if(manual_chamber)
|
||||
@@ -451,4 +482,4 @@
|
||||
P.velocity = initial(P.velocity)
|
||||
if(!istype(P))
|
||||
return
|
||||
P.sub_velocity(P.velocity - 35)
|
||||
P.sub_velocity(P.velocity - 35)
|
||||
|
||||
@@ -126,6 +126,18 @@ only use the hollow_point and armor_penetration values.*/
|
||||
hollow_point = TRUE
|
||||
armor_penetration = -50
|
||||
|
||||
/obj/item/projectile/bullet/a762x25
|
||||
fire_sound = 'sound/weapons/gunshot2.ogg'
|
||||
diam = 7.92
|
||||
grains = 85
|
||||
velocity = 469
|
||||
|
||||
/obj/item/projectile/bullet/a9x18
|
||||
fire_sound = 'sound/weapons/gunshot2.ogg'
|
||||
diam = 9.27
|
||||
grains = 95
|
||||
velocity = 319
|
||||
|
||||
/obj/item/projectile/bullet/a10mm
|
||||
fire_sound = 'sound/weapons/gunshot2.ogg'
|
||||
diam = 10.17
|
||||
@@ -322,6 +334,30 @@ only use the hollow_point and armor_penetration values.*/
|
||||
/obj/item/projectile/bullet/rifle/a762x54/ap
|
||||
armor_penetration = 50
|
||||
|
||||
/obj/item/projectile/bullet/rifle/a338
|
||||
fire_sound = 'sound/weapons/ballistics/a762x54.ogg'
|
||||
damage = 45
|
||||
diam = 8.61
|
||||
grains = 250
|
||||
velocity = 921
|
||||
hitscan = 1
|
||||
penetrating = 2
|
||||
|
||||
/obj/item/projectile/bullet/rifle/a338/ap
|
||||
armor_penetration = 50
|
||||
|
||||
/obj/item/projectile/bullet/rifle/a50bmg
|
||||
fire_sound = 'sound/weapons/ballistics/a145.ogg'
|
||||
damage = 65
|
||||
diam = 13
|
||||
grains = 750
|
||||
velocity = 860
|
||||
hitscan = 1
|
||||
penetrating = 2
|
||||
|
||||
/obj/item/projectile/bullet/rifle/a50bmg/ap
|
||||
armor_penetration = 50
|
||||
|
||||
//NOTE: Ammo casings and magazines used to be in this part of the file. They have been moved to respective files in the projectiles/ammunition folder.
|
||||
|
||||
//Various "We're not dealing with this shit because of how bad it is" (Some of these may be implemented into the new system with later updates)
|
||||
|
||||
Reference in New Issue
Block a user