# A compact stone dwelling with a small ladder loft and a sheltered entry.
from hearthwright import Choice, Design, Level, Materials, Roof, Site, Volume
from hearthwright.cli import run

DESIGN = Design(
    'Alder cottage',
    volumes=(Volume('cottage',
                    width=Choice(9, 11),
                    depth=Choice(9, 11),
                    levels=(Level(
                        ('living', 'kitchen', 'storage')), Level(('sleeping', 'study'),
                                                                 attic=True)),
                    circulation='ladder',
                    roof=Roof(ridge=Choice('x', 'z'), pitch=1.0)),),
    site=Site(margin=3, planting='sparse'),
    materials=Materials(wall='stone', roof='pale_stone', frame='oak', trim='spruce'),
)

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