X-Git-Url: https://plomlompom.com/repos/day?a=blobdiff_plain;f=plugins%2Fserver%2FPleaseTheIslandGod.py;h=4005f28b81e7a4b4d618feb574ca18792ccc0e6a;hb=60635efe557798d2392c85e93dea62e2b8c8214d;hp=f513300209122f240f762cfd829ca45ff8665524;hpb=ebb7f6f2e4125b1302d06ef210329a2ef0832831;p=plomrogue diff --git a/plugins/server/PleaseTheIslandGod.py b/plugins/server/PleaseTheIslandGod.py index f513300..4005f28 100644 --- a/plugins/server/PleaseTheIslandGod.py +++ b/plugins/server/PleaseTheIslandGod.py @@ -321,7 +321,6 @@ def decrement_lifepoints(t): t["T_LIFEPOINTS"] -= 1 _id = [_id for _id in world_db["Things"] if world_db["Things"][_id] == t][0] if 0 == t["T_LIFEPOINTS"]: - sadness = world_db["ThingTypes"][t["T_TYPE"]]["TT_LIFEPOINTS"] for id in t["T_CARRIES"]: t["T_CARRIES"].remove(id) world_db["Things"][id]["T_POSY"] = t["T_POSY"] @@ -337,7 +336,7 @@ def decrement_lifepoints(t): t["T_MEMMAP"] = False t["T_MEMDEPTHMAP"] = False t["T_MEMTHING"] = [] - return sadness + return world_db["ThingTypes"][t["T_TYPE"]]["TT_LIFEPOINTS"] return 0 def actor_move(t):