Vgr E.Barry
a4a6546478
Improve handling of amnesiac turning.
...
- Proper a/an use when an amnesiac turns.
- If amnesiac turns into a role with wolfchat access, they are not told
that themselves turned into their role.
- If var.AMNESIAC_NIGHTS is set to 1 (normally shouldn't happen, but
happens now in the "random" game mode), it doesn't tell the amnesiac
they just remembered what they were, as game just began anyway.
2015-03-07 21:02:22 -05:00
jacob1
8eef082067
Clarify vengeful ghost in !revealroles
2015-03-05 16:45:19 -05:00
nyuszika7h
4c14ef0021
Merge pull request #115 from lykoss/no-mysterious-plague
...
Remove the mysterious plague
2015-03-04 09:00:06 +01:00
Janik Kleinhoff
916d933900
Remove the mysterious plague
...
We have the reaper now, and the mysterious plague does more harm than
good in bigger games.
2015-03-03 19:18:24 +00:00
Vgr E.Barry
d95e62c239
Increase lycan and noreveal's likelihoods.
2015-03-03 11:14:24 -05:00
nyuszika7h
7651de67eb
Remove debug code
...
Yes, I pushed debug code again. >_>
2015-03-02 12:27:17 +01:00
nyuszika7h
f81fd879a2
frestart: Fix {normal,verbose,debug}mode
...
I also made it more flexible and added the mode to the quit message.
2015-03-02 12:25:27 +01:00
nyuszika7h
695a7b4dee
Allow specifying a reason for fdie and frestart
2015-03-02 11:55:56 +01:00
jacob1
aa63cc0f90
forgot to change one instance of 'nick' in revealroles
2015-03-01 14:42:44 -05:00
jacob1
93d06e5a5d
show what amnesiac will turn in to in !revealroles
2015-02-28 21:25:02 -05:00
nyuszika7h
f4304a8d16
Fix pluralization in pingif
2015-03-01 00:50:11 +01:00
jacob1
b6b8341bbb
revealroles: show who is immunized/bitten + days until turning
2015-02-28 18:15:47 -05:00
jacob1
710607fdca
fix error preventing bot from starting
2015-02-28 15:55:02 -05:00
nyuszika7h
d2bed1bf72
Use STATUSMSG instead of hardcoding @+ prefixes
2015-02-28 18:38:04 +01:00
nyuszika7h
7fdd2bf98a
Add STATUSMSG support
2015-02-28 18:36:23 +01:00
nyuszika7h
32d3414bc8
Fix error in unhandled hook
...
How did this not get caught in testing earlier?
2015-02-28 18:36:22 +01:00
nyuszika7h
1cc6d411f8
Add DEV_CHANNEL and send tracebacks there instead
...
Per @skizzerz, tracebacks can reveal potentially sensitive game info.
Therefore, I added an option to send the tracebacks to an alternate
channel instead. You can even send them only to voiced or opped users.
2015-02-28 11:56:56 +01:00
jacob1
0ebb4d5e36
don't print how many players are abstaining when abstaining is disabled
2015-02-28 01:28:06 -05:00
jacob1
f7f8b7687e
balance adjustments to several game modes
...
lycan: was totally imbalanced so added another traitor at 8, moved wolf(2) from 9 to 10, and moved GA from 10 to 11
mad: minor change, gunner always has 1 bullet now (2 bullet gunner was unfair in 9p, also this means gunner is less safe now)
alpha: now starts at 7p since less than 7p games are the same as default
classic: disable abstaining, classic never had abstaining
2015-02-28 01:27:13 -05:00
jacob1
43d6fef078
fix !revealroles overwriting 'nick' causing it to ignore !notice prefs
...
Also don't duplicate gunner info, apparently wolf gunners are in a separate variable so that wasn't needed
2015-02-27 23:44:40 -05:00
nyuszika7h
81ae2e7516
Also update frestart
...
I guess I lied, that wasn't my last commit for today.
2015-02-27 20:58:14 +01:00
nyuszika7h
0bbfee91f4
Remove debug assert
...
That's it. I'm not pushing anything else today. If something is still
broken, ask @Vgr255 or someone else to fix it.
2015-02-27 20:52:13 +01:00
nyuszika7h
86dfb2eb49
Fix example botconfig
...
I should really check things more before pushing them.
2015-02-27 20:49:00 +01:00
nyuszika7h
da41736842
Revert latest change and fix & refactor traceback pastebinning
2015-02-27 20:46:26 +01:00
nyuszika7h
0d99297aee
Rename PASTEBIN_ERRORS to PASTEBIN_TRACEBACKS
...
For clarity and because it sounds better.
2015-02-27 18:01:13 +01:00
nyuszika7h
b804d95e57
Add an option to pastebin tracebacks
2015-02-27 17:55:57 +01:00
nyuszika7h
d9a0fa3b6f
pm: Use repr() for printing fake nick PMs
...
This is handy if you are looking for control codes (e.g. bold) which
would otherwise be ignored by the terminal, as they use different
control codes, and they don't know what to do with \x02 and such.
It's also consistent with the way actually-sent messages are printed.
2015-02-27 16:55:58 +01:00
Vgr E.Barry
c0fe71bfda
Allow !stats to show who's wolf if wolf, and remove nicks from PMs !stats.
2015-02-27 10:00:37 -05:00
skizzerz
6a0dd3a70c
Revert 180f64e
and followup 5e0e022
.
...
This needs proper discussion before being implemented, and if decided to
be implemented should be done as a PR.
The "don't show person's nick in pmcommand" part is fine and could be
re-added, git revert is stupid and doesn't let me do a partial revert.
2015-02-27 00:08:58 -06:00
jacob1
f592af1d6b
!revealroles now shows a ton more info
...
now shows lovers, dead vengeful ghosts & teams, clone / assassin targets, gunners, what totems shamans have, and what totems were given out to who
2015-02-26 23:17:36 -05:00
Vgr E.Barry
5e0e022bc3
Fix wolves getting other people's messages.
2015-02-26 12:50:20 -05:00
Vgr E.Barry
079e13d10d
Add a !players alias to !stats.
2015-02-26 09:23:29 -05:00
Vgr E.Barry
180f64e7b8
Improve PM commands to tell all wolves (+tell who is wolf).
...
Also remove the nick from the message if it's in PM, regardless.
2015-02-26 09:23:19 -05:00
Vgr E.Barry
c75ec4f559
Respect settings if GA can guard self.
2015-02-26 07:14:29 -05:00
Vgr E.Barry
02ec5e9309
Improve some messages when beginning night.
...
Harlot: Mention ability to visit oneself to stay home.
Bodyguard: Mention ability to pick oneself to guard noone.
Guardian Angel: Mention ability to guard oneself.
Guardian Angel: Add user to the players list.
Guardian Angel: Remove last guarded user from the players list.
All kinds of shamans: Remove user that last received a totem from this
user from the players list.
2015-02-25 19:31:35 -05:00
Vgr E.Barry
10706674c3
Prevent unsuccessful !joins to trigger the ping-if timer.
2015-02-25 17:15:37 -05:00
jacob1
11dbb56a0e
also don't allow people with hosts matching players currently in the game to use revealroles
2015-02-24 20:49:31 -05:00
jacob1
58067a3264
don't allow someone to !revealroles if another player under that account name is still in the game
2015-02-24 16:12:17 -05:00
skizzerz
1c7a60540d
If revealroles is allowed during normal play, restrict it to only non-players and dead people. Still admin-only so it logs and needs to be fallowed
2015-02-23 22:32:33 -06:00
Vgr E.Barry
e691f918c8
Revert previous 'fix' and discard any conflicting possibilities.
2015-02-22 20:18:24 -05:00
Vgr E.Barry
05e3ecd68f
Add missing lock release causing the bot to hang up.
2015-02-22 20:07:45 -05:00
Vgr E.Barry
425919ffa5
Excplicitely acquire the warning lock to release it only when we need to.
2015-02-22 19:52:21 -05:00
nyuszika7h
19760a0ea7
pingif: Fix incorrect usage of 'any'
2015-02-22 22:46:48 +01:00
nyuszika7h
7761289893
pingif: Reorder checks (micro-optimization) and improve readability
2015-02-22 22:24:38 +01:00
nyuszika7h
1447284666
pingif: Add more ways to disable
2015-02-22 22:20:32 +01:00
nyuszika7h
27c753efb8
pingif: Remove redundant 'ping-if' alias
2015-02-22 22:13:51 +01:00
Janik Kleinhoff
71b420a1a5
Merge branch 'ping-if-feature'
...
This appears to have been sufficiently reviewed and doesn't seem to have
any critical flaws remaining; multiple other people agreed with merging.
2015-02-21 23:17:19 +00:00
Vgr E.Barry
2565f11f03
Remove leftover command prefixes.
2015-02-21 18:01:50 -05:00
Vgr E.Barry
13398b4bc3
Remove the command prefix from a few messages.
2015-02-21 17:45:38 -05:00
Vgr E.Barry
79a57f6389
Use dict.get() method where possible for ping-if settings.
2015-02-21 17:40:26 -05:00