Mercurial > rinkhals
diff gamelib/gameboard.py @ 601:23fbf4651f99
Roosters.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 06 Dec 2009 10:11:37 +0000 |
parents | 460b06ac7d99 |
children |
line wrap: on
line diff
--- a/gamelib/gameboard.py Thu Dec 03 19:29:54 2009 +0000 +++ b/gamelib/gameboard.py Sun Dec 06 10:11:37 2009 +0000 @@ -1094,7 +1094,7 @@ def add_start_chickens(self, _map, tile, value): """Add chickens as specified by the code layer""" - chick = animal.Chicken((tile.tx, tile.ty), self) + chick = random.choice([animal.Chicken, animal.Rooster])((tile.tx, tile.ty), self) for equip_cls in equipment.EQUIP_MAP[value]: item = equip_cls() chick.equip(item)