Commit Graph

1406 Commits

Author SHA1 Message Date
Vgr E.Barry
588d044e9e Allow !join to register game mode votes 2015-03-15 13:31:40 -04:00
Vgr E.Barry
77569e3b24 Remove the obsolete parse_nick call under game() 2015-03-15 13:29:23 -04:00
Vgr E.Barry
b21d0608d9 Hardcode amnesiac to never turn into amnesiac 2015-03-11 00:00:22 -04:00
Vgr E.Barry
c9ca3acc7c Game mode: random - "balance" tweaks 2015-03-10 22:50:16 -04:00
nyuszika7h
fcdea846c1 fdie/frestart: Change quit message if aftergame 2015-03-10 14:09:10 +01:00
Vgr E.Barry
de1c8a240f Significantly lower the number of possible gunners and assassins for the random game mode. 2015-03-09 19:35:30 -04:00
jacob1
4c198029d8 use var.break_long_message in !wiki 2015-03-09 14:06:47 -04:00
jacob1
5d1006bbcc new command !wiki which prints information on roles from the wiki, closes #105 2015-03-09 13:52:46 -04:00
jacob1
7be5bc50e1 make gamemode votes by nick and not by cloak, fix deleting votes when a player quits 2015-03-09 01:55:55 -04:00
jacob1
cf4458142a fix nick changes erroring in debug mode (reaper isn't running) 2015-03-09 01:55:16 -04:00
jacob1
59bbac1653 fix bug where detective could change nicks to id an infinite number of times 2015-03-09 01:54:52 -04:00
jacob1
3c5c2374d5 fix bugs where idlers might make night end early (or never), fixes #65
some variables that stored whether certain roles had acted weren't being cleared, neither were hunter/vengeful ghost kills (although they get to pick a new target anyway).
2015-03-09 01:37:07 -04:00
jacob1
a8430e4525 handle assassins separately in chk_nightdone, fixes #118 2015-03-09 00:56:40 -04:00
jacob1
47100dd2eb fix doing !roles default when in another game mode
has to check ORIGINAL_SETTINGS to get them since 'default' itself doesn't define any settings
2015-03-09 00:40:34 -04:00
Vgr E.Barry
1e7783bad5 Fix !roles erroring out on invalid game modes. 2015-03-08 20:50:15 -04:00
Vgr E.Barry
c84b44f004 Allow for stacking wolf gunner's bullets, and allow for wolves to be both normal and wolf gunners. 2015-03-08 19:29:16 -04:00
Vgr E.Barry
24ce3ef384 Merge branch 'master' of https://github.com/lykoss/lykos 2015-03-08 19:06:52 -04:00
Vgr E.Barry
e458adf0cc Reduce number of gunners and assassins at lower player counts for random. 2015-03-08 19:06:42 -04:00
nyuszika7h
57da36563a Fix @skizzerz's entry in .mailmap 2015-03-08 21:40:34 +01:00
Vgr E.Barry
624f3a2b2c Make the random game mode even more random. 2015-03-08 15:17:06 -04:00
Vgr E.Barry
868db7cf07 Add a way to conceal roles from certain game modes. 2015-03-08 15:16:18 -04:00
Vgr E.Barry
28f4e0a2dd Make the bot re-attribute roles before sending PMs if the game ends on first night. 2015-03-08 11:08:01 -04:00
Vgr E.Barry
3857954d9e Replace non-printable characters in files too. 2015-03-08 10:08:12 -04:00
Vgr E.Barry
a1ef3beca2 Remake get_timestamp() to work properly with various timezones.
Today was the change to Daylight Savings for a part of the world, and
the get_timestamp() function broke because of this. This change fixes
this.
2015-03-08 09:49:36 -04:00
Vgr E.Barry
5a3311aa99 Make 'immunize' not fail if doctor is not in var.DOCTORS 2015-03-07 23:12:41 -05:00
Vgr E.Barry
96933498d8 Properly fix amnesiac doctor not having immunizations. 2015-03-07 22:55:16 -05:00
Vgr E.Barry
2fa8f2411f Add a new game mode: random 2015-03-07 21:06:29 -05:00
Vgr E.Barry
0d8720be38 Fix crash if amnesiac turns into doctor.
Normally, doctor is blacklisted for amnesiac, so this never occurred,
but with the new "random" game mode this can happen. Fortunately this
was caught in testing.
2015-03-07 21:03:33 -05:00
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