From db943fef5a2145fcfe47a728e3178fccba3739de Mon Sep 17 00:00:00 2001 From: Brosef Date: Tue, 24 Jun 2025 06:07:37 +0100 Subject: [PATCH] Started to implement punish() --- src/gameUtils/base.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/gameUtils/base.py b/src/gameUtils/base.py index 4b8f18d..ffaed1d 100644 --- a/src/gameUtils/base.py +++ b/src/gameUtils/base.py @@ -124,3 +124,15 @@ class Game: self._haltUpdate = haltUpdate self._haltEvents = haltEvents + + + def punish(self, player, intensity: float): + """ + Handles punishing players for most games. + Handles games preferences on PDO order? + Handles auto popups for messaged events. + + Args: + player (NoPELib.Player): The player to punish. + intensity (float): The intensity to punish the player. + """