Commit Graph

416 Commits

Author SHA1 Message Date
nyuszika7h
2e5b087d3b Fix !fgame check for admins/owners 2014-08-17 18:02:31 +02:00
skizzerz
84b2fdc24e Improvements
- Make rapidfire more rapid by reducing timers and adding in time lord
- Correctly credit someone for a win if they die and THEN /part or /quit
  (someone that dies and is /kicked will not get a win, as that usually
  means they cheated or something.)
- Break up long messages (roles, player totals) at intelligent points.
2014-08-12 23:07:02 -05:00
skizzerz
b39ecbace0 Remove left-behind debug message and fix bug if someone changes nicks during night causing night to not end properly 2014-08-12 17:50:37 -05:00
skizzerz
dd46ea26a9 Merge branch 'master' of https://github.com/lykoss/lykos 2014-08-11 21:32:22 -05:00
nyuszika7h
1e2de1de9a Fix !fgoat 2014-08-11 10:35:49 +02:00
skizzerz
d8dbdabdd1 Ensure idlers never get credited for win 2014-08-10 19:53:49 -05:00
skizzerz
4bc9be8454 Merge branch 'master' of https://github.com/lykoss/lykos
Conflicts:
	modules/wolfgame.py
2014-08-10 19:12:19 -05:00
nyuszika7h
9216ef0c45 Add missing dot 2014-08-11 00:08:08 +02:00
nyuszika7h
11e411a052 Fix previous commit 2014-08-11 00:07:33 +02:00
nyuszika7h
df48af8a9d Improve !fgoat 2014-08-11 00:06:39 +02:00
nyuszika7h
885873701f Merge pull request #48 from brrr2/fix
Update for showing votes, time and roles.
2014-08-10 23:37:23 +02:00
skizzerz
bd2451b3b5 Redo default roles and fix bug where day timing out didn't correctly apply vote altering totems 2014-08-10 14:14:27 -05:00
skizzerz
cd43225b53 Visiting harlots now die if given death totem, and harlots that visit a visiting harlot that was given death totem and also targeted by wolves now dies as well. Closes #71 2014-08-10 12:05:42 -05:00
Yizhe Shen
5700ec7d01 Updated output behaviour for in-game commands available in PM.
- Updated behaviour for listroles(), show_votes(), timeleft()
- Uses !simple settings when those commands are given in PM
- Uses notice if channel is +z and a game is in progress
2014-08-09 15:00:05 -04:00
skizzerz
c6359b3908 Make mad scientist always trigger on death 2014-08-09 00:26:51 -05:00
skizzerz
4e7fbdada2 Merge branch 'master' of https://github.com/lykoss/lykos
Conflicts:
	modules/wolfgame.py
2014-08-07 22:54:09 -05:00
skizzerz
a9f3125a9c remove bit of logging code that was erroring out night if we had 2 wolf kills. We're already logging dead people later on anyway so this is 100% unnecessary 2014-08-07 22:53:02 -05:00
skizzerz
83fb02666d Fix clone cloning amnesiac 2014-08-06 19:46:36 -05:00
Vgr E.Barry
cdf96cfc2b Added !fgoat command for admins. Allows unlimited amount of goats. 2014-08-06 13:42:33 -04:00
Skizzerz
5a5c8fbb50 Fix impatience totem allowing votes while dead 2014-08-05 23:22:01 -05:00
Skizzerz
8b49e1c0c8 Finish retribution totem and remove unused config var 2014-08-05 23:19:54 -05:00
Skizzerz
277c99db41 Fix exchange totem and wolf cub and other improvements 2014-08-05 21:34:46 -05:00
skizzerz
9a697e13c2 Fix !flastgame to prevent people from using !j to get around it 2014-08-05 11:48:45 -05:00
skizzerz
9e4d8d7017 Merge remote-tracking branch 'upstream/master'
Conflicts:
	modules/wolfgame.py
2014-08-05 11:16:52 -05:00
nyuszika7h
a4b7c02450 Merge branch 'master' of https://github.com/lykoss/lykos 2014-08-05 14:28:53 +02:00
nyuszika7h
1a80bc1027 Allow admins to use !fgame without joining 2014-08-05 14:28:40 +02:00
Vgr E.Barry
191a910098 Fix issue where bot would spam services
This very simple fix probably seems redundant or even entirely
pointless, but it actually solves a big design flaw. It does not show
much for freenode, but for other networks (e.g. Esper), where I tweaked
my bot to use ns_ghost instead, it keeps trying to kill off an
(unregistered) nick, without having a password. This effectively causes
spam to the services, and results in an automatic ban.
2014-08-05 02:40:52 -04:00
skizzerz
1d9b4f54e6 Various fixes plus code exchange totem. 2014-08-05 00:54:01 -05:00
skizzerz
f4ef8ed55b impatience totem no longer affects self-vote 2014-08-04 21:02:34 -05:00
skizzerz
bfc182dc28 default to death totem in case odds don't add to 1, and list name of totem in error message if we don't know what to do with it' 2014-08-04 20:58:27 -05:00
nyuszika7h
85a342f9c5 Fix typo in !votes
Closes #44.
2014-08-04 10:45:17 +02:00
Skizzerz
3da561a408 Fix pestilence totem and wolf cub dying during nighttime not triggering angry wolves, and don't show winners if game is fstopped 2014-08-04 01:54:21 -05:00
Skizzerz
79a72aa33e Finish up most new totems except for exchange and retribution, completely untested code so probably breaks horribly 2014-08-04 01:22:29 -05:00
Skizzerz
21ef130f21 bugfixes 2014-08-04 00:36:09 -05:00
Skizzerz
2d331cdcd7 Fix fool being lynched and begin shaman bonanza, most of the totems do nothing atm but it *should* theoretically work 2014-08-04 00:23:29 -05:00
Skizzerz
b47ab14632 Fix grammar on lynch messages 2014-08-03 21:26:37 -05:00
Skizzerz
153e800bef fix amnesiac winning and amnesiacs turning into templates 2014-08-03 21:15:19 -05:00
Skizzerz
f9ece65d73 fix amnesiac gunner 2014-08-03 21:06:38 -05:00
Skizzerz
953d0eb0d8 Fix !stats issue if amnesiac dies 2014-08-03 20:16:29 -05:00
Skizzerz
4e31cc0a0f Gigantic update
1. Rewrite amnesiac: Instead of removing an existing role from the game for the first 2 days,
they now become a brand new random role. Seers, oracles, sorcerers, detectives, and revealing
totems will see through their amnesia so they can learn their actual role. Amnesiacs are neutral
until they clear up, and thus if the game ends while they are still amnesiac, they will win
alongside the default role (e.g. village if default is villagers, or wolves if default is cultists).

2. Make vengeful ghost take vengeance based on the role that killed them instead of making it based
on time of day. If they suicide due to being someone's lover, they will take vengeance on the team
that killed their lover. If they are gunner and their gun explodes, they take vengeance on the
village due to their shoddy gun construction processes.

3. Make clone always trigger even if their target idles out or !quits.

4. Make a harlot visiting victim, harlot visiting wolf, and bodyguard guarding victim able to
shoot wolves if they are also gunner, and for wolves to pick up their gun. In the event of a wolf
kill plus another non-wolf kill, the wolf kill takes precedence in the event of harlot visiting
victim and bodyguard guarding victim, and the non-wolf kill takes precedence in the event of
harlot visiting wolf (the non-wolf kill happens en-route to the wolves, and the gun disappears or
something, idk). Additionally, if the harlot visits victim or the bodyguard guards victim and the
harlot/bodyguard are also targeted by wolves, their special "died visiting/guarding victim" event
plays instead of the normal death message.

5. Change alive vengeful ghost win conditions to work like amnesiac: they win with the default
role if alive at the end of the game.

6. Minor wording fixes, such as the gunner shot wolf message with more commas than words.
Remember, every time you abuse a comma, God kills a kitten.
2014-08-03 17:04:18 -05:00
skizzerz
6920e2e20c Bugfixes: monster can no longer be mayor, and fix issue when bodyguard chooses not to guard anyone 2014-08-03 00:31:18 -05:00
skizzerz
2a0392bc42 Add back in regular lover win code that was accidentally removed, and make lover winning with fool configurable since there was a lot of pushback for the change. Still defaults to false though 2014-08-02 23:51:49 -05:00
skizzerz
137a4f2d03 Add jester role
Similar to fool, the jester wins if they are lynched. Unlike fool,
the game continues if jester is lynched and they win alongside the
normal winners.

Also change it so that a fool's lover does NOT win with fool, so
that fool/jester win mechanics are similar (since jester's lover
would die with jester). It doesn't pay to fall in love with fools!
2014-08-02 22:27:10 -05:00
skizzerz
a8e1f84412 Fix detection of harlot visiting wolfvictim and wolves stealing gun and other wolf-kill related things 2014-08-02 14:14:56 -05:00
skizzerz
2584bebd4a Don't show gun message to wolves with 0 bullets. Closes #64 2014-08-02 13:35:17 -05:00
skizzerz
48a404d170 don't message gunners if they have no bullets left 2014-08-01 22:45:57 -05:00
skizzerz
40863c3b8e fix typo 2014-08-01 19:06:01 -05:00
nyuszika7h
d2b96752c7 Make !votes work in PM 2014-08-01 11:55:19 +02:00
skizzerz
7f269874d6 Disable amnesiac pending rewrite 2014-07-31 22:15:23 -05:00
skizzerz
cc3edf0997 missing period at end of sentence 2014-07-31 21:03:18 -05:00