This commit is contained in:
kevinz000
2018-12-06 10:32:25 -08:00
parent a52c341861
commit 70a934adf9
2 changed files with 3 additions and 4 deletions
@@ -72,7 +72,7 @@ GLOBAL_VAR_INIT(chicken_count, 0) // How mant chickens DO we have?
E.pixel_x = rand(-6,6)
E.pixel_y = rand(-6,6)
if(GLOB.chicken_count < GLOB.MAX_CHICKENS && prob(10))
processing_objects.Add(E)
START_PROCESSING(SSobj, E)
@@ -89,10 +89,10 @@ GLOBAL_VAR_INIT(chicken_count, 0) // How mant chickens DO we have?
if(amount_grown >= 100)
visible_message("[src] hatches with a quiet cracking sound.")
new /mob/living/simple_mob/animal/passive/chick(get_turf(src))
processing_objects.Remove(src)
STOP_PROCESSING(SSobj, src)
qdel(src)
else
processing_objects.Remove(src)
STOP_PROCESSING(SSobj, src)