Closed skizzerz closed 4 years ago
Note: entirely untested as of now. Should be tested before merging.
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)
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