X-Git-Url: https://plomlompom.com/repos/?p=plomrogue;a=blobdiff_plain;f=plugins%2Fclient%2FPleaseTheIslandGod.py;h=808d7938afec0445f295c3dfb08e55bd3860ddce;hp=e8cfa0ca3e15ecab4db7ac4ba2f61db26667cc5f;hb=7455f5dd03050c10d9e5fa83fde162ba9ad4157f;hpb=160e1660559e70c53ab2fcfc8af6461f539c647d diff --git a/plugins/client/PleaseTheIslandGod.py b/plugins/client/PleaseTheIslandGod.py index e8cfa0c..808d793 100644 --- a/plugins/client/PleaseTheIslandGod.py +++ b/plugins/client/PleaseTheIslandGod.py @@ -118,9 +118,17 @@ def win_map(self): elif char == "=": attribute = col_lumber bonus = (" ", attribute) - if len(world_data["metamap_A"]) > 0 and \ - world_data["metamap_A"][pos] == "2": - bonus = ("+", col_stack) + if len(world_data["metamap_A"]) > 0: + if world_data["metamap_A"][pos] == "2": + bonus = ("+", col_stack) + elif not world_data["metamap_A"][pos] in "01": + c = world_data["metamap_B"][pos] + if world_data["metamap_A"][pos] == "a": + bonus = (c, col_health_bad) + elif world_data["metamap_A"][pos] == "b": + bonus = (c, col_health_middle) + elif world_data["metamap_A"][pos] == "c": + bonus = (c, col_health_good) winmap += [(char, attribute), bonus] if y % 2 == 0: winmap += " "