# HG changeset patch # User Neil Muller # Date 1336662426 -7200 # Node ID 8d1cf98e39b5435aae1630377bf3d30b780b64ff # Parent 208a79a49c26a0ea2172bdbb6c7da64b99e6925f Reputation decays over time diff -r 208a79a49c26 -r 8d1cf98e39b5 gamelib/gamestate.py --- a/gamelib/gamestate.py Thu May 10 17:06:48 2012 +0200 +++ b/gamelib/gamestate.py Thu May 10 17:07:06 2012 +0200 @@ -66,6 +66,9 @@ mission_results = [] for mission, equipment in self.cur_missions: mission_results.append(mission.attempt(equipment, self)) + if not self.cur_missions and self.reputation > 0: + # If you're not doing stuff, you're not in the news + self.reputation -= M_VALS[self.milestone] # Do the science self.points -= len(self.cur_allocation) if self.points < 0: