28 Commits

Author SHA1 Message Date
skizzerz
70bced24a6 New roles, protection semantics, and alpha fixes
This commit adds 3 new roles and changes the semantics of
kills/protections to work more like the impatience and pacifism totems.

- Add mystic and wolf mystic roles which can divine the number of
  players still alive on the opposing team each night. These roles are
  meant for games where role reveal is off as !stats gives the same info
  otherwise.
- Add fallen angel which is a corrupted version of the guardian angel,
  created when a guardian angel is bitten by alpha wolf. This role is
  incredibly potent as they bypass all forms of protection on their
  target. GAs corrupted this way also automatically gain the assassin
  template.
- Protections/kills now stack and cancel each other out. As such, 2
  kills but only 1 protection will result in the kill still happening.
- Fix help text for active alpha wolf to show the reworked bite command.
- If alpha bites someone who is going to die via other means that night,
  refund the bite.
- If the bite was unsuccessful due to whatever reason and was refunded,
  give a different message to alpha wolf to let them know that.
- Make adding more wolf roles in the future easier to do by replacing
  some hardcoded lists with var.WOLF_ROLES.
2015-06-04 17:37:32 -05:00
skizzerz
dadff67f74 Guardian modifications
Modify game over messages to read better
Modify win conds to remove unneeded ones and to also add in some "nobody
wins" conds that happen due to MAD or stalemates.
2015-06-03 10:56:29 -05:00
skizzerz
040be2ff31 Piper/charming fixes
- Piper can now only win during daytime (this includes transition_day as
  well as chk_decision)
- There is now at most 1 piper in charming regardless of player count,
  more than 1 is simply overpowered and impossible to balance
2015-06-02 23:57:36 -05:00
Emanuel Barry
24851f3c56 Fix wrong pingif tables 2015-06-01 14:25:50 -04:00
jacob1
10a3b5b01b new game mode: charming
has piper, werekitten at 10p, and warlock at 12p
2015-05-29 21:10:41 -04:00
jacob1
338f24aa66 fix bug where players in var.DISCONNECTED couldn't use any commands (like !stats) 2015-05-28 21:01:34 -04:00
jacob1
590406d00a use only a single table for pingif preferences 2015-05-28 15:21:59 -04:00
jacob1
379737d4fc Log piperwins in stats
commands to convert old tables: http://pastebin.com/jheALFsE
2015-05-28 10:49:56 -04:00
nyuszika7h
f97ca2cd8b Merge branch 'ping-removal' 2015-05-27 15:05:17 +02:00
Vgr E.Barry
fe1527eb3c Remove !ping and related commands
This replaces !ping, !away and !back with a dummy command that tells
people about !pingif.
2015-05-27 15:03:00 +02:00
Vgr E.Barry
04c814ea16 ♪ come, children, come out to the forest ♫
This adds the new piper role, whose goal is to charm all the other
players to win. The charmed players are told who else is charmed, every
night, and must find out the piper and lynch him to win. The piper is a
win stealer, and takes precedence over monster. They can select either
one or two targets, but unless there is exactly one person left to be
charmed, they must pick two targets.
2015-05-27 00:06:40 -04:00
Vgr E.Barry
c49c2647d8 Small tweaks to the guardian game mode 2015-05-26 14:19:19 -04:00
Vgr E.Barry
d3134643c8 Add the "guardian" game mode 2015-05-25 19:57:31 -04:00
skizzerz
dddf32134e curses!
Adds "warlock" role, which is wolf-aligned and in wolfchat. They cannot
kill, but they get to turn someone into a cursed villager each night
(the curse remains in place for the rest of the game). If they act
quickly enough, they can even impact the seer or oracle for the current
night!
2015-05-25 14:01:41 -05:00
skizzerz
d00c15e19d meow
Added werekitten role, which is seen villager by seer and is always
missed when shot (even by sharpshooter!). They can still nom tasty
villagers at night, including pesky visiting harlots.

Also fix minor bug with alpha wolf being roleswapped where night may end
prematurely due to not removing their kill selection.
2015-05-25 14:01:41 -05:00
skizzerz
9161541c39 Fix derp in evilvillage win cond checking 2015-05-20 23:07:49 -05:00
Janik Kleinhoff
dfd9405fe6 !wait: use a token bucket
This makes up for removing the wait effect of !ping.
Default settings are one !wait every 240 seconds, initially two !wait
tokens, maximum (burst) of three tokens.
2015-05-17 22:39:59 +00:00
skizzerz
c0ea08edfc Remove amnesia, mode is both broken and superseded by random 2015-05-11 21:56:31 -05:00
skizzerz
7fd98331f4 Make nobody win if all the safes and all the wolves die off at once in evilvillage 2015-05-10 17:52:54 -05:00
skizzerz
56f61c18eb Also make village win in evilvillage if there are no more cultists 2015-05-09 22:10:30 -05:00
skizzerz
9745e18d66 Evilvillage balance changes:
Make villagers win if they equal or outnumber wolfteam
Replace oracle with seer
Add a 12p tier
2015-05-09 21:24:58 -05:00
skizzerz
d6f89adbd0 Fix error with roles by doing default game mode properly, also make game modes inherit GameMode 2015-05-09 21:05:36 -05:00
skizzerz
ee9716feeb Evilvillage balance tweaks 2015-05-09 19:13:35 -05:00
skizzerz
abf1e1ddd6 Fix up evilvillage
Villagers win if the wolves die, wolves win if all villagers are dead
(removes the stupid way of wolves winning for cultists to elect
themselves to be voted).

Also swap shaman and hunter so villagers always have a means of getting
a kill no matter the game size.
2015-05-09 12:19:31 -05:00
skizzerz
b8fa7c3373 Set aleatoire minimum to 8p 2015-05-07 22:27:20 -05:00
skizzerz
a18cfca087 Let augur be cursed, since it doesn't make sense otherwise (they see through it, and det can also be cursed) 2015-04-29 21:56:04 -05:00
jacob1
f3fd5b970c remove LEAVE_ON_LOGOUT setting, now enabled automatically when ACCOUNTS_ONLY is on
note: this setting seems to trigger when switching accounts also
2015-04-18 17:45:40 -04:00
Vgr E.Barry
378334478c Move files around and update references 2015-04-04 07:39:54 -04:00