Add new blind art
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
|
@ -115,7 +115,7 @@ blind {
|
||||||
blind {
|
blind {
|
||||||
key = "falseshuffle",
|
key = "falseshuffle",
|
||||||
boss = {min = 3},
|
boss = {min = 3},
|
||||||
boss_colour = HEX "888888",
|
boss_colour = HEX "ff7f3d",
|
||||||
pronouns = "any_all",
|
pronouns = "any_all",
|
||||||
disable = function()
|
disable = function()
|
||||||
q(function()
|
q(function()
|
||||||
|
|
@ -133,7 +133,7 @@ blind {
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
b:juice_up()
|
b:wiggle()
|
||||||
|
|
||||||
table.sort(
|
table.sort(
|
||||||
G.deck.cards,
|
G.deck.cards,
|
||||||
|
|
@ -236,7 +236,7 @@ blind {
|
||||||
disable = function(self)
|
disable = function(self)
|
||||||
self.disabled = true
|
self.disabled = true
|
||||||
end,
|
end,
|
||||||
calculate = function(self, _, context)
|
calculate = function(self, b, context)
|
||||||
if not context.card_added and
|
if not context.card_added and
|
||||||
not context.drawing_cards and
|
not context.drawing_cards and
|
||||||
not context.playing_card_added and
|
not context.playing_card_added and
|
||||||
|
|
@ -260,8 +260,8 @@ blind {
|
||||||
process(G.discard)
|
process(G.discard)
|
||||||
|
|
||||||
if needs_text_change then
|
if needs_text_change then
|
||||||
G.GAME.blind:wiggle()
|
b:wiggle()
|
||||||
G.GAME.blind:set_text()
|
b:set_text()
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
recalc_debuff = function(self, card)
|
recalc_debuff = function(self, card)
|
||||||
|
|
@ -275,7 +275,7 @@ blind {
|
||||||
blind {
|
blind {
|
||||||
key = "bottom",
|
key = "bottom",
|
||||||
boss = {min = 6},
|
boss = {min = 6},
|
||||||
boss_colour = HEX "bdaecc",
|
boss_colour = HEX "817536",
|
||||||
pronouns = "they_them",
|
pronouns = "they_them",
|
||||||
calculate = function(_, b, context)
|
calculate = function(_, b, context)
|
||||||
if b.disabled then
|
if b.disabled then
|
||||||
|
|
@ -283,10 +283,12 @@ blind {
|
||||||
end
|
end
|
||||||
|
|
||||||
if context.pre_discard then
|
if context.pre_discard then
|
||||||
|
b:wiggle()
|
||||||
ease_discard(1)
|
ease_discard(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
if context.end_of_round and (next(G.deck.cards) or next(G.hand.cards)) then
|
if context.end_of_round and (next(G.deck.cards) or next(G.hand.cards)) then
|
||||||
|
b:wiggle()
|
||||||
G.STATE = G.STATES.GAME_OVER
|
G.STATE = G.STATES.GAME_OVER
|
||||||
G.STATE_COMPLETE = false
|
G.STATE_COMPLETE = false
|
||||||
end
|
end
|
||||||
|
|
|
||||||