diff --git a/manifest.json b/manifest.json index ce44c09..b4878a5 100644 --- a/manifest.json +++ b/manifest.json @@ -18,5 +18,5 @@ "conflicts": [ "Jen" ], - "version": "1.11.0" + "version": "1.11.2" } \ No newline at end of file diff --git a/src/slugcat.lua b/src/slugcat.lua index c211b13..708e988 100644 --- a/src/slugcat.lua +++ b/src/slugcat.lua @@ -755,6 +755,17 @@ if Cryptid and Cryptid.aliases then Cryptid.aliases["the attuned"] = "j_jane_saint" end +local orig_localize = localize + +---@diagnostic disable-next-line: lowercase-global +function localize(args, misc_cat, ...) + local is_saint = type(args) == "table" and + args.type == "name_text" and + args.key == "j_jane_saint" + + return is_saint and "The Saint" or orig_localize(args, misc_cat, ...) +end + SMODS.Joker { key = "rot", atlas = "janerot",