import bottle

def create():
    return {'bac' : 0.0}

def swig(drunk, a_bottle):
    if drunk['bac'] < 0.25:
        bottle.open(a_bottle)

    drank_amount = bottle.remove_liquid(a_bottle, 5)

    if drank_amount != 0:
        drunk['bac'] += 0.01
