stephenfmann / cooking-with-python

Chef esolang interpreter
The Unlicense
2 stars 2 forks source link

Standardise reference to mixing bowls #9

Closed stephenfmann closed 2 years ago

stephenfmann commented 2 years ago

self.mixingbowls is a dict with integer keys, but the integers should start from 1.

Change e.g. line 186, addingredient(), so instead of int(mixingbowl[:-2])-1 it's just int(mixingbowl[:-2]).

Also change e.g. line 253, key = mixingbowl[:-2] to be key = int(mixingbowl[:-2]).

stephenfmann commented 2 years ago

Do the same with baking dishes.