X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/gitweb.css?a=blobdiff_plain;f=plugins%2Fserver%2FPleaseTheIslandGod.py;h=e34d840889523b81d6ebbbea915362804f790349;hb=97674cb6f6f1c67b4985bdc4478b14e71bb50b82;hp=59fbefcfa06b242d802120147c838694a5e84ae8;hpb=aadc19517cd0c51500bbd574100077e026d43e4d;p=plomrogue diff --git a/plugins/server/PleaseTheIslandGod.py b/plugins/server/PleaseTheIslandGod.py index 59fbefc..e34d840 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): @@ -654,6 +655,9 @@ if not "TOOL_0" in world_db: world_db["TOOL_0"] = 0 if not "LUMBER" in world_db: world_db["LUMBER"] = 0 +world_db["terrain_names"][":"] = "SOIL" +world_db["terrain_names"]["|"] = "WALL" +world_db["terrain_names"]["_"] = "ALTAR" world_db["specials"] = ["SLIPPERS", "PLANT_0", "PLANT_1", "TOOL_0", "LUMBER"] io_db["worldstate_write_order"] += [["GOD_FAVOR", "world_int"]]