mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
* Adds growth inspection to the trait scanner, lowers mutation and growth levels. * Adds NutriMaxes to Xenobiology, for feeding the slimes. * Fixes a typo
This commit is contained in:
@@ -12,12 +12,12 @@ Slime definitions, Life and New live here.
|
||||
icon_living = "slime adult"
|
||||
icon_dead = "slime adult dead"
|
||||
internal_vol = 200
|
||||
mut_max = 200
|
||||
mut_max = 50
|
||||
mutable = COLORMUT
|
||||
var/is_child = 1
|
||||
var/cores = 3
|
||||
var/growthcounter = 0
|
||||
var/growthpoint = 150 //At what point they grow up.
|
||||
var/growthpoint = 50 //At what point they grow up.
|
||||
var/shiny = 0
|
||||
move_to_delay = 17 //Slimes shouldn't be able to go faster than humans.
|
||||
default_chems = list("slimejelly" = 5)
|
||||
|
||||
@@ -41,11 +41,19 @@
|
||||
var/datum/xeno/traits/trait_info
|
||||
var/datum/reagents/prod_reagents
|
||||
var/targetName
|
||||
var/growth_level
|
||||
var/growth_max
|
||||
if(istype(target,/obj/structure/table))
|
||||
return ..()
|
||||
else if(istype(target,/mob/living/simple_animal/xeno))
|
||||
|
||||
var/mob/living/simple_animal/xeno/X = target
|
||||
if(istype(X, /mob/living/simple_animal/xeno/slime))
|
||||
var/mob/living/simple_animal/xeno/slime/S = X
|
||||
if(S.is_child)
|
||||
growth_level = S.growthcounter
|
||||
growth_max = S.growthpoint
|
||||
|
||||
targetName = X.name
|
||||
trait_info = X.traitdat
|
||||
|
||||
@@ -101,6 +109,16 @@
|
||||
dat += "It bears characteristics that indicate susceptibility to damage.<br>"
|
||||
else
|
||||
dat += "It bears no characters indicating resilience to damage.<br>"
|
||||
|
||||
if(growth_max)
|
||||
if(growth_level < 25)
|
||||
dat += "It appears to be far to growing up.<br>"
|
||||
else if(growth_level > 40)
|
||||
dat += "It appears to be close to growing up.<br>"
|
||||
else
|
||||
dat += "It appears to be growing.<br>"
|
||||
else
|
||||
dat += "It appears to be fully grown.<br>"
|
||||
|
||||
if(trait_info.get_trait(TRAIT_XENO_COLDRES))
|
||||
if(trait_info.get_trait(TRAIT_XENO_COLDRES) < 10)
|
||||
|
||||
Reference in New Issue
Block a user