From 956a39dff5c15acaf4bb48638b9f7cf03a593d6c Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 13 Mar 2016 21:18:07 +0100
Subject: [PATCH] TCE: Add upper limit for grace.

---
 plugins/server/TheCrawlingEater.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/server/TheCrawlingEater.py b/plugins/server/TheCrawlingEater.py
index 798ad57..1195530 100644
--- a/plugins/server/TheCrawlingEater.py
+++ b/plugins/server/TheCrawlingEater.py
@@ -260,7 +260,8 @@ def actor_move(t):
                 log("You now have the DEATH touch.")
             if world_db["GRACE"] < 24:
                 log("You will now LEVITATE over holes.")
-            world_db["GRACE"] += 8
+            if world_db["GRACE"] <= 24:
+                world_db["GRACE"] += 8
     elif t == world_db["Things"][0]:
         log("You try to MOVE there, but fail.")
 
-- 
2.30.2