Skip animation and add unlock condition for new deck
This commit is contained in:
parent
5d0fab66e8
commit
0eea129783
3 changed files with 13 additions and 2 deletions
|
|
@ -30,6 +30,7 @@ return {
|
|||
--"",
|
||||
--"{C:Bakery_credit_fg_Roland_bakersdozenbagels,s:0.75}Art: BakersDozenBagels",
|
||||
},
|
||||
unlock = {"Discover all {C:attention}Vouchers"},
|
||||
},
|
||||
},
|
||||
BakeryCharm = {
|
||||
|
|
@ -223,7 +224,6 @@ return {
|
|||
"to {C:attention}pull {}this {C:attention}Joker",
|
||||
"{C:inactive}(Currently {C:attention}#2#{C:inactive})",
|
||||
},
|
||||
unlock = {"Have only {C:enhanced}Stone", "cards in your deck"},
|
||||
},
|
||||
j_Roland_excalibur_Back = {
|
||||
name = "Excalibur",
|
||||
|
|
@ -464,6 +464,7 @@ return {
|
|||
--"",
|
||||
--"{C:Bakery_credit_fg_Roland_bakersdozenbagels,s:0.75}Art: BakersDozenBagels",
|
||||
},
|
||||
unlock = {"Discover all {C:attention}Vouchers"},
|
||||
},
|
||||
sleeve_Roland_wish_alt = {
|
||||
name = "Miracle Sleeve",
|
||||
|
|
@ -473,6 +474,7 @@ return {
|
|||
--"",
|
||||
--"{C:Bakery_credit_fg_Roland_bakersdozenbagels,s:0.75}Art: BakersDozenBagels",
|
||||
},
|
||||
unlock = {"Discover all {C:attention}Vouchers"},
|
||||
},
|
||||
},
|
||||
Spectral = {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
"id": "Roland",
|
||||
"name": "Roland",
|
||||
"prefix": "Roland",
|
||||
"version": "2.9.36",
|
||||
"version": "2.9.37",
|
||||
"badge_colour": "8BE9FD",
|
||||
"display_name": "Roland",
|
||||
"main_file": "src/main.lua",
|
||||
|
|
|
|||
|
|
@ -185,6 +185,11 @@ back {
|
|||
key = "wish",
|
||||
pronouns = "he_him",
|
||||
attributes = {"passive", "generation"},
|
||||
unlocked = false,
|
||||
discovered = false,
|
||||
check_for_unlock = function(_, args)
|
||||
return args ~= "Bakery_nothing" and f(G.P_CENTER_POOLS.Voucher):all "discovered"
|
||||
end,
|
||||
apply = function(self)
|
||||
G.GAME.modifiers.Roland_no_voucher = true
|
||||
local _ = self:is_alt() and f(G.P_CENTER_POOLS.Voucher):map "key":each(redeem)
|
||||
|
|
@ -194,6 +199,10 @@ back {
|
|||
context.blind_defeated and
|
||||
not context.repetition and
|
||||
not G.GAME.blind.boss) and
|
||||
f(G.P_CENTER_POOLS.Voucher)
|
||||
:map "key"
|
||||
:where(f.index_into(G.GAME.used_vouchers), false)
|
||||
:any() and
|
||||
redeem(get_next_voucher_key())
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue