changeset 221:d46ae64240a1

Accept that new chicks die if you don't treat them properly.
author Simon Cross <hodgestar@gmail.com>
date Fri, 04 Sep 2009 22:31:16 +0000
parents b379ec17236b
children 322e6d3a46e4
files TODO gamelib/gameboard.py
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/TODO	Fri Sep 04 22:27:34 2009 +0000
+++ b/TODO	Fri Sep 04 22:31:16 2009 +0000
@@ -14,8 +14,6 @@
 
 * Add invalid cursor sprite
 
-* <Hodgestar> A BuildingFullError can be raised when attempting to hatch eggs in buildings.
-
 * Animations? (Fox catching chicken (with feathers), demolition foxes blowing things up?)
 
 * Add the demolition fox
--- a/gamelib/gameboard.py	Fri Sep 04 22:27:34 2009 +0000
+++ b/gamelib/gameboard.py	Fri Sep 04 22:31:16 2009 +0000
@@ -697,7 +697,10 @@
                             self.add_chicken(new_chick)
                             new_chick.equip(equipment.Nest())
                         except buildings.BuildingFullError:
-                            print "Building full."
+                            # if there isn't a space for the
+                            # new chick it dies. :/ Farm life
+                            # is cruel.
+                            pass
         self.toolbar.update_egg_counter(self.eggs)
 
     def kill_fox(self, fox):