From 8c88406d32ad014785ffb195fd34e0b7502ccfc6 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 12 Mar 2016 21:22:49 +0100 Subject: [PATCH] TCE: Transform non-player creatures dying into "X" wall, HUMILITY. --- plugins/server/TheCrawlingEater.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2