From: Christian Heller Date: Sun, 13 Mar 2016 19:37:31 +0000 (+0100) Subject: TCE: Only allow winning when grace => 32. X-Git-Tag: tce~12 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/unset_cookie?a=commitdiff_plain;h=3247a076c85a8c350072e9e11b21d29d3cde4c59;p=plomrogue TCE: Only allow winning when grace => 32. --- 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 "*&":