diff --git a/assets/sounds/ambient_surreal1.ogg b/assets/sounds/ambient_surreal1.ogg index 5979d96..375a23d 100644 Binary files a/assets/sounds/ambient_surreal1.ogg and b/assets/sounds/ambient_surreal1.ogg differ diff --git a/assets/sounds/ambient_surreal2.ogg b/assets/sounds/ambient_surreal2.ogg index 375a23d..5979d96 100644 Binary files a/assets/sounds/ambient_surreal2.ogg and b/assets/sounds/ambient_surreal2.ogg differ diff --git a/manifest.json b/manifest.json index b4878a5..0550675 100644 --- a/manifest.json +++ b/manifest.json @@ -18,5 +18,5 @@ "conflicts": [ "Jen" ], - "version": "1.11.2" + "version": "1.11.3" } \ No newline at end of file diff --git a/src/joker.lua b/src/joker.lua index 7c0a5ea..db6059a 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -796,3 +796,14 @@ SMODS.Joker { end end, } + +local orig_localize = localize + +---@diagnostic disable-next-line: lowercase-global +function localize(args, misc_cat, ...) + return ({ + j_jane_oxy = "Oxy", + j_jane_honey = "Honey", + j_jane_saint = "The Saint", + })[type(args) == "table" and args.type == "name_text" and args.key] or orig_localize(args, misc_cat, ...) +end diff --git a/src/slugcat.lua b/src/slugcat.lua index 708e988..c211b13 100644 --- a/src/slugcat.lua +++ b/src/slugcat.lua @@ -755,17 +755,6 @@ 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",