From caf274951cc1749c5f79b68458355fb63da21c72 Mon Sep 17 00:00:00 2001
From: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Date: Tue, 17 Sep 2019 11:24:58 +1000
Subject: [PATCH] Implements ML-3M, Adds prototype NSFW
---
code/game/objects/random/misc.dm | 1 -
code/modules/research/designs_vr.dm | 355 +++++++-
.../guns/cell_loaded/cell_loaded.dm | 261 ++++++
.../vore/fluffstuff/guns/cell_loaded/ml3m.dm | 69 ++
.../fluffstuff/guns/cell_loaded/ml3m_cells.dm | 340 ++++++++
.../vore/fluffstuff/guns/cell_loaded/nsfw.dm | 74 ++
.../fluffstuff/guns/cell_loaded/nsfw_cells.dm | 115 +++
code/modules/vore/fluffstuff/guns/nsfw.dm | 785 ------------------
icons/obj/ammo_vr.dmi | Bin 5366 -> 5404 bytes
maps/tether/tether-06-station2.dmm | 1 +
maps/tether/tether-07-station3.dmm | 1 +
maps/tether/tether-10-colony.dmm | 11 +-
vorestation.dme | 6 +-
13 files changed, 1195 insertions(+), 824 deletions(-)
create mode 100644 code/modules/vore/fluffstuff/guns/cell_loaded/cell_loaded.dm
create mode 100644 code/modules/vore/fluffstuff/guns/cell_loaded/ml3m.dm
create mode 100644 code/modules/vore/fluffstuff/guns/cell_loaded/ml3m_cells.dm
create mode 100644 code/modules/vore/fluffstuff/guns/cell_loaded/nsfw.dm
create mode 100644 code/modules/vore/fluffstuff/guns/cell_loaded/nsfw_cells.dm
delete mode 100644 code/modules/vore/fluffstuff/guns/nsfw.dm
diff --git a/code/game/objects/random/misc.dm b/code/game/objects/random/misc.dm
index 06d08ce3ec4..f9180c99f1d 100644
--- a/code/game/objects/random/misc.dm
+++ b/code/game/objects/random/misc.dm
@@ -173,7 +173,6 @@
prob(3);/obj/item/weapon/reagent_containers/syringe/antiviral,
prob(5);/obj/item/weapon/reagent_containers/syringe/inaprovaline,
prob(1);/obj/item/weapon/reagent_containers/hypospray,
- prob(1);/obj/item/weapon/storage/secure/briefcase/ml3m_pack_med,
prob(1);/obj/item/weapon/storage/box/freezer,
prob(2);/obj/item/stack/nanopaste)
diff --git a/code/modules/research/designs_vr.dm b/code/modules/research/designs_vr.dm
index b8946835b7f..8df2ee63b0d 100644
--- a/code/modules/research/designs_vr.dm
+++ b/code/modules/research/designs_vr.dm
@@ -12,30 +12,7 @@
req_tech = list(TECH_MATERIAL = 2, TECH_BIO = 2, TECH_DATA = 4, TECH_ENGINEERING = 2)
materials = list(DEFAULT_WALL_MATERIAL = 2000, "glass" = 2000)
build_path = /obj/item/weapon/implantcase/backup
-
-/datum/design/item/implant/sizecontrol
- name = "Size control implant"
- id = "implant_size"
- req_tech = list(TECH_MATERIAL = 3, TECH_BIO = 4, TECH_DATA = 4, TECH_ENGINEERING = 3)
- materials = list(DEFAULT_WALL_MATERIAL = 2000, "glass" = 2000, "silver" = 3000)
- build_path = /obj/item/weapon/implanter/sizecontrol
- sort_string = "TAAAA"
-
-/datum/design/item/weapon/sizegun
- name = "Size gun"
- id = "sizegun"
- req_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3, TECH_POWER = 2)
- materials = list(DEFAULT_WALL_MATERIAL = 3000, "glass" = 2000, "uranium" = 2000)
- build_path = /obj/item/weapon/gun/energy/sizegun
- sort_string = "TAAAB"
-
-/datum/design/item/bluespace_jumpsuit
- name = "Bluespace jumpsuit"
- id = "bsjumpsuit"
- req_tech = list(TECH_BLUESPACE = 2, TECH_MATERIAL = 3, TECH_POWER = 2)
- materials = list(DEFAULT_WALL_MATERIAL = 4000, "glass" = 4000)
- build_path = /obj/item/clothing/under/bluespace
- sort_string = "TAAAC"
+ sort_string = "SAAAA"
/datum/design/item/sleevemate
name = "SleeveMate 3700"
@@ -43,7 +20,7 @@
req_tech = list(TECH_MATERIAL = 3, TECH_MAGNET = 2, TECH_BIO = 2)
materials = list(DEFAULT_WALL_MATERIAL = 4000, "glass" = 4000)
build_path = /obj/item/device/sleevemate
- sort_string = "TAAAD"
+ sort_string = "SAAAB"
/datum/design/item/bodysnatcher
name = "Body Snatcher"
@@ -51,6 +28,31 @@
req_tech = list(TECH_MAGNET = 3, TECH_BIO = 3, TECH_ILLEGAL = 2)
materials = list(DEFAULT_WALL_MATERIAL = 4000, "glass" = 4000)
build_path = /obj/item/device/bodysnatcher
+ sort_string = "SAAAC"
+
+/datum/design/item/weapon/sizegun
+ name = "Size gun"
+ id = "sizegun"
+ req_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3, TECH_POWER = 2)
+ materials = list(DEFAULT_WALL_MATERIAL = 3000, "glass" = 2000, "uranium" = 2000)
+ build_path = /obj/item/weapon/gun/energy/sizegun
+ sort_string = "SBAAA"
+
+/datum/design/item/bluespace_jumpsuit
+ name = "Bluespace jumpsuit"
+ id = "bsjumpsuit"
+ req_tech = list(TECH_BLUESPACE = 2, TECH_MATERIAL = 3, TECH_POWER = 2)
+ materials = list(DEFAULT_WALL_MATERIAL = 4000, "glass" = 4000)
+ build_path = /obj/item/clothing/under/bluespace
+ sort_string = "SBAAB"
+
+/datum/design/item/implant/sizecontrol
+ name = "Size control implant"
+ id = "implant_size"
+ req_tech = list(TECH_MATERIAL = 3, TECH_BIO = 4, TECH_DATA = 4, TECH_ENGINEERING = 3)
+ materials = list(DEFAULT_WALL_MATERIAL = 2000, "glass" = 2000, "silver" = 3000)
+ build_path = /obj/item/weapon/implanter/sizecontrol
+ sort_string = "SBAAC"
/datum/design/item/item/pressureinterlock
name = "APP pressure interlock"
@@ -369,8 +371,307 @@
/datum/design/item/robot_upgrade/sizeshift
name = "Size Alteration Module"
- desc = "Used to allow robot to freely alter their size."
id = "borg_sizeshift_module"
req_tech = list(TECH_BLUESPACE = 3, TECH_MATERIAL = 3, TECH_POWER = 2)
materials = list(DEFAULT_WALL_MATERIAL = 4000, "glass" = 4000)
- build_path = /obj/item/borg/upgrade/sizeshift
\ No newline at end of file
+ build_path = /obj/item/borg/upgrade/sizeshift
+
+
+
+// NSFW gun and cells
+/datum/design/item/weapon/prototype_nsfw
+ name = "cell-loaded revolver"
+ id = "nsfw_prototype"
+ req_tech = list(TECH_MATERIAL = 6, TECH_MAGNET = 4, TECH_POWER = 4, TECH_COMBAT = 7)
+ materials = list(DEFAULT_WALL_MATERIAL = 10000, "glass" = 6000, "phoron" = 8000, "uranium" = 4000)
+ build_path = /obj/item/weapon/gun/projectile/cell_loaded/combat/prototype
+ sort_string = "TNAAA"
+
+/datum/design/item/weapon/prototype_nsfw_mag
+ name = "combat cell magazine"
+ id = "nsfw_mag_prototype"
+ req_tech = list(TECH_MATERIAL = 6, TECH_MAGNET = 4, TECH_POWER = 4, TECH_COMBAT = 7)
+ materials = list(DEFAULT_WALL_MATERIAL = 8000, "glass" = 4000, "phoron" = 4000)
+ build_path = /obj/item/ammo_magazine/cell_mag/combat/prototype
+ sort_string = "TNABA"
+
+/datum/design/item/nsfw_cell/AssembleDesignName()
+ ..()
+ name = "Microbattery prototype ([item_name])"
+
+/datum/design/item/nsfw_cell/stun
+ name = "STUN"
+ id = "nsfw_cell_stun"
+ req_tech = list(TECH_MATERIAL = 4, TECH_MAGNET = 2, TECH_POWER = 3, TECH_COMBAT = 3)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000)
+ build_path = /obj/item/ammo_casing/microbattery/combat/stun
+ sort_string = "TNACA"
+
+/datum/design/item/nsfw_cell/lethal
+ name = "LETHAL"
+ id = "nsfw_cell_lethal"
+ req_tech = list(TECH_MATERIAL = 4, TECH_MAGNET = 3, TECH_POWER = 3, TECH_COMBAT = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "phoron" = 3000)
+ build_path = /obj/item/ammo_casing/microbattery/combat/lethal
+ sort_string = "TNACB"
+
+/datum/design/item/nsfw_cell/net
+ name = "NET"
+ id = "nsfw_cell_net"
+ req_tech = list(TECH_MATERIAL = 4, TECH_MAGNET = 3, TECH_POWER = 3, TECH_COMBAT = 4)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "uranium" = 3000)
+ build_path = /obj/item/ammo_casing/microbattery/combat/net
+ sort_string = "TNACC"
+
+/datum/design/item/nsfw_cell/ion
+ name = "ION"
+ id = "nsfw_cell_ion"
+ req_tech = list(TECH_MATERIAL = 5, TECH_MAGNET = 3, TECH_POWER = 5, TECH_COMBAT = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "silver" = 3000)
+ build_path = /obj/item/ammo_casing/microbattery/combat/ion
+ sort_string = "TNACD"
+
+/datum/design/item/nsfw_cell/shotstun
+ name = "SCATTERSTUN"
+ id = "nsfw_cell_shotstun"
+ req_tech = list(TECH_MATERIAL = 6, TECH_MAGNET = 3, TECH_POWER = 6, TECH_COMBAT = 6)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "silver" = 2000, "gold" = 2000)
+ build_path = /obj/item/ammo_casing/microbattery/combat/shotstun
+ sort_string = "TNACE"
+
+/datum/design/item/nsfw_cell/xray
+ name = "XRAY"
+ id = "nsfw_cell_xray"
+ req_tech = list(TECH_MATERIAL = 6, TECH_MAGNET = 4, TECH_POWER = 5, TECH_COMBAT = 7)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "silver" = 1000, "gold" = 1000, "uranium" = 1000, "phoron" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/combat/xray
+ sort_string = "TNACF"
+
+/datum/design/item/nsfw_cell/stripper
+ name = "STRIPPER"
+ id = "nsfw_cell_stripper"
+ req_tech = list(TECH_MATERIAL = 7, TECH_BIO = 4, TECH_POWER = 4, TECH_COMBAT = 4, TECH_ILLEGAL = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "uranium" = 2000, "phoron" = 2000, "diamond" = 500)
+ build_path = /obj/item/ammo_casing/microbattery/combat/stripper
+ sort_string = "TNACG"
+
+/*
+/datum/design/item/nsfw_cell/final
+ name = "FINAL OPTION"
+ id = "nsfw_cell_final"
+ req_tech = list(TECH_COMBAT = 69, TECH_ILLEGAL = 69, TECH_PRECURSOR = 1)
+ materials = list("unobtanium" = 9001)
+ build_path = /obj/item/ammo_casing/microbattery/combat/final
+ sort_string = "TNACH"
+*/
+
+
+
+// ML-3M medigun and cells
+/datum/design/item/medical/cell_medigun
+ name = "cell-loaded medigun"
+ id = "cell_medigun"
+ req_tech = list(TECH_MATERIAL = 6, TECH_MAGNET = 4, TECH_POWER = 3, TECH_BIO = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 8000, "plastic" = 8000, "glass" = 5000, "silver" = 1000, "gold" = 1000, "uranium" = 1000)
+ build_path = /obj/item/weapon/gun/projectile/cell_loaded/medical
+ sort_string = "MLAAA"
+
+/datum/design/item/medical/cell_medigun_mag
+ name = "medical cell magazine"
+ id = "cell_medigun_mag"
+ req_tech = list(TECH_MATERIAL = 6, TECH_MAGNET = 4, TECH_POWER = 3, TECH_BIO = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 4000, "plastic" = 6000, "glass" = 3000, "silver" = 500, "gold" = 500)
+ build_path = /obj/item/ammo_magazine/cell_mag/medical
+ sort_string = "MLABA"
+
+/datum/design/item/medical/cell_medigun_mag_advanced
+ name = "advanced medical cell magazine"
+ id = "cell_medigun_mag_advanced"
+ req_tech = list(TECH_MATERIAL = 7, TECH_MAGNET = 6, TECH_POWER = 4, TECH_BIO = 7)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "plastic" = 10000, "glass" = 5000, "silver" = 1500, "gold" = 1500, "diamond" = 5000)
+ build_path = /obj/item/ammo_magazine/cell_mag/medical/advanced
+ sort_string = "MLABB"
+
+/datum/design/item/ml3m_cell/AssembleDesignName()
+ ..()
+ name = "Nanite cell prototype ([item_name])"
+
+//Tier 0
+
+/datum/design/item/ml3m_cell/brute
+ name = "BRUTE"
+ id = "ml3m_cell_brute"
+ req_tech = list(TECH_MATERIAL = 3, TECH_MAGNET = 2, TECH_BIO = 2)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/brute
+ sort_string = "MLACA"
+
+/datum/design/item/ml3m_cell/burn
+ name = "BURN"
+ id = "ml3m_cell_burn"
+ req_tech = list(TECH_MATERIAL = 3, TECH_MAGNET = 2, TECH_BIO = 2)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/burn
+ sort_string = "MLACB"
+
+/datum/design/item/ml3m_cell/stabilize
+ name = "STABILIZE"
+ id = "ml3m_cell_stabilize"
+ req_tech = list(TECH_MATERIAL = 3, TECH_MAGNET = 2, TECH_BIO = 2)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/stabilize
+ sort_string = "MLACC"
+
+//Tier 1
+
+/datum/design/item/ml3m_cell/toxin
+ name = "TOXIN"
+ id = "ml3m_cell_toxin"
+ req_tech = list(TECH_MATERIAL = 3, TECH_MAGNET = 3, TECH_BIO = 4)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500)
+ build_path = /obj/item/ammo_casing/microbattery/medical/toxin
+ sort_string = "MLACD"
+
+/datum/design/item/ml3m_cell/omni
+ name = "OMNI"
+ id = "ml3m_cell_omni"
+ req_tech = list(TECH_MATERIAL = 3, TECH_MAGNET = 3, TECH_BIO = 4)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500)
+ build_path = /obj/item/ammo_casing/microbattery/medical/omni
+ sort_string = "MLACE"
+
+/datum/design/item/ml3m_cell/antirad
+ name = "ANTIRAD"
+ id = "ml3m_cell_antirad"
+ req_tech = list(TECH_MATERIAL = 3, TECH_MAGNET = 3, TECH_BIO = 4)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500)
+ build_path = /obj/item/ammo_casing/microbattery/medical/antirad
+ sort_string = "MLACF"
+
+//Tier 2
+
+/datum/design/item/ml3m_cell/brute2
+ name = "BRUTE-II"
+ id = "ml3m_cell_brute2"
+ req_tech = list(TECH_MATERIAL = 5, TECH_MAGNET = 3, TECH_POWER = 2, TECH_BIO = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "gold" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/brute2
+ sort_string = "MLACG"
+
+/datum/design/item/ml3m_cell/burn2
+ name = "BURN-II"
+ id = "ml3m_cell_burn2"
+ req_tech = list(TECH_MATERIAL = 5, TECH_MAGNET = 3, TECH_POWER = 2, TECH_BIO = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "gold" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/burn2
+ sort_string = "MLACH"
+
+/datum/design/item/ml3m_cell/stabilize2
+ name = "STABILIZE-II"
+ id = "ml3m_cell_stabilize2"
+ req_tech = list(TECH_MATERIAL = 5, TECH_MAGNET = 3, TECH_POWER = 2, TECH_BIO = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "silver" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/stabilize2
+ sort_string = "MLACI"
+
+/datum/design/item/ml3m_cell/omni2
+ name = "OMNI-II"
+ id = "ml3m_cell_omni2"
+ req_tech = list(TECH_MATERIAL = 5, TECH_MAGNET = 3, TECH_POWER = 2, TECH_BIO = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "uranium" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/omni2
+ sort_string = "MLACJ"
+
+//Tier 3
+
+/datum/design/item/ml3m_cell/toxin2
+ name = "TOXIN-II"
+ id = "ml3m_cell_toxin2"
+ req_tech = list(TECH_MATERIAL = 6, TECH_MAGNET = 3, TECH_POWER = 3, TECH_BIO = 6)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "uranium" = 1000, "silver" = 1000, "diamond" = 500)
+ build_path = /obj/item/ammo_casing/microbattery/medical/toxin2
+ sort_string = "MLACK"
+
+/datum/design/item/ml3m_cell/haste
+ name = "HASTE"
+ id = "ml3m_cell_haste"
+ req_tech = list(TECH_MATERIAL = 6, TECH_MAGNET = 3, TECH_POWER = 3, TECH_BIO = 6)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "gold" = 1000, "silver" = 1000, "diamond" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/haste
+ sort_string = "MLACL"
+
+/datum/design/item/ml3m_cell/resist
+ name = "RESIST"
+ id = "ml3m_cell_resist"
+ req_tech = list(TECH_MATERIAL = 6, TECH_MAGNET = 3, TECH_POWER = 3, TECH_BIO = 6)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "gold" = 1000, "uranium" = 1000, "diamond" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/resist
+ sort_string = "MLACM"
+
+/datum/design/item/ml3m_cell/corpse_mend
+ name = "CORPSE MEND"
+ id = "ml3m_cell_corpse_mend"
+ req_tech = list(TECH_MATERIAL = 6, TECH_MAGNET = 3, TECH_POWER = 3, TECH_BIO = 6)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "phoron" = 3000, "diamond" = 3000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/corpse_mend
+ sort_string = "MLACN"
+
+//Tier 4
+
+/datum/design/item/ml3m_cell/brute3
+ name = "BRUTE-III"
+ id = "ml3m_cell_brute3"
+ req_tech = list(TECH_MATERIAL = 7, TECH_MAGNET = 6, TECH_POWER = 5, TECH_BIO = 7, TECH_PRECURSOR = 2)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "diamond" = 500, "verdantium" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/brute3
+ sort_string = "MLACO"
+
+/datum/design/item/ml3m_cell/burn3
+ name = "BURN-III"
+ id = "ml3m_cell_burn3"
+ req_tech = list(TECH_MATERIAL = 7, TECH_MAGNET = 6, TECH_POWER = 5, TECH_BIO = 7, TECH_PRECURSOR = 2)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "diamond" = 500, "verdantium" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/burn3
+ sort_string = "MLACP"
+
+/datum/design/item/ml3m_cell/toxin3
+ name = "TOXIN-III"
+ id = "ml3m_cell_toxin3"
+ req_tech = list(TECH_MATERIAL = 7, TECH_MAGNET = 6, TECH_POWER = 5, TECH_BIO = 7, TECH_ARCANE = 2)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "diamond" = 500, "verdantium" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/toxin3
+ sort_string = "MLACQ"
+
+/datum/design/item/ml3m_cell/omni3
+ name = "OMNI-III"
+ id = "ml3m_cell_omni3"
+ req_tech = list(TECH_MATERIAL = 7, TECH_MAGNET = 6, TECH_POWER = 5, TECH_BIO = 7, TECH_ARCANE = 2)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "diamond" = 500, "verdantium" = 1000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/omni3
+ sort_string = "MLACR"
+
+//Tierless
+
+/datum/design/item/ml3m_cell/shrink
+ name = "SHRINK"
+ id = "ml3m_cell_shrink"
+ req_tech = list(TECH_MATERIAL = 5, TECH_MAGNET = 3, TECH_BLUESPACE = 3, TECH_BIO = 5, TECH_ILLEGAL = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "uranium" = 2000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/shrink
+ sort_string = "MLADA"
+
+/datum/design/item/ml3m_cell/grow
+ name = "GROW"
+ id = "ml3m_cell_grow"
+ req_tech = list(TECH_MATERIAL = 5, TECH_MAGNET = 3, TECH_BLUESPACE = 3, TECH_BIO = 5, TECH_ILLEGAL = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "uranium" = 2000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/grow
+ sort_string = "MLADB"
+
+/datum/design/item/ml3m_cell/normalsize
+ name = "NORMALSIZE"
+ id = "ml3m_cell_normalsize"
+ req_tech = list(TECH_MATERIAL = 5, TECH_MAGNET = 3, TECH_BLUESPACE = 3, TECH_BIO = 5, TECH_ILLEGAL = 5)
+ materials = list(DEFAULT_WALL_MATERIAL = 5000, "glass" = 5000, "plastic" = 2500, "uranium" = 2000)
+ build_path = /obj/item/ammo_casing/microbattery/medical/normalsize
+ sort_string = "MLADC"
\ No newline at end of file
diff --git a/code/modules/vore/fluffstuff/guns/cell_loaded/cell_loaded.dm b/code/modules/vore/fluffstuff/guns/cell_loaded/cell_loaded.dm
new file mode 100644
index 00000000000..66db8708597
--- /dev/null
+++ b/code/modules/vore/fluffstuff/guns/cell_loaded/cell_loaded.dm
@@ -0,0 +1,261 @@
+// The Gun //
+/obj/item/weapon/gun/projectile/cell_loaded //this one can load both medical and security cells! for ERT/admin use.
+ name = "multipurpose cell-loaded revolver"
+ desc = "Variety is the spice of life! This weapon is a hybrid of the KHI-102b 'Nanotech Selectable-Fire Weapon' and the Vey-Med ML-3 'Medigun', dubbed the 'NSFW-ML3M'. \
+ It can fire both harmful and healing cells with an internal nanite fabricator and energy weapon cell loader. Up to three combinations of \
+ energy beams can be configured at once. Ammo not included."
+ catalogue_data = list(/datum/category_item/catalogue/information/organization/khi)
+
+ icon = 'icons/vore/custom_guns_vr.dmi'
+ icon_state = "nsfw"
+
+ icon_override = 'icons/vore/custom_guns_vr.dmi'
+ item_state = "gun"
+
+ caliber = "nsfw"
+
+ origin_tech = list(TECH_COMBAT = 7, TECH_MATERIAL = 6, TECH_MAGNETS = 4)
+
+ fire_sound = 'sound/weapons/Taser.ogg'
+
+ load_method = MAGAZINE //Nyeh heh hehhh.
+ magazine_type = null
+ allowed_magazines = list(/obj/item/ammo_magazine/cell_mag)
+ handle_casings = HOLD_CASINGS //Don't eject batteries!
+ recoil = 0
+ var/charge_left = 0
+ var/max_charge = 0
+ charge_sections = 5
+
+/obj/item/weapon/gun/projectile/cell_loaded/consume_next_projectile()
+ if(chambered && ammo_magazine)
+ var/obj/item/ammo_casing/microbattery/batt = chambered
+ if(batt.shots_left)
+ return new chambered.projectile_type()
+ else
+ for(var/B in ammo_magazine.stored_ammo)
+ var/obj/item/ammo_casing/microbattery/other_batt = B
+ if(istype(other_batt,chambered.type) && other_batt.shots_left)
+ switch_to(other_batt)
+ return new chambered.projectile_type()
+ break
+
+ return null
+
+/obj/item/weapon/gun/projectile/cell_loaded/proc/update_charge()
+ charge_left = 0
+ max_charge = 0
+
+ if(!chambered)
+ return
+
+ var/obj/item/ammo_casing/microbattery/batt = chambered
+
+ charge_left = batt.shots_left
+ max_charge = initial(batt.shots_left)
+ if(ammo_magazine) //Crawl to find more
+ for(var/B in ammo_magazine.stored_ammo)
+ var/obj/item/ammo_casing/microbattery/bullet = B
+ if(istype(bullet,batt.type))
+ charge_left += bullet.shots_left
+ max_charge += initial(bullet.shots_left)
+
+/obj/item/weapon/gun/projectile/cell_loaded/proc/switch_to(obj/item/ammo_casing/microbattery/new_batt)
+ if(ishuman(loc))
+ if(chambered && new_batt.type == chambered.type)
+ to_chat(loc,"\The [src] is now using the next [new_batt.type_name] power cell.")
+ else
+ to_chat(loc,"\The [src] is now firing [new_batt.type_name].")
+
+ chambered = new_batt
+ update_charge()
+ update_icon()
+
+/obj/item/weapon/gun/projectile/cell_loaded/attack_self(mob/user)
+ if(!chambered)
+ return
+
+ var/list/stored_ammo = ammo_magazine.stored_ammo
+
+ if(stored_ammo.len == 1)
+ return //silly you.
+
+ //Find an ammotype that ISN'T the same, or exhaust the list and don't change.
+ var/our_slot = stored_ammo.Find(chambered)
+
+ for(var/index in 1 to stored_ammo.len)
+ var/true_index = ((our_slot + index - 1) % stored_ammo.len) + 1 // Stupid ONE BASED lists!
+ var/obj/item/ammo_casing/microbattery/next_batt = stored_ammo[true_index]
+ if(chambered != next_batt && !istype(next_batt, chambered.type))
+ switch_to(next_batt)
+ break
+/*
+/obj/item/weapon/gun/projectile/cell_loaded/special_check(mob/user)
+ if(!chambered)
+ return
+
+ var/obj/item/ammo_casing/microbattery/batt = chambered
+ if(!batt.shots_left)
+ return FALSE
+
+ return TRUE
+*/
+/obj/item/weapon/gun/projectile/cell_loaded/load_ammo(var/obj/item/A, mob/user)
+ . = ..()
+ if(ammo_magazine && ammo_magazine.stored_ammo.len)
+ switch_to(ammo_magazine.stored_ammo[1])
+
+/obj/item/weapon/gun/projectile/cell_loaded/unload_ammo(mob/user, var/allow_dump=1)
+ chambered = null
+ return ..()
+
+/obj/item/weapon/gun/projectile/cell_loaded/update_icon()
+ update_charge()
+
+ cut_overlays()
+ if(!chambered)
+ return
+
+ var/obj/item/ammo_casing/microbattery/batt = chambered
+ var/batt_color = batt.type_color //Used many times
+
+ //Mode bar
+ var/image/mode_bar = image(icon, icon_state = "[initial(icon_state)]_type")
+ mode_bar.color = batt_color
+ add_overlay(mode_bar)
+
+ //Barrel color
+ var/image/barrel_color = image(icon, icon_state = "[initial(icon_state)]_barrel")
+ barrel_color.alpha = 150
+ barrel_color.color = batt_color
+ add_overlay(barrel_color)
+
+ //Charge bar
+ var/ratio = CEILING(((charge_left / max_charge) * charge_sections), 1)
+ for(var/i = 0, i < ratio, i++)
+ var/image/charge_bar = image(icon, icon_state = "[initial(icon_state)]_charge")
+ charge_bar.pixel_x = i
+ charge_bar.color = batt_color
+ add_overlay(charge_bar)
+
+
+// The Magazine //
+/obj/item/ammo_magazine/cell_mag
+ name = "microbattery magazine"
+ desc = "A microbattery holder for a cell-based variable weapon."
+ icon = 'icons/obj/ammo_vr.dmi'
+ icon_state = "cell_mag"
+ origin_tech = list(TECH_COMBAT = 5, TECH_MATERIAL = 5, TECH_MAGNETS = 3)
+ caliber = "nsfw"
+ ammo_type = /obj/item/ammo_casing/microbattery
+ initial_ammo = 0
+ max_ammo = 3
+ var/x_offset = 5 //for update_icon() shenanigans- moved here so it can be adjusted for bigger mags
+ var/capname = "nsfw_mag" //as above
+ var/chargename = "nsfw_mag" //as above
+ mag_type = MAGAZINE
+
+ var/list/modes = list()
+
+/obj/item/ammo_magazine/cell_mag/attackby(obj/item/weapon/W as obj, mob/user as mob)
+ if(istype(W, /obj/item/ammo_casing/microbattery))
+ var/obj/item/ammo_casing/microbattery/B = W
+ if(!istype(B, ammo_type))
+ to_chat(user, "[B] does not fit into [src].")
+ return
+ if(stored_ammo.len >= max_ammo)
+ to_chat(user, "[src] is full!")
+ return
+ user.remove_from_mob(B)
+ B.loc = src
+ stored_ammo.Add(B)
+ update_icon()
+ playsound(user.loc, 'sound/weapons/flipblade.ogg', 50, 1)
+ update_icon()
+
+/obj/item/ammo_magazine/cell_mag/update_icon()
+ cut_overlays()
+ if(!stored_ammo.len)
+ return //Why bother
+
+ var/current = 0
+ for(var/B in stored_ammo)
+ var/obj/item/ammo_casing/microbattery/batt = B
+ var/image/cap = image(icon, icon_state = "[capname]_cap")
+ cap.color = batt.type_color
+ cap.pixel_x = current * x_offset //Caps don't need a pixel_y offset
+ add_overlay(cap)
+
+ if(batt.shots_left)
+ var/ratio = CEILING(((batt.shots_left / initial(batt.shots_left)) * 4), 1) //4 is how many lights we have a sprite for
+ var/image/charge = image(icon, icon_state = "[chargename]_charge-[ratio]")
+ charge.color = "#29EAF4" //Could use battery color but eh.
+ charge.pixel_x = current * x_offset
+ add_overlay(charge)
+
+ current++ //Increment for offsets
+
+/obj/item/ammo_magazine/cell_mag/advanced
+ name = "advanced microbattery magazine"
+ desc = "A microbattery holder for a cell-based variable weapon. This one has much more cell capacity!"
+ max_ammo = 6
+ x_offset = 3
+ icon_state = "cell_mag_extended"
+
+
+// The Casing //
+/obj/item/ammo_casing/microbattery
+ name = "\'NSFW\' microbattery - UNKNOWN"
+ desc = "A miniature battery for an energy weapon."
+ catalogue_data = list(/datum/category_item/catalogue/information/organization/khi)
+ icon = 'icons/obj/ammo_vr.dmi'
+ icon_state = "nsfw_batt"
+ slot_flags = SLOT_BELT | SLOT_EARS
+ throwforce = 1
+ w_class = ITEMSIZE_TINY
+ var/shots_left = 4
+
+ leaves_residue = 0
+ caliber = "nsfw"
+ var/type_color = null
+ var/type_name = null
+ projectile_type = /obj/item/projectile/beam
+
+/obj/item/ammo_casing/microbattery/Initialize()
+ . = ..()
+ pixel_x = rand(-10, 10)
+ pixel_y = rand(-10, 10)
+ update_icon()
+
+/obj/item/ammo_casing/microbattery/update_icon()
+ cut_overlays()
+
+ var/image/ends = image(icon, icon_state = "[initial(icon_state)]_ends")
+ ends.color = type_color
+ add_overlay(ends)
+
+/obj/item/ammo_casing/microbattery/expend()
+ shots_left--
+
+
+// The Pack //
+/obj/item/weapon/storage/secure/briefcase/nsfw_pack_hybrid
+ name = "hybrid cell-loaded gun kit"
+ desc = "A storage case for a multi-purpose handgun. Variety hour!"
+ w_class = ITEMSIZE_NORMAL
+ max_w_class = ITEMSIZE_NORMAL
+
+/obj/item/weapon/storage/secure/briefcase/nsfw_pack_hybrid/New()
+ ..()
+ new /obj/item/weapon/gun/projectile/cell_loaded(src)
+ new /obj/item/ammo_magazine/cell_mag/advanced(src)
+ new /obj/item/ammo_casing/microbattery/combat/stun(src)
+ new /obj/item/ammo_casing/microbattery/combat/stun(src)
+ new /obj/item/ammo_casing/microbattery/combat/stun(src)
+ new /obj/item/ammo_casing/microbattery/combat/net(src)
+ new /obj/item/ammo_casing/microbattery/combat/net(src)
+ new /obj/item/ammo_casing/microbattery/medical/brute3(src)
+ new /obj/item/ammo_casing/microbattery/medical/burn3(src)
+ new /obj/item/ammo_casing/microbattery/medical/stabilize2(src)
+ new /obj/item/ammo_casing/microbattery/medical/toxin3(src)
+ new /obj/item/ammo_casing/microbattery/medical/omni3(src)
\ No newline at end of file
diff --git a/code/modules/vore/fluffstuff/guns/cell_loaded/ml3m.dm b/code/modules/vore/fluffstuff/guns/cell_loaded/ml3m.dm
new file mode 100644
index 00000000000..2a2be206575
--- /dev/null
+++ b/code/modules/vore/fluffstuff/guns/cell_loaded/ml3m.dm
@@ -0,0 +1,69 @@
+// The Gun //
+/obj/item/weapon/gun/projectile/cell_loaded/medical
+ name = "cell-loaded medigun"
+ desc = "The ML-3 'Medigun', or ML3M for short, is a powerful cell-based ranged healing device based on the KHI-102b NSFW. \
+ It uses an internal nanite fabricator, powered and controlled by discrete cells, to deliver a variety of effects at range. Up to six combinations of \
+ healing beams can be configured at once, depending on cartridge used. Ammo not included."
+ catalogue_data = list(/datum/category_item/catalogue/information/organization/vey_med)
+
+ icon_state = "ml3m"
+ description_info = "This is a ranged healing device that uses interchangable nanite discharge cells in a magazine. Each cell is a different healing beam type, and up to three can be loaded in the magazine. Each battery usually provides four discharges of that beam type, and multiple from the same type may be loaded to increase the number of shots for that type."
+ description_fluff = "The Vey-Med ML-3 'Medigun' allows one to customize their loadout in the field, or before deploying, to allow emergency response personnel to deliver a variety of ranged healing options."
+ description_antag = ""
+ allowed_magazines = list(/obj/item/ammo_magazine/cell_mag/medical)
+
+/obj/item/weapon/gun/projectile/cell_loaded/medical/cmo
+ name = "advanced cell-loaded medigun"
+ desc = "This is a variation on the ML-3 'Medigun', a powerful cell-based ranged healing device based on the KHI-102b NSFW. \
+ It has an extended sight for increased accuracy, and much more comfortable grip. Ammo not included."
+
+ icon_state = "ml3m_cmo"
+
+
+// The Magazine //
+/obj/item/ammo_magazine/cell_mag/medical //medical
+ name = "nanite magazine"
+ desc = "A nanite fabrication magazine for the \'ML-3/M\'"
+ catalogue_data = list(/datum/category_item/catalogue/information/organization/vey_med)
+ description_info = "This magazine holds self-charging nanite fabricators to power the ML-3 'Medigun'. Up to three can be loaded at once, and each provides four shots of their respective healing type. Loading multiple of the same type will provide additional shots of that type. The batteries can be recharged in a normal recharger."
+ ammo_type = /obj/item/ammo_casing/microbattery/medical
+ icon_state = "ml3m_mag"
+
+/obj/item/ammo_magazine/cell_mag/medical/advanced
+ name = "advanced nanite magazine"
+ desc = "A nanite discharge cell for the \'ML-3/M\'. This one is a more advanced version which can hold six individual nanite discharge cells."
+ max_ammo = 6
+ x_offset = 3
+ icon_state = "ml3m_mag_extended"
+
+
+// The Pack //
+/obj/item/weapon/storage/secure/briefcase/ml3m_pack_med
+ name = "\improper ML-3 \'Medigun\' kit"
+ desc = "A storage case for a multi-purpose healing gun. Variety hour!"
+ w_class = ITEMSIZE_NORMAL
+ max_w_class = ITEMSIZE_NORMAL
+
+/obj/item/weapon/storage/secure/briefcase/ml3m_pack_med/New()
+ ..()
+ new /obj/item/weapon/gun/projectile/cell_loaded/medical(src)
+ new /obj/item/ammo_magazine/cell_mag/medical(src)
+ new /obj/item/ammo_casing/microbattery/medical/brute(src)
+ new /obj/item/ammo_casing/microbattery/medical/burn(src)
+ new /obj/item/ammo_casing/microbattery/medical/stabilize(src)
+
+/obj/item/weapon/storage/secure/briefcase/ml3m_pack_cmo
+ name = "\improper Advanced ML-3 \'Medigun\' kit"
+ desc = "A storage case for a multi-purpose healing gun. Variety hour!"
+ w_class = ITEMSIZE_NORMAL
+ max_w_class = ITEMSIZE_NORMAL
+
+/obj/item/weapon/storage/secure/briefcase/ml3m_pack_cmo/New()
+ ..()
+ new /obj/item/weapon/gun/projectile/cell_loaded/medical/cmo(src)
+ new /obj/item/ammo_magazine/cell_mag/medical(src)
+ new /obj/item/ammo_casing/microbattery/medical/brute(src)
+ new /obj/item/ammo_casing/microbattery/medical/burn(src)
+ new /obj/item/ammo_casing/microbattery/medical/stabilize(src)
+ new /obj/item/ammo_casing/microbattery/medical/toxin(src)
+ new /obj/item/ammo_casing/microbattery/medical/omni(src)
\ No newline at end of file
diff --git a/code/modules/vore/fluffstuff/guns/cell_loaded/ml3m_cells.dm b/code/modules/vore/fluffstuff/guns/cell_loaded/ml3m_cells.dm
new file mode 100644
index 00000000000..49f0a15e3f6
--- /dev/null
+++ b/code/modules/vore/fluffstuff/guns/cell_loaded/ml3m_cells.dm
@@ -0,0 +1,340 @@
+// The Casing //
+/obj/item/ammo_casing/microbattery/medical
+ name = "\'ML-3/M\' nanite cell - UNKNOWN"
+ desc = "A miniature nanite fabricator for a medigun."
+ catalogue_data = list(/datum/category_item/catalogue/information/organization/vey_med)
+ icon_state = "ml3m_batt"
+ origin_tech = list(TECH_BIO = 2, TECH_MATERIAL = 1, TECH_MAGNETS = 2)
+
+/obj/item/projectile/beam/medical_cell
+ name = "\improper healing beam"
+ icon_state = "medbeam"
+ nodamage = 1
+ damage = 0
+ check_armour = "laser"
+ light_color = "#80F5FF"
+
+ combustion = FALSE
+
+ muzzle_type = /obj/effect/projectile/muzzle/medigun
+ tracer_type = /obj/effect/projectile/tracer/medigun
+ impact_type = /obj/effect/projectile/impact/medigun
+
+/obj/item/projectile/beam/medical_cell/on_hit(var/mob/living/carbon/human/target) //what does it do when it hits someone?
+ return
+
+/obj/item/ammo_casing/microbattery/medical/brute
+ name = "\'ML-3/M\' nanite cell - BRUTE"
+ type_color = "#BF0000"
+ type_name = "BRUTE"
+ projectile_type = /obj/item/projectile/beam/medical_cell/brute
+
+/obj/item/projectile/beam/medical_cell/brute/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustBruteLoss(-5)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/burn
+ name = "\'ML-3/M\' nanite cell - BURN"
+ type_color = "#FF8000"
+ type_name = "BURN"
+ projectile_type = /obj/item/projectile/beam/medical_cell/burn
+
+/obj/item/projectile/beam/medical_cell/burn/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustFireLoss(-5)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/stabilize
+ name = "\'ML-3/M\' nanite cell - STABILIZE" //Disinfects all open wounds, cures oxy damage
+ type_color = "#0080FF"
+ type_name = "STABILIZE"
+ projectile_type = /obj/item/projectile/beam/medical_cell/stabilize
+
+/obj/item/projectile/beam/medical_cell/stabilize/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustOxyLoss(-30)
+ for(var/name in list(BP_HEAD, BP_L_HAND, BP_R_HAND, BP_L_ARM, BP_R_ARM, BP_L_FOOT, BP_R_FOOT, BP_L_LEG, BP_R_LEG, BP_GROIN, BP_TORSO))
+ var/obj/item/organ/external/O = target.organs_by_name[name]
+ for (var/datum/wound/W in O.wounds)
+ if (W.internal)
+ continue
+ W.disinfect()
+ target.add_modifier(/datum/modifier/stabilize, 20 SECONDS)
+ else
+ return 1
+
+/datum/modifier/stabilize
+ name = "stabilize"
+ desc = "Your injuries are stabilized and your pain abates!"
+ mob_overlay_state = "cyan_sparkles"
+ stacks = MODIFIER_STACK_EXTEND
+ pain_immunity = TRUE
+ bleeding_rate_percent = 0.1 //only a little
+ incoming_oxy_damage_percent = 0
+
+/obj/item/ammo_casing/microbattery/medical/toxin
+ name = "\'ML-3/M\' nanite cell - TOXIN"
+ type_color = "#00A000"
+ type_name = "TOXIN"
+ projectile_type = /obj/item/projectile/beam/medical_cell/toxin
+
+/obj/item/projectile/beam/medical_cell/toxin/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustToxLoss(-5)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/omni
+ name = "\'ML-3/M\' nanite cell - OMNI"
+ type_color = "#8040FF"
+ type_name = "OMNI"
+ projectile_type = /obj/item/projectile/beam/medical_cell/omni
+
+/obj/item/projectile/beam/medical_cell/omni/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustBruteLoss(-2.5)
+ target.adjustFireLoss(-2.5)
+ target.adjustToxLoss(-2.5)
+ target.adjustOxyLoss(-10)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/antirad
+ name = "\'ML-3/M\' nanite cell - ANTIRAD"
+ type_color = "#008000"
+ type_name = "ANTIRAD"
+ projectile_type = /obj/item/projectile/beam/medical_cell/antirad
+
+/obj/item/projectile/beam/medical_cell/antirad/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustToxLoss(-2.5)
+ target.radiation = max(target.radiation - 150, 0) //same as 5 units of arithrazine, sans the brute damage
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/brute2
+ name = "\'ML-3/M\' nanite cell - BRUTE-II"
+ type_color = "#BF0000"
+ type_name = "BRUTE-II"
+ projectile_type = /obj/item/projectile/beam/medical_cell/brute2
+
+/obj/item/projectile/beam/medical_cell/brute2/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustBruteLoss(-10)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/burn2
+ name = "\'ML-3/M\' nanite cell - BURN-II"
+ type_color = "#FF8000"
+ type_name = "BURN-II"
+ projectile_type = /obj/item/projectile/beam/medical_cell/burn2
+
+/obj/item/projectile/beam/medical_cell/burn2/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustFireLoss(-10)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/stabilize2
+ name = "\'ML-3/M\' nanite cell - STABILIZE-II" //Disinfects and bandages all open wounds, cures all oxy damage
+ type_color = "#0080FF"
+ type_name = "STABILIZE-II"
+ projectile_type = /obj/item/projectile/beam/medical_cell/stabilize2
+
+/obj/item/projectile/beam/medical_cell/stabilize2/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustOxyLoss(-200)
+ for(var/name in list(BP_HEAD, BP_L_HAND, BP_R_HAND, BP_L_ARM, BP_R_ARM, BP_L_FOOT, BP_R_FOOT, BP_L_LEG, BP_R_LEG, BP_GROIN, BP_TORSO))
+ var/obj/item/organ/external/O = target.organs_by_name[name]
+ for (var/datum/wound/W in O.wounds)
+ if(W.internal)
+ continue
+ if(O.is_bandaged() == FALSE)
+ W.bandage()
+ if(O.is_salved() == FALSE)
+ W.salve()
+ W.disinfect()
+ target.add_modifier(/datum/modifier/stabilize, 20 SECONDS)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/omni2
+ name = "\'ML-3/M\' nanite cell - OMNI-II"
+ type_color = "#8040FF"
+ type_name = "OMNI-II"
+ projectile_type = /obj/item/projectile/beam/medical_cell/omni2
+
+/obj/item/projectile/beam/medical_cell/omni2/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustBruteLoss(-5)
+ target.adjustFireLoss(-5)
+ target.adjustToxLoss(-5)
+ target.adjustOxyLoss(-30)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/toxin2
+ name = "\'ML-3/M\' nanite cell - TOXIN-II"
+ type_color = "#00A000"
+ type_name = "TOXIN-II"
+ projectile_type = /obj/item/projectile/beam/medical_cell/toxin2
+
+/obj/item/projectile/beam/medical_cell/toxin2/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustToxLoss(-20)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/haste
+ name = "\'ML-3/M\' nanite cell - HASTE"
+ type_color = "#FF3300"
+ type_name = "HASTE"
+ projectile_type = /obj/item/projectile/beam/medical_cell/haste
+
+/obj/item/projectile/beam/medical_cell/haste/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.add_modifier(/datum/modifier/ml3mhaste, 20 SECONDS)
+ else
+ return 1
+
+/datum/modifier/ml3mhaste
+ name = "haste"
+ desc = "You can move much faster!"
+ mob_overlay_state = "haste"
+ stacks = MODIFIER_STACK_EXTEND
+ slowdown = -0.5 //a little faster!
+ evasion = 1.15 //and a little harder to hit!
+
+/obj/item/ammo_casing/microbattery/medical/resist
+ name = "\'ML-3/M\' nanite cell - RESIST"
+ type_color = "#555555"
+ type_name = "RESIST"
+ projectile_type = /obj/item/projectile/beam/medical_cell/resist
+
+/obj/item/projectile/beam/medical_cell/resist/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.add_modifier(/datum/modifier/resistance, 20 SECONDS)
+ else
+ return 1
+
+/datum/modifier/resistance
+ name = "resistance"
+ desc = "You resist 15% of all incoming damage and stuns!"
+ mob_overlay_state = "repel_missiles"
+ stacks = MODIFIER_STACK_EXTEND
+ disable_duration_percent = 0.85
+ incoming_damage_percent = 0.85
+
+/obj/item/ammo_casing/microbattery/medical/corpse_mend
+ name = "\'ML-3/M\' nanite cell - CORPSE MEND"
+ type_color = "#669900"
+ type_name = "CORPSE MEND"
+ projectile_type = /obj/item/projectile/beam/medical_cell/corpse_mend
+
+/obj/item/projectile/beam/medical_cell/corpse_mend/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ if(target.stat == DEAD)
+ target.adjustBruteLoss(-50)
+ target.adjustFireLoss(-50)
+ target.adjustToxLoss(-50)
+ target.adjustOxyLoss(-200)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/brute3
+ name = "\'ML-3/M\' nanite cell - BRUTE-III"
+ type_color = "#BF0000"
+ type_name = "BRUTE-III"
+ projectile_type = /obj/item/projectile/beam/medical_cell/brute3
+
+/obj/item/projectile/beam/medical_cell/brute3/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustBruteLoss(-20)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/burn3
+ name = "\'ML-3/M\' nanite cell - BURN-III"
+ type_color = "#FF8000"
+ type_name = "BURN-III"
+ projectile_type = /obj/item/projectile/beam/medical_cell/burn3
+
+/obj/item/projectile/beam/medical_cell/burn3/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustFireLoss(-20)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/toxin3
+ name = "\'ML-3/M\' nanite cell - TOXIN-III"
+ type_color = "#00A000"
+ type_name = "TOXIN-III"
+ projectile_type = /obj/item/projectile/beam/medical_cell/toxin3
+
+/obj/item/projectile/beam/medical_cell/toxin3/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustToxLoss(-20)
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/omni3
+ name = "\'ML-3/M\' nanite cell - OMNI-III"
+ type_color = "#8040FF"
+ type_name = "OMNI-III"
+ projectile_type = /obj/item/projectile/beam/medical_cell/omni3
+
+/obj/item/projectile/beam/medical_cell/omni3/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.adjustBruteLoss(-10)
+ target.adjustFireLoss(-10)
+ target.adjustToxLoss(-10)
+ target.adjustOxyLoss(-60)
+ else
+ return 1
+
+// Illegal cells!
+/obj/item/ammo_casing/microbattery/medical/shrink
+ name = "\'ML-3/M\' nanite cell - SHRINK"
+ type_color = "#910ffc"
+ type_name = "SHRINK"
+ projectile_type = /obj/item/projectile/beam/medical_cell/shrink
+
+/obj/item/projectile/beam/medical_cell/shrink/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.resize(0.5)
+ target.show_message("The beam fires into your body, changing your size!")
+ target.updateicon()
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/grow
+ name = "\'ML-3/M\' nanite cell - GROW"
+ type_color = "#fc0fdc"
+ type_name = "GROW"
+ projectile_type = /obj/item/projectile/beam/medical_cell/grow
+
+/obj/item/projectile/beam/medical_cell/grow/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.resize(2.0)
+ target.show_message("The beam fires into your body, changing your size!")
+ target.updateicon()
+ else
+ return 1
+
+/obj/item/ammo_casing/microbattery/medical/normalsize
+ name = "\'ML-3/M\' nanite cell - NORMALSIZE"
+ type_color = "#C70FEC"
+ type_name = "NORMALSIZE"
+ projectile_type = /obj/item/projectile/beam/medical_cell/normalsize
+
+/obj/item/projectile/beam/medical_cell/normalsize/on_hit(var/mob/living/carbon/human/target)
+ if(istype(target, /mob/living/carbon/human))
+ target.resize(1)
+ target.show_message("The beam fires into your body, changing your size!")
+ target.updateicon()
+ else
+ return 1
\ No newline at end of file
diff --git a/code/modules/vore/fluffstuff/guns/cell_loaded/nsfw.dm b/code/modules/vore/fluffstuff/guns/cell_loaded/nsfw.dm
new file mode 100644
index 00000000000..8bfec0261e7
--- /dev/null
+++ b/code/modules/vore/fluffstuff/guns/cell_loaded/nsfw.dm
@@ -0,0 +1,74 @@
+// The Gun //
+/obj/item/weapon/gun/projectile/cell_loaded/combat
+ name = "cell-loaded revolver"
+ desc = "Variety is the spice of life! The KHI-102b 'Nanotech Selectable-Fire Weapon', or NSFW for short, is an unholy hybrid of an ammo-driven \
+ energy weapon that allows the user to mix and match their own fire modes. Up to four combinations of \
+ energy beams can be configured at once. Ammo not included."
+ catalogue_data = list(/datum/category_item/catalogue/information/organization/khi)
+
+ description_fluff = "The Kitsuhana 'Nanotech Selectable Fire Weapon' allows one to customize their loadout in the field, or before deploying, to achieve various results in a weapon they are already familiar with wielding."
+ allowed_magazines = list(/obj/item/ammo_magazine/cell_mag/combat)
+
+/obj/item/weapon/gun/projectile/cell_loaded/combat/prototype
+ name = "prototype cell-loaded revolver"
+ desc = "Variety is the spice of life! A prototype based on KHI-102b 'Nanotech Selectable-Fire Weapon', or NSFW for short, is an unholy hybrid of an ammo-driven \
+ energy weapon that allows the user to mix and match their own fire modes. Up to two combinations of \
+ energy beams can be configured at once. Ammo not included."
+
+ description_info = "This gun is an energy weapon that uses interchangable microbatteries in a magazine. Each battery is a different beam type, and up to three can be loaded in the magazine. Each battery usually provides four discharges of that beam type, and multiple from the same type may be loaded to increase the number of shots for that type."
+ description_antag = ""
+ allowed_magazines = list(/obj/item/ammo_magazine/cell_mag/combat/prototype)
+
+ origin_tech = list(TECH_COMBAT = 7, TECH_MATERIAL = 4, TECH_MAGNETS = 3)
+
+
+// The Magazine //
+/obj/item/ammo_magazine/cell_mag/combat
+ name = "microbattery magazine"
+ desc = "A microbattery holder for the \'NSFW\'"
+ icon_state = "nsfw_mag"
+ max_ammo = 4
+ x_offset = 4
+ catalogue_data = list(/datum/category_item/catalogue/information/organization/khi)
+ description_info = "This magazine holds NSFW microbatteries to power the NSFW handgun. Up to three can be loaded at once, and each provides four shots of their respective energy type. Loading multiple of the same type will provide additional shots of that type. The batteries can be recharged in a normal recharger."
+ ammo_type = /obj/item/ammo_casing/microbattery/combat
+
+/obj/item/ammo_magazine/cell_mag/combat/prototype
+ name = "prototype microbattery magazine"
+ icon_state = "nsfw_mag_prototype"
+ max_ammo = 2
+ x_offset = 6
+ catalogue_data = null
+ origin_tech = list(TECH_COMBAT = 4, TECH_MATERIAL = 3, TECH_MAGNETS = 2)
+
+
+// The Pack //
+/obj/item/weapon/storage/secure/briefcase/nsfw_pack
+ name = "\improper KHI-102b \'NSFW\' gun kit"
+ desc = "A storage case for a multi-purpose handgun. Variety hour!"
+ w_class = ITEMSIZE_NORMAL
+ max_w_class = ITEMSIZE_NORMAL
+
+/obj/item/weapon/storage/secure/briefcase/nsfw_pack/New()
+ ..()
+ new /obj/item/weapon/gun/projectile/cell_loaded/combat(src)
+ new /obj/item/ammo_magazine/cell_mag/combat(src)
+ for(var/path in subtypesof(/obj/item/ammo_casing/microbattery/combat))
+ new path(src)
+
+/obj/item/weapon/storage/secure/briefcase/nsfw_pack_hos
+ name = "\improper KHI-102b \'NSFW\' gun kit"
+ desc = "A storage case for a multi-purpose handgun. Variety hour!"
+ w_class = ITEMSIZE_NORMAL
+ max_w_class = ITEMSIZE_NORMAL
+
+/obj/item/weapon/storage/secure/briefcase/nsfw_pack_hos/New()
+ ..()
+ new /obj/item/weapon/gun/projectile/cell_loaded/combat(src)
+ new /obj/item/ammo_magazine/cell_mag/combat(src)
+ new /obj/item/ammo_casing/microbattery/combat/lethal(src)
+ new /obj/item/ammo_casing/microbattery/combat/lethal(src)
+ new /obj/item/ammo_casing/microbattery/combat/stun(src)
+ new /obj/item/ammo_casing/microbattery/combat/stun(src)
+ new /obj/item/ammo_casing/microbattery/combat/net(src)
+ new /obj/item/ammo_casing/microbattery/combat/ion(src)
\ No newline at end of file
diff --git a/code/modules/vore/fluffstuff/guns/cell_loaded/nsfw_cells.dm b/code/modules/vore/fluffstuff/guns/cell_loaded/nsfw_cells.dm
new file mode 100644
index 00000000000..946368baadc
--- /dev/null
+++ b/code/modules/vore/fluffstuff/guns/cell_loaded/nsfw_cells.dm
@@ -0,0 +1,115 @@
+// The Casing //
+/obj/item/ammo_casing/microbattery/combat
+ name = "\'NSFW\' microbattery - UNKNOWN"
+ desc = "A miniature battery for an energy weapon."
+ catalogue_data = list(/datum/category_item/catalogue/information/organization/khi)
+ origin_tech = list(TECH_COMBAT = 2, TECH_MATERIAL = 1, TECH_MAGNETS = 2)
+
+/obj/item/ammo_casing/microbattery/combat/lethal
+ name = "\'NSFW\' microbattery - LETHAL"
+ type_color = "#bf3d3d"
+ type_name = "LETHAL"
+ projectile_type = /obj/item/projectile/beam
+
+/obj/item/ammo_casing/microbattery/combat/stun
+ name = "\'NSFW\' microbattery - STUN"
+ type_color = "#0f81bc"
+ type_name = "STUN"
+ projectile_type = /obj/item/projectile/beam/stun/blue
+
+/obj/item/ammo_casing/microbattery/combat/net
+ name = "\'NSFW\' microbattery - NET"
+ type_color = "#43f136"
+ type_name = "NET"
+ projectile_type = /obj/item/projectile/beam/energy_net
+
+/obj/item/ammo_casing/microbattery/combat/xray
+ name = "\'NSFW\' microbattery - XRAY"
+ type_color = "#32c025"
+ type_name = "XRAY"
+ projectile_type = /obj/item/projectile/beam/xray
+
+/obj/item/ammo_casing/microbattery/combat/shotstun
+ name = "\'NSFW\' microbattery - SCATTERSTUN"
+ type_color = "#88ffff"
+ type_name = "SCATTERSTUN"
+ projectile_type = /obj/item/projectile/bullet/pellet/e_shot_stun
+
+/obj/item/projectile/bullet/pellet/e_shot_stun
+ icon_state = "spell"
+ damage = 2
+ agony = 20
+ pellets = 6 //number of pellets
+ range_step = 2 //projectile will lose a fragment each time it travels this distance. Can be a non-integer.
+ base_spread = 90 //lower means the pellets spread more across body parts. If zero then this is considered a shrapnel explosion instead of a shrapnel cone
+ spread_step = 10
+ embed_chance = 0
+ sharp = 0
+ check_armour = "melee"
+
+/obj/item/ammo_casing/microbattery/combat/ion
+ name = "\'NSFW\' microbattery - ION"
+ type_color = "#d084d6"
+ type_name = "ION"
+ projectile_type = /obj/item/projectile/ion/small
+
+/obj/item/ammo_casing/microbattery/combat/stripper
+ name = "\'NSFW\' microbattery - STRIPPER"
+ type_color = "#fc8d0f"
+ type_name = "STRIPPER"
+ projectile_type = /obj/item/projectile/bullet/stripper
+
+/obj/item/projectile/bullet/stripper
+ icon_state = "magicm"
+ nodamage = 1
+ agony = 5
+ embed_chance = 0
+ sharp = 0
+ check_armour = "melee"
+
+/obj/item/projectile/bullet/stripper/on_hit(var/atom/stripped)
+ if(ishuman(stripped))
+ var/mob/living/carbon/human/H = stripped
+ if(H.wear_suit)
+ H.unEquip(H.wear_suit)
+ if(H.w_uniform)
+ H.unEquip(H.w_uniform)
+ if(H.back)
+ H.unEquip(H.back)
+ if(H.shoes)
+ H.unEquip(H.shoes)
+ if(H.gloves)
+ H.unEquip(H.gloves)
+ //Hats can stay! Most other things fall off with removing these.
+ ..()
+
+/obj/item/ammo_casing/microbattery/combat/final
+ name = "\'NSFW\' microbattery - FINAL OPTION"
+ type_color = "#fcfc0f"
+ type_name = "FINAL OPTION" //Doesn't look good in yellow in chat
+ projectile_type = /obj/item/projectile/beam/final_option
+
+/obj/item/projectile/beam/final_option
+ name = "final option beam"
+ icon_state = "omnilaser"
+ nodamage = 1
+ agony = 5
+ damage_type = HALLOSS
+ light_color = "#00CC33"
+
+ muzzle_type = /obj/effect/projectile/muzzle/laser_omni
+ tracer_type = /obj/effect/projectile/tracer/laser_omni
+ impact_type = /obj/effect/projectile/impact/laser_omni
+
+/obj/item/projectile/beam/final_option/on_hit(var/atom/impacted)
+ if(isliving(impacted))
+ var/mob/living/L = impacted
+ if(L.mind)
+ var/nif
+ if(ishuman(L))
+ var/mob/living/carbon/human/H = L
+ nif = H.nif
+ SStranscore.m_backup(L.mind,nif,one_time = TRUE)
+ L.gib()
+
+ ..()
\ No newline at end of file
diff --git a/code/modules/vore/fluffstuff/guns/nsfw.dm b/code/modules/vore/fluffstuff/guns/nsfw.dm
deleted file mode 100644
index 983de082eb0..00000000000
--- a/code/modules/vore/fluffstuff/guns/nsfw.dm
+++ /dev/null
@@ -1,785 +0,0 @@
-// -------------- NSFW -------------
-/obj/item/weapon/gun/projectile/cell_loaded //this one can load both medical and security cells! for ERT/admin use.
- name = "multipurpose cell-loaded revolver"
- desc = "Variety is the spice of life! This weapon is a hybrid of the KHI-102b 'Nanotech Selectable-Fire Weapon' and the Vey-Med ML-3 'Medigun', dubbed the 'NSFW-ML3M'. \
- It can fire both harmful and healing cells with an internal nanite fabricator and energy weapon cell loader. Up to three combinations of \
- energy beams can be configured at once. Ammo not included."
- catalogue_data = list(/datum/category_item/catalogue/information/organization/khi)
-
- icon = 'icons/vore/custom_guns_vr.dmi'
- icon_state = "nsfw"
-
- icon_override = 'icons/vore/custom_guns_vr.dmi'
- item_state = "gun"
-
- caliber = "nsfw"
-
- origin_tech = list(TECH_COMBAT = 7, TECH_MATERIAL = 6, TECH_MAGNETS = 4)
-
- fire_sound = 'sound/weapons/Taser.ogg'
-
- load_method = MAGAZINE //Nyeh heh hehhh.
- magazine_type = null
- allowed_magazines = list(/obj/item/ammo_magazine/cell_mag)
- handle_casings = HOLD_CASINGS //Don't eject batteries!
- recoil = 0
- var/charge_left = 0
- var/max_charge = 0
- charge_sections = 5
-
-/obj/item/weapon/gun/projectile/cell_loaded/consume_next_projectile()
- if(chambered && ammo_magazine)
- var/obj/item/ammo_casing/microbattery/batt = chambered
- if(batt.shots_left)
- return new chambered.projectile_type()
- else
- for(var/B in ammo_magazine.stored_ammo)
- var/obj/item/ammo_casing/microbattery/other_batt = B
- if(istype(other_batt,chambered.type) && other_batt.shots_left)
- switch_to(other_batt)
- return new chambered.projectile_type()
- break
-
- return null
-
-/obj/item/weapon/gun/projectile/cell_loaded/proc/update_charge()
- charge_left = 0
- max_charge = 0
-
- if(!chambered)
- return
-
- var/obj/item/ammo_casing/microbattery/batt = chambered
-
- charge_left = batt.shots_left
- max_charge = initial(batt.shots_left)
- if(ammo_magazine) //Crawl to find more
- for(var/B in ammo_magazine.stored_ammo)
- var/obj/item/ammo_casing/microbattery/bullet = B
- if(istype(bullet,batt.type))
- charge_left += bullet.shots_left
- max_charge += initial(bullet.shots_left)
-
-/obj/item/weapon/gun/projectile/cell_loaded/proc/switch_to(obj/item/ammo_casing/microbattery/new_batt)
- if(ishuman(loc))
- if(chambered && new_batt.type == chambered.type)
- to_chat(loc,"\The [src] is now using the next [new_batt.type_name] power cell.")
- else
- to_chat(loc,"\The [src] is now firing [new_batt.type_name].")
-
- chambered = new_batt
- update_charge()
- update_icon()
-
-/obj/item/weapon/gun/projectile/cell_loaded/attack_self(mob/user)
- if(!chambered)
- return
-
- var/list/stored_ammo = ammo_magazine.stored_ammo
-
- if(stored_ammo.len == 1)
- return //silly you.
-
- //Find an ammotype that ISN'T the same, or exhaust the list and don't change.
- var/our_slot = stored_ammo.Find(chambered)
-
- for(var/index in 1 to stored_ammo.len)
- var/true_index = ((our_slot + index - 1) % stored_ammo.len) + 1 // Stupid ONE BASED lists!
- var/obj/item/ammo_casing/microbattery/next_batt = stored_ammo[true_index]
- if(chambered != next_batt && !istype(next_batt, chambered.type))
- switch_to(next_batt)
- break
-/*
-/obj/item/weapon/gun/projectile/cell_loaded/special_check(mob/user)
- if(!chambered)
- return
-
- var/obj/item/ammo_casing/microbattery/batt = chambered
- if(!batt.shots_left)
- return FALSE
-
- return TRUE
-*/
-/obj/item/weapon/gun/projectile/cell_loaded/load_ammo(var/obj/item/A, mob/user)
- . = ..()
- if(ammo_magazine && ammo_magazine.stored_ammo.len)
- switch_to(ammo_magazine.stored_ammo[1])
-
-/obj/item/weapon/gun/projectile/cell_loaded/unload_ammo(mob/user, var/allow_dump=1)
- chambered = null
- return ..()
-
-/obj/item/weapon/gun/projectile/cell_loaded/update_icon()
- update_charge()
-
- cut_overlays()
- if(!chambered)
- return
-
- var/obj/item/ammo_casing/microbattery/batt = chambered
- var/batt_color = batt.type_color //Used many times
-
- //Mode bar
- var/image/mode_bar = image(icon, icon_state = "[initial(icon_state)]_type")
- mode_bar.color = batt_color
- add_overlay(mode_bar)
-
- //Barrel color
- var/image/barrel_color = image(icon, icon_state = "[initial(icon_state)]_barrel")
- barrel_color.alpha = 150
- barrel_color.color = batt_color
- add_overlay(barrel_color)
-
- //Charge bar
- var/ratio = CEILING(((charge_left / max_charge) * charge_sections), 1)
- for(var/i = 0, i < ratio, i++)
- var/image/charge_bar = image(icon, icon_state = "[initial(icon_state)]_charge")
- charge_bar.pixel_x = i
- charge_bar.color = batt_color
- add_overlay(charge_bar)
-
-/obj/item/weapon/gun/projectile/cell_loaded/combat
- name = "prototype cell-loaded revolver"
- desc = "Variety is the spice of life! A prototype based on KHI-102b 'Nanotech Selectable-Fire Weapon', or NSFW for short, is an unholy hybrid of an ammo-driven \
- energy weapon that allows the user to mix and match their own fire modes. Up to two combinations of \
- energy beams can be configured at once. Ammo not included."
-
- description_info = "This gun is an energy weapon that uses interchangable microbatteries in a magazine. Each battery is a different beam type, and up to three can be loaded in the magazine. Each battery usually provides four discharges of that beam type, and multiple from the same type may be loaded to increase the number of shots for that type."
- description_antag = ""
- allowed_magazines = list(/obj/item/ammo_magazine/cell_mag/combat/prototype)
-
-/obj/item/weapon/gun/projectile/cell_loaded/combat/advanced
- name = "cell-loaded revolver"
- desc = "Variety is the spice of life! The KHI-102b 'Nanotech Selectable-Fire Weapon', or NSFW for short, is an unholy hybrid of an ammo-driven \
- energy weapon that allows the user to mix and match their own fire modes. Up to four combinations of \
- energy beams can be configured at once. Ammo not included."
- catalogue_data = list(/datum/category_item/catalogue/information/organization/khi)
-
- description_fluff = "The Kitsuhana 'Nanotech Selectable Fire Weapon' allows one to customize their loadout in the field, or before deploying, to achieve various results in a weapon they are already familiar with wielding."
- allowed_magazines = list(/obj/item/ammo_magazine/cell_mag/combat)
-
-
-/obj/item/weapon/gun/projectile/cell_loaded/medical
- name = "\improper ML-3 \'Medigun\'"
- desc = "The ML-3 'Medigun', or ML3M for short, is a powerful cell-based ranged healing device based on the KHI-102b NSFW. \
- It uses an internal nanite fabricator, powered and controlled by discrete cells, to deliver a variety of effects at range. Up to three combinations of \
- healing beams can be configured at once. Ammo not included."
- catalogue_data = list(/datum/category_item/catalogue/information/organization/vey_med)
-
- icon_state = "ml3m"
- description_info = "This is a ranged healing device that uses interchangable nanite discharge cells in a magazine. Each cell is a different healing beam type, and up to three can be loaded in the magazine. Each battery usually provides four discharges of that beam type, and multiple from the same type may be loaded to increase the number of shots for that type."
- description_fluff = "The Vey-Med ML-3 'Medigun' allows one to customize their loadout in the field, or before deploying, to allow emergency response personnel to deliver a variety of ranged healing options."
- description_antag = ""
- allowed_magazines = list(/obj/item/ammo_magazine/cell_mag/medical)
-
-/obj/item/weapon/gun/projectile/cell_loaded/medical/cmo
- name = "\improper Advanced ML-3 \'Medigun\'"
- desc = "This is a variation on the ML-3 'Medigun', a powerful cell-based ranged healing device based on the KHI-102b NSFW. \
- It has an extended sight for increased accuracy, and is capable of holding large magazines. Ammo not included."
-
- icon_state = "ml3m_cmo"
-
-
-// The Magazine //
-/obj/item/ammo_magazine/cell_mag
- name = "microbattery magazine"
- desc = "A microbattery holder for a cell-based variable weapon."
- icon = 'icons/obj/ammo_vr.dmi'
- icon_state = "cell_mag"
- caliber = "nsfw"
- matter = list(DEFAULT_WALL_MATERIAL = 1680, "glass" = 2000)
- ammo_type = /obj/item/ammo_casing/microbattery
- initial_ammo = 0
- max_ammo = 3
- var/x_offset = 5 //for update_icon() shenanigans- moved here so it can be adjusted for bigger mags
- var/capname = "nsfw_mag" //as above
- var/chargename = "nsfw_mag" //as above
- mag_type = MAGAZINE
-
- var/list/modes = list()
-
-/obj/item/ammo_magazine/cell_mag/attackby(obj/item/weapon/W as obj, mob/user as mob)
- if(istype(W, /obj/item/ammo_casing/microbattery))
- var/obj/item/ammo_casing/microbattery/B = W
- if(!istype(B, ammo_type))
- to_chat(user, "[B] does not fit into [src].")
- return
- if(stored_ammo.len >= max_ammo)
- to_chat(user, "[src] is full!")
- return
- user.remove_from_mob(B)
- B.loc = src
- stored_ammo.Add(B)
- update_icon()
- playsound(user.loc, 'sound/weapons/flipblade.ogg', 50, 1)
- update_icon()
-
-/obj/item/ammo_magazine/cell_mag/update_icon()
- cut_overlays()
- if(!stored_ammo.len)
- return //Why bother
-
- var/current = 0
- for(var/B in stored_ammo)
- var/obj/item/ammo_casing/microbattery/batt = B
- var/image/cap = image(icon, icon_state = "[capname]_cap")
- cap.color = batt.type_color
- cap.pixel_x = current * x_offset //Caps don't need a pixel_y offset
- add_overlay(cap)
-
- if(batt.shots_left)
- var/ratio = CEILING(((batt.shots_left / initial(batt.shots_left)) * 4), 1) //4 is how many lights we have a sprite for
- var/image/charge = image(icon, icon_state = "[chargename]_charge-[ratio]")
- charge.color = "#29EAF4" //Could use battery color but eh.
- charge.pixel_x = current * x_offset
- add_overlay(charge)
-
- current++ //Increment for offsets
-
-/obj/item/ammo_magazine/cell_mag/combat //security
- name = "microbattery magazine"
- desc = "A microbattery holder for the \'NSFW\'"
- icon_state = "nsfw_mag"
- max_ammo = 4
- x_offset = 4
- catalogue_data = list(/datum/category_item/catalogue/information/organization/khi)
- description_info = "This magazine holds NSFW microbatteries to power the NSFW handgun. Up to three can be loaded at once, and each provides four shots of their respective energy type. Loading multiple of the same type will provide additional shots of that type. The batteries can be recharged in a normal recharger."
- ammo_type = /obj/item/ammo_casing/microbattery/combat
-
-/obj/item/ammo_magazine/cell_mag/combat/prototype
- name = "prototype microbattery magazine"
- icon_state = "nsfw_mag_prototype"
- max_ammo = 2
- x_offset = 6
- catalogue_data = null
-
-/obj/item/ammo_magazine/cell_mag/medical //medical
- name = "nanite magazine"
- desc = "A nanite fabrication magazine for the \'ML-3/M\'"
- catalogue_data = list(/datum/category_item/catalogue/information/organization/vey_med)
- description_info = "This magazine holds self-charging nanite fabricators to power the ML-3 'Medigun'. Up to three can be loaded at once, and each provides four shots of their respective healing type. Loading multiple of the same type will provide additional shots of that type. The batteries can be recharged in a normal recharger."
- ammo_type = /obj/item/ammo_casing/microbattery/medical
- icon_state = "ml3m_mag"
-
-/obj/item/ammo_magazine/cell_mag/medical/advanced
- name = "advanced nanite magazine"
- desc = "A nanite discharge cell for the \'ML-3/M\'. This one is a more advanced version which can hold six individual nanite discharge cells."
- max_ammo = 6
- x_offset = 3
- icon_state = "ml3m_mag_extended"
-
-// The Casing //
-/obj/item/ammo_casing/microbattery
- name = "\'NSFW\' microbattery - UNKNOWN"
- desc = "A miniature battery for an energy weapon."
- catalogue_data = list(/datum/category_item/catalogue/information/organization/khi)
- icon = 'icons/obj/ammo_vr.dmi'
- icon_state = "nsfw_batt"
- slot_flags = SLOT_BELT | SLOT_EARS
- throwforce = 1
- w_class = ITEMSIZE_TINY
- var/shots_left = 4
-
- leaves_residue = 0
- caliber = "nsfw"
- var/type_color = null
- var/type_name = null
- projectile_type = /obj/item/projectile/beam
-
-/obj/item/ammo_casing/microbattery/Initialize()
- . = ..()
- pixel_x = rand(-10, 10)
- pixel_y = rand(-10, 10)
- update_icon()
-
-/obj/item/ammo_casing/microbattery/update_icon()
- cut_overlays()
-
- var/image/ends = image(icon, icon_state = "[initial(icon_state)]_ends")
- ends.color = type_color
- add_overlay(ends)
-
-/obj/item/ammo_casing/microbattery/expend()
- shots_left--
-
-// Specific batteries //
-// Security (Combat) //
-
-/obj/item/ammo_casing/microbattery/combat
- name = "\'NSFW\' microbattery - UNKNOWN"
- desc = "A miniature battery for an energy weapon."
- catalogue_data = list(/datum/category_item/catalogue/information/organization/khi)
-
-/obj/item/ammo_casing/microbattery/combat/lethal
- name = "\'NSFW\' microbattery - LETHAL"
- type_color = "#bf3d3d"
- type_name = "LETHAL"
- projectile_type = /obj/item/projectile/beam
-
-/obj/item/ammo_casing/microbattery/combat/stun
- name = "\'NSFW\' microbattery - STUN"
- type_color = "#0f81bc"
- type_name = "STUN"
- projectile_type = /obj/item/projectile/beam/stun/blue
-
-/obj/item/ammo_casing/microbattery/combat/net
- name = "\'NSFW\' microbattery - NET"
- type_color = "#43f136"
- type_name = "NET"
- projectile_type = /obj/item/projectile/beam/energy_net
-
-/obj/item/ammo_casing/microbattery/combat/xray
- name = "\'NSFW\' microbattery - XRAY"
- type_color = "#32c025"
- type_name = "XRAY"
- projectile_type = /obj/item/projectile/beam/xray
-
-/obj/item/ammo_casing/microbattery/combat/shotstun
- name = "\'NSFW\' microbattery - SCATTERSTUN"
- type_color = "#88ffff"
- type_name = "SCATTERSTUN"
- projectile_type = /obj/item/projectile/bullet/pellet/e_shot_stun
-
-/obj/item/projectile/bullet/pellet/e_shot_stun
- icon_state = "spell"
- damage = 2
- agony = 20
- pellets = 6 //number of pellets
- range_step = 2 //projectile will lose a fragment each time it travels this distance. Can be a non-integer.
- base_spread = 90 //lower means the pellets spread more across body parts. If zero then this is considered a shrapnel explosion instead of a shrapnel cone
- spread_step = 10
- embed_chance = 0
- sharp = 0
- check_armour = "melee"
-
-/obj/item/ammo_casing/microbattery/combat/ion
- name = "\'NSFW\' microbattery - ION"
- type_color = "#d084d6"
- type_name = "ION"
- projectile_type = /obj/item/projectile/ion/small
-
-/obj/item/ammo_casing/microbattery/combat/stripper
- name = "\'NSFW\' microbattery - STRIPPER"
- type_color = "#fc8d0f"
- type_name = "STRIPPER"
- projectile_type = /obj/item/projectile/bullet/stripper
-
-/obj/item/projectile/bullet/stripper
- icon_state = "magicm"
- nodamage = 1
- agony = 5
- embed_chance = 0
- sharp = 0
- check_armour = "melee"
-
-/obj/item/projectile/bullet/stripper/on_hit(var/atom/stripped)
- if(ishuman(stripped))
- var/mob/living/carbon/human/H = stripped
- if(H.wear_suit)
- H.unEquip(H.wear_suit)
- if(H.w_uniform)
- H.unEquip(H.w_uniform)
- if(H.back)
- H.unEquip(H.back)
- if(H.shoes)
- H.unEquip(H.shoes)
- if(H.gloves)
- H.unEquip(H.gloves)
- //Hats can stay! Most other things fall off with removing these.
- ..()
-
-/obj/item/ammo_casing/microbattery/combat/final
- name = "\'NSFW\' microbattery - FINAL OPTION"
- type_color = "#fcfc0f"
- type_name = "FINAL OPTION" //Doesn't look good in yellow in chat
- projectile_type = /obj/item/projectile/beam/final_option
-
-/obj/item/projectile/beam/final_option
- name = "final option beam"
- icon_state = "omnilaser"
- nodamage = 1
- agony = 5
- damage_type = HALLOSS
- light_color = "#00CC33"
-
- muzzle_type = /obj/effect/projectile/muzzle/laser_omni
- tracer_type = /obj/effect/projectile/tracer/laser_omni
- impact_type = /obj/effect/projectile/impact/laser_omni
-
-/obj/item/projectile/beam/final_option/on_hit(var/atom/impacted)
- if(isliving(impacted))
- var/mob/living/L = impacted
- if(L.mind)
- var/nif
- if(ishuman(L))
- var/mob/living/carbon/human/H = L
- nif = H.nif
- SStranscore.m_backup(L.mind,nif,one_time = TRUE)
- L.gib()
-
- ..()
-
-/obj/item/weapon/storage/secure/briefcase/nsfw_pack
- name = "\improper KHI-102b \'NSFW\' gun kit"
- desc = "A storage case for a multi-purpose handgun. Variety hour!"
- w_class = ITEMSIZE_NORMAL
- max_w_class = ITEMSIZE_NORMAL
-
-/obj/item/weapon/storage/secure/briefcase/nsfw_pack/New()
- ..()
- new /obj/item/weapon/gun/projectile/cell_loaded/combat(src)
- new /obj/item/ammo_magazine/cell_mag/combat(src)
- for(var/path in subtypesof(/obj/item/ammo_casing/microbattery/combat))
- new path(src)
-
-/obj/item/weapon/storage/secure/briefcase/nsfw_pack_hos
- name = "\improper KHI-102b \'NSFW\' gun kit"
- desc = "A storage case for a multi-purpose handgun. Variety hour!"
- w_class = ITEMSIZE_NORMAL
- max_w_class = ITEMSIZE_NORMAL
-
-/obj/item/weapon/storage/secure/briefcase/nsfw_pack_hos/New()
- ..()
- new /obj/item/weapon/gun/projectile/cell_loaded/combat(src)
- new /obj/item/ammo_magazine/cell_mag/combat(src)
- new /obj/item/ammo_casing/microbattery/combat/lethal(src)
- new /obj/item/ammo_casing/microbattery/combat/lethal(src)
- new /obj/item/ammo_casing/microbattery/combat/stun(src)
- new /obj/item/ammo_casing/microbattery/combat/stun(src)
- new /obj/item/ammo_casing/microbattery/combat/net(src)
- new /obj/item/ammo_casing/microbattery/combat/ion(src)
-
-/obj/item/weapon/storage/secure/briefcase/ml3m_pack
- name = "\improper Advanced ML-3 \'Medigun\' kit"
- desc = "A storage case for a multi-purpose healing gun. Variety hour!"
- w_class = ITEMSIZE_NORMAL
- max_w_class = ITEMSIZE_NORMAL
-
-/obj/item/weapon/storage/secure/briefcase/ml3m_pack/New()
- ..()
- new /obj/item/weapon/gun/projectile/cell_loaded/medical/cmo(src)
- new /obj/item/ammo_magazine/cell_mag/medical/advanced(src)
- for(var/path in subtypesof(/obj/item/ammo_casing/microbattery/medical))
- new path(src)
-
-/obj/item/weapon/storage/secure/briefcase/ml3m_pack_med
- name = "\improper ML-3 \'Medigun\' kit"
- desc = "A storage case for a multi-purpose healing gun. Variety hour!"
- w_class = ITEMSIZE_NORMAL
- max_w_class = ITEMSIZE_NORMAL
-
-/obj/item/weapon/storage/secure/briefcase/ml3m_pack_med/New()
- ..()
- new /obj/item/weapon/gun/projectile/cell_loaded/medical(src)
- new /obj/item/ammo_magazine/cell_mag/medical(src)
- new /obj/item/ammo_casing/microbattery/medical/brute(src)
- new /obj/item/ammo_casing/microbattery/medical/burn(src)
- new /obj/item/ammo_casing/microbattery/medical/stabilize(src)
-
-/obj/item/weapon/storage/secure/briefcase/ml3m_pack_cmo
- name = "\improper Advanced ML-3 \'Medigun\' kit"
- desc = "A storage case for a multi-purpose healing gun. Variety hour!"
- w_class = ITEMSIZE_NORMAL
- max_w_class = ITEMSIZE_NORMAL
-
-/obj/item/weapon/storage/secure/briefcase/ml3m_pack_cmo/New()
- ..()
- new /obj/item/weapon/gun/projectile/cell_loaded/medical/cmo(src)
- new /obj/item/ammo_magazine/cell_mag/medical(src)
- new /obj/item/ammo_casing/microbattery/medical/brute(src)
- new /obj/item/ammo_casing/microbattery/medical/burn(src)
- new /obj/item/ammo_casing/microbattery/medical/stabilize(src)
- new /obj/item/ammo_casing/microbattery/medical/toxin(src)
- new /obj/item/ammo_casing/microbattery/medical/omni(src)
-
-
-// Medical //
-
-/obj/item/ammo_casing/microbattery/medical
- name = "\'ML-3/M\' nanite cell - UNKNOWN"
- desc = "A miniature nanite fabricator for a medigun."
- catalogue_data = list(/datum/category_item/catalogue/information/organization/vey_med)
- icon_state = "ml3m_batt"
-
-/obj/item/projectile/beam/medical_cell
- name = "\improper healing beam"
- icon_state = "medbeam"
- nodamage = 1
- damage = 0
- check_armour = "laser"
- light_color = "#80F5FF"
-
- combustion = FALSE
-
- muzzle_type = /obj/effect/projectile/muzzle/medigun
- tracer_type = /obj/effect/projectile/tracer/medigun
- impact_type = /obj/effect/projectile/impact/medigun
-
-/obj/item/projectile/beam/medical_cell/on_hit(var/mob/living/carbon/human/target) //what does it do when it hits someone?
- return
-
-/obj/item/ammo_casing/microbattery/medical/brute
- name = "\'ML-3/M\' nanite cell - BRUTE"
- type_color = "#BF0000"
- type_name = "BRUTE"
- projectile_type = /obj/item/projectile/beam/medical_cell/brute
-
-/obj/item/projectile/beam/medical_cell/brute/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustBruteLoss(-5)
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/burn
- name = "\'ML-3/M\' nanite cell - BURN"
- type_color = "#FF8000"
- type_name = "BURN"
- projectile_type = /obj/item/projectile/beam/medical_cell/burn
-
-/obj/item/projectile/beam/medical_cell/burn/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustFireLoss(-5)
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/stabilize
- name = "\'ML-3/M\' nanite cell - STABILIZE" //Disinfects all open wounds, cures oxy damage
- type_color = "#0080FF"
- type_name = "STABILIZE"
- projectile_type = /obj/item/projectile/beam/medical_cell/stabilize
-
-/obj/item/projectile/beam/medical_cell/stabilize/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustOxyLoss(-30)
- for(var/name in list(BP_HEAD, BP_L_HAND, BP_R_HAND, BP_L_ARM, BP_R_ARM, BP_L_FOOT, BP_R_FOOT, BP_L_LEG, BP_R_LEG, BP_GROIN, BP_TORSO))
- var/obj/item/organ/external/O = target.organs_by_name[name]
- for (var/datum/wound/W in O.wounds)
- if (W.internal)
- continue
- W.disinfect()
- target.add_modifier(/datum/modifier/stabilize, 20 SECONDS)
- else
- return 1
-
-/datum/modifier/stabilize
- name = "stabilize"
- desc = "Your injuries are stabilized and your pain abates!"
- mob_overlay_state = "cyan_sparkles"
- stacks = MODIFIER_STACK_EXTEND
- pain_immunity = TRUE
- bleeding_rate_percent = 0.1 //only a little
- incoming_oxy_damage_percent = 0
-
-/obj/item/ammo_casing/microbattery/medical/toxin
- name = "\'ML-3/M\' nanite cell - TOXIN"
- type_color = "#00A000"
- type_name = "TOXIN"
- projectile_type = /obj/item/projectile/beam/medical_cell/tox
-
-/obj/item/projectile/beam/medical_cell/tox/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustToxLoss(-5)
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/omni
- name = "\'ML-3/M\' nanite cell - OMNI"
- type_color = "#8040FF"
- type_name = "OMNI"
- projectile_type = /obj/item/projectile/beam/medical_cell/omni
-
-/obj/item/projectile/beam/medical_cell/omni/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustBruteLoss(-2.5)
- target.adjustFireLoss(-2.5)
- target.adjustToxLoss(-2.5)
- target.adjustOxyLoss(-10)
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/antirad
- name = "\'ML-3/M\' nanite cell - OMNI"
- type_color = "#008000"
- type_name = "ANTIRAD"
- projectile_type = /obj/item/projectile/beam/medical_cell/antirad
-
-/obj/item/projectile/beam/medical_cell/antirad/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustToxLoss(-2.5)
- target.radiation = max(target.radiation - 150, 0) //same as 5 units of arithrazine, sans the brute damage
- else
- return 1
-
-
-/obj/item/ammo_casing/microbattery/medical/brute2
- name = "\'ML-3/M\' nanite cell - BRUTE-II"
- type_color = "#BF0000"
- type_name = "BRUTE-II"
- projectile_type = /obj/item/projectile/beam/medical_cell/brute2
-
-/obj/item/projectile/beam/medical_cell/brute2/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustBruteLoss(-10)
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/burn2
- name = "\'ML-3/M\' nanite cell - BURN-II"
- type_color = "#FF8000"
- type_name = "BURN-II"
- projectile_type = /obj/item/projectile/beam/medical_cell/burn2
-
-/obj/item/projectile/beam/medical_cell/burn2/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustFireLoss(-10)
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/stabilize2
- name = "\'ML-3/M\' nanite cell - STABILIZE-II" //Disinfects and bandages all open wounds, cures all oxy damage
- type_color = "#0080FF"
- type_name = "STABILIZE-II"
- projectile_type = /obj/item/projectile/beam/medical_cell/stabilize2
-
-/obj/item/projectile/beam/medical_cell/stabilize2/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustOxyLoss(-200)
- for(var/name in list(BP_HEAD, BP_L_HAND, BP_R_HAND, BP_L_ARM, BP_R_ARM, BP_L_FOOT, BP_R_FOOT, BP_L_LEG, BP_R_LEG, BP_GROIN, BP_TORSO))
- var/obj/item/organ/external/O = target.organs_by_name[name]
- for (var/datum/wound/W in O.wounds)
- if(W.internal)
- continue
- if(O.is_bandaged() == FALSE)
- W.bandage()
- if(O.is_salved() == FALSE)
- W.salve()
- W.disinfect()
- target.add_modifier(/datum/modifier/stabilize, 20 SECONDS)
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/omni2
- name = "\'ML-3/M\' nanite cell - OMNI-II"
- type_color = "#8040FF"
- type_name = "OMNI-II"
- projectile_type = /obj/item/projectile/beam/medical_cell/omni2
-
-/obj/item/projectile/beam/medical_cell/omni2/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustBruteLoss(-5)
- target.adjustFireLoss(-5)
- target.adjustToxLoss(-5)
- target.adjustOxyLoss(-30)
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/toxin2
- name = "\'ML-3/M\' nanite cell - TOXIN-II"
- type_color = "#00A000"
- type_name = "TOX-II"
- projectile_type = /obj/item/projectile/beam/medical_cell/tox2
-
-/obj/item/projectile/beam/medical_cell/tox2/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.adjustToxLoss(-20)
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/haste
- name = "\'ML-3/M\' nanite cell - HASTE"
- type_color = "#FF3300"
- type_name = "HASTE"
- projectile_type = /obj/item/projectile/beam/medical_cell/haste
-
-/obj/item/projectile/beam/medical_cell/haste/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.add_modifier(/datum/modifier/ml3mhaste, 20 SECONDS)
- else
- return 1
-
-/datum/modifier/ml3mhaste
- name = "haste"
- desc = "You can move much faster!"
- mob_overlay_state = "haste"
- stacks = MODIFIER_STACK_EXTEND
- slowdown = -0.5 //a little faster!
- evasion = 1.15 //and a little harder to hit!
-
-/obj/item/ammo_casing/microbattery/medical/resistance
- name = "\'ML-3/M\' nanite cell - RESIST"
- type_color = "#555555"
- type_name = "RESIST"
- projectile_type = /obj/item/projectile/beam/medical_cell/resistance
-
-/obj/item/projectile/beam/medical_cell/resistance/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.add_modifier(/datum/modifier/resistance, 20 SECONDS)
- else
- return 1
-
-/datum/modifier/resistance
- name = "resistance"
- desc = "You resist 15% of all incoming damage and stuns!"
- mob_overlay_state = "repel_missiles"
- stacks = MODIFIER_STACK_EXTEND
- disable_duration_percent = 0.85
- incoming_damage_percent = 0.85
-
-/obj/item/ammo_casing/microbattery/medical/revival
- name = "\'ML-3/M\' nanite cell - REVIVAL"
- type_color = "#669900"
- type_name = "REVIVAL"
- projectile_type = /obj/item/projectile/beam/medical_cell/revival
-
-/obj/item/projectile/beam/medical_cell/revival/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- if(target.stat == DEAD)
- target.adjustBruteLoss(-50)
- target.adjustFireLoss(-50)
- target.adjustToxLoss(-50)
- target.adjustOxyLoss(-200)
- else
- return 1
-
-// Illegal cells!
-/obj/item/ammo_casing/microbattery/medical/shrink
- name = "\'ML-3/M\' nanite cell - SHRINK"
- type_color = "#910ffc"
- type_name = "SHRINK"
- projectile_type = /obj/item/projectile/beam/medical_cell/shrink
-
-/obj/item/projectile/beam/medical_cell/shrink/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.resize(0.5)
- target.show_message(" The beam fires into your body, changing your size!")
- target.updateicon()
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/grow
- name = "\'ML-3/M\' nanite cell - GROW"
- type_color = "#fc0fdc"
- type_name = "GROW"
- projectile_type = /obj/item/projectile/beam/medical_cell/grow
-
-/obj/item/projectile/beam/medical_cell/grow/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.resize(2.0)
- target.show_message(" The beam fires into your body, changing your size!")
- target.updateicon()
- else
- return 1
-
-/obj/item/ammo_casing/microbattery/medical/normalsize
- name = "\'ML-3/M\' nanite cell - NORMALSIZE"
- type_color = "#C70FEC"
- type_name = "NORMALSIZE"
- projectile_type = /obj/item/projectile/beam/medical_cell/normalsize
-
-/obj/item/projectile/beam/medical_cell/normalsize/on_hit(var/mob/living/carbon/human/target)
- if(istype(target, /mob/living/carbon/human))
- target.resize(1)
- target.show_message(" The beam fires into your body, changing your size!")
- target.updateicon()
- else
- return 1
\ No newline at end of file
diff --git a/icons/obj/ammo_vr.dmi b/icons/obj/ammo_vr.dmi
index 441c9547f67def3cd824bfc1af3259a985d88570..b3d64a736babf5a834b9b37ef399b8693a55e73e 100644
GIT binary patch
literal 5404
zcmbVQcT`hZzr6`12q+*3NEZ|sq>c0%bP!aK4n|sFP!Xh8C4qnq1O!w%LKu-ENE0<8
zkOWbXW++21p(gYwp#@T2ocZ4OzQ5jE^X|Iq+;h)5=bpRH*}whU`#iFCz3AqlsmFR#_EY8O`7`UXmw&%OLoTV<RqSJpZ&0PKocgx
zZPn)GCw^^2V%=Rwnb}e#B-^lg13#}dwmzwH;GT&Q|1@tj*uPqIhfj;oAlx@Gt#W
zslWh{=s3uCiXo5D!wiLJGc^z4Bt%X_sR%8#Mp12SarW@bGM-Au3l*6cGTm*p!{W_h
zb7Ag251vUNoAtMkT>B*}EV?FNvHF~x;j!>lV=48IU+%hemkx0oHEM%nLJR72i(3k@
zFhWeTQG<~HD{m~1xT|oYcH{=GVSb88Cqo;kRxbzr1fN)6_SOJ|9wc(bU(gf<l0N(UYf
z?5t0SjT+_@Q6QEI@%JDC{$?G`2SHOGALQj72h2>-kndvSr)!(%tek^V>9k5J2)7xj
zf!%xY-s|kL?a08u-EwrCVW0QX=g*w^`T3f^{wj1$l^Re4
zJnsWA`wp6Je#B%l&EB8m6I15|7QzffQqC`gHOl>-M^PvZ2dr|`ooOLGm|{N(_86ep
zPMP!R#n}QGqQC1B92(BoRK#ekvM(M03zCMfI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