ported over the majority of /tg's simple_animal code and changed a lot of things for simple_animals and critters

- added bears, mice (cats will chase mice, mice squeak occasionally)
- removed some unique simple_animals (ian and runtime will be the only ones for now)
- structure improvements, tweaks and cleanup for simple_animals and critters
- space carp should work fine now
This commit is contained in:
Cael_Aislinn
2012-08-02 03:22:44 +10:00
parent e9937050aa
commit 469a8bb601
23 changed files with 584 additions and 424 deletions
+2 -2
View File
@@ -23,7 +23,7 @@
Life()
..()
if(alive)
if(stat != DEAD)
meat_amount = round(nutrition / 50)
nutrition_step--
@@ -152,7 +152,7 @@
..()
// go right before cycle elapses, and if animal isn't starving
if(alive && nutrition_step == 1 && nutrition > max_nutrition / 2)
if(stat != DEAD && nutrition_step == 1 && nutrition > max_nutrition / 2)
// lay an egg with probability of 5% in 5 second time period
if(prob(33))
new/obj/item/weapon/reagent_containers/food/snacks/egg(src.loc) // lay an egg