diff --git a/code/modules/mob/living/simple_animal/vore/solargrub.dm b/code/modules/mob/living/simple_animal/vore/solargrub.dm index 2e5052dc14..cf1fbe56af 100644 --- a/code/modules/mob/living/simple_animal/vore/solargrub.dm +++ b/code/modules/mob/living/simple_animal/vore/solargrub.dm @@ -9,7 +9,7 @@ List of things solar grubs should be able to do: */ #define SINK_POWER 1 - +var/global/list/moth_amount = 0 /mob/living/simple_animal/retaliate/solargrub name = "juvenile solargrub" desc = "A young sparkling solargrub" @@ -57,6 +57,7 @@ List of things solar grubs should be able to do: var/datum/powernet/PN // Our powernet var/obj/structure/cable/attached // the attached cable var/emp_chance = 20 // Beware synths + //VARS that were previously in LIFE but why tho, im porting all comments the original coder did too. var/apc_drain_rate = 750 //Going to see if grubs are better as a minimal bother. previous value : 4000 @@ -99,11 +100,12 @@ List of things solar grubs should be able to do: PN = null - if(prob(1) && charge >= 32000 && can_evolve == 1 && moth_amount.len <= 2) //it's reading from the moth_amount global list to determine if it can evolve. + if(prob(1) && charge >= 32000 && can_evolve == 1 && moth_amount <= 1) //it's reading from the moth_amount global list to determine if it can evolve. anchored = 0 PN = attached.powernet release_vore_contents() prey_excludes.Cut() + moth_amount++ death_star() diff --git a/code/modules/mob/living/simple_animal/vore/solarmoth.dm b/code/modules/mob/living/simple_animal/vore/solarmoth.dm index 05e0173f78..bb763d3268 100644 --- a/code/modules/mob/living/simple_animal/vore/solarmoth.dm +++ b/code/modules/mob/living/simple_animal/vore/solarmoth.dm @@ -107,12 +107,8 @@ env.merge(removed) -var/global/list/moth_amount = list() //global moth list for the solargrub to read. Maybe want to transfer this to global variables file?? -/mob/living/simple_animal/retaliate/solarmoth/New() - moth_amount += src //when this thing is created, it adds itself to the global list - . = ..() - + //Since I'm changing hyper mode to be variable we need to store old power original_temp = heating_power //We remember our old goal, for use in non perpetual heating level increase