# HG changeset patch # User Simon Cross # Date 1251928940 0 # Node ID b7dc405a28befe04e0c8809d6c3891b5f6b11188 # Parent 03293bd4593047a2566044272bafd197980b1193 Add Hendominium image support. diff -r 03293bd45930 -r b7dc405a28be gamelib/buildings.py --- a/gamelib/buildings.py Wed Sep 02 21:58:08 2009 +0000 +++ b/gamelib/buildings.py Wed Sep 02 22:02:20 2009 +0000 @@ -177,8 +177,11 @@ class DoubleStoryHenHouse(HenHouse): """A double story hen house.""" + TILE_NO = tiles.REVERSE_TILE_MAP['hendominium'] BUY_PRICE = 300 SELL_PRICE = 150 + SIZE = (2, 3) + IMAGE = 'sprites/hendominium.png' NAME = 'Hendominium' FLOORS = 2 diff -r 03293bd45930 -r b7dc405a28be gamelib/tiles.py --- a/gamelib/tiles.py Wed Sep 02 21:58:08 2009 +0000 +++ b/gamelib/tiles.py Wed Sep 02 22:02:20 2009 +0000 @@ -15,6 +15,7 @@ 3: ("henhouse", "grassland.png"), 4: ("guardtower", "guardtower.png"), 5: ("broken fence", "broken_fence.png"), + 6: ("hendominium", "grassland.png"), } def __init__(self, tiles=None):