[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [werewolf] hacking werewolf code
- To: werewolf-users@gamerz.net
- Subject: Re: [werewolf] hacking werewolf code
- From: Ted Rathkopf <ted-pbmserv-lists@rathkopf.net>
- Date: Tue, 17 Aug 2004 10:12:47 -0500
- In-reply-to: <20040817130907.373.qmail@web40406.mail.yahoo.com> (Lyman Hurd'smessage of "Tue, 17 Aug 2004 06:09:07 -0700 (PDT)")
- References: <20040817130907.373.qmail@web40406.mail.yahoo.com>
- Sender: owner-werewolf-users@gamerz.net
- User-agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security ThroughObscurity, linux)
Meanwhile, back at the model home, Lyman Hurd <lhurd@yahoo.com> said:
> So what are you intending to add? Please let it be
> default night actions :-). Actually the day's been
> sort of slow lately too...
I'd like that when the day ends, if you have queued up your target, it
sends out a message as if you just did it so that you can see and be
reminded of who you selected.
In particular, this right after all the history pushes in ProcessDay:
foreach $p (@players) {
next if $queue{$p} eq '-';
next if $status{$p} =~ /^dead-/;
next if $status{$queue{$p}} =~ /^dead-/;
if (IsWerewolfNight) {
next if $status{$p} eq 'mafia';
next if $status{$p} eq 'police';
next if $status{$p} eq 'medic';
}
if (IsMafiaNight) {
next if $status{$p} eq 'werewolf';
next if $status{$p} eq 'angel';
next if $status{$p} eq 'seer';
}
SendBoard(RealName($p),UserAddr(RealName($p)),"$gametype select $boardno results","");
$queue{$p} = '-';
}
--
Ted Rathkopf