From 0f0ec6381992a4ce0ea049e32750f79b8b80db06 Mon Sep 17 00:00:00 2001 From: Emik Date: Tue, 23 Jun 2026 22:03:28 +0200 Subject: [PATCH] Improve Jumbo hand sorting --- manifest.json | 2 +- src/misprintize.lua | 1 + src/slugcat.lua | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index aede17e..0554565 100644 --- a/manifest.json +++ b/manifest.json @@ -18,5 +18,5 @@ "conflicts": [ "Jen" ], - "version": "1.10.2" + "version": "1.10.3" } \ No newline at end of file diff --git a/src/misprintize.lua b/src/misprintize.lua index 4a21996..267e4b3 100644 --- a/src/misprintize.lua +++ b/src/misprintize.lua @@ -137,6 +137,7 @@ function Jane.misprintize_tbl(name, ref_tbl, ref_value, clear, override, stack, (k == "h_x_chips" and not Jane.cry) and not (k == "id") and not (k == "colour") and not + (k == "nominal") and not (k == "suit_nominal") and not (k == "base_nominal") and not (k == "face_nominal") and not diff --git a/src/slugcat.lua b/src/slugcat.lua index 4bd385e..5ce58f7 100644 --- a/src/slugcat.lua +++ b/src/slugcat.lua @@ -555,8 +555,8 @@ function Card:draw(layer) if cen and self.facing == "front" and self.config and - (self.added_to_deck or (self.area and self.area == G.hand)) and not - self.edition and + (self.added_to_deck or (self.area and self.area == G.hand)) and + not self.edition and (self.area == G.consumeables or cen.set ~= "Booster") and next(SMODS.find_card("j_jane_gourmand")) then self:set_edition("e_jane_jumbo")