Skip to content

Commit

Permalink
Slime Radio Potion (tgstation#35548)
Browse files Browse the repository at this point in the history
* Slime Radio Potion

* Deletes inaccurate comment
  • Loading branch information
KorPhaeron authored and vuonojenmustaturska committed Feb 15, 2018
1 parent a244317 commit 6ebea3a
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/game/objects/items/implants/implant_misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {"<b>Implant Specifications:</b><BR>
<b>Name:</b> Internal Radio Implant<BR>
Expand All @@ -126,3 +133,4 @@
/obj/item/implanter/radio/syndicate
name = "implanter (internal syndicate radio)"
imp_type = /obj/item/implant/radio/syndicate

11 changes: 11 additions & 0 deletions code/modules/reagents/chemistry/recipes/slime_extracts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,17 @@
BC.visible_message("<span class='notice'>The [BC.name] appears out of thin air!</span>")
..()

/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"
Expand Down
20 changes: 20 additions & 0 deletions code/modules/research/xenobiology/xenobiology.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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, "<span class='warning'>[M] is too complex for the potion!</span>")
return
if(M.stat)
to_chat(user, "<span class='warning'>[M] is dead!</span>")
return

to_chat(user, "<span class='notice'>You feed the potion to [M].</span>")
to_chat(M, "<span class='notice'>Your mind tingles as you are fed the potion. You can hear radio waves now!</span>")
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"
Expand Down

0 comments on commit 6ebea3a

Please sign in to comment.