partyrobotics / bartendro

GNU General Public License v2.0
170 stars 89 forks source link

Add Categories to Booze Ingredients #117

Open ACK-Engineering opened 10 years ago

ACK-Engineering commented 10 years ago

Implement basic categories for ingredients, such as 'tequila' or 'bourbon' or 'sugar', and a second field for the specific brand or style. The goal here is to allow recipes that call for a specific kind of booze by brand, but make the recipe available even if that type of booze is not available.

This might go two or three levels deep, i.e. (tequila, repasado, top-grade, Single Estate Tequila Ocho NOM 1474) vs. (tequila, silver, mid-grade, Kirkland).

The recipe screen would be modified to allow the user to have the option of specifying booze by type, subtype, title and grade. If a recipe calls for a specific spirit by name it uses that to make the drink. If that spirit is not available, the code chooses the spirit that most closely matches the one specified in the recipe. If the recipe only specifies the basic category, 'tequila', the lowest grade available is chosen.

mayhem commented 10 years ago

This is already kinda sorta implemented, but needs to be brought back from the dead. Quite a lot of work to finish it off completely and make it nice.