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