jacob1
10a3b5b01b
new game mode: charming
...
has piper, werekitten at 10p, and warlock at 12p
2015-05-29 21:10:41 -04:00
jacob1
403dbb2fd5
use botconfig.CMD_CHAR in !ping removal notice
2015-05-29 19:05:41 -04:00
jacob1
da63bf21f7
!wiki: give link to main page if no arguments are provided, catch timeout errors
2015-05-29 19:03:32 -04:00
jacob1
c62ab1795c
remove piper simple_message, fix player list grammar with the longer one
2015-05-29 18:03:10 -04:00
nyuszika7h
e66c69cb29
Use re.search() and raw strings for all regexes
...
re.fullmatch() would be the best, but it's only available since Python
3.4, and re.match(r"...$") looks weird.
2015-05-29 14:27:15 +02:00
jacob1
80a366e6b9
fix is_fake_nick returning True on UIDs
...
there is nothing else of interest in this commit
2015-05-28 23:29:35 -04:00
jacob1
29429cad66
fix bug where people who did /nick to a bad nickname couldn't ever rejoin
...
probably only happened with ACCOUNTS_ONLY enabled
2015-05-28 23:07:42 -04:00
jacob1
21391f9261
don't ping alt connections of players who have joined, set() changes
2015-05-28 22:31:19 -04:00
jacob1
338f24aa66
fix bug where players in var.DISCONNECTED couldn't use any commands (like !stats)
2015-05-28 21:01:34 -04:00
Vgr E.Barry
d15fd90b1e
Fix win checking to account for piper win
2015-05-28 16:09:54 -04:00
Vgr E.Barry
7d652b457d
Use defaultdict in transition_day and stats
2015-05-28 15:42:57 -04:00
jacob1
590406d00a
use only a single table for pingif preferences
2015-05-28 15:21:59 -04:00
jacob1
379737d4fc
Log piperwins in stats
...
commands to convert old tables: http://pastebin.com/jheALFsE
2015-05-28 10:49:56 -04:00
Vgr E.Barry
aab1f0aaf5
Prevent pipers from winning if someone is wounded
2015-05-27 20:45:52 -04:00
nyuszika7h
00b28eba2c
Properly initialize var.CHARMED
2015-05-27 21:50:23 +02:00
nyuszika7h
f054b967d9
Remove leftover reference to !ping-related commands
2015-05-27 21:45:26 +02:00
Emanuel Barry
edbe6535ad
Fix !fjoin to be case-insensitive
2015-05-27 14:35:59 -04:00
Emanuel Barry
4393f3413a
Allow piper to select a single target at all times
...
Per request from @jacob1 and some evidence from a game. It makes it easier for piper to win.
2015-05-27 14:30:40 -04:00
nyuszika7h
019a9c3b34
Suggest "!help pingif" in the !ping removal notice
...
It's faster to use !help, and if someone wants more information, the
help for !pingif links to the wiki page anyway.
2015-05-27 15:16:16 +02:00
nyuszika7h
c3290b2d11
s/was/has been/ in !ping removal notice
...
Present perfect makes more sense here.
2015-05-27 15:09:29 +02:00
nyuszika7h
8c9561bbc3
Simplify notice about removal of !ping
...
I originally intended to amend @Vgr255's commit to include this, but I
screwed up, so here it is now. >_>
2015-05-27 15:06:39 +02:00
nyuszika7h
f97ca2cd8b
Merge branch 'ping-removal'
2015-05-27 15:05:17 +02:00
Vgr E.Barry
fe1527eb3c
Remove !ping and related commands
...
This replaces !ping, !away and !back with a dummy command that tells
people about !pingif.
2015-05-27 15:03:00 +02:00
Vgr E.Barry
9ecb95674b
Allow lover to win with piper
2015-05-27 00:18:40 -04:00
Vgr E.Barry
d8ee335d58
Add missing individual win for pipers
2015-05-27 00:13:35 -04:00
Vgr E.Barry
ca5d77fa62
Fix inconsistent bold in revealroles
2015-05-27 00:06:53 -04:00
Vgr E.Barry
04c814ea16
♪ come, children, come out to the forest ♫
...
This adds the new piper role, whose goal is to charm all the other
players to win. The charmed players are told who else is charmed, every
night, and must find out the piper and lynch him to win. The piper is a
win stealer, and takes precedence over monster. They can select either
one or two targets, but unless there is exactly one person left to be
charmed, they must pick two targets.
2015-05-27 00:06:40 -04:00
Vgr E.Barry
c49c2647d8
Small tweaks to the guardian game mode
2015-05-26 14:19:19 -04:00
Vgr E.Barry
d3134643c8
Add the "guardian" game mode
2015-05-25 19:57:31 -04:00
skizzerz
dddf32134e
curses!
...
Adds "warlock" role, which is wolf-aligned and in wolfchat. They cannot
kill, but they get to turn someone into a cursed villager each night
(the curse remains in place for the rest of the game). If they act
quickly enough, they can even impact the seer or oracle for the current
night!
2015-05-25 14:01:41 -05:00
skizzerz
d00c15e19d
meow
...
Added werekitten role, which is seen villager by seer and is always
missed when shot (even by sharpshooter!). They can still nom tasty
villagers at night, including pesky visiting harlots.
Also fix minor bug with alpha wolf being roleswapped where night may end
prematurely due to not removing their kill selection.
2015-05-25 14:01:41 -05:00
nyuszika7h
b90a3c74ed
Add wiki link to !pingif help
2015-05-25 21:01:09 +02:00
nyuszika7h
e046358a62
Check if var.AFTER_FLASTGAME is not None instead of truthy or callable
...
If someone sets it to something other than a function (well, callable
object) or None, it's a programming mistake and we want that to raise an
exception rather than be silently ignored.
2015-05-24 23:14:43 +02:00
nyuszika7h
0c7d5a8a53
Fix previous commit
2015-05-24 23:09:08 +02:00
nyuszika7h
8d9729cc15
Trigger !faftergame if the game was canceled because of timeout
2015-05-24 23:07:23 +02:00
Vgr E.Barry
90321582de
Change function name (prevent clash with built-in)
2015-05-24 12:20:51 -04:00
Vgr E.Barry
1af340a3cb
Fix wrong revealroles message for driven away ghosts ( fixes #141 )
2015-05-24 12:18:15 -04:00
Vgr E.Barry
7cc9045181
Add missing docstrings to all commands
2015-05-24 12:17:58 -04:00
nyuszika7h
e714e4216c
Send !revealroles output to channel if called in-channel in debug mode
...
This was broken by the previous commit.
2015-05-24 17:55:59 +02:00
nyuszika7h
6f64be45ed
Notify users when they are not allowed to use !revealroles
...
Also, allow using it in-channel, but send the result to a private notice
if not using debug mode.
2015-05-24 17:22:52 +02:00
nyuszika7h
774aa50851
Fix dead vengeful ghost being able to !revealroles from alt connection
2015-05-24 17:12:03 +02:00
nyuszika7h
ec694db07c
Update README.md
2015-05-24 00:32:02 +02:00
nyuszika7h
e32b57bcfc
Rename .markdown files back to .md
...
I changed my mind. It's actually not really used that often for anything
else anymore, and even Vim has changed its preference for .md files to
Markdown in a recent release.
2015-05-24 00:30:54 +02:00
nyuszika7h
38aeba7029
Link to the wiki in the !ping deprecation notice
2015-05-23 19:17:23 +02:00
skizzerz
d22eb7ea0f
Let reaper work in debug mode, and disable unused reaper features
2015-05-23 11:28:03 -05:00
skizzerz
70b0c33896
Fix up lovers winning
2015-05-23 11:11:39 -05:00
skizzerz
9161541c39
Fix derp in evilvillage win cond checking
2015-05-20 23:07:49 -05:00
nyuszika7h
729343bd0c
Fix post-restart ping messed up by previous commit
2015-05-20 20:55:53 +02:00
nyuszika7h
b7ca9450fc
Break long messages where players are pinged
2015-05-20 20:52:01 +02:00
nyuszika7h
8fb103fbf6
Clarify !ping/!away/!back deprecation message
2015-05-20 19:44:00 +02:00