Potion system - thisismatthew/Bottled GitHub Wiki
Potions
All our potions will be created from a list of attributes that will be swapped in and out of a single potion bottle. A potion can have many attributes and the same attribute can also be used across many potions, allowing for each trait to be easily reused and increasing the ease of scalability for future potion development. Each attribute will use the interface IPotionAttribute that will have a Use, Equip and Unequip function.
- Use - This allows an attribute to have a function, eg shoot a substance out.
- Equip - Allows attributes to be changed for the potion for example speed or colour.
- Unequip - Removes all these attributes to clear the slate for the next potion.
Each of these potions will be linked to a recipe which is explained in detail on the page about the Ingredient and Recipe System.
