lykoss / lykos

Werewolf, the popular detective/social party game (a theme of Mafia)
https://werewolf.chat
Other
127 stars 62 forks source link

Add warnings for people who idle out night #422

Closed skizzerz closed 4 years ago

skizzerz commented 4 years ago

At most 1 warning point will be given per game per player. If they idle out entirely, that will replace the night idle warning.

Certain roles/modes will make players immune to being warned for idling out night. Right now, this is just time lord (once activated) and sleepy (for players having a nightmare), as it is expected that more night idles will happen due to those and that is part of expected gameplay.

Also fix up a couple of roles that were abusing chk_nightdone. It must only store users who can act and have acted that night, not prior nights.

Finally, shore up turncoat's messaging. Fixes #421

skizzerz commented 4 years ago

Note: entirely untested as of now. Should be tested before merging.

jacob1 commented 4 years ago

Might also consider not applying the warning in case of exchange, or other role swapping happening in the middle of the night (which is rare but can happen if someone idles out for example)