From 9b4d5b6840ccb2618362d563ae8beb37b10b9326 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 24 Feb 2016 02:15:09 +0100
Subject: [PATCH] Plugin: Don't count felling non-trees as blasphemic.

---
 plugins/server/PleaseTheIslandGod.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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):
-- 
2.30.2