Commit Graph

368 Commits

Author SHA1 Message Date
nyuszika7h
4189d5c874 autopep8 2014-07-19 19:05:49 +02:00
skizzerz
cb55f9129b Force assassin to target someone
If assassin times out night, this selects a random target for them and
lets them know who it is. The target is selected amongst players NOT
going to die that day, so only chance of a reselect is due to lovers,
bullets, or lynchings.

Closes #26
2014-07-19 00:02:50 -05:00
skizzerz
736d5f572e Additional fixes
Fix issue introduced in last commit where regular gunners didn't get
bullets.
Fix wolves ending night when angry with only one target selected.
Closes #28
2014-07-18 23:44:31 -05:00
Ryan Schmidt
32312ed2d6 Bugfixes
Fix crash if a template cannot be assigned due to role restrictions.
Fix gunner being able to become sharpshooter even if sharpshooter isn't
in the list of allowed thingies.
2014-07-18 23:23:27 -05:00
jacob1
6f16848302 fix grammar mistake in headshot message 2014-07-18 23:56:06 -04:00
jacob1
fdf6fa7ab2 add clone message when using !simple 2014-07-18 22:15:57 -04:00
jacob1
a937775874 improve previous clone commit 2014-07-18 22:09:06 -04:00
skizzerz
a670925779 Merge remote-tracking branch 'upstream/master'
Conflicts:
	modules/wolfgame.py
	settings/wolfgame.py
2014-07-18 08:53:11 -05:00
skizzerz
585bdb142f Fix death trigger roles like assassin and vengeful ghost. Closes #27 2014-07-17 23:17:03 -05:00
skizzerz
b1bfba32a8 Fix amnesiac duplication when they remember who they are, and make \!stats not instantly reveal what role the amnesiac is. Closes #3 2014-07-17 22:49:28 -05:00
skizzerz
339db52165 Make village elder and death totem not able to be guarded against. Closes #5 2014-07-17 21:23:14 -05:00
skizzerz
6e43f60974 Properly return from pass if a hunter isn't using the command. Fixes #25 2014-07-17 20:53:50 -05:00
skizzerz
88de4eb9b7 Fix \!frole removing roles, fix a syntax error, and fix #20 for real this time 2014-07-17 20:50:32 -05:00
skizzerz
b5e44a572a Alert hag/sorcerer to being cursed. Closes #2 2014-07-17 19:35:58 -05:00
skizzerz
f4d66a28a5 Add !totem as an alias for !give 2014-07-17 19:30:32 -05:00
skizzerz
d84d69f66a Merge branch 'master' of https://github.com/skizzerz/lykos 2014-07-17 19:29:30 -05:00
Ryan Schmidt
dcf5ec63e1 Merge pull request #17 from nyuszika7h/fix-none-totem
Fix None receiving a mysterious totem when the receiver died
2014-07-17 19:28:51 -05:00
skizzerz
a6fd31f322 Don't let del_player kill an already dead player. Closes #20 2014-07-17 19:03:52 -05:00
jacob1
78c964fcc5 clone gets player list, wolves are informed when clone turns into wolf and clone gets the wolf list too 2014-07-17 19:58:20 -04:00
nyuszika7h
b93bf38894 Prettify !revealroles 2014-07-17 22:12:47 +02:00
nyuszika7h
b1a529d13f Fix endgame message when monster kills villagers
Closes #10.
2014-07-17 16:49:38 +02:00
nyuszika7h
c54ec2a4b8 Fix None receiving a mysterious totem when the receiver died
Closes #15.
2014-07-17 16:28:20 +02:00
nyuszika7h
304f16ce7f Fix !admins in PM 2014-07-17 16:03:33 +02:00
skizzerz
2f5055714e Fix crash if a dead person was given narc totem 2014-07-17 00:14:32 -05:00
skizzerz
3203b10015 Hide traitor turning message if role reveal is off 2014-07-16 23:34:20 -05:00
skizzerz
1acb9fc51d Fix clone 2014-07-16 20:56:48 -05:00
skizzerz
66fd6211a5 Finish clone role 2014-07-16 19:00:57 -05:00
skizzerz
53cbeef9f1 Fix amnesiac duplicating when they remember their role (I think). Closes #9 2014-07-16 18:49:26 -05:00
skizzerz
625e2a8d73 Merge branch 'master' of https://github.com/skizzerz/lykos 2014-07-16 18:43:06 -05:00
skizzerz
1899792c29 Fix issue #7 - gunner/narc totem always deducted from villager count 2014-07-16 18:42:56 -05:00
Ryan Schmidt
68ad9d435d Merge pull request #12 from nyuszika7h/fix-lover-crash
Fix crash when already dead lover tries to commit suicide
2014-07-16 18:37:54 -05:00
skizzerz
3e58856b90 Fix issue #4 and some other bugs 2014-07-16 18:37:11 -05:00
nyuszika7h
e750fbae21 Fix crash when already dead lover tries to commit suicide 2014-07-16 23:51:59 +02:00
nyuszika7h
730f9a3b18 Revert "Add !q as an alias for !quit"
This reverts commit 93546dee9d.
2014-07-16 17:22:19 +02:00
skizzerz
49c04e6dcc fix circular assassining redux 2014-07-16 00:37:26 -05:00
skizzerz
cb41e0c996 fix circular assassining 2014-07-16 00:24:57 -05:00
Ryan Schmidt
3a2bfcfefb Do not tell amnesiac what they are 2014-07-16 00:00:50 -05:00
Ryan Schmidt
9fde1ca0a2 moar bugfixes 2014-07-15 23:39:20 -05:00
nyuszika7h
6378c9e1a9 Fix it for real now 2014-07-15 23:17:22 +02:00
nyuszika7h
53546b7a91 Fix previous commit (maybe) 2014-07-15 23:04:23 +02:00
nyuszika7h
cce7c34caf Disable !join until opped and try to regain op 2014-07-15 22:59:08 +02:00
nyuszika7h
96afc582f4 Allow passing host to fstasis instead of just nick 2014-07-15 20:34:46 +02:00
Transfusion
ae64979e34 Enable CTCP PING as per issue #37 2014-07-15 21:23:41 +08:00
skizzerz
36dd881411 much bug, many fixes, wow 2014-07-15 01:04:16 -05:00
Skizzerz
a31bf8b4e9 Finish matchmaker 2014-07-14 20:48:00 -05:00
skizzerz
f41b92a156 bugfixes 2014-07-14 02:20:08 -05:00
skizzerz
a10e706474 Fix syntax errors and some other miscellaneous issues 2014-07-14 01:06:41 -05:00
Skizzerz
77a6bfe3db Fixes plus additional commands I forgot, still a bit of work left 2014-07-14 00:29:52 -05:00
Skizzerz
d970aefdbe Finish adding roles, still completely untested 2014-07-13 17:43:11 -05:00
Skizzerz
7011c9b5d0 Roughly halfway done with adding new roles 2014-07-12 19:40:20 -05:00
Skizzerz
3f61a60f21 Merge branch 'master' of https://github.com/lykoss/lykos
Conflicts:
	modules/wolfgame.py
2014-07-12 13:13:56 -05:00
Skizzerz
23b2e755ca Initial commit to add a bunch of new roles 2014-07-12 13:10:44 -05:00
nyuszika7h
835e76c621 Disable !gstats rate limit 2014-07-12 16:41:12 +02:00
nyuszika7h
6717f61e6f Small tweak to !coin 2014-07-10 13:08:27 +02:00
nyuszika7h
b39c31efe1 Revert "Add warning to !coin/!pony"
This reverts commit 0fcf10494f.
2014-07-10 13:08:03 +02:00
nyuszika7h
0fcf10494f Add warning to !coin/!pony 2014-07-10 13:01:46 +02:00
nyuszika7h
d351159d8a Small consistency fix 2014-07-04 11:22:42 +02:00
nyuszika7h
d4ebbf6d9a Add missing period 2014-07-02 07:41:13 +02:00
nyuszika7h
14aca5ee64 Merge pull request #39 from jacob1/master 2014-07-02 07:34:29 +02:00
jacob1
cba018b5c0 guardian angel can choose not to guard anyone at night 2014-07-02 01:24:28 -04:00
jacob1
c1a256c162 GA dies when guarding, victims name not revealed 2014-07-01 23:11:52 -04:00
Yizhe Shen
02b1a25644 Added a timer for joining the game. (issue #20)
- Usage: set a non-zero value for var.JOIN_TIMER_LIMIT in seconds
- Added kill_join() to handle game cancellations
- Join timers set on first join and canceled if everybody quits or when a
  game starts
2014-06-27 15:28:19 -04:00
Nick Richardson
a16cf60243 Change Goated Message
Change "already goated" message to make it easier to understand
2014-06-23 18:13:06 -06:00
nyuszika7h
a8ce61ced0 Improve output format for !fsend again 2014-06-22 12:58:34 +02:00
nyuszika7h
bcfa31625b Add !w as an alias to !wait 2014-06-21 23:57:05 +02:00
Yizhe Shen
2b748de465 !time: Fix for time command.
- Checks time remaining for day based on the number of players who were
  alive at the start of the day
- Added check to make sure timers are active
- Added debug mode override for SHORT_DAY_LIMIT_CHANGE and
  SHORT_DAY_LIMIT_WARN
2014-06-10 23:34:40 -04:00
nyuszika7h
ace7e90dfc Allow !admins and !roles in PM 2014-06-08 14:45:51 +02:00
nyuszika7h
b11e4992b6 Fix !time 2014-06-08 13:53:58 +02:00
jacob1
c63a444ee6 fix cursed traitor when using !simple, bold names of wolves to make them stick out more 2014-06-04 21:58:02 -04:00
nyuszika7h
1dd2d230d4 !fsend: Fix typo 2014-06-04 21:46:19 +02:00
nyuszika7h
7869826205 !fsend: More spacing to improve readability 2014-06-04 21:10:47 +02:00
nyuszika7h
fb97cf8aee !fsend: Add timestamp 2014-06-04 21:08:33 +02:00
nyuszika7h
1bcab60c27 !time: Fix negative value at nighttime 2014-06-04 21:01:13 +02:00
nyuszika7h
558795ba51 !time: Add rate limit and notice when there is no game running 2014-06-04 20:54:36 +02:00
nyuszika7h
0958a8201c Merge branch 'cursed' of git://github.com/jacob1/lykos 2014-06-04 20:50:49 +02:00
jacob1
ca23189939 cleanup !time a little and tell whether it's day or night 2014-06-04 12:07:15 -04:00
Srijay Kasturi
bbb7564a0c Instead of just erroring, just show all the current votes 2014-06-02 00:50:16 -04:00
jacob1
d56e1731b2 !p is case insensetive, and tells you when a player / role doesn't exist
At the request of / using some code from brrr
2014-05-31 23:37:04 -04:00
jacob1
08855dba9a wolves know who cursed is 2014-05-31 11:42:44 -04:00
jacob1
98c807da85 !time command, returns time left until day/night end 2014-05-31 11:41:20 -04:00
Benjamin Donald-Wilson
93546dee9d Add !q as an alias for !quit 2014-05-30 09:11:12 +00:00
nyuszika7h
397221537b Fix players being stasised when they quit
Commit 9cd0641 made players get stasised whenever they leave a game, not
just when they are /kicked by a channel operator.
2014-05-10 17:00:21 +02:00
nyuszika7h
3c90875291 Merge branch 'master' of git://github.com/lykoss/lykos 2014-05-10 09:16:59 +02:00
nyuszika7h
9cd06412ad Stasis players when they are /kicked
Suggested by @ishanyx.
2014-05-10 09:16:42 +02:00
nyuszika7h
b16b1e75af Shuffle player lists sent to specials in PM
As requested by elky.
2014-05-07 12:40:08 +02:00
Yizhe Shen
1cdf586b2a Small fix for fpull. Removed freload. 2014-04-30 15:23:15 -04:00
nyuszika7h
05d767db52 Merge branch 'stasis-fix-3' of git://github.com/brrr2/lykos 2014-04-30 19:44:54 +02:00
Yizhe Shen
4052fc9b27 Fix for fstasis(). 2014-04-30 13:36:22 -04:00
nyuszika7h
474fff8e2b Fix !fpull and make it always reply in PM/notice 2014-04-30 19:31:55 +02:00
nyuszika7h
0ed3fa249c Revert "!freload: reload modules/wolfgame.py too"
This reverts commit d9ad499f78.

It doesn't quite work out well.
2014-04-30 18:56:29 +02:00
nyuszika7h
7455bcaf8a Another fix to !fpull 2014-04-30 18:55:25 +02:00
nyuszika7h
7d1d68f2b8 Fixes to !fpull 2014-04-30 18:54:24 +02:00
nyuszika7h
25d80216a8 Merge pull request #25 from brrr2/stasis-fix-2 2014-04-30 18:49:10 +02:00
nyuszika7h
e907f46939 Rename !pull to !fpull and make it quieter 2014-04-30 18:39:35 +02:00
nyuszika7h
d9ad499f78 !freload: reload modules/wolfgame.py too 2014-04-30 18:36:26 +02:00
nyuszika7h
28850cbc1c Fix !fstasis 2014-04-30 18:35:25 +02:00
Yizhe Shen
bd303f5b48 Minor changes.
- Small changes in fstasis()
- Combined decorators for join()
- Added a space in decorator for vote()
- Added comma in decorator for freload()
2014-04-30 12:27:57 -04:00
nyuszika7h
7a2b869d68 Fix typo in previous commit 2014-04-30 18:27:22 +02:00
nyuszika7h
4a13d4b05c Make !fstasis work in channel 2014-04-30 18:26:17 +02:00
nyuszika7h
26cde6c312 Fix !freload 2014-04-30 18:19:41 +02:00