diff --git a/resources/parsers/currency.py b/resources/parsers/currency.py index 44e1b68cffca9c6bda85eef261abedd404b2e7b7..4dff624d0b51b67458c34555554ba348bef47709 100644 --- a/resources/parsers/currency.py +++ b/resources/parsers/currency.py @@ -263,7 +263,6 @@ class CurrencyParser: self.template.special_item( description="Ritual", class_text="Corpses", - base_text="Gold", ) # Heist. @@ -588,6 +587,10 @@ class PreEquipment_CurrencyParser: self.filter_file.write("# ============================================== #\n") self.filter_file.write("\n") + self.filter_file.write("# None so far.") + self.filter_file.write("\n") + self.filter_file.write("\n") + class PostEquipment_CurrencyParser: """ diff --git a/resources/parsers/templates.py b/resources/parsers/templates.py index d12dd314d394456b607f81b914eea6e021e1687c..341caa54fcb8ee1a3ec677ac82cf862854d738f8 100644 --- a/resources/parsers/templates.py +++ b/resources/parsers/templates.py @@ -574,8 +574,12 @@ class FilterTemplates: description=description, class_text=class_text, base_text=base_text, + background_color="0 0 0 0", + border_color="0 0 0 0", + text_color="0 0 0 0", font_size=display_dict["min_font_size"], sound="None", + disable_drop_sound=True, ) @@ -622,6 +626,7 @@ class BaseTemplate: minimap_color=None, minimap_shape=None, sound=None, + disable_drop_sound=None, playeffect=None ): """ @@ -655,6 +660,7 @@ class BaseTemplate: :param minimap_color: Filter application to set minimap color of item. :param minimap_shape: Filter applciation to set minimap shape of item. :param sound: Filter application to set drop sound of item. + :param disable_drop_sound: Bool indicating if sounds play at all or not for item. :param playeffect: Filter application to set glow aura of item. """ if description is not None: @@ -717,6 +723,8 @@ class BaseTemplate: self.filter_file.write(" SetFontSize {0}\n".format(str(font_size).strip())) if sound is not None: self.filter_file.write(" PlayAlertSound {0}\n".format(str(sound).strip())) + if disable_drop_sound is not None: + self.filter_file.write(" DisableDropSound {0}\n".format(bool(str(disable_drop_sound).strip()))) if minimap_size is not None or minimap_color is not None or minimap_shape is not None: # Check that all three are present. if minimap_color is None or minimap_size is None or minimap_shape is None: