From: Christian Heller Date: Sat, 12 Mar 2016 20:22:49 +0000 (+0100) Subject: TCE: Transform non-player creatures dying into "X" wall, HUMILITY. X-Git-Tag: tce~37 X-Git-Url: https://plomlompom.com/repos/test.html?a=commitdiff_plain;h=8c88406d32ad014785ffb195fd34e0b7502ccfc6;p=plomrogue TCE: Transform non-player creatures dying into "X" wall, HUMILITY. --- diff --git a/plugins/server/TheCrawlingEater.py b/plugins/server/TheCrawlingEater.py index 1bfc7e7..a9f1757 100644 --- a/plugins/server/TheCrawlingEater.py +++ b/plugins/server/TheCrawlingEater.py @@ -192,6 +192,10 @@ def die(t, message): t["fovmap"] = bytearray(b' ' * (world_db["MAP_LENGTH"] ** 2)) t["T_MEMMAP"][t["pos"]] = ord("@") log(message) + else: + world_db["MAP"][t["pos"]] = ord("5") + world_db["HUMILITY"] = t["T_KIDNEY"] + t["T_BLADDER"] + del world_db["Things"][t["T_ID"]] world_db["die"] = die