# Red tiled farmhouse with a usable loft and a working farmyard.
from hearthwright import Choice, Design, Feature, Level, Materials, Roof, Site, Volume
from hearthwright.cli import run

DESIGN = Design(
    'Red ridge farm',
    volumes=(Volume('farmhouse',
                    width=Choice(15, 17),
                    depth=Choice(13, 15),
                    levels=(Level(('living', 'kitchen', 'storage')),
                            Level(('sleeping', 'workshop'),
                                  layout=Choice('open', 'cross'),
                                  attic=True)),
                    roof=Roof(pitch=Choice(1.0, 1.5), ridge='x', dormers=1, cupola=True)),),
    materials=Materials(wall='timber', frame='spruce', roof='red', trim='sandstone', accent='red'),
    site=Site(margin=4, planting='sparse'),
    features=(Feature('well', 'west', 7), Feature('field', 'east',
                                                  Choice(7, 9)), Feature('windmill', 'east', 9)),
)

if __name__ == '__main__':
    run(DESIGN)
