From 3247a076c85a8c350072e9e11b21d29d3cde4c59 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 13 Mar 2016 20:37:31 +0100 Subject: [PATCH] TCE: Only allow winning when grace => 32. --- plugins/server/TheCrawlingEater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/server/TheCrawlingEater.py b/plugins/server/TheCrawlingEater.py index 2a7dbef..78d90b6 100644 --- a/plugins/server/TheCrawlingEater.py +++ b/plugins/server/TheCrawlingEater.py @@ -223,7 +223,7 @@ def actor_move(t): def test_hole(t): - if world_db["MAP"][t["pos"]] == ord("&"): + if world_db["GRACE"] >= 32 and world_db["MAP"][t["pos"]] == ord("&"): world_db["die"](t, "YOU WIN, CONGRATULATIONS.") return False if chr(world_db["MAP"][t["pos"]]) in "*&": -- 2.30.2