Fixes explosion bug, tweaks hypo and fiddles pH.

This commit is contained in:
Thalpy
2019-06-29 02:47:32 +01:00
parent a4edb0b69a
commit b6309d5a31
6 changed files with 57 additions and 12 deletions
@@ -11,6 +11,8 @@ There's afairly major catch regarding the death though. I'm not gonna say here,
I'd like to point out from my calculations it'll take about 60-80 minutes to die this way too. Plenty of time to visit me and ask for some pills to quench your addiction.
*/
/datum/reagent/fermi/astral // Gives you the ability to astral project for a moment!
name = "Astrogen"
id = "astral"
@@ -28,6 +30,15 @@ I'd like to point out from my calculations it'll take about 60-80 minutes to die
InverseChemVal = 0.25
can_synth = FALSE
/datum/action/chem/astral
name = "Return to body"
var/mob/living/carbon/origin = null
var/mob/living/simple_animal/hostile/retaliate/ghost = null
/datum/action/chem/astral/Trigger()
ghost.mind.transfer_to(origin)
qdel(src)
/datum/reagent/fermi/astral/on_mob_life(mob/living/M) // Gives you the ability to astral project for a moment!
M.alpha = 255
if(current_cycle == 0)
@@ -48,6 +59,9 @@ I'd like to point out from my calculations it'll take about 60-80 minutes to die
G.incorporeal_move = 1
G.alpha = 35
G.name = "[M]'s astral projection"
var/datum/action/chem/astral/AS = new(G)
AS.origin = M
AS.ghost = G
M.mind.transfer_to(G)
sleepytime = 15*volume
SSblackbox.record_feedback("tally", "fermi_chem", 1, "Astral projections")
@@ -157,10 +157,25 @@
B.update()
..()
/datum/reagent/fermi/BEsmaller/hypo
/datum/reagent/fermi/BEsmaller_hypo
name = "Modesty milk"
id = "BEsmaller_hypo"
color = "#E60584"
taste_description = "a milky ice cream like flavour."
description = "A medicine used to treat organomegaly in a patient's breasts."
var/sizeConv = list("a" = 1, "b" = 2, "c" = 3, "d" = 4, "e" = 5)
/datum/reagent/fermi/BEsmaller_hypo/on_mob_life(mob/living/carbon/M)
var/obj/item/organ/genital/breasts/B = M.getorganslot("breasts")
if(!B)
return..()
if(B.cached_size > (sizeConv[M.dna.features["breasts_size"]]+0.1))
B.cached_size = B.cached_size - 0.05
B.update()
else if(B.cached_size < (sizeConv[M.dna.features["breasts_size"]])+0.1)
B.cached_size = B.cached_size + 0.05
B.update()
..()
////////////////////////////////////////////////////////////////////////////////////////////////////
// PENIS ENLARGE
@@ -294,7 +309,21 @@
P.update()
..()
/datum/reagent/fermi/PEsmaller/hypo
/datum/reagent/fermi/PEsmaller_hypo
name = "Chastity draft"
id = "PEsmaller_hypo"
color = "#888888" // This is greyish..?
taste_description = "chinese dragon powder"
description = "A medicine used to treat organomegaly in a patient's penis."
/datum/reagent/fermi/PEsmaller_hypo/on_mob_life(mob/living/carbon/M)
var/obj/item/organ/genital/penis/P = M.getorganslot("penis")
if(!P)
return ..()
if(P.cached_length > (M.dna.features["cock_length"]+0.1))
P.cached_length = P.cached_length - 0.1
P.update()
else if(P.cached_length < (M.dna.features["cock_length"]+0.1))
P.cached_length = P.cached_length + 0.1
P.update()
..()
@@ -194,6 +194,7 @@
InverseChem = "nanite_b_goneTox" //At really impure vols, it just becomes 100% inverse
taste_description = "what can only be described as licking a battery."
pH = 9
can_synth = FALSE
/datum/reagent/fermi/nanite_b_gone/on_mob_life(mob/living/carbon/C)
//var/component/nanites/N = M.GetComponent(/datum/component/nanites)