Commit Graph

110 Commits

Author SHA1 Message Date
nyuszika7h
ff0078e9ec Bold nick for actions in wolf relay
Without this fix, a wolf team member could '/nick Someone' and leave a
fake detective paper, which is indistinguishable from a real one.
2013-09-12 16:36:24 +02:00
Robert Wall
ed62cbbfc9 Change branch condition for checking if night is over, fixes #17
chk_nightdone used to check whether the number of people seen equals
the number of seers (and the same for harlot, etc.). This means night
times out if the seer (etc.) leaves after seeing but before night is
otherwise ended. This commit changes equals to >=, and swaps around the
wolf part of that condition so that it matches the other parts.
2013-07-15 19:37:10 -07:00
Robert Wall
1487256f09 Oops, I fail at paying attention. Fixing last commit. 2013-07-13 21:06:30 -07:00
Robert Wall
a1b948a93a Merge branch 'master' of github.com:LycanthropeTheGreat/lycanthrope 2013-07-13 21:02:53 -07:00
Robert Wall
58ce84235f Move various in-channel messages to user notices
This commit moves the !votes and !stats rate limit warnings to user
notices intead of in-channel messages, to be consistent with the other
rate limit warnings and because those messages are usually just
pointless noise. It also moves the CARE_BOLD and CARE_COLOR messages
to user notices, because they're spammy and annoying and just make
things worse when they're in-channel.
2013-07-13 20:58:19 -07:00
Melissa Draper
7f8d5286b3 Exclude illegal_joins (stasised people) from the !ping list.
Pinging people who are in stasis to join games is both futile and
inflammatory. Closes issue #16
2013-07-14 10:29:35 +12:00
Robert Wall
ecd62cf0ef Simplify stasis logic for people who leave the channel.
Instead of setting make_stasis as soon as they leave, then setting it
again with a negative number if they rejoin, we can just set it when
they actually reach the timer and are killed. We were actually doing
*both* up to now (which was probably what was causing the double stasis
mentioned in issue #8), so I just removed the make_stasis calls when
people leave and come back, and kept the one when they get killed.
2013-07-12 20:59:59 -07:00
Robert Wall
cca373904d Check whether night is done after werecrow !observes. Closes #9 2013-07-12 20:48:34 -07:00
Robert Wall
77e09e1f03 Make traitor an invalid target for !kill. Closes #14 2013-07-12 20:26:40 -07:00
Skizzerz
3db7fec992 Make seer see werecrow as wolf instead of crow 2013-07-12 00:52:52 -05:00
Robert Wall
c6faab1a03 Adding a . to the end of the join message.
Requested by nyuszika7h in #wolfgame-dev.
2013-07-06 02:20:54 -07:00
Robert Wall
6f3d7a54ca Change message when wolves win to mention injury (closes #1)
The message about wolves winning was unclear that the comparison is
between wolves and uninjured villagers, which caused confusion a few
times because people thought the game ended due to a bug. This commit
changes the message to avoid this confusion.
2013-07-06 00:39:30 -07:00
Robert Wall
abefb90db2 Re-add missing . at the end of !retract response.
Minor change requested by someone in #wolfgame a while ago. The old
!retract message ended in a period, and it's still there in the logger
message, but the new in-channel message didn't have one.
2013-07-05 22:26:07 -07:00
Robert Wall
5630e6f537 Merge pull request #2 from skizzerz/wording
change wording for !join (suggested by Makiavel)
2013-07-05 22:11:27 -07:00
Robert Wall
c2887bc761 Add empty declarations and checks to partly fix START_WITH_DAY.
This commit adds some variable declarations and other minor things so
that setting var.START_WITH_DAY to 1 doesn't cause errors. This commit
doesn't actually fix that gamemode completely, since I'm still
pondering how best to make the game notify people of their roles when
the game starts in this mode, but it's a good start.
2013-07-05 22:00:13 -07:00
Robert Wall
339a63fe33 Clean up var.illegal_joins during !start, fix related !join bug
This patch fixes a bug in !join that caused new entries to be created in
the var.illegal_joins dictionary for every joining player because of a
missing check to see if the player's cloak is in the dictionary at all.

It also adds logic to !start to remove entries from the
var.illegal_joins dict if they currently have a value of 0, since these
entries are no longer relevant.

These changes together make !eval var.illegal_joins far more useful for
getting a list of *just* stasised players.
2013-06-28 19:58:30 -07:00
Skizzerz
f65f64102c change wording for !join (suggested by Makiavel) 2013-06-27 21:35:49 -05:00
Robert Wall
b7cb0d38ab Merge branch 'master' into elkyrww 2013-06-23 23:51:15 -07:00
Robert Wall
70132b6aea Make the help command always reply in PM to reduce spamminess 2013-06-23 16:06:21 -07:00
Robert Wall
a813cc611f Remind the village drunk of their role every night.
(See: http://code.google.com/p/wolf/issues/detail?id=86)
2013-06-02 14:53:22 -07:00
Robert Wall
475ffe715b Adding player count to !join, !leave, and !fleave 2013-06-02 14:47:39 -07:00
Melissa Draper
1a6eb7c35b Eliminate pronouns (S/He, his/her, etc) from messages
(See: http://code.google.com/p/wolf/issues/detail?id=89)
2013-06-02 14:25:01 -07:00
Eitan Adler
84fdc5ff2d Be more careful about applying stasis 2013-06-02 12:23:56 +02:00
Eitan Adler
42dae3c818 the player may have not yet said anything 2013-06-01 16:18:08 +02:00
Eitan Adler
a2ec66f27d Revert stasis on return 2013-06-01 16:06:24 +02:00
Eitan Adler
d309ae8568 Use make_stasis 2013-06-01 16:05:46 +02:00
Eitan Adler
0f4e7a91a1 fix prior (hence the 'sort of') 2013-06-01 16:04:39 +02:00
Eitan Adler
80d494bf86 use make_stasis correctly
remove stasis when a player returns (sort of)
2013-06-01 16:04:19 +02:00
Eitan Adler
9a1571fbf4 Move from roles -> special roles. 2013-06-01 16:02:14 +02:00
Eitan Adler
b6749abce8 add a 'special roles' option 2013-06-01 16:01:02 +02:00
Eitan Adler
2b0fd11a58 Use the correct stasis penalty 2013-06-01 16:00:17 +02:00
Eitan Adler
1e5af88fb1 Fix stasis usage 2013-06-01 15:59:34 +02:00
Eitan Adler
eb3d4d3ccd When force starting pass the correct param as nick 2013-06-01 15:56:58 +02:00
Melissa Draper
a63c49ca4a Add phase (day/night) to the roles stats line 2013-05-29 22:37:46 +12:00
Melissa Draper
7d4554b951 Fix last said bugs after player rejoins or their connection drops 2013-05-30 22:00:52 +12:00
Eitan Adler
30f182bcb3 fix coin 2013-05-26 17:04:29 +02:00
Eitan Adler
1724ca5dc8 Per channel request 2013-05-26 10:00:35 +02:00
Eitan Adler
4283f9b28e disable until I'm awake 2013-05-18 01:54:43 -04:00
Eitan Adler
7d5b2cc7bd don't fix the problem, just make goat herder the starter 2013-05-18 01:51:10 -04:00
Eitan Adler
3b818f6181 fix random 2013-05-18 01:46:24 -04:00
Eitan Adler
37fa6bfbd7 again... 2am is bad 2013-05-18 01:44:18 -04:00
Eitan Adler
f57b054db1 don't be an idiot 2013-05-18 01:43:36 -04:00
Eitan Adler
5e3baa317c fix goat herder 2013-05-18 01:40:51 -04:00
Eitan Adler
9e8ac652ab Try to do the goat herder, at 2 am 2013-05-18 01:37:42 -04:00
Eitan Adler
21872f39bc fix duplicate 'on on' 2013-05-12 11:51:44 -04:00
Eitan Adler
501f51d5d6 add a control for self lynching 2013-04-21 09:13:11 -04:00
Eitan Adler
235cef0cd7 fix stasis 2013-04-21 00:12:46 -04:00
Eitan Adler
36d6cfaff3 add more color types 2013-04-19 19:32:48 -04:00
Eitan Adler
71a988df23 Clean up bot a bit.
Add messages & kicks for colour
2013-04-19 19:20:10 -04:00
Eitan Adler
70f7bbb45a quick hack to test something about python 2013-04-15 15:29:22 -04:00