From: Christian Heller Date: Tue, 8 Mar 2016 01:37:52 +0000 (+0100) Subject: TCE: Make sure stomach is never fuller than 32. X-Git-Tag: tce~64 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/templates?a=commitdiff_plain;h=ee7e6614d96f2a0e00bb01fd92fbeeabe0c22d9e;p=plomrogue TCE: Make sure stomach is never fuller than 32. --- diff --git a/plugins/server/TheCrawlingEater.py b/plugins/server/TheCrawlingEater.py index b883684..e23f00f 100644 --- a/plugins/server/TheCrawlingEater.py +++ b/plugins/server/TheCrawlingEater.py @@ -107,6 +107,8 @@ def actor_move(t): log("You EAT.") world_db["MAP"][pos] = ord("_") t["T_STOMACH"] += 4 + if t["T_STOMACH"] > 32: + t["T_STOMACH"] = 32 def make_map():