Commit Graph

534 Commits

Author SHA1 Message Date
Vgr E. Barry
548d212435 Fix 'random' not keeping template ordering 2015-12-02 08:38:08 -05:00
nyuszika7h
c6a5cea715 Log connection, end of MOTD and joining channels in normal mode 2015-11-27 17:37:04 +01:00
jacob1
d72eadf34f fix players not becoming unentranced if succubus dying ends game 2015-11-25 18:59:16 -05:00
Ryan Schmidt
99c8845118 Merge pull request #198 from lykoss/wolf-shaman
Add the new wolf shaman
2015-11-23 17:47:17 -07:00
Vgr E. Barry
c47a84d058 Add the wolf shaman role 2015-11-23 19:36:02 -05:00
skizzerz
32d91ec3a4 Enable team stats for random (sometimes) 2015-11-23 18:27:08 -06:00
skizzerz
747249991e Add botconfig.OWNERS_ONLY_COMMANDS to further restrict commands 2015-11-16 12:11:52 -07:00
jacob1
be4421dd59 fix fquit "not_playing" message 2015-11-16 10:56:23 -05:00
jacob1
cd44f2384f !frole: add to ORIGINAL_ROLES or FINAL_ROLES to fix end of game output 2015-11-16 10:51:43 -05:00
jacob1
3fd1360fed fix !stats for wolves in PM being out of order
should be in player join order, not randomly shuffled
2015-11-16 10:17:45 -05:00
skizzerz
debf9c78ff Horrible hacky error fix to make pm available in proxy/decorators 2015-11-15 18:42:20 -06:00
Vgr E. Barry
c24ae0bb8f Make deadchat preferences actually matter
derpidy derpidoo da
2015-11-15 19:24:59 -05:00
Vgr E. Barry
aa1af8dea8 Fix debug logging of totems. Closes #196 2015-11-15 19:24:33 -05:00
Emanuel Barry
837cf49c44 Merge pull request #191 from lykoss/proxy
Introduce proxies as a means of breaking circular import chains
2015-11-15 18:08:06 -05:00
skizzerz
8a36dd8442 Fix docstring 2015-11-15 17:06:46 -06:00
skizzerz
737f4e6184 Fix werecrow observe not working in some instances 2015-11-15 16:56:32 -06:00
skizzerz
a26f912f6e Wrap the impl side of implementations in handle_error unconditionally as well 2015-11-15 13:51:46 -06:00
skizzerz
6f83a909df Introduce proxies as a means of breaking circular import chains 2015-11-15 13:12:22 -06:00
skizzerz
4750981b4b Don't fire retribution against self 2015-11-14 23:58:01 -06:00
skizzerz
26f798456e Expand werecrow observe list
Now observes every role that acts at night as "not in bed" EXCEPT:
- matchmaker
- assassin
- clone
- turncoat

matchmaker and clone are night 1-only, and allowing them to be observed
would only serve to reduce werecrow power. assassin and turncoat's night
actions are passive and not anything that would require staying up late
at night or moving around at night for.

In the event that a luck or misdirection totem is applied, wolf-aligned
roles are now also observable as not in bed should they act. This will
also apply if RESTRICT_WOLFCHAT is used to take those roles out of
wolfchat.
2015-11-14 23:45:23 -06:00
skizzerz
d386b76d48 Don't allow spectating deadchat if one is already in it 2015-11-14 23:08:51 -06:00
jacob1
80e5c72b3d decrease 'mad' likelihood from 8 to 4 (not very popular, even though balanced :P) 2015-11-14 23:05:47 -05:00
jacob1
87e387df5f fix error when changing nicks in join phase 2015-11-14 22:58:04 -05:00
skizzerz
d3676948c3 Add !fspectate command
Admin-only command (can be !fallowed) to spectate deadchat or wolfchat.
The person spectating is not revealed to anyone in the chat, however
they can see everyone in that chat.

If used outside of debug mode, it is restricted a la !revealroles where
it cannot be used by an alive player or an active vengeful ghost.
2015-11-14 21:04:43 -06:00
skizzerz
b351cd496f Enhance succubus win message 2015-11-14 19:22:42 -06:00
Lane Farrow
b121d3a2c4 Fix voicing on rejoin at night when devoice during night is enabled 2015-11-13 21:52:34 -06:00
Vgr E. Barry
37ce9ad17c Actually fix ping replies 2015-11-13 14:55:31 -05:00
nyuszika7h
2cf3bfe811 Remove useless DISABLE_DEBUG_MODE option
There is no point in this whatsoever; admins can do !frestart debugmode
but that cannot lead to privilege escalation as !eval and !exec are
owner-only and !fallow won't work on them either.
2015-11-13 20:19:51 +01:00
skizzerz
e54630e902 Don't count night phase towards idle timeouts if DEVOICE_DURING_NIGHT = True 2015-11-12 21:39:41 -06:00
Vgr E. Barry
256d4ae39f Fix !ping randomly erroring out
Blame @laneatomic
2015-11-12 08:39:29 -05:00
jacob1
c072991a71 fix !fwait -1 grammar 2015-11-11 23:41:45 -05:00
jacob1
7184a02d54 use reply() in !wiki 2015-11-11 23:15:16 -05:00
jacob1
a2cd0d15e2 Reapply 217c8ffc8e
Somehow got wiped in a recent push.
2015-11-11 21:30:14 -06:00
skizzerz
e6c36830c4 Fix formatting issues and fgame 2015-11-11 13:10:23 -06:00
Lane Farrow
a4e21aa997 move irc messages to json and allow overriding in custom file 2015-11-10 19:58:50 -06:00
Vgr E. Barry
346af23a5d Fix shooting succubus 2015-11-09 16:43:09 -05:00
Vgr E. Barry
4e7b8ec6bb Fix issue with Python 3.2 2015-11-07 22:22:09 -05:00
jacob1
217c8ffc8e fix player who died last in the previous game being automatically joined to the deadchat the next game 2015-11-06 12:08:03 -05:00
nyuszika7h
6aedc39352 Add some missing periods 2015-11-06 15:23:16 +01:00
nyuszika7h
7d6fab1f01 Refactor calls to reply() to explicitly use 'private' keyword argument 2015-11-06 15:17:28 +01:00
skizzerz
8c4956469e Rejigger vigilante valid targets to make it more clear what does/does not apply 2015-11-05 20:17:40 -06:00
jacob1
aee627b3e2 fix fquit not working in PM (to fquit someone from deadchat) 2015-11-05 21:14:52 -05:00
jacob1
9b3768522b reduce sleepy likelihood to 5
we agreed not to reduce it to 0, 5 works well
2015-11-04 22:51:11 -05:00
jacob1
dd45c3ebc0 Revert "force non-!simple for the new roles"
This reverts commit 202dcd33cb.
2015-11-04 22:51:11 -05:00
skizzerz
fdd42a927b meow 2015-11-04 19:19:57 -06:00
Vgr E. Barry
4ebb3f7e9f Fix errors when changing nicks in sleepy 2015-11-04 18:10:10 -05:00
Vgr E. Barry
bb8041e0fd Fixed some protected functions not working 2015-11-04 14:19:02 -05:00
Vgr E. Barry
8c0582477e Some tweaks to the error handler 2015-11-04 13:16:35 -05:00
Vgr E. Barry
b28d4bf6e3 Properly fix the error handler 2015-11-04 12:41:47 -05:00
jacob1
154589a748 make "stats type changed" message use botconfig.CMD_CHAR, to avoid actually running !stats on other bots 2015-11-04 12:31:54 -05:00