From 1bc58245f27d52fbf6a8936463b71ff3f3fdeb05 Mon Sep 17 00:00:00 2001 From: Emik Date: Sun, 19 Jul 2026 20:46:22 +0200 Subject: [PATCH] Rework Business Sleeve to be more interesting --- localization/en-us.lua | 5 ++--- manifest.json | 2 +- src/back.lua | 5 ++--- src/lib/shared.lua | 6 ++++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/localization/en-us.lua b/localization/en-us.lua index 29ffb12..6ce5bf4 100644 --- a/localization/en-us.lua +++ b/localization/en-us.lua @@ -458,9 +458,8 @@ return { sleeve_Roland_dropship_alt = { name = "Business Sleeve", text = { - "{C:attention}Jokers {}are {C:dark_edition}Negative", - "and {C:money}Rental", - "{C:attention}Perishable {}lasts forever", + "{C:attention}Jokers {}are instead", + "{C:dark_edition}Negative {}and {C:money}Rental", "", "{C:Bakery_credit_fg_Roland_bakersdozenbagels,s:0.75}Art: BakersDozenBagels", }, diff --git a/manifest.json b/manifest.json index a9ba7a1..e38f903 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "Roland", "name": "Roland", "prefix": "Roland", - "version": "2.9.65", + "version": "2.9.66", "badge_colour": "8BE9FD", "display_name": "Roland", "main_file": "src/main.lua", diff --git a/src/back.lua b/src/back.lua index 8fbbf33..524e3ca 100644 --- a/src/back.lua +++ b/src/back.lua @@ -146,7 +146,7 @@ local b_dropship = back { not not f(G.jokers.cards):map "ability":all "perishable" end, apply = function(self) - G.GAME.modifiers.Roland_dropship = true + G.GAME.modifiers.Roland_dropship = not self:is_alt() G.GAME.modifiers.Roland_dropship_alt = self:is_alt() end, calculate = f.noop, @@ -200,14 +200,13 @@ local function create_dropshipped_card(_type, ...) if ok and G.GAME.modifiers.Roland_dropship_alt then ret.ability.rental = true - ret.ability.perish_tally = 1 / 0 local _ = ret:set_edition({negative = true}, true, true) end if ok and G.GAME.modifiers.Roland_dropship then + ret.ability.perish_tally = 5 ret.ability.perishable = true ret.cost, ret.sell_cost = 0, 0 - ret.ability.perish_tally = G.GAME.modifiers.Roland_dropship_alt and 1 / 0 or 5 end return ret diff --git a/src/lib/shared.lua b/src/lib/shared.lua index 6b9678c..b4b5ee4 100644 --- a/src/lib/shared.lua +++ b/src/lib/shared.lua @@ -25,8 +25,10 @@ local function add(v) return SMODS.add_card { no_edition = true, key = v, - area = (G.P_CENTERS[v] or {}).set == "Booster" and G.shop_booster or - (G.P_CENTERS[v] or {}).set == "Voucher" and G.shop_vouchers or nil, + area = G.P_CENTERS[v] and + (({Default = true, Enhanced = true})[G.P_CENTERS[v].set] and G.hand or + G.P_CENTERS[v].set == "Booster" and G.shop_booster or + G.P_CENTERS[v].set == "Voucher" and G.shop_vouchers) or nil, } end