From: Christian Heller Date: Fri, 13 Mar 2015 05:56:41 +0000 (+0100) Subject: 7DRL: Don't count choppings of artificial wooden barriers as blasphemic. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/decks/todos?a=commitdiff_plain;h=d9ffb83abd56478242bd7c6228f6b85056ae1d90;p=plomrogue 7DRL: Don't count choppings of artificial wooden barriers as blasphemic. --- diff --git a/roguelike-server b/roguelike-server index d1a3a0a..2313488 100755 --- a/roguelike-server +++ b/roguelike-server @@ -809,7 +809,8 @@ def actor_move(t): strong_write(io_db["file_out"], "LOG With your " # # + axe_name # # + ", you chop!\n") # # - add_gods_favor(-1) # # + if ord("X") == world_db["MAP"][pos]: # # + add_gods_favor(-1) # # chop_power = world_db["ThingTypes"][type]["TT_TOOLPOWER"] case_X = world_db["MAP"][pos] == ord("X") # # if (chop_power > 0 # # @@ -820,7 +821,8 @@ def actor_move(t): if t == world_db["Things"][0]: # # strong_write(io_db["file_out"], # # "LOG You chop it down.\n") # # - add_gods_favor(-10) # # + if world_db["MAP"][pos] == ord("X"): # # + add_gods_favor(-10) # # world_db["MAP"][pos] = ord(".") # # i = 3 if case_X else 1 # # for i in range(i): # #