From a7f6460766a53cd1cb98d83ba4fa53dfd9ad7418 Mon Sep 17 00:00:00 2001 From: klaasjared <86997650+GhostActual@users.noreply.github.com> Date: Thu, 15 Jul 2021 22:20:03 -0400 Subject: [PATCH] Base Commit --- code/game/antagonist/outsider/raider.dm | 1 + .../objects/items/weapons/storage/belt.dm | 1 + code/game/objects/random/guns_and_ammo.dm | 1 + .../crates_lockers/closets/secure/security.dm | 1 + code/modules/projectiles/guns/energy/stun.dm | 41 +++++++++++++------ code/modules/research/designs/weapons.dm | 7 ++++ 6 files changed, 40 insertions(+), 12 deletions(-) diff --git a/code/game/antagonist/outsider/raider.dm b/code/game/antagonist/outsider/raider.dm index 46295ba5ae..59faa2de85 100644 --- a/code/game/antagonist/outsider/raider.dm +++ b/code/game/antagonist/outsider/raider.dm @@ -70,6 +70,7 @@ var/datum/antagonist/raider/raiders /obj/item/weapon/gun/energy/mindflayer, /obj/item/weapon/gun/energy/toxgun, /obj/item/weapon/gun/energy/stunrevolver, + /obj/item/weapon/gun/energy/stunrevolver/vintage, /obj/item/weapon/gun/energy/ionrifle, /obj/item/weapon/gun/energy/taser, /obj/item/weapon/gun/energy/crossbow/largecrossbow, diff --git a/code/game/objects/items/weapons/storage/belt.dm b/code/game/objects/items/weapons/storage/belt.dm index d939519125..9963ebb172 100644 --- a/code/game/objects/items/weapons/storage/belt.dm +++ b/code/game/objects/items/weapons/storage/belt.dm @@ -163,6 +163,7 @@ /obj/item/weapon/melee/baton, /obj/item/weapon/gun/energy/taser, /obj/item/weapon/gun/energy/stunrevolver, + /obj/item/weapon/gun/energy/stunrevolver/vintage, /obj/item/weapon/gun/magnetic/railgun/heater/pistol, /obj/item/weapon/gun/energy/gun, /obj/item/weapon/flame/lighter, diff --git a/code/game/objects/random/guns_and_ammo.dm b/code/game/objects/random/guns_and_ammo.dm index 736565b14d..cb8362879d 100644 --- a/code/game/objects/random/guns_and_ammo.dm +++ b/code/game/objects/random/guns_and_ammo.dm @@ -31,6 +31,7 @@ prob(4);/obj/item/weapon/gun/energy/taser, prob(2);/obj/item/weapon/gun/energy/crossbow/largecrossbow, prob(4);/obj/item/weapon/gun/energy/stunrevolver, + prob(2);/obj/item/weapon/gun/energy/stunrevolver/vintage, prob(3);/obj/item/weapon/gun/energy/gun/compact) /obj/random/energy/sec diff --git a/code/game/objects/structures/crates_lockers/closets/secure/security.dm b/code/game/objects/structures/crates_lockers/closets/secure/security.dm index 1d71064953..caeb616216 100644 --- a/code/game/objects/structures/crates_lockers/closets/secure/security.dm +++ b/code/game/objects/structures/crates_lockers/closets/secure/security.dm @@ -228,6 +228,7 @@ /obj/item/clothing/accessory/badge/holo/detective, /obj/item/clothing/gloves/black, /obj/item/gunbox, + /obj/item/weapon/gun/energy/stunrevolver/vintage, /obj/item/weapon/storage/belt/detective, /obj/item/weapon/storage/box/evidence, /obj/item/device/radio/headset/headset_sec, diff --git a/code/modules/projectiles/guns/energy/stun.dm b/code/modules/projectiles/guns/energy/stun.dm index ea684e2bb9..44507656cf 100644 --- a/code/modules/projectiles/guns/energy/stun.dm +++ b/code/modules/projectiles/guns/energy/stun.dm @@ -30,17 +30,6 @@ charge_cost = 800 recharge_time = 0.5 SECONDS -/obj/item/weapon/gun/energy/stunrevolver - name = "stun revolver" - desc = "A LAEP20 Aktzin. Designed and produced by Lawson Arms under the wing of Hephaestus, several TSCs have been trying to get a hold of the blueprints for half a decade." - description_fluff = "Lawson Arms is Hephaestus Industries’ main personal-energy-weapon branding, often sold alongside MarsTech projectile weapons to security and law enforcement agencies. \ - The Aktzin's capsule-based stun ammunition is a closely guarded Hephaestus Industries patent, and the company has been particularly litigious towards any attempted imitators." - icon_state = "stunrevolver" - item_state = "stunrevolver" - origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3, TECH_POWER = 2) - projectile_type = /obj/item/projectile/energy/electrode/strong - charge_cost = 300 - /obj/item/weapon/gun/energy/crossbow name = "mini energy-crossbow" desc = "A weapon favored by many mercenary stealth specialists." @@ -80,4 +69,32 @@ origin_tech = list(TECH_COMBAT = 2, TECH_MATERIAL = 2, TECH_POWER = 3) fire_delay = 20 charge_cost = 600 - projectile_type = /obj/item/projectile/energy/plasmastun \ No newline at end of file + projectile_type = /obj/item/projectile/energy/plasmastun + +//Stun Revolvers + +/obj/item/weapon/gun/energy/stunrevolver + name = "stun revolver" + desc = "A LAEP20 Aktzin. Designed and produced by Lawson Arms under the wing of Hephaestus, \ + several TSCs have been trying to get a hold of the blueprints for half a decade." + description_fluff = "Lawson Arms is Hephaestus Industries’ main personal-energy-weapon branding, \ + often sold alongside MarsTech projectile weapons to security and law enforcement agencies. \ + The Aktzin's capsule-based stun ammunition is a closely guarded Hephaestus Industries patent, \ + and the company has been particularly litigious towards any attempted imitators." + icon_state = "stunrevolver" + item_state = "stunrevolver" + origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3, TECH_POWER = 2) + projectile_type = /obj/item/projectile/energy/electrode/strong + charge_cost = 300 + +/obj/item/weapon/gun/energy/stunrevolver/vintage + name = "vintage stun revolver" + desc = "An older model stun revolver that is still in service across the frontier." + description_fluff = "The LTX1020 Bolter, a Firefly Co. staple from when the company was in its hayday. \ + While Firefly Co. has sadly been dissmantled due to bankruptcy, their iconic weapons can still be found \ + across the frontier as anything from collectors items to surplus equipment. The LTX1020 falls under \ + the latter category. Several companies have been known to use the base tech within the Bolter to create \ + their own variants of the Stun Revolver." + icon_state = "vinstunrevolver" + item_state = "stunrevolver" + origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3, TECH_POWER = 2) \ No newline at end of file diff --git a/code/modules/research/designs/weapons.dm b/code/modules/research/designs/weapons.dm index a32b01b90c..da5a382b5b 100644 --- a/code/modules/research/designs/weapons.dm +++ b/code/modules/research/designs/weapons.dm @@ -70,6 +70,13 @@ build_path = /obj/item/weapon/gun/energy/floragun sort_string = "MAAAG" +/datum/design/item/weapon/energy/vinstunrevolver + id = "vinstunrevolver" + req_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3, TECH_POWER = 2) + materials = list(MAT_STEEL = 4000) + build_path = /obj/item/weapon/gun/energy/stunrevolver/vintage + sort_string = "MAAAH" + // Ballistic weapons /datum/design/item/weapon/ballistic/AssembleDesignName()