Improve localization, again
This commit is contained in:
parent
ae7713770d
commit
66811a66b5
3 changed files with 6 additions and 3 deletions
|
|
@ -18,5 +18,5 @@
|
|||
"conflicts": [
|
||||
"Jen"
|
||||
],
|
||||
"version": "1.11.3"
|
||||
"version": "1.11.4"
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue