From 842bb83352b0f1d62936c568df766d7502c51071 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 13 Mar 2016 21:22:37 +0100
Subject: [PATCH] TCE: Fix buggy altar messages.

---
 plugins/server/TheCrawlingEater.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/plugins/server/TheCrawlingEater.py b/plugins/server/TheCrawlingEater.py
index 850094d..e2de2e6 100644
--- a/plugins/server/TheCrawlingEater.py
+++ b/plugins/server/TheCrawlingEater.py
@@ -254,12 +254,14 @@ def actor_move(t):
         world_db["soundmap"][t["pos"]] = ord("9")
         if t == world_db["Things"][0] and world_db["MAP"][t["pos"]] == ord("$"):
             world_db["MAP"][t["pos"]] = ord("0")
-            if world_db["GRACE"] < 8:
+            if world_db["GRACE"] == 0:
                 log("You can now eat ALL walls.")
-            if world_db["GRACE"] < 16:
+            if world_db["GRACE"] == 8:
                 log("You now have the DEATH touch.")
-            if world_db["GRACE"] < 24:
+            if world_db["GRACE"] == 16:
                 log("You will now LEVITATE over holes.")
+            if world_db["GRACE"] == 24:
+                log("You are now READY to fly through the exit portal.")
             if world_db["GRACE"] <= 24:
                 world_db["GRACE"] += 8
     elif t == world_db["Things"][0]:
-- 
2.30.2