# A new design space with a sampled floor count, domestic loft and covered working terrace.
from hearthwright import Attachment, Choice, Design, Feature, Level, Materials, Roof, Site, Volume
from hearthwright.cli import run

DESIGN = Design(
    'Orchard keeper house',
    volumes=(Volume(
        'home',
        width=Choice(13, 15),
        depth=Choice(13, 15),
        levels=Choice((Level(('living', 'kitchen', 'sleeping', 'storage')),), (Level(
            ('living', 'kitchen', 'workshop')), Level(('sleeping', 'storage'), attic=True))),
        roof=Roof(form=Choice('gable', 'hip'), ridge=Choice('x', 'z'), pitch=1.0)),),
    materials=Materials(wall='plaster',
                        frame='dark_oak',
                        roof='sandstone',
                        trim='dark_oak',
                        accent='green'),
    site=Site(planting='temperate', margin=4),
    attachments=(Attachment('terrace', 'home', side='east', width=7, cover='pergola'),),
    features=(Feature('field', 'west', Choice(7, 9)), Feature('well', 'south', 7)),
)

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