X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/static/gitweb.js?a=blobdiff_plain;f=plugins%2Fserver%2FTheCrawlingEater.py;h=7f8ca0be400d1725e72177b8887b1eb6726d74be;hb=098f4dcc09da38a5b8d09cc01a1c6141a9a6b912;hp=1bd03d22e63b4779c97c5b6ccf72a81df9781418;hpb=0a0ed866ffc56cfdce529dc183412721f7e87871;p=plomrogue diff --git a/plugins/server/TheCrawlingEater.py b/plugins/server/TheCrawlingEater.py index 1bd03d2..7f8ca0b 100644 --- a/plugins/server/TheCrawlingEater.py +++ b/plugins/server/TheCrawlingEater.py @@ -282,10 +282,10 @@ def turn_over(): t["T_BOWEL"] += 1 t["T_KIDNEY"] -= 1 t["T_BLADDER"] += 1 - if t["T_STOMACH"] == 0: - world_db["die"](t, "You DIE of hunger.") - elif t["T_KIDNEY"] == 0: - world_db["die"](t, "You DIE of dehydration.") + if t["T_STOMACH"] <= 0: + world_db["die"](t, "You DIE of hunger.") + elif t["T_KIDNEY"] <= 0: + world_db["die"](t, "You DIE of dehydration.") water = 0 positions_to_wet = [] for pos in range(world_db["MAP_LENGTH"] ** 2):