Improve localization, again

This commit is contained in:
Emik 2026-06-29 23:21:21 +02:00
parent ae7713770d
commit 146cf44fd1
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
3 changed files with 6 additions and 3 deletions

View file

@ -18,5 +18,5 @@
"conflicts": [
"Jen"
],
"version": "1.11.3"
"version": "1.11.4"
}

View file

@ -805,5 +805,6 @@ function localize(args, misc_cat, ...)
j_jane_oxy = "Oxy",
j_jane_honey = "Honey",
j_jane_saint = "The Saint",
c_jokerinatarot = "Joker in a Tarot",
})[type(args) == "table" and args.type == "name_text" and args.key] or orig_localize(args, misc_cat, ...)
end

View file

@ -282,8 +282,10 @@ SMODS.Joker {
blueprint_compat = false,
cost = 20,
rarity = 4,
loc_vars = function(_, info_queue)
info_queue[#info_queue + 1] = G.P_CENTERS.e_jane_jumbo
loc_vars = function(_, info_queue, card)
info_queue[#info_queue + 1] =
(not card.edition or not card.edition.e_jane_jumbo) and
G.P_CENTERS.e_jane_jumbo or nil
end,
}