From 0ed0abbd4c844e404306efcb96a2e9e5f805af85 Mon Sep 17 00:00:00 2001 From: KorPhaeron Date: Thu, 15 Feb 2018 04:37:20 -0600 Subject: [PATCH 1/2] Slime Radio Potion (#35548) * Slime Radio Potion * Deletes inaccurate comment --- .../objects/items/implants/implant_misc.dm | 8 ++++++++ .../chemistry/recipes/slime_extracts.dm | 11 ++++++++++ .../research/xenobiology/xenobiology.dm | 20 +++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/code/game/objects/items/implants/implant_misc.dm b/code/game/objects/items/implants/implant_misc.dm index 3641ee9f66..63df308024 100644 --- a/code/game/objects/items/implants/implant_misc.dm +++ b/code/game/objects/items/implants/implant_misc.dm @@ -112,6 +112,13 @@ radio_key = /obj/item/device/encryptionkey/syndicate subspace_transmission = TRUE +/obj/item/implant/radio/slime + name = "slime radio" + icon = 'icons/obj/surgery.dmi' + icon_state = "adamantine_resonator" + radio_key = /obj/item/device/encryptionkey/headset_sci + subspace_transmission = TRUE + /obj/item/implant/radio/get_data() var/dat = {"Implant Specifications:
Name: Internal Radio Implant
@@ -126,3 +133,4 @@ /obj/item/implanter/radio/syndicate name = "implanter (internal syndicate radio)" imp_type = /obj/item/implant/radio/syndicate + diff --git a/code/modules/reagents/chemistry/recipes/slime_extracts.dm b/code/modules/reagents/chemistry/recipes/slime_extracts.dm index 6f87de4e8a..52d12e8eb1 100644 --- a/code/modules/reagents/chemistry/recipes/slime_extracts.dm +++ b/code/modules/reagents/chemistry/recipes/slime_extracts.dm @@ -505,6 +505,17 @@ BC.visible_message("The [BC.name] appears out of thin air!") ..() +/datum/chemical_reaction/slime/slimeradio + name = "Slime Radio" + id = "m_radio" + required_reagents = list("water" = 1) + required_container = /obj/item/slime_extract/bluespace + required_other = 1 + +/datum/chemical_reaction/slime/slimeradio/on_reaction(datum/reagents/holder, created_volume) + new /obj/item/slimepotion/slimeradio(get_turf(holder.my_atom)) + ..() + //Cerulean /datum/chemical_reaction/slime/slimepsteroid2 name = "Slime Steroid 2" diff --git a/code/modules/research/xenobiology/xenobiology.dm b/code/modules/research/xenobiology/xenobiology.dm index df69eb9380..f4b211ff41 100644 --- a/code/modules/research/xenobiology/xenobiology.dm +++ b/code/modules/research/xenobiology/xenobiology.dm @@ -825,6 +825,26 @@ L.regenerate_icons() qdel(src) +/obj/item/slimepotion/slimeradio + name = "bluespace radio potion" + desc = "A strange chemical that grants those who ingest it the ability to broadcast and recieve subscape radio waves." + +/obj/item/slimepotion/slime/slimeradio/attack(mob/living/M, mob/user) + if(!ismob(M)) + return + if(!isanimal(M)) + to_chat(user, "[M] is too complex for the potion!") + return + if(M.stat) + to_chat(user, "[M] is dead!") + return + + to_chat(user, "You feed the potion to [M].") + to_chat(M, "Your mind tingles as you are fed the potion. You can hear radio waves now!") + var/obj/item/implant/radio/slime/imp = new(src) + imp.implant(M, user) + qdel(src) + /obj/item/stack/tile/bluespace name = "bluespace floor tile" singular_name = "floor tile"