Some fixes + Neuters Growth Serum

This commit is contained in:
Dahlular
2020-09-14 03:06:44 -06:00
parent 3b541cb9e5
commit 6be7a731f1
3 changed files with 5 additions and 29 deletions
+2 -2
View File
@@ -71,7 +71,7 @@
//Dwarfism shrinks your body. //Dwarfism shrinks your body.
/datum/mutation/human/dwarfism /datum/mutation/human/dwarfism
name = "Dwarfism" name = "Dwarfism"
desc = "A mutation believed to be the cause of dwarfism." desc = "A mutation believed to be the cause of dwarfism. May not work on smaller things properly."
quality = POSITIVE quality = POSITIVE
difficulty = 16 difficulty = 16
instability = 5 instability = 5
@@ -96,7 +96,7 @@
//Giantism grows your body. //Giantism grows your body.
/datum/mutation/human/giantism /datum/mutation/human/giantism
name = "Giantism" name = "Giantism"
desc = "A mutation believed to be the cause of giantism." desc = "A mutation believed to be the cause of giantism. May not work on larger things properly."
quality = POSITIVE quality = POSITIVE
difficulty = 14 difficulty = 14
instability = 5 instability = 5
+1
View File
@@ -148,6 +148,7 @@
/obj/item/dnainjector/giant /obj/item/dnainjector/giant
name = "\improper DNA injector (Giantism)" name = "\improper DNA injector (Giantism)"
desc = "Makes you bigger." desc = "Makes you bigger."
add_mutations = list(GIANTISM)
/obj/item/dnainjector/clumsymut /obj/item/dnainjector/clumsymut
name = "\improper DNA injector (Clumsy)" name = "\improper DNA injector (Clumsy)"
@@ -1929,38 +1929,13 @@
if((ismonkey(M) || ishuman(M)) && current_cycle >= 10) if((ismonkey(M) || ishuman(M)) && current_cycle >= 10)
M.gorillize() M.gorillize()
/datum/reagent/growthserum /datum/reagent/growthserum //neutered to use as a chemical base for sizecode shit
name = "Growth Serum" name = "Growth Serum"
id = "growthserum" id = "growthserum"
description = "A commercial chemical designed to help older men in the bedroom."//not really it just makes you a giant description = "A commercial chemical designed to help older men in the bedroom."//not really it just makes you a giant
color = "#ff0000"//strong red. rgb 255, 0, 0 color = "#ff0000"//strong red. rgb 255, 0, 0
var/current_size = 1
taste_description = "bitterness" // apparently what viagra tastes like taste_description = "bitterness" // apparently what viagra tastes like
/datum/reagent/growthserum/on_mob_life(mob/living/carbon/H)
var/newsize = current_size
switch(volume)
if(0 to 19)
newsize = 1.25
if(20 to 49)
newsize = 1.5
if(50 to 99)
newsize = 2
if(100 to 199)
newsize = 2.5
if(200 to INFINITY)
newsize = 3.5
H.resize = newsize/current_size
current_size = newsize
H.update_transform()
..()
/datum/reagent/growthserum/on_mob_end_metabolize(mob/living/M)
M.resize = 1/current_size
M.update_transform()
..()
/datum/reagent/plastic_polymers /datum/reagent/plastic_polymers
name = "plastic polymers" name = "plastic polymers"
id = "plastic_polymers" id = "plastic_polymers"
@@ -2232,4 +2207,4 @@
description = "A synthetic toxin." //NANOMACHINES SON. description = "A synthetic toxin." //NANOMACHINES SON.
color = "#5EFF3B" //RGB: 94, 255, 59 color = "#5EFF3B" //RGB: 94, 255, 59
race = /datum/species/synthliz race = /datum/species/synthliz
mutationtext = "<span class='danger'>The pain subsides. You feel... artificial.</span>" mutationtext = "<span class='danger'>The pain subsides. You feel... artificial.</span>"