Skip to content

Commit

Permalink
Add context.other_main identifier
Browse files Browse the repository at this point in the history
I've been meaning to a while ago but forgor 💀
  • Loading branch information
Aurelius7309 committed Feb 4, 2025
1 parent b844c30 commit 674faf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lovely/better_calc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ for _, _area in ipairs(SMODS.get_card_areas('jokers')) do
if _card.ability.consumeable then other_key = 'other_consumeable' end
if _card.ability.set == 'Voucher' then other_key = 'other_voucher' end
-- TARGET: add context.other_something identifier to your cards
local joker_eval,post = eval_card(_joker, {full_hand = G.play.cards, scoring_hand = scoring_hand, scoring_name = text, poker_hands = poker_hands, [other_key] = _card })
local joker_eval,post = eval_card(_joker, {full_hand = G.play.cards, scoring_hand = scoring_hand, scoring_name = text, poker_hands = poker_hands, [other_key] = _card, other_main = _card })
if next(joker_eval) then
if joker_eval.edition then joker_eval.edition = {} end
joker_eval.jokers.juice_card = _joker
Expand Down
2 changes: 1 addition & 1 deletion version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return "1.0.0~ALPHA-1404a-STEAMODDED"
return "1.0.0~ALPHA-1404b-STEAMODDED"

0 comments on commit 674faf9

Please sign in to comment.