160 Commits

Author SHA1 Message Date
skizzerz
b29701782f Maelstrom fixes
- Correctly assign random roles upon game start
- Let people know if they're villager/cultist or whatever even on nights
  2 and beyond
2016-01-14 01:08:49 -06:00
Ryan Schmidt
57e5aec9cd Increase quit grace time to 60s
Rejoining an IRC server after quitting can take a bunch of time for slow connections or if a lot of channels are to be joined. Additionally, quits could be indicative of temporary internet issues, want to make sure we give sufficient time to reconnect in case of a DHCP lease expiring or whatnot.
2015-12-20 14:54:22 -07:00
Vgr E. Barry
c47a84d058 Add the wolf shaman role 2015-11-23 19:36:02 -05:00
skizzerz
b351cd496f Enhance succubus win message 2015-11-14 19:22:42 -06:00
Lane Farrow
a4e21aa997 move irc messages to json and allow overriding in custom file 2015-11-10 19:58:50 -06:00
jacob1
b97085c32a fix database error 2015-11-01 19:03:13 -05:00
jacob1
d4f9e59576 add demoniac and succubus wins to gstats
tables should be automaticly converted
2015-10-31 12:13:52 -04:00
skizzerz
e2f313440d Merge remote-tracking branch 'origin/master' into sleepy 2015-10-30 19:40:46 -05:00
skizzerz
627efab5ec Fix priest death in sleepy, update alpha messages for doomsayer 2015-10-30 12:19:21 -07:00
Vgr E. Barry
e013d76d5c Remove medium from ROLE_GUIDE
We don't have time to introduce it in time for the Halloween update, so
let's remove it to prevent bad things happening (e.g. random)
2015-10-30 11:45:43 -04:00
Vgr E. Barry
e1a3ed7bf2 Add dullahan 2015-10-29 17:46:00 -04:00
skizzerz
16db66677c Complete doomsayer (untested) 2015-10-29 01:24:27 -05:00
Vgr E. Barry
3571d664ed Some succubus fixes 2015-10-29 00:06:00 -04:00
Vgr E. Barry
da81909162 Most of succubus 2015-10-27 22:54:18 -04:00
Lukas Martini
2421485875 Remove duplicate demoniac entry in TRUE_NEUTRAL_ROLES in src/settings.py 2015-10-27 23:42:10 +01:00
Lukas Martini
70454bfc3a Merge branch 'sleepy' of https://phab.skizzerz.net/diffusion/LKOS/lykos into sleepy 2015-10-27 23:34:38 +01:00
Lukas Martini
c80078d7f4 Add first version of the demoniac role 2015-10-27 23:34:09 +01:00
Vgr E. Barry
9765703902 Finish deadchat 2015-10-27 16:24:06 -04:00
skizzerz
be051dde70 Initial work for prophet role
!pray command is complete, role is missing night messages as well as
initializing/resetting var.PRAYED in transition_night
2015-10-27 01:02:28 -05:00
skizzerz
dea6052ed5 Rename devout to prophet 2015-10-26 23:09:25 -05:00
Vgr E. Barry
10be2e341f First draft of the !deadchat pref 2015-10-26 23:49:41 -04:00
Vgr E. Barry
524773bcdf Finish the woflchat restrictions for the Halloween events 2015-10-26 10:40:39 -04:00
Vgr E. Barry
1fb4fb0418 Syntax fixes 2015-10-25 22:29:21 -04:00
skizzerz
32bd4bed30 Add in possession roles, convert template_restrictions to an ordereddict 2015-10-25 20:43:35 -05:00
Vgr E. Barry
38a35dd3ad Merge branches 'sleepy' and 'sleepy' of https://phab.skizzerz.net/diffusion/LKOS/lykos into sleepy 2015-10-25 21:40:15 -04:00
Vgr E. Barry
5476bcdf27 Small tweaks to wolfchat restrictions 2015-10-25 21:37:59 -04:00
skizzerz
92741acb2f Add preliminary sleepy mode
Also new entries into ROLE_GUIDE for all of the to-be-added roles and
templates.
2015-10-25 20:04:08 -05:00
Lukas Martini
99460a3651 Require a minimum number of votes to start a game 2015-10-25 17:21:23 +01:00
Vgr E. Barry
2127b217b7 Add deadchat and wolfchat restrictions 2015-10-23 21:51:57 -04:00
skizzerz
9f4b205c72 Add priest role
Right now only the !bless command is active, subsequent commits
will add other commands.
2015-10-23 19:51:01 -05:00
nyuszika7h
87cc9b9875 Revert "Add "HTTP Error 420: I'm a Tea(weed)pot" ping reply"
This reverts commit a7cedd2aa9d4518192d9e6df0c7a4c0edd67a21f.
2015-10-23 16:32:01 +02:00
nyuszika7h
a7cedd2aa9 Add "HTTP Error 420: I'm a Tea(weed)pot" ping reply
Suggested by ParuNexus.
2015-10-23 10:40:08 +02:00
Ryan Schmidt
f25f90c910 Add amnesiac to SEEN_DEFAULT
amnesiac is a hidden role, although detective-types can pierce it the seer is not a detective-type.
2015-10-22 18:58:00 -07:00
Andrew "FastLizard4" Adams
8f4a9decdc Add another !ping reply 2015-10-22 13:53:50 -07:00
Vgr E. Barry
4befeef033 Add missing period
That'll teach me to merge early
2015-10-13 10:16:29 -04:00
acz13
33f99d03a9 Update settings.py 2015-10-12 19:22:19 -04:00
acz13
1cfd36eedd abra0's suggestion
<+abra0> petition to add "I'm sorry I can't do that Dave" to !ping responses
2015-10-12 19:07:41 -04:00
Vgr E. Barry
c37631e90c Update handling of game modes
This change moves the game modes into their own `src/gamemodes.py`, and
also allows setting game modes via `gamemodes.py`.
2015-09-09 09:57:41 -04:00
nyuszika7h
8a90145474 Case-insensitively compare the bot's nick when checking for PMs
Closes #161.
2015-09-06 11:46:49 +02:00
Ryan Schmidt
458d678009 Merge pull request #159 from lykoss/ident-support
Expand host-based variables to take full-on hostmasks
2015-09-05 19:59:01 -07:00
skizzerz
2cf278f9b1 Fix turncoat not being seen as vil
(it may have possibly never worked ever but just noticed now because
this was the first game with seer+turncoat)
2015-09-04 20:00:58 -05:00
skizzerz
f5ec9c9627 Expand host-based variabls to take full-on hostmasks
This allows for things like making ADMINS/OWNERS take a full hostmask,
or fallowing/fdenying a full hostmask with wildcards. It also allows for
a distinction between two people that share a hostmask but have a
different ident.

stasis now checks all matching stasis and returns the highest amount

fallow/fdeny have two new options -acc and -host to explicitly specify
what type the argument is

-cmds in fallow/fdeny show commands from all matching masks, to bring it
in line with how actual allow/deny parsing works, before it would only
show the first match
2015-09-03 19:38:59 -05:00
Vgr E. Barry
bd93e96445 Improve !fgame to allow an arbitrary number of spaces
This also allows to be a bit more liberal with the punctuation
2015-09-02 18:37:49 -04:00
Vgr E. Barry
d827eae2d8 Add option to devoice players during night 2015-09-02 17:48:58 -04:00
Vgr E. Barry
78465c9769 Perform game-ending checks for random earlier on 2015-09-01 23:14:44 -04:00
Vgr E.Barry
aca7ea418f Mass refactor of the data types 2015-08-29 23:45:44 +02:00
billion57
b936a4d3c5 More lynch/quit/no victims messages
yayy
2015-08-14 00:20:50 +02:00
skizzerz
1b50a37b69 Fix break_long_message, broken in 57930976263b3a3146b9fe3ce838b3f2064a0df1 2015-08-06 22:06:04 -05:00
nyuszika7h
74555f013a Fix Windows error messages in !ping 2015-08-06 12:37:37 +02:00
nyuszika7h
74d4f9c95e Actually add that ping message 2015-08-06 12:27:39 +02:00