self.sugar += self.universalSugar and self.spice += self.universalSpice are already present in doUniversalIncome() which is called in doTimestep(). Based on the time interval logic in doUniversalIncome(), it doesn’t seem like universalSugar and universalSpice should be added every single timestep in addition to the call to doUniversalIncome().
self.sugar += self.universalSugar and self.spice += self.universalSpice are already present in doUniversalIncome() which is called in doTimestep(). Based on the time interval logic in doUniversalIncome(), it doesn’t seem like universalSugar and universalSpice should be added every single timestep in addition to the call to doUniversalIncome().