Check discovery instead
This commit is contained in:
parent
769835991a
commit
d1ed88ed75
2 changed files with 7 additions and 7 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "Roland",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "3.0.4",
|
"version": "3.0.5",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
|
|
|
||||||
|
|
@ -129,6 +129,7 @@ local spin_to_win = SMODS.Challenge {
|
||||||
jokers = f(4):map(f.const {id = "j_joker", eternal = true}):table(),
|
jokers = f(4):map(f.const {id = "j_joker", eternal = true}):table(),
|
||||||
restrictions = {banned_cards = {{id = "c_Roland_coolheaded"}}},
|
restrictions = {banned_cards = {{id = "c_Roland_coolheaded"}}},
|
||||||
pronouns = "they_them",
|
pronouns = "they_them",
|
||||||
|
rotation = 0,
|
||||||
apply = function(self)
|
apply = function(self)
|
||||||
self.rotation = 0
|
self.rotation = 0
|
||||||
end,
|
end,
|
||||||
|
|
@ -140,7 +141,6 @@ local spin_to_win = SMODS.Challenge {
|
||||||
context.card.ability.extra.rotation = self.rotation
|
context.card.ability.extra.rotation = self.rotation
|
||||||
self.rotation = self.rotation + 1
|
self.rotation = self.rotation + 1
|
||||||
end,
|
end,
|
||||||
rotation = 0,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SMODS.Challenge {
|
SMODS.Challenge {
|
||||||
|
|
@ -157,7 +157,7 @@ SMODS.Challenge {
|
||||||
restrictions = amber,
|
restrictions = amber,
|
||||||
pronouns = "they_them",
|
pronouns = "they_them",
|
||||||
unlocked = function()
|
unlocked = function()
|
||||||
return G.P_CENTERS.j_Roland_amber and G.P_CENTERS.j_Roland_amber.check_for_unlock()
|
return G.P_CENTERS.j_Roland_amber.discovered
|
||||||
end,
|
end,
|
||||||
calculate = function(_, context)
|
calculate = function(_, context)
|
||||||
local function slide(pitch)
|
local function slide(pitch)
|
||||||
|
|
@ -199,7 +199,7 @@ SMODS.Challenge {
|
||||||
restrictions = cerulean,
|
restrictions = cerulean,
|
||||||
pronouns = "she_her",
|
pronouns = "she_her",
|
||||||
unlocked = function()
|
unlocked = function()
|
||||||
return G.P_CENTERS.j_Roland_cerulean and G.P_CENTERS.j_Roland_cerulean.check_for_unlock()
|
return G.P_CENTERS.j_Roland_cerulean.discovered
|
||||||
end,
|
end,
|
||||||
calculate = function(_, context)
|
calculate = function(_, context)
|
||||||
if not context.hand_drawn then
|
if not context.hand_drawn then
|
||||||
|
|
@ -229,7 +229,7 @@ SMODS.Challenge {
|
||||||
restrictions = crimson,
|
restrictions = crimson,
|
||||||
pronouns = "she_her",
|
pronouns = "she_her",
|
||||||
unlocked = function()
|
unlocked = function()
|
||||||
return G.P_CENTERS.j_Roland_crimson and G.P_CENTERS.j_Roland_crimson.check_for_unlock()
|
return G.P_CENTERS.j_Roland_crimson.discovered
|
||||||
end,
|
end,
|
||||||
calculate = function(_, context)
|
calculate = function(_, context)
|
||||||
local _ = context.blind_defeated and f(G.jokers.cards):each(function(v)
|
local _ = context.blind_defeated and f(G.jokers.cards):each(function(v)
|
||||||
|
|
@ -292,7 +292,7 @@ SMODS.Challenge {
|
||||||
restrictions = verdant,
|
restrictions = verdant,
|
||||||
pronouns = "she_her",
|
pronouns = "she_her",
|
||||||
unlocked = function()
|
unlocked = function()
|
||||||
return G.P_CENTERS.j_Roland_verdant and G.P_CENTERS.j_Roland_verdant.check_for_unlock()
|
return G.P_CENTERS.j_Roland_verdant.discovered
|
||||||
end,
|
end,
|
||||||
calculate = function(_, context)
|
calculate = function(_, context)
|
||||||
if context.setting_blind then
|
if context.setting_blind then
|
||||||
|
|
@ -318,7 +318,7 @@ SMODS.Challenge {
|
||||||
restrictions = violet,
|
restrictions = violet,
|
||||||
pronouns = "she_they",
|
pronouns = "she_they",
|
||||||
unlocked = function()
|
unlocked = function()
|
||||||
return G.P_CENTERS.j_Roland_violet and G.P_CENTERS.j_Roland_violet.check_for_unlock()
|
return G.P_CENTERS.j_Roland_violet.discovered
|
||||||
end,
|
end,
|
||||||
calculate = function(_, context)
|
calculate = function(_, context)
|
||||||
if not context.setting_blind then
|
if not context.setting_blind then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue