jacob1
bbfa5331e4
silenced shamans no longer randomly give out totem at end of night
2015-07-16 19:25:38 -04:00
jacob1
bd4b89ef01
delay PMing charmed players until daytime
2015-07-16 19:07:58 -04:00
skizzerz
75d55ab461
Make non-simple message to turncoats more clear if they don't have a side
2015-07-15 21:00:15 -05:00
nyuszika7h
2f3f4b17ea
Add support for stasising wildcard hostmasks
2015-07-15 20:15:39 +02:00
skizzerz
3b5a72f3d8
Add missing space
2015-07-15 12:32:26 -05:00
nyuszika7h
9a0c96eab0
Fix comment in mad game mode
2015-07-15 18:18:09 +02:00
skizzerz
d4f786200b
Fix turncoat handling for amnesiacs and clones
2015-07-14 22:45:53 -05:00
skizzerz
c0575bd460
Add turncoat role
...
Turncoats initially start off village-aligned, but can change which team
they're on by using the !side command. Turncoats cannot change sides two
nights in a row, and can use !pass if they don't wish to change sides on
any given night.
Seers and detectives see turncoats as turncoats, augurs see them as
having a grey aura. I was initially toying with det and augur seeing
them as their currently-chosen side and for mystics of the opposite team
to detect them, but since they can flip-flop an unlimited number of
times a night that info would be useless at best and misleading at
worst.
2015-07-14 22:20:53 -05:00
skizzerz
0286a55e6b
Add 'r' as an alias for 'retract'
2015-07-13 21:10:48 -05:00
jacob1
37c52337e6
fix !revealroles error
2015-07-13 12:08:13 -04:00
jacob1
4a1c10b697
allow shaman to change targets during the night
...
totem vars get set in transition_day
2015-07-12 19:42:53 -04:00
skizzerz
adddbe70ff
Properly fix error when shaman idles (obsolotes f72a9c3
)
2015-07-12 11:46:46 -05:00
nyuszika7h
21d3a8aa68
Fix !frestart on InspIRCd
2015-07-12 16:21:52 +02:00
nyuszika7h
f72a9c37d9
Fix error when shaman idles
2015-07-12 12:57:00 +02:00
nyuszika7h
c30faf8831
Re-add "Nobody wins." when there are no players remaining
...
I have no idea why I removed it in the first place.
2015-07-12 10:54:07 +02:00
jacob1
e9874441fa
!pstats without arguments sends a /notice instead of spamming the channel
2015-07-12 01:42:02 -04:00
jacob1
8e78068a6c
small keyword argument change please ignore
2015-07-12 01:42:01 -04:00
skizzerz
25f1bd0ee0
Allow hunters, bodyguards, and GAs to use pass. Guarding self is no longer an alias for passing as bodyguard.
2015-07-12 00:39:45 -05:00
skizzerz
3c8979295b
Force matchmaker selection if they didn't pick. matchmaker is not told who is matched in this instance
2015-07-12 00:39:45 -05:00
jacob1
e1832def6e
remove some code duplication: call chk_win when fool is lynched
2015-07-12 01:26:36 -04:00
jacob1
cca871262a
fix for broken nick tracking in join phase if you get removed due to a Guest/away nick
2015-07-12 00:57:27 -04:00
jacob1
1af572f12a
shuffle villager list before pming them the roles
...
prevents you from knowing if you are a hidden role based on the timing of the message
2015-07-12 00:02:25 -04:00
jacob1
e6ed567364
call the chk_win event when fool is lynched
...
useful for some 'creative' game modes and should be called anyway
2015-07-11 22:34:40 -04:00
nyuszika7h
051aff9476
fgame: Don't restrict what the default role can be
...
If it breaks, you get to keep the pieces. ;)
2015-07-11 23:51:38 +02:00
skizzerz
50752ccb5c
Remove unused variable
2015-07-11 13:49:56 -05:00
skizzerz
8299a2ee91
Force shaman to act at night
2015-07-11 13:43:50 -05:00
skizzerz
ee2a4ef2cf
Fix protection not working against assassin sometimes
2015-07-11 12:16:50 -05:00
nyuszika7h
130a859458
Actually fix restarting on excess flood
2015-07-10 00:07:10 +02:00
nyuszika7h
3649c82174
Fix auto-restart on excess flood
2015-07-09 23:55:04 +02:00
skizzerz
4e6b7ad372
Make !time report remaining wait time during join phase
2015-07-07 13:04:25 -05:00
skizzerz
627da811f8
Make fallen angel kill ALL of the protectors, not just the one that would have taken effect
2015-07-06 13:38:59 -05:00
skizzerz
51d747e7d1
Instantly end night if nobody can act during it
2015-07-06 13:38:59 -05:00
nyuszika7h
8d528bf047
Remove !fghost and !funghost
...
These commands are completely useless, they just confuse people. I just
had someone ask me whether it would bring them back to the game, with
their role and everything. If an op wants to talk in the middle of the
game, there are other ways to do that. This isn't even being used
anymore.
2015-07-06 20:12:01 +02:00
nyuszika7h
751a284f6d
Properly remove stasis on !fjoin
...
Previously, stasis would be removed locally but not from the database.
2015-07-05 00:23:35 +02:00
nyuszika7h
7f0623b4b0
Add partial role reveal
...
Roles are revealed upon death, but not shown in !stats.
This will be used for the random game mode with a 50% chance.
The variant used is displayed when the game is started, and
admins can force a specific variant with !fgame.
Also, ignore conceal_roles in !stats, because partial role reveal
handles that now.
2015-07-04 23:57:07 +02:00
skizzerz
649649a355
Fix hunter turning into some other nightrole prematurely ending night on occasion
2015-07-02 17:00:31 -05:00
nyuszika7h
b968f83e8b
Optimize var.get_role
...
It will now return as soon as it finds the role for the player,
instead of calling var.list_players_and_roles every single time.
I haven't tested in a real-world scenario, but in a test game
with 10000 players (don't ask), the speed improvement is very clear
(~1-2s per player when sending out nighttime PMs instead of ~10s).
2015-06-30 20:39:55 +02:00
nyuszika7h
ad26f0b693
Remove surrounding whitespace in fortunes
2015-06-30 12:59:14 +02:00
nyuszika7h
ca9b6a2009
Allow using !coin and !pony in PM
2015-06-28 11:11:08 +02:00
Vgr E.Barry
91e122f86d
Fix del_player to pass in an argument instead of using a list
2015-06-26 08:51:03 -04:00
skizzerz
2274e945a0
Disallow fallowing fsend
...
!fsend is a very dangerous command if abused (up there with exec), and
should be properly admin-only instead of allowed to be given out to
non-admins. Unlike fsay/fact, there is no easy way to restrict fsend
when a non-admin uses it.
2015-06-25 13:02:51 -05:00
nyuszika7h
4e53a3556b
Fix compatibility with Python 3.2 (no list.clear())
2015-06-25 17:53:06 +02:00
nyuszika7h
f849eb35c2
Remove debug print
2015-06-21 00:19:56 +02:00
Vgr E.Barry
a009eb4819
Fix issue where !roles would output the wrong number of players
2015-06-19 11:54:09 -04:00
Vgr E.Barry
5c6a14154e
Change !help to not display aliases
...
Also improve message splitting and remove string concatenation to use
faster and more memory-efficient methods
2015-06-18 23:20:56 -04:00
Vgr E.Barry
260918555d
Change del_player to devoice all at once in multiple-deaths scenarios
2015-06-18 22:48:48 -04:00
skizzerz
3cab412a9b
Fix silenced VG causing day transition to error out
2015-06-15 16:44:45 -05:00
nyuszika7h
7887b6b2d8
Looks like that op request wasn't so redundant.
...
I misread the code.
2015-06-15 20:36:43 +02:00
nyuszika7h
6f62831b8a
Join all channels at once and remove redundant op request
2015-06-15 20:21:55 +02:00
nyuszika7h
452c1b1ede
Fix capability negotiation to be more sane (and IRCv3.2-compliant)
2015-06-15 20:20:28 +02:00