jacob1
cf096c20d0
fix !roles <gamemode> <playercount> not working, fix !roles random <playercount> working
...
Also add a message if there are no roles defined for a acertain player count instead of saying nothing
2015-04-07 21:33:47 -04:00
nyuszika7h
599ad45544
Reorganize imports
2015-04-07 12:01:59 +02:00
nyuszika7h
528e484937
Tweak "no players remaining" message
...
"Nobody wins." sounds awkward IMO, and it's quite obvious anyway.
2015-04-06 14:48:36 +02:00
nyuszika7h
f56e9344cf
!time: Clarify game cancellation message
2015-04-06 13:39:01 +02:00
Ryan Schmidt
6bae3b9a3a
Fix mad scientist message sometimes showing incorrect targets
...
Closes #124
2015-04-05 23:47:05 -05:00
jacob1
6097a58820
fix error when alpha wolf is only wolf and gunner tries shooting at night
2015-04-05 00:51:22 -04:00
Ryan Schmidt
a30e6e8aca
Merge pull request #122 from lykoss/no-module-system
...
Remove the module system
2015-04-04 10:41:40 -05:00
Vgr E.Barry
3c5f742f74
Add loading print
2015-04-04 07:39:58 -04:00
Vgr E.Barry
0727fb317c
Fix faulty import
2015-04-04 07:39:56 -04:00
Vgr E.Barry
378334478c
Move files around and update references
2015-04-04 07:39:54 -04:00
skizzerz
5264a2a0da
Fix lykos on IRCds that do not have WHOX support
...
- Disable account support if we do not have WHOX so that bot still works
(and have it use regular WHO replies in that case).
- Don't join alt channels if there aren't any (prevents null JOINs being
sent to server).
- Allow configuring how the bot quiets users with QUIET_MODE and
QUIET_PREFIX, the default is "q" and "" so it sets +q n!u@h, but you
could configure it to say "b" and "~q:" where it will set +b ~q:n!u@h.
- Properly error out if we have sasl enabled but the ircd does not.
Known Issues:
- pstats does not work, as it is still tied to nickserv accounts
2015-04-03 22:23:02 -05:00
jacob1
2d14bdc0fe
minion can use !myrole to get the original wolf list
2015-03-30 13:34:16 -04:00
nyuszika7h
6f313217ca
Allow !join to vote for a game mode even if already playing
2015-03-30 19:29:32 +02:00
nyuszika7h
27fe548c2f
Fix SIGUSR2 handling
2015-03-30 16:25:50 +02:00
nyuszika7h
3bcb188b32
Add random fortunes
2015-03-28 17:15:16 +01:00
nyuszika7h
fd8d0bbdf7
Use var.GIF_CHANCE instead of hardcoded chance
2015-03-28 17:14:48 +01:00
nyuszika7h
440f4beca5
Remove some trailing whitespace
2015-03-28 15:44:38 +01:00
jacob1
ad8f3a720a
fix crash when shaman exchanges roles with themselves
2015-03-27 14:51:30 -04:00
nyuszika7h
0e020c3d15
Use .gifv for imgur links
2015-03-23 23:20:43 +01:00
nyuszika7h
187a877f6b
Require 7 players for classic
...
It's the same as default up until this point, so allowing classic for
<7p just results in pointless fragmentation of stats.
2015-03-23 15:13:36 +01:00
skizzerz
a526442725
Allow enabling timers in debug mode
...
Specifically, all timers are enabled by default now and there are new
settings to disable regular timers and disable time lord.
There is also a new setting to disable quit/part stasis in debug mode.
2015-03-22 12:49:48 -05:00
skizzerz
8b2023f133
Properly fix time lord issues
...
When resetting the timer, only reset it if we would be decreasing
the time remaining, never increase it. Also, use > 0 checks instead of
checking for debug mode to be consistent with the rest of the code, and
so that the next commit works properly.
The funky checks are because in debug mode (as of next commit) it will
be possible to enable certain subsets of timers, and these checks are
needed to prevent things from breaking when some subsets are enabled but
others are not.
2015-03-22 12:49:47 -05:00
Vgr E.Barry
aefd9cf5ab
Fix timers failing if time lord dies on beginning of day
2015-03-22 10:16:02 -04:00
Vgr E.Barry
05d5c39eb5
Modify the random game mode to allow any arbitrary role
...
Thanks to the previous commit, this removes the need to hardcode a wolf
in, and can be anything (say, a werecrow or alpha wolf).
2015-03-22 09:33:16 -04:00
Vgr E.Barry
8016628f39
Add ability to have no wolf (if there's another wolf role)
2015-03-22 09:32:11 -04:00
nyuszika7h
58eb321d3e
Allow !v as a shorthand for !votes in join phase too
2015-03-22 14:22:05 +01:00
Vgr E.Barry
eb724bb3fc
Fix get_victim not caring about channel vs PM commands
...
Why do I keep trying to code while short on sleep. It's obviously a
failure.
2015-03-21 22:14:19 -04:00
Vgr E.Barry
667b7513d3
Make get_victim care about the !notice preferences
2015-03-21 21:55:03 -04:00
nyuszika7h
3f3cc99a83
f{after,last}game: Show the arguments to the command
2015-03-21 12:57:45 +01:00
nyuszika7h
7b68f56359
Trigger var.AFTER_FLASTGAME if game ends in join phase
...
Closes #121 .
2015-03-21 12:52:49 +01:00
nyuszika7h
d7ba07d7bf
Fix flastgame (blame @Vgr255)
2015-03-21 12:49:18 +01:00
nyuszika7h
b73f9350db
Fix KeyError when there are no elders
2015-03-21 00:56:28 +01:00
Vgr E.Barry
2cdc609ecd
Fix day duration not changing if time lord dies farther in the day
2015-03-20 19:28:04 -04:00
jacob1
c0a6e9bc3b
modify fgoat to use all the arguments given if the first one isn't a nick
2015-03-20 00:25:16 -04:00
jacob1
0678e097d6
append lovers list to the existing end of game roles list
2015-03-18 22:39:23 -04:00
jacob1
c9a50586b8
fix pstats game totals being too high (counted most templates)
2015-03-18 22:25:44 -04:00
jacob1
4b07779bc3
allow using !votes in join phase to see gamemode votes
2015-03-17 00:02:15 -04:00
jacob1
51c0cb9188
fix bug where you couldn't use !roles at all when in the random game mode
2015-03-17 00:01:53 -04:00
nyuszika7h
3985063b60
If the bot was restarted in the join phase, ping the players afterwards
2015-03-16 23:55:57 +01:00
nyuszika7h
1da0bd1a9e
settings/villagergame.wolfgame.py: Remove obsolete file
2015-03-16 23:24:10 +01:00
nyuszika7h
938e02058f
Improve lycan message
2015-03-16 23:15:20 +01:00
Vgr E.Barry
5547d30721
Remove obsolete raw nick check for !vote
2015-03-15 19:48:37 -04:00
Vgr E.Barry
6d70f04b53
Make bare !vote allow one to see votes even if not playing
2015-03-15 19:46:47 -04:00
Vgr E.Barry
dda9348fb2
Only register votes on join if player was successfully joined
2015-03-15 14:24:51 -04:00
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