From b08059df7831f4ade9204d847754595a367b4db1 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 2 Mar 2012 20:05:47 -0600 Subject: [PATCH] Acro: tuning the sleep times, added self.seconds_to_submit_step as another tunable --- modules/Acro.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/Acro.py b/modules/Acro.py index a51afb6..0494b0e 100644 --- a/modules/Acro.py +++ b/modules/Acro.py @@ -56,8 +56,9 @@ class Acro(Module): self.votes = dict() # default options - self.seconds_to_submit = 45 - self.seconds_to_vote = 30 + self.seconds_to_submit = 60 + self.seconds_to_vote = 45 + self.seconds_to_submit_step = 10 self.seconds_to_pause = 5 """ @@ -171,7 +172,8 @@ class Acro(Module): self.game.rounds.append(self.AcroRound()) acro = self._generate_acro() self.game.rounds[-1].acro = acro - sleep_time = self.game.rounds[-1].seconds_to_submit + (5*(len(acro)-3)) + sleep_time = self.game.rounds[-1].seconds_to_submit + + (self.seconds_to_submit_step * (len(acro)-3)) self.sendmsg(self.game.connection, self.game.channel, "the round has started! your acronym is '{0:s}'. ".format(acro) +