def static_mod_generate(self):
    position_dict = {}
    for m in self.static_mods:
        for pm in self.static_map.get_mod_positions(str(m)):
            if (pm not in position_dict):
                position_dict[pm] = []
            position_dict[pm].append(m)
    return position_dict
def static_mod_generate(self):
    position_dict = {}
    for m in self.static_mods:
        for pm in self.static_map.get_mod_positions(str(m)):
            if (pm not in position_dict):
                position_dict[pm] = []
            position_dict[pm].append(m)
    return position_dict