Fixes alien larva breathing.

Moves the create_reagets() to carbon New() instead of each subtype calling it by themselves.
This commit is contained in:
Aranclanos
2015-08-28 18:21:28 -03:00
parent e11befbbfa
commit 3714bdf0d2
6 changed files with 4 additions and 9 deletions
@@ -14,7 +14,6 @@
//This is fine right now, if we're adding organ specific damage this needs to be updated
/mob/living/carbon/alien/humanoid/New()
create_reagents(1000)
AddAbility(new/obj/effect/proc_holder/alien/regurgitate(null))
..()
@@ -10,8 +10,6 @@
/mob/living/carbon/alien/humanoid/queen/New()
create_reagents(100)
//there should only be one queen
for(var/mob/living/carbon/alien/humanoid/queen/Q in living_mob_list)
if(Q == src) continue
@@ -8,10 +8,6 @@
var/alert = null
has_limbs = 0
/mob/living/carbon/brain/New()
create_reagents(1000)
..()
/mob/living/carbon/brain/Destroy()
if(key) //If there is a mob connected to this thing. Have to check key twice to avoid false death reporting.
if(stat!=DEAD) //If not dead.
+4
View File
@@ -1,3 +1,7 @@
/mob/living/carbon/New()
create_reagents(1000)
..()
/mob/living/carbon/prepare_huds()
..()
prepare_data_huds()
@@ -14,7 +14,6 @@
/mob/living/carbon/human/New()
create_reagents(1000)
verbs += /mob/living/proc/mob_sleep
verbs += /mob/living/proc/lay_down
//initialise organs
@@ -13,7 +13,6 @@
unique_name = 1
/mob/living/carbon/monkey/New()
create_reagents(1000)
verbs += /mob/living/proc/mob_sleep
verbs += /mob/living/proc/lay_down