home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TCE: Transform non-player creatures dying into "X" wall, HUMILITY.
[plomrogue]
/
plugins
/
server
/
TheCrawlingEater.py
diff --git
a/plugins/server/TheCrawlingEater.py
b/plugins/server/TheCrawlingEater.py
index 1bfc7e7208686479794335a485a823724e952612..a9f17572635f30eeaf7349682b6f55d6c09a87ef 100644
(file)
--- 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)
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
world_db["die"] = die