PokemonAutomation / Arduino-Source

MIT License
21 stars 58 forks source link

MaterialFarmerTools refactor #455

Closed jw098 closed 4 months ago

jw098 commented 4 months ago

Refactored material farmer to remove env variable from some functions and change SingleSwitchProgramEnvironment to ProgramEnvironment. This allows me to more easily test with TestProgramSwitch.

I initially wanted to remove all env variables, but make_sandwich_option requires it and I didn't also want to refactor the functions in SandwichRoutines.