From 5129a6731ebba4233503616859b13805026f7016 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Sun, 24 Jun 2012 01:38:35 -0500 Subject: [PATCH] better warning message for sunset --- modules/wolfgame.py | 6 +++++- settings/wolfgame.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 59310a1..132249c 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -514,7 +514,11 @@ def hurry_up(cli, gameid, change): chan = botconfig.CHANNEL if not change: - cli.msg(chan, "\02The sun is almost setting.\02") + cli.msg(chan, ("\02As the sun sinks inexorably toward the horizon, turning the lanky pine " + + "trees into fire-edged silhouettes, the villagers are reminded that very little " + + "time remains for them to reach a decision; if darkness falls before they have done " + + "so, the majority will win the vote. No one will be lynched if there " + + "are no votes or an even split.\02")) if not var.DAY_TIME_LIMIT_CHANGE: return var.TIMERS[1] = threading.Timer(var.DAY_TIME_LIMIT_CHANGE, hurry_up, [cli, var.DAY_ID, True]) diff --git a/settings/wolfgame.py b/settings/wolfgame.py index 7cc7e7f..44be9fc 100644 --- a/settings/wolfgame.py +++ b/settings/wolfgame.py @@ -11,7 +11,7 @@ MAX_PLAYERS = 30 DRUNK_SHOTS_MULTIPLIER = 3 NIGHT_TIME_LIMIT = 120 DAY_TIME_LIMIT_WARN = 780 -DAY_TIME_LIMIT_CHANGE = 120 # After DAY_TIME_LIMIT_WARN has passed +DAY_TIME_LIMIT_CHANGE = 120 # seconds after DAY_TIME_LIMIT_WARN has passed START_WITH_DAY = False WOLF_STEALS_GUN = False KILL_IDLE_TIME = 300