Rework Business Sleeve to be more interesting

This commit is contained in:
Emik 2026-07-19 20:46:22 +02:00
parent ae14790b7f
commit 9362690404
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
4 changed files with 9 additions and 9 deletions

View file

@ -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",
},

View file

@ -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",

View file

@ -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

View file

@ -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