836 Commits

Author SHA1 Message Date
nyuszika7h
a8ed5bd3c4 Re-add coin landing on side/bot 2013-08-29 23:20:24 +02:00
nyuszika7h
b5c83eaf42 Allow negative value in !fwait
This is a quite hacky way, and although in my tests, it does not crash
the bot, it might be possible, and there might be a better way to do
this.
2013-08-26 17:52:32 +02:00
nyuszika7h
f49e7371b8 Prevent visited harlot from being killed
At 12 players, there are two harlots, and they can visit each other.
This is intended to make both of them invincible, but the actual
behavior was that the one visiting the victim would die.
2013-08-26 16:30:28 +02:00
nyuszika7h
e13cd35114 Update settings for my custom version of the bot 2013-08-26 15:49:46 +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
Robert Wall
a7a71650c9 Merge pull request #12 from skizzerz/seercrowfix
Make seer see werecrow as wolf instead of crow
2013-07-12 20:22:44 -07:00
Skizzerz
3db7fec992 Make seer see werecrow as wolf instead of crow 2013-07-12 00:52:52 -05:00
Robert Wall
4840c16da3 Change playercounts for drunk, traitor, and wolf2
Per discussion in #wolfgame-dev, this commit changes the playercounts at
which drunk, traitor, and wolf2 are introduced. It removes drunk from 6p
and 7p games (moving it from 6 to 8), adds traitor to 8p and 9p games
(moving it from 10 to 8), and removes wolf2 from 8p and 9p games (moving
it from 8 to 10).

Or, in other words, it moves drunk later and switches traitor and wolf2.

Statistics on the effect of these two changes can be measured
independently, because they affect different ranges of games.

If this commit causes gameplay or other issues, feel free to revert it.
2013-07-07 13:29:22 -07: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
32881b41ac Change the default value of IDLE_STASIS_PENALTY to 1.
This has been the effective default in #wolfgame for a few days, and
the channel seems to have had few complaints about it and a few
positive comments, so I'm switching it to default. Seconded by dwfreed.
2013-07-05 22:05:04 -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
b0eb5c9f3d Updating LICENSE file: changed copyright year to 2013, wrapped license text to 80 characters, specifically mentioned which license it is so people don't have to look it up 2013-06-24 14:24:02 -07: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
Robert Wall
dd32467b89 Migrating hgignore to gitignore 2013-06-02 13:48:15 -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
a863de016b Give people a little extra time 2013-06-01 16:11:11 +02:00
Eitan Adler
62975b9d6d Update settings 2013-06-01 16:09:07 +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
Eitan Adler
7d9e543646 whitespace 2013-06-01 15:32:07 +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
3df0c148e9 Add a kill messgae 2013-05-21 22:29:34 +02:00
Eitan Adler
4283f9b28e disable until I'm awake 2013-05-18 01:54:43 -04:00