Commit Graph

323 Commits

Author SHA1 Message Date
skizzerz
8dd2bf4e56 Fix issues with priest, cleanup RESTRICT_WOLFCHAT
Move a lot of duplicated logic into helper functions so that it is easy
to ensure that wolfchat restrictions are being consistently applied.
check_exchange still needs to be modified but everything else should be
ok.
2015-10-30 00:01:35 -05:00
skizzerz
b54dff0f89 Fix chk_nightdone and rework blessed villager template to actually do something 2015-10-29 22:57:02 -05:00
skizzerz
2f3e63a02e Start to fix chk_nightdone for priest/prophet/doomsayer 2015-10-29 22:49:07 -05:00
Vgr E. Barry
a5e2e5ac9e Wrap up dullahan 2015-10-29 23:04:15 -04:00
Vgr E. Barry
3cefa8057e Fix vigilante dying regardless of target 2015-10-29 22:37:05 -04:00
Vgr E. Barry
1c0e0194cd Add doomsayer transformation messages 2015-10-29 22:18:40 -04:00
Vgr E. Barry
fc311bb6a5 Dullahan / Vigilante tweaks 2015-10-29 21:47:25 -04:00
Vgr E. Barry
f73267f6e1 Small tweaks 2015-10-29 17:46:32 -04:00
Vgr E. Barry
922842b49c Add vigilante 2015-10-29 17:46:23 -04:00
Vgr E. Barry
e1a3ed7bf2 Add dullahan 2015-10-29 17:46:00 -04:00
Vgr E. Barry
c4029d826d Succubus fixes 2015-10-29 17:44:34 -04:00
Vgr E. Barry
da9a6f5b62 Some succubus fixes 2015-10-29 10:43:01 -04:00
skizzerz
16db66677c Complete doomsayer (untested) 2015-10-29 01:24:27 -05:00
Vgr E. Barry
3571d664ed Some succubus fixes 2015-10-29 00:06:00 -04:00
Vgr E. Barry
e3ad8a24db Make automatic totem aware of entrancement 2015-10-28 22:28:30 -04:00
Vgr E. Barry
c525380be6 Allow !fquit to leave someone from deadchat 2015-10-28 22:17:03 -04:00
Vgr E. Barry
bc8b336640 Finish up succubus 2015-10-28 22:17:02 -04:00
skizzerz
f9d55db79f Finish prophet
pray <role> is kinda awkward, may want to change the command name
2015-10-28 00:09:45 -05:00
Vgr E. Barry
da81909162 Most of succubus 2015-10-27 22:54:18 -04:00
Lukas Martini
70454bfc3a Merge branch 'sleepy' of https://phab.skizzerz.net/diffusion/LKOS/lykos into sleepy 2015-10-27 23:34:38 +01:00
Lukas Martini
c80078d7f4 Add first version of the demoniac role 2015-10-27 23:34:09 +01:00
Vgr E. Barry
9765703902 Finish deadchat 2015-10-27 16:24:06 -04:00
skizzerz
be051dde70 Initial work for prophet role
!pray command is complete, role is missing night messages as well as
initializing/resetting var.PRAYED in transition_night
2015-10-27 01:02:28 -05:00
skizzerz
dea6052ed5 Rename devout to prophet 2015-10-26 23:09:25 -05:00
Vgr E. Barry
10be2e341f First draft of the !deadchat pref 2015-10-26 23:49:41 -04:00
Vgr E. Barry
8517dff63d Add the game events 2015-10-26 23:49:41 -04:00
skizzerz
1a78a2abfb Add blessed villager template, begin devout 2015-10-26 21:01:34 -05:00
Vgr E. Barry
524773bcdf Finish the woflchat restrictions for the Halloween events 2015-10-26 10:40:39 -04:00
Vgr E. Barry
5476bcdf27 Small tweaks to wolfchat restrictions 2015-10-25 21:37:59 -04:00
skizzerz
f166baeaa9 Add consecrate command for priests 2015-10-25 16:38:46 -05:00
Vgr E. Barry
2127b217b7 Add deadchat and wolfchat restrictions 2015-10-23 21:51:57 -04:00
skizzerz
9f4b205c72 Add priest role
Right now only the !bless command is active, subsequent commits
will add other commands.
2015-10-23 19:51:01 -05:00
skizzerz
738ff7a441 Fix alpha wolf biting an immunized person with retribution totem not dying from totem 2015-10-20 22:48:16 -05:00
skizzerz
5a97397cd9 Alpha wolf fixes
- Correctly logic out bite interacting with harlot, immunized, and lycan:
- A harlot that isn't home does not get bit and refunds the bite unless
  they visit a wolfteam member or visit the unprotected wolves' victim
  (in either of those cases, they get bit instead of dying)
- A lycan or someone with a lycanthropy totem that gets bitten
  immediately turns to wolf and refunds the bite. The regular wolf kill
  still happens too, so this is essentially a freebie for alpha wolf.
- An immunized target dies per normal, but the death from the bite does
  not stack with the death from a normal wolf kill for the purposes of
  protection (meaning a single protection will guard against both).
- Fix nightdone check so that night doesn't end prematurely if alpha
  would be eligible to bite but has already done so previously in the
  game.
2015-10-20 22:26:37 -05:00
Vgr E. Barry
8995ec5815 Fix error on starting random 2015-10-19 15:29:55 -04:00
Vgr E. Barry
1a64a72a78 Change variable name 2015-10-19 15:20:10 -04:00
Vgr E. Barry
27f39c916f Change handling of chk_win events 2015-10-19 15:05:14 -04:00
Vgr E. Barry
04180bc036 Add alternate win condition if only lovers are alive
The message could use a better phrasing, but anyway this works.
2015-10-19 14:51:03 -04:00
skizzerz
26e7acc8f8 More fallow/fdeny fixes
- Always apply host-based allows/denies even in var.ACCOUNTS_ONLY is set
- Fix display of mixed-mode allows/denies for a particular user
- Make -acc and -host switches operate more intelligently on both the
  bare command as well as when given an argument
2015-10-18 20:56:27 -05:00
skizzerz
db0823bb37 Let vengeful ghosts use !retract 2015-10-18 19:20:08 -05:00
skizzerz
15b547ed77 Fix -acc and -host switches on fallow/fdeny 2015-10-18 15:18:55 -05:00
Lane Farrow
a9210b03c4 update simple, notice to track ident@host for users sharing hosts 2015-10-14 20:23:02 -05:00
Vgr E. Barry
45d13846a1 Fix !game and !lynch to not display the same vote twice
Players may no longer vote-spam individual players (or mistakenly vote
the same person/game mode twice)
2015-10-13 16:46:21 -04:00
jacob1
a83911f054 fix error when returning to the game via /nick 2015-10-11 21:59:00 -04:00
jacob1
3845d4e0b3 fix matchmaker, warlock, and piper causing night to end early if they !quit after acting
alpha wolf and turncoat also aren't removed from variables when quitting, but chk_nightdone checks if those roles are still in pl for some reason
2015-10-09 12:44:40 -04:00
Vgr E. Barry
6dd8f88bf6 Ensure socket is closed unconditionally (re: #169)
I cannot reproduce the bug locally, but this will force the socket to
close if it didn't for whatever reason, which is what seems like could
have caused the issue.
2015-10-08 12:03:08 -04:00
jacob1
7a058f77e7 fix !swap bugs
Didn't remove players from var.DISCONNECTED, leading to idling out every 10 seconds and getting lots of stasis while still being in the game
Didn't actually check whether the player was in channel or not
2015-10-06 23:01:39 -04:00
skizzerz
da762e6d73 Fix pl not being updated with chained deaths in del_player 2015-10-03 22:12:42 -05:00
jacob1
b047963cdb fix !roles roles erroring 2015-10-03 22:44:48 -04:00
jacob1
86ae193541 fix hag not working
broken in d9812e552d (blame woffle)
2015-10-03 19:01:53 -04:00