From: Christian Heller Date: Wed, 24 Feb 2016 01:15:09 +0000 (+0100) Subject: Plugin: Don't count felling non-trees as blasphemic. X-Git-Tag: tce~162 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks/static/gitweb.css?a=commitdiff_plain;h=9b4d5b6840ccb2618362d563ae8beb37b10b9326;p=plomrogue Plugin: Don't count felling non-trees as blasphemic. --- diff --git a/plugins/server/PleaseTheIslandGod.py b/plugins/server/PleaseTheIslandGod.py index 59fbefc..fba1341 100644 --- a/plugins/server/PleaseTheIslandGod.py +++ b/plugins/server/PleaseTheIslandGod.py @@ -462,7 +462,8 @@ def actor_move(t): 0 == int(rand.next() / (3 * chop_power))))): if t == world_db["Things"][0]: log("You chop it DOWN.") - world_db["GOD_FAVOR"] -= 10 + if ord("X") == world_db["MAP"][pos]: + world_db["GOD_FAVOR"] -= 10 world_db["MAP"][pos] = ord(".") i = 3 if case_X else 1 for i in range(i):