Fix Peppino visual bug, allow more cards selected with Gourmand
This commit is contained in:
parent
0d2d6ec7f5
commit
234b03d67a
3 changed files with 13 additions and 6 deletions
|
|
@ -17,5 +17,5 @@
|
|||
"conflicts": [
|
||||
"Jen"
|
||||
],
|
||||
"version": "1.5.31"
|
||||
"version": "1.5.32"
|
||||
}
|
||||
|
|
@ -626,11 +626,7 @@ SMODS.Joker {
|
|||
local count = food_jokers_count()
|
||||
|
||||
if context.joker_main and count > 0 then
|
||||
return {
|
||||
colour = G.C.DARK_EDITION,
|
||||
message = operator .. card.ability.extra.base ^ count .. " Mult",
|
||||
[Cryptid and "e_mult" or "x_mult"] = card.ability.extra.base ^ count,
|
||||
}, true
|
||||
return {[Cryptid and "e_mult" or "x_mult"] = card.ability.extra.base ^ count}
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
11
src/main.lua
11
src/main.lua
|
|
@ -218,6 +218,17 @@ function Card:nosuit()
|
|||
return self.ability.name == "Stone Card" or self.config.center.no_suit
|
||||
end
|
||||
|
||||
local orig_can_highlight = CardArea.can_highlight
|
||||
|
||||
function CardArea:can_highlight(...)
|
||||
if self ~= G.hand or not next(SMODS.find_card("j_jane_gourmand")) then
|
||||
return orig_can_highlight(self, ...)
|
||||
end
|
||||
|
||||
self.config.highlighted_limit = math.max(self.config.highlighted_limit, 6)
|
||||
return true
|
||||
end
|
||||
|
||||
local orig_menu = Game.main_menu
|
||||
|
||||
function Game:main_menu(change_context)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue