# Compact fishing quarters carried on piles over shallow water.
from hearthwright import Attachment, Choice, Design, Feature, Level, Materials, Roof, Site, Volume
from hearthwright.cli import run

DESIGN = Design(
    'Reedwater fishing cabin',
    volumes=(Volume('cabin',
                    width=Choice(11, 13),
                    depth=Choice(9, 11),
                    raised=4,
                    supports='posts',
                    levels=(Level(('living', 'sleeping', 'fishing', 'kitchen')),),
                    roof=Roof(ridge=Choice('x', 'z'), pitch=.5, eaves=2)),),
    materials=Materials(wall='timber', frame='oak', roof='dark_wood', trim='spruce',
                        accent='green'),
    site=Site(terrain='water', water_depth=2, planting='wetland', margin=4),
    attachments=(Attachment('deck', 'cabin', side='south', depth=Choice(4, 5)),),
    features=(Feature('landing', 'west', 5),),
)

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