diff --git a/code/modules/projectiles/ammunition/zz_autolathe_ch.dm b/code/modules/projectiles/ammunition/zz_autolathe_ch.dm index 29265a3bbe..46698bef8d 100644 --- a/code/modules/projectiles/ammunition/zz_autolathe_ch.dm +++ b/code/modules/projectiles/ammunition/zz_autolathe_ch.dm @@ -200,4 +200,66 @@ /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 + +/datum/category_item/autolathe/arms/tp23_44 + name = "TP-23 TS magazine (.44 magnum standard)" + path = /obj/item/ammo_magazine/tp23s + hidden = 1 + +/datum/category_item/autolathe/arms/tp23_44_rubber + name = "TP-23 TS magazine (.44 magnum less-lethal)" + path = /obj/item/ammo_magazine/tp23s/rubber + +/datum/category_item/autolathe/arms/tp23_45 + name = "TP-23 magazine (.45 ACP standard)" + path = /obj/item/ammo_magazine/tp23 + hidden = 1 + +/datum/category_item/autolathe/arms/tp23_45_ap + name = "TP-23 magazine (.45 ACP armor-piercing)" + path = /obj/item/ammo_magazine/tp23/ap + hidden = 1 + +/datum/category_item/autolathe/arms/tp23_45_hp + name = "TP-23 magazine (.45 ACP hollow-point)" + path = /obj/item/ammo_magazine/tp23/hp + hidden = 1 + +/datum/category_item/autolathe/arms/tp23_45_emp + name = "TP-23 magazine (.45 ACP low-yield EMP)" + path = /obj/item/ammo_magazine/tp23/emp + hidden = 1 + +/datum/category_item/autolathe/arms/tp23_45_flash + name = "TP-23 magazine (.45 ACP flash)" + path = /obj/item/ammo_magazine/tp23/flash + +/datum/category_item/autolathe/arms/tp23_45_rubber + name = "TP-23 magazine (.45 ACP rubber)" + path = /obj/item/ammo_magazine/tp23/rubber + +/datum/category_item/autolathe/arms/ar10_762x51 + name = "AR-10 magazine(7.62x51mm standard)" + path = /obj/item/ammo_magazine/ar10 + hidden = 1 + +/datum/category_item/autolathe/arms/fal_762x51 + name = "FAL magazine(7.62x51mm standard)" + path = /obj/item/ammo_magazine/fal + hidden = 1 + +/datum/category_item/autolathe/arms/smg_pitch + name = "pitchgun magazine(.44 magnum standard)" + path = /obj/item/ammo_magazine/pitchmag + hidden = 1 + +/datum/category_item/autolathe/arms/rpdm_762x39 + name = "RPDM Drum magazine(7.62x39mm standard)" + path = /obj/item/ammo_magazine/rpd + hidden = 1 + +/datum/category_item/autolathe/arms/rpk_762x39 + name = "RPK Drum magazine(7.62x39mm standard)" + path = /obj/item/ammo_magazine/akm/drum hidden = 1 \ No newline at end of file diff --git a/code/modules/projectiles/ammunition/zz_magazines_ch.dm b/code/modules/projectiles/ammunition/zz_magazines_ch.dm index 7806eaaf9e..0684c2d241 100644 --- a/code/modules/projectiles/ammunition/zz_magazines_ch.dm +++ b/code/modules/projectiles/ammunition/zz_magazines_ch.dm @@ -174,6 +174,17 @@ multiple_sprites = 1 ammo_type = /obj/item/ammo_casing/a10x24 +/obj/item/ammo_magazine/t12 + name = "T-12 magazine (10x24mm standard)" + icon = 'icons/obj/ammo_ch.dmi' + icon_state = "t12" + max_ammo = 40 + mag_type = MAGAZINE + caliber = "10x24mm" + matter = list(DEFAULT_WALL_MATERIAL = 10000) + multiple_sprites = 1 + ammo_type = /obj/item/ammo_casing/a10x24 + /obj/item/ammo_magazine/clip/sks name = "Ammo clip(7.62x39mm standard)" icon_state = "gclip" @@ -222,7 +233,7 @@ name = "AR-10 magazine(7.62x51mm standard)" icon = 'icons/obj/ammo_ch.dmi' caliber = "7.62mm" - icon_state = "m41mag" //This just looks the closest IMO + icon_state = "t12" max_ammo = 20 mag_type = MAGAZINE multiple_sprites = 1 @@ -238,7 +249,7 @@ name = "FAL magazine(7.62x51mm standard)" icon = 'icons/obj/ammo_ch.dmi' caliber = "7.62mm" - icon_state = "m41mag" //This just looks the closest IMO + icon_state = "t12" max_ammo = 20 mag_type = MAGAZINE multiple_sprites = 1 @@ -435,3 +446,54 @@ /obj/item/ammo_magazine/m9mm/vp70/hp name = "VP70 magazine (18x 9x19mm hollow-point)" ammo_type = /obj/item/ammo_casing/a9mm/ap + +/obj/item/ammo_magazine/tp23s + name = "TP-23 TS magazine (.44 magnum standard)" + icon = 'icons/obj/ammo_ch.dmi' + icon_state = "45mag" + max_ammo = 12 + mag_type = MAGAZINE + caliber = ".44" + matter = list(DEFAULT_WALL_MATERIAL = 800) + multiple_sprites = 1 + ammo_type = /obj/item/ammo_casing/a44 + +/obj/item/ammo_magazine/tp23s/rubber + name = "TP-23 TS magazine (.44 magnum less-lethal)" + ammo_type = /obj/item/ammo_casing/a44/rubber + +/obj/item/ammo_magazine/tp23s/highpower + name = "TP-23 TS magazine (.44 magnum +P)" + desc = "This will probably void your warranty... If you have one." + ammo_type = /obj/item/ammo_casing/a44/rifle + +/obj/item/ammo_magazine/tp23 + name = "TP-23 magazine (.45 ACP)" + icon = 'icons/obj/ammo_ch.dmi' + icon_state = "45mag" + max_ammo = 12 + mag_type = MAGAZINE + caliber = ".45" + matter = list(DEFAULT_WALL_MATERIAL = 800) + multiple_sprites = 1 + ammo_type = /obj/item/ammo_casing/a45 + +/obj/item/ammo_magazine/tp23/rubber + name = "TP-23 magazine (.45 ACP rubber)" + ammo_type = /obj/item/ammo_casing/a45/rubber + +/obj/item/ammo_magazine/tp23/flash + name = "TP-23 magazine (.45 ACP flash)" + ammo_type = /obj/item/ammo_casing/a45/flash + +/obj/item/ammo_magazine/tp23/hp + name = "TP-23 magazine (.45 ACP hollow-point)" + ammo_type = /obj/item/ammo_casing/a45/hp + +/obj/item/ammo_magazine/tp23/ap + name = "TP-23 magazine (.45 ACP armor piercing)" + ammo_type = /obj/item/ammo_casing/a45/ap + +/obj/item/ammo_magazine/tp23/emp + name = "TP-23 magazine (.45 ACP low-yield EMP)" + ammo_type = /obj/item/ammo_casing/a45/emp diff --git a/code/modules/projectiles/ammunition/zz_rounds_ch.dm b/code/modules/projectiles/ammunition/zz_rounds_ch.dm index ad5df5f3ef..cb60847352 100644 --- a/code/modules/projectiles/ammunition/zz_rounds_ch.dm +++ b/code/modules/projectiles/ammunition/zz_rounds_ch.dm @@ -49,6 +49,7 @@ /obj/item/ammo_casing/a762x54 desc = "A standard 7.62x54mmR round" caliber = "7.62x54mmR" + icon_state = "rifle-casing" projectile_type = /obj/item/projectile/bullet/rifle/a762x54 matter = list(DEFAULT_WALL_MATERIAL = 160) @@ -59,6 +60,7 @@ /obj/item/ammo_casing/a338 desc = "A standard .338 Lapua round" caliber = ".338" + icon_state = "lcasing" projectile_type = /obj/item/projectile/bullet/rifle/a338 /obj/item/ammo_casing/a338/ap @@ -68,6 +70,7 @@ /obj/item/ammo_casing/a50bmg desc = "A standard .50 BMG round" caliber = ".50 BMG" + icon_state = "lcasing" projectile_type = /obj/item/projectile/bullet/rifle/a50bmg /obj/item/ammo_casing/a50bmg/ap @@ -77,11 +80,13 @@ /obj/item/ammo_casing/a127x108 desc = "A standard 12.7x108mm round" caliber = "12.7x108mm" + icon_state = "lcasing" projectile_type = /obj/item/projectile/bullet/rifle/a127x108 /obj/item/ammo_casing/a9x39 desc = "A standard 9x39mm round" caliber = "9x39mm" + icon_state = "rifle-casing" projectile_type = /obj/item/projectile/bullet/rifle/a9x39 /obj/item/ammo_casing/a9x39/ap @@ -91,6 +96,7 @@ /obj/item/ammo_casing/a762x39 desc = "A standard 7.62x39mm round" caliber = "7.62x39mm" + icon_state = "rifle-casing" projectile_type = /obj/item/projectile/bullet/rifle/a762x39 /obj/item/ammo_casing/a762x39/ap @@ -104,6 +110,7 @@ /obj/item/ammo_casing/a556 desc = "A standard 5.56x45mm round" caliber = "5.56x45mm" + icon_state = "rifle-casing" projectile_type = /obj/item/projectile/bullet/rifle/a556 /obj/item/ammo_casing/a556/ap @@ -116,4 +123,6 @@ /obj/item/ammo_casing/a10x24 desc = "A standard 10x24mm caseless round" + icon_state = "rifle-casing" + caseless = 1 projectile_type = /obj/item/projectile/bullet/rifle/a10x24 \ No newline at end of file diff --git a/code/modules/projectiles/guns/projectile/zz_ballistics_ch.dm b/code/modules/projectiles/guns/projectile/zz_ballistics_ch.dm index 4aecf52686..d95e04b9ec 100644 --- a/code/modules/projectiles/guns/projectile/zz_ballistics_ch.dm +++ b/code/modules/projectiles/guns/projectile/zz_ballistics_ch.dm @@ -311,7 +311,7 @@ auto_loading_type = CLOSED_BOLT | LOCK_OPEN_EMPTY | LOCK_SLAPPABLE load_method = MAGAZINE muzzle_velocity = 960 - w_class = ITEMSIZE_HUGE + w_class = ITEMSIZE_LARGE one_handed_penalty = 40 /obj/item/weapon/gun/projectile/automatic/serdy/ar10 @@ -347,6 +347,7 @@ muzzle_velocity = 840 w_class = ITEMSIZE_HUGE one_handed_penalty = 50 + fire_sound = "sound/weapons/serdy/m41a.ogg" /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" @@ -364,13 +365,14 @@ muzzle_velocity = 840 w_class = ITEMSIZE_HUGE one_handed_penalty = 50 + fire_sound = "sound/weapons/serdy/m41a.ogg" /obj/item/weapon/gun/projectile/automatic/serdy/t12 //This gun is pretty overpowered. Leaving it as an admin spawn. name = "T-12" desc = "The standard issue rifle of both the SGC and the USDF nowadays, alongside the newer versions of the M41A/2. A caseless version of the classic G36E. Some folk call it the lego gun because of how light it is, even when loaded. Chambered in 10x24mm Caseless." - caliber = "10x24mm caseless" - magazine_type = /obj/item/ammo_magazine/m41 - allowed_magazines = list(/obj/item/ammo_magazine/m41) + caliber = "10x24mm" + magazine_type = /obj/item/ammo_magazine/t12 + allowed_magazines = list(/obj/item/ammo_magazine/t12) icon_state="t12" projectile_type = /obj/item/projectile/bullet/rifle/a10x24 firemodes = list( @@ -381,17 +383,18 @@ muzzle_velocity = 840 w_class = ITEMSIZE_HUGE one_handed_penalty = 50 + fire_sound = "sound/weapons/serdy/type901.ogg" /obj/item/weapon/gun/projectile/automatic/serdy/fal - name = "FAL" + name = "FN-FAL" desc = "The right arm of the free galaxy. Chambered in 7.62x51mm." - caliber = "5.56x45mm" + caliber = "7.62x51mm" auto_loading_type = CLOSED_BOLT | LOCK_OPEN_EMPTY load_method = MAGAZINE magazine_type = /obj/item/ammo_magazine/fal allowed_magazines = list(/obj/item/ammo_magazine/fal) icon_state = "fal" - projectile_type = /obj/item/projectile/bullet/rifle/a762x39 + projectile_type = /obj/item/projectile/bullet/rifle/a762 muzzle_velocity = 840 w_class = ITEMSIZE_HUGE one_handed_penalty = 40 @@ -406,9 +409,9 @@ magazine_type = /obj/item/ammo_magazine/m16 allowed_magazines = list(/obj/item/ammo_magazine/m16) icon_state = "keltecG" - projectile_type = /obj/item/projectile/bullet/rifle/a762x39 + projectile_type = /obj/item/projectile/bullet/rifle/a556 muzzle_velocity = 950 - w_class = ITEMSIZE_HUGE + w_class = ITEMSIZE_LARGE one_handed_penalty = 40 fire_sound = "sound/weapons/serdy/sks.ogg" @@ -504,7 +507,7 @@ 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 + w_class = ITEMSIZE_LARGE one_handed_penalty = 30 /obj/item/weapon/gun/projectile/automatic/serdy/awp @@ -545,7 +548,7 @@ 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 + projectile_type = /obj/item/projectile/bullet/rifle/a145 //the old round type was ass load_method = MAGAZINE muzzle_velocity = 825 action_button_name = "Use Scope" @@ -628,7 +631,7 @@ caliber = "9x39mm" magazine_type = /obj/item/ammo_magazine/plamya allowed_magazines = list(/obj/item/ammo_magazine/plamya) - icon_state = "plamyac" + icon_state = "plamyab" 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), @@ -653,7 +656,7 @@ /obj/item/weapon/gun/projectile/automatic/serdy/plamya/mk3 name = "WKHM 'Plamya' Mk. 3" - icon_state = "plamyab" + icon_state = "plamyac" 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), @@ -685,16 +688,11 @@ /obj/item/weapon/gun/projectile/automatic/serdy/spas35 name = "Spas-35" - desc = "A complex pump shotgun, modelled after the classic Spas-12. Upgraded with durable parts to fix the flaws of the classic. Also sometimes called the T-35, if you're with the SGC or the USDF. The absolute king of CQC encounters. 8 round capacity, chambered in 12 gauge." + desc = "A complex pump shotgun, modelled after the classic Spas-12. Upgraded with durable parts to fix the flaws of the classic. Also sometimes called the T-35, if you're with the SGC or the USDF. The absolute king of CQC encounters. 8 round capacity, chambered in 12 gauge." caliber = "12g" icon_state = "spas12" ammo_type = /obj/item/ammo_casing/a12g/pellet 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)) - ) max_shells = 7 bolt_name = "bolt" bolt_release = null //No bolt release on spas-12 @@ -776,6 +774,28 @@ fire_sound = "sound/weapons/serdy/vityaz.ogg" move_delay = 0 // CHOMPEdit: Pistols have move_delay of 0 +/obj/item/weapon/gun/projectile/automatic/serdy/vityazb + name = "WKHM 'Vityaz' B" + 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 a B model, made to fire faster, at the expense of reliability. 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" + burst_delay = 1 + 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 + fire_sound = "sound/weapons/serdy/vityaz.ogg" + move_delay = 0 // CHOMPEdit: Pistols have move_delay of 0 + + //LMGs /obj/item/weapon/gun/projectile/automatic/serdy/molniya @@ -783,6 +803,7 @@ 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" + burst_delay = 1 magazine_type = /obj/item/ammo_magazine/molniya allowed_magazines = list(/obj/item/ammo_magazine/molniya) icon_state = "molniya" @@ -805,7 +826,7 @@ magazine_type = /obj/item/ammo_magazine/pkm allowed_magazines = list(/obj/item/ammo_magazine/pkm) icon_state = "pkm" - projectile_type = /obj/item/projectile/bullet/rifle/a762x54 + 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)), @@ -889,7 +910,7 @@ var/unhappy_factor = 1.3333333*(user.size_multiplier - 0.5) //Unhappy factor based on size. Below 50% is a really bad day, and above 125% is fine, everything inbetween is varying. if(unhappy_factor >= 1) //They're fine return - + if(unhappy_factor <= 0) //RIP them var/is_human = FALSE var/mob/living/carbon/human/H = user @@ -1025,6 +1046,29 @@ muzzle_velocity = 375 fire_sound = "sound/weapons/serdy/9mmpistol.ogg" +/obj/item/weapon/gun/projectile/serdy_pistols/tp23s + name = "TP-23 Terran Special" + desc = "A high end service pistol, that outclasses most of its type, due to its slick operation, ease of concealment, and its built in laser/flashlight combo, and its unusual choice of caliber. Spits some pretty nasty fireballs from the muzzle. Most often seen in the holsters of high ranking SGC, or NT officials. Chambered in .44 magnum." + icon_state = "tp23b" + caliber = ".44" + magazine_type = /obj/item/ammo_magazine/tp23s + allowed_magazines = list(/obj/item/ammo_magazine/tp23s) + projectile_type = /obj/item/projectile/bullet/pistol/strong + muzzle_velocity = 465 + fire_sound = "sound/weapons/serdy/vityaz.ogg" + +/obj/item/weapon/gun/projectile/serdy_pistols/tp23 + name = "TP-23" + desc = "A classic service pistol, that outclasses most of its type, due to its slick operation, ease of concealment, and its built in laser/flashlight combo, and its unusual choice of caliber. Most often seen in the holsters of SGC and USDF troops and peacekeepers, or in the hands of NT security personnel with money to spend, and officers. Chambered in .45 ACP." + icon_state = "tp23" + caliber = ".45" + magazine_type = /obj/item/ammo_magazine/tp23/rubber + allowed_magazines = list(/obj/item/ammo_magazine/tp23) + projectile_type = /obj/item/projectile/bullet/pistol/medium + muzzle_velocity = 300 + fire_sound = "sound/weapons/serdy/40pistol.ogg" + + /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." @@ -1050,6 +1094,22 @@ /obj/item/weapon/gun/projectile/automatic/c20r muzzle_velocity = 285 //Based off UMP-45, since apparently this 10mm smg fires .45 ftw. May be fixed in future updates. + icon = 'icons/obj/64x32guns_ch.dmi' + icon_state = "c20r" + icon_expected_height = 32 + icon_expected_width = 64 + +/obj/item/weapon/gun/projectile/automatic/c20r/update_icon() + . = ..() + icon_state = ammo_magazine ? "[initial(icon_state)]" : "[initial(icon_state)]-e" + +/obj/item/weapon/gun/projectile/automatic/c20r/Initialize() + . = ..() + update_transform() + +/obj/item/weapon/gun/projectile/automatic/c20r/update_transform() + . = ..() + transform = transform.Translate(-16,0) /obj/item/weapon/gun/projectile/automatic/sts35 muzzle_velocity = 900 //Based off AK-74 @@ -1072,14 +1132,62 @@ /obj/item/weapon/gun/projectile/automatic/wt550 muzzle_velocity = 375 //Guestimation + icon = 'icons/obj/64x32guns_ch.dmi' + icon_state = "wt550" + icon_expected_height = 32 + icon_expected_width = 64 + +/obj/item/weapon/gun/projectile/automatic/wt550/update_icon() + . = ..() + icon_state = ammo_magazine ? "[initial(icon_state)]" : "[initial(icon_state)]-e" + +/obj/item/weapon/gun/projectile/automatic/wt550/Initialize() + . = ..() + update_transform() + +/obj/item/weapon/gun/projectile/automatic/wt550/update_transform() + . = ..() + transform = transform.Translate(-16,0) /obj/item/weapon/gun/projectile/automatic/z8 muzzle_velocity = 750 //Based off HK417 16 in barrel. + icon = 'icons/obj/64x32guns_ch.dmi' + icon_state = "carbine" + icon_expected_height = 32 + icon_expected_width = 64 + +/obj/item/weapon/gun/projectile/automatic/z8/update_icon() + . = ..() + icon_state = ammo_magazine ? "[initial(icon_state)]" : "[initial(icon_state)]-e" + +/obj/item/weapon/gun/projectile/automatic/z8/Initialize() + . = ..() + update_transform() + +/obj/item/weapon/gun/projectile/automatic/z8/update_transform() + . = ..() + transform = transform.Translate(-16,0) /obj/item/weapon/gun/projectile/automatic/l6_saw bolt_name="charging handle" auto_loading_type = OPEN_BOLT muzzle_velocity = 960 //Prototype PU-21(https://en.wikipedia.org/wiki/IP-2) + icon = 'icons/obj/64x32guns_ch.dmi' + icon_state = "l6closed100" + icon_expected_height = 32 + icon_expected_width = 64 + +/obj/item/weapon/gun/projectile/automatic/l6_saw/update_icon() + . = ..() + icon_state = ammo_magazine ? "[initial(icon_state)]" : "[initial(icon_state)]-e" + +/obj/item/weapon/gun/projectile/automatic/l6_saw/Initialize() + . = ..() + update_transform() + +/obj/item/weapon/gun/projectile/automatic/l6_saw/update_transform() + . = ..() + transform = transform.Translate(-16,0) /obj/item/weapon/gun/projectile/automatic/as24 muzzle_velocity = 470 //Temporary, might be changed. @@ -1087,6 +1195,22 @@ /obj/item/weapon/gun/projectile/automatic/mini_uzi auto_loading_type = OPEN_BOLT muzzle_velocity = 280 //Mac-10 .45 + icon = 'icons/obj/64x32guns_ch.dmi' + icon_state = "mini-uzi" + icon_expected_height = 32 + icon_expected_width = 64 + +/obj/item/weapon/gun/projectile/automatic/mini_uzi/update_icon() + . = ..() + icon_state = ammo_magazine ? "[initial(icon_state)]" : "[initial(icon_state)]-e" + +/obj/item/weapon/gun/projectile/automatic/mini_uzi/Initialize() + . = ..() + update_transform() + +/obj/item/weapon/gun/projectile/automatic/mini_uzi/update_transform() + . = ..() + transform = transform.Translate(-16,0) /obj/item/weapon/gun/projectile/automatic/p90 //Finally a gun that exists irl. oh wait fuck they decided to chamber the p90 in 9mm //Fixed bb muzzle_velocity = 715 //Guestimation. Will hopefully be able to replace with actual 5.7mm at some point. //Done @@ -1099,7 +1223,7 @@ muzzle_velocity = 285 /obj/item/weapon/gun/projectile/automatic/bullpup - muzzle_velocity = 880 //7.62 NATO Bullpup was unsurprisingly difficult to find https://en.wikipedia.org/wiki/Kel-Tec_RFB + muzzle_velocity = 880 //7.62 NATO Bullpup was unsurprisingly difficult to find https://en.wikipedia.org/wiki/Kel-Tec_RFB /obj/item/weapon/gun/projectile/automatic/combatsmg muzzle_velocity = 370 //Guestimation @@ -1371,6 +1495,7 @@ desc = "A professionally cut down pump-action shotgun, with a checkered pistol grip, and a 6 round tube. Come with me if you want to live. Chambered in 12 gauge." icon = 'icons/obj/64x32guns_ch.dmi' icon_state = "shorty" + max_shells = 6 pump_animation = "shorty-pump" /obj/item/weapon/gun/projectile/shotgun/doublebarrel @@ -1407,7 +1532,7 @@ if(do_after(user, 30)) //SHIT IS STEALTHY EYYYYY icon_state = "sawnshotgun" item_state = "sawnshotgun" - + desc = "Omar's coming!" to_chat(user, "You shorten the barrel of \the [src]!") else @@ -1422,7 +1547,7 @@ name = "sawn-off shotgun" desc += " The barrel seems to be crudely sawn in half." icon = 'icons/obj/gun_ch.dmi' - icon_state = "sawnshotgun[shotgun_variant]" + icon_state = "sawnshotgun[shotgun_variant]" icon_expected_width = 32 update_icon() update_transform() diff --git a/icons/obj/64x32guns_ch.dmi b/icons/obj/64x32guns_ch.dmi index 590323c44a..1b228ca740 100644 Binary files a/icons/obj/64x32guns_ch.dmi and b/icons/obj/64x32guns_ch.dmi differ diff --git a/icons/obj/ammo_ch.dmi b/icons/obj/ammo_ch.dmi index aa13244200..c3208aaa31 100644 Binary files a/icons/obj/ammo_ch.dmi and b/icons/obj/ammo_ch.dmi differ diff --git a/icons/obj/gun_ch.dmi b/icons/obj/gun_ch.dmi index 762f905ef4..66494903b9 100644 Binary files a/icons/obj/gun_ch.dmi and b/icons/obj/gun_ch.dmi differ diff --git a/sound/weapons/serdy/m41a.ogg b/sound/weapons/serdy/m41a.ogg new file mode 100644 index 0000000000..89eb9fcc98 Binary files /dev/null and b/sound/weapons/serdy/m41a.ogg differ