Skip to content

codeofandrin/uncle-nelson

Repository files navigation

uncle-nelson

A small library to calculate mixes for the game Schedule 1.

PyPi version Python version License

Installing

Python 3.9 or higher is required

To install the latest stable version, use

pip install -U uncle-nelson

To install the development version (may be unstable), use

pip install -U git+https://github.com/codeofandrin/uncle-nelson

Example

from uncle_nelson import calculate_mix, DrugType, IngredientType

def main():
    mix = calculate_mix(DrugType.meth, [IngredientType.cuke, IngredientType.banana])
    effects = ", ".join(e.value for e in mix.effects)
    
    print(f"Your custom mix has following effects: {effects}")

if __name__ == "__main__":
    main()

Links