Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions content/blind/coda.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ SMODS.Blind {
boss = {
min = 1,
},
attributes = {
'position'
},
boss_colour = HEX('bea5c4'),
atlas = 'music_blinds_atlas',
pos = { y = 1 },
Expand Down
4 changes: 4 additions & 0 deletions content/blind/flat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ SMODS.Blind {
boss = {
min = 1,
},
attributes = {
'modify_card',
'rank'
},

in_pool = function(self)
if G.GAME.bosses_used.bl_paperback_sharp == 0 then
Expand Down
4 changes: 4 additions & 0 deletions content/blind/glissando.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ SMODS.Blind {
boss = {
min = 3
},
attributes = {
'debuff',
'rank'
},
mult = 2,
boss_colour = HEX('E689CD'),
atlas = 'music_blinds_atlas',
Expand Down
3 changes: 3 additions & 0 deletions content/blind/half.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ SMODS.Blind {
boss = {
min = 2
},
attributes = {
'mod_chance'
},
boss_colour = HEX('D1AB88'),
atlas = 'music_blinds_atlas',
pos = { y = 6 },
Expand Down
4 changes: 4 additions & 0 deletions content/blind/hold.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ SMODS.Blind {
boss = {
min = 3
},
attributes = {
'face_down',
'hands'
},
mult = 2,
boss_colour = HEX('D19EC3'),
atlas = 'music_blinds_atlas',
Expand Down
3 changes: 3 additions & 0 deletions content/blind/misty_bass.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ SMODS.Blind {
boss = {
showdown = true, min = 1
},
attributes = {
'position'
},
dollars = 8,
mult = 2,
boss_colour = HEX("ABA89D"),
Expand Down
4 changes: 4 additions & 0 deletions content/blind/natural.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ SMODS.Blind {
boss = {
min = 2,
},
attributes = {
'debuff',
'hand_type'
},
mult = 1,
boss_colour = HEX('926fcd'),
atlas = 'music_blinds_atlas',
Expand Down
4 changes: 4 additions & 0 deletions content/blind/quarter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ SMODS.Blind {
boss = {
min = 1
},
attributes = {
'debuff',
'chance'
},
boss_colour = HEX("E27A7A"),
atlas = 'music_blinds_atlas',
pos = { y = 5 },
Expand Down
17 changes: 16 additions & 1 deletion content/blind/rest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@ SMODS.Blind {
boss = {
min = 3
},
attributes = {
'face_down',
'chance',
'rank',
'two',
'three',
'four',
'five',
'six',
'seven',
'eight',
'nine',
'ten',
'ace' -- apparently
},
mult = 1,
boss_colour = HEX('90CDAF'),
atlas = 'music_blinds_atlas',
Expand Down Expand Up @@ -43,7 +58,7 @@ SMODS.Blind {
stay_flipped = function(self, area, card)
if area == G.hand then
if not card:is_face() and not SMODS.has_no_rank(card) and
PB_UTIL.chance(card, 'rest', self.chance_numerator, self.chance_denominator) then
PB_UTIL.chance(card, 'rest', self.chance_numerator, self.chance_denominator) then
return true
end
end
Expand Down
4 changes: 4 additions & 0 deletions content/blind/sharp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ SMODS.Blind {
boss = {
min = 1,
},
attributes = {
'modify_card',
'rank'
},
in_pool = function(self)
if G.GAME.bosses_used.bl_paperback_flat == 0 then
return true
Expand Down
4 changes: 4 additions & 0 deletions content/blind/taupe_treble.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ SMODS.Blind {
boss = {
showdown = true, min = 1
},
attributes = {
'debuff',
'enhancements'
},
dollars = 8,
in_pool = function(self)
if G.playing_cards then
Expand Down
4 changes: 4 additions & 0 deletions content/blind/whole.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ SMODS.Blind {
boss = {
min = 3
},
attributes = {
'debuff',
'rank'
},
mult = 2,
boss_colour = HEX('B7C977'),
atlas = 'music_blinds_atlas',
Expand Down
4 changes: 4 additions & 0 deletions content/booster/ego_gift_normal_1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ PB_UTIL.EGO_GiftBooster {
extra = 2,
choose = 1
},
attributes = {
'ego_gift',
'consumable'
},
weight = 1,
cost = 4,
discovered = false,
Expand Down
4 changes: 4 additions & 0 deletions content/booster/minor_arcana_jumbo_1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ PB_UTIL.MinorArcanaBooster {
extra = 5,
choose = 1
},
attributes = {
'minor_arcana',
'consumable'
},
weight = 1,
cost = 6,
discovered = false,
Expand Down
4 changes: 4 additions & 0 deletions content/booster/minor_arcana_jumbo_2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ PB_UTIL.MinorArcanaBooster {
extra = 5,
choose = 1
},
attributes = {
'minor_arcana',
'consumable'
},
weight = 1,
cost = 6,
discovered = false,
Expand Down
4 changes: 4 additions & 0 deletions content/booster/minor_arcana_mega.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ PB_UTIL.MinorArcanaBooster {
extra = 5,
choose = 2
},
attributes = {
'minor_arcana',
'consumable'
},
weight = 0.25,
cost = 8,
discovered = false,
Expand Down
4 changes: 4 additions & 0 deletions content/booster/minor_arcana_mega_2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ PB_UTIL.MinorArcanaBooster {
extra = 5,
choose = 2
},
attributes = {
'minor_arcana',
'consumable'
},
weight = 0.25,
cost = 8,
discovered = false,
Expand Down
4 changes: 4 additions & 0 deletions content/booster/minor_arcana_normal_1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ PB_UTIL.MinorArcanaBooster {
extra = 3,
choose = 1
},
attributes = {
'minor_arcana',
'consumable'
},
weight = 1,
cost = 4,
discovered = false,
Expand Down
4 changes: 4 additions & 0 deletions content/booster/minor_arcana_normal_2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ PB_UTIL.MinorArcanaBooster {
extra = 3,
choose = 1
},
attributes = {
'minor_arcana',
'consumable'
},
weight = 1,
cost = 4,
discovered = false,
Expand Down
4 changes: 4 additions & 0 deletions content/booster/minor_arcana_normal_3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ PB_UTIL.MinorArcanaBooster {
extra = 3,
choose = 1
},
attributes = {
'minor_arcana',
'consumable'
},
weight = 1,
cost = 4,
discovered = false,
Expand Down
4 changes: 4 additions & 0 deletions content/booster/minor_arcana_normal_4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ PB_UTIL.MinorArcanaBooster {
extra = 3,
choose = 1
},
attributes = {
'minor_arcana',
'consumable'
},
weight = 1,
cost = 4,
discovered = false,
Expand Down
4 changes: 4 additions & 0 deletions content/edition/dichrome.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ SMODS.Edition {
config = {
amount = 1
},
attributes = {
'hands',
'discard'
},
sound = {
sound = 'paperback_dichrome',
per = 1,
Expand Down
16 changes: 12 additions & 4 deletions content/ego_gift/blue_lighter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,23 @@ PB_UTIL.EGO_Gift {
xmult = 1,
a_xmult = 0.25
},
attributes = {
'destroy_card',
'consumable',
'xmult',
'scaling',
},
atlas = 'ego_gift_atlas',
pos = { x = 4, y = 1 },
soul_pos = { x = 4, y = 4 },

ego_loc_vars = function(self, info_queue, card)
return { vars = {
card.ability.a_xmult,
card.ability.xmult
} }
return {
vars = {
card.ability.a_xmult,
card.ability.xmult
}
}
end,

ego_gift_calc = function(self, card, context)
Expand Down
13 changes: 10 additions & 3 deletions content/ego_gift/broken_glasses.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@ PB_UTIL.EGO_Gift {
sin = 'gloom',
odds = 4
},
attributes = {
'generation',
'playing_card',
'chance',
},
atlas = 'ego_gift_atlas',
pos = { x = 4, y = 2 },
soul_pos = { x = 4, y = 5 },

ego_loc_vars = function(self, info_queue, card)
local n, d = PB_UTIL.chance_vars(card, nil, 1, card.ability.odds)
return { vars = {
n, d
} }
return {
vars = {
n, d
}
}
end,
ego_gift_calc = function(self, card, context)
if context.remove_playing_cards and #context.removed > 0 and #context.removed <= 2 then
Expand Down
5 changes: 5 additions & 0 deletions content/ego_gift/chalice_of_trickle_down.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ PB_UTIL.EGO_Gift {
config = {
sin = 'envy',
},
attributes = {
'economy',
'rank',
'boss_blind',
},
atlas = 'ego_gift_atlas',
pos = { x = 6, y = 1 },
soul_pos = { x = 6, y = 4 },
Expand Down
11 changes: 8 additions & 3 deletions content/ego_gift/coffee_and_cranes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@ PB_UTIL.EGO_Gift {
sin = 'lust',
dollars = 3,
},
attributes = {
'economy',
},

atlas = 'ego_gift_atlas',
pos = { x = 1, y = 0 },
soul_pos = { x = 1, y = 3 },
ego_loc_vars = function(self, info_queue, card)
return { vars = {
card.ability.dollars
} }
return {
vars = {
card.ability.dollars
}
}
end,

calc_dollar_bonus = function(self, card)
Expand Down
1 change: 1 addition & 0 deletions content/ego_gift/dark_vestige.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PB_UTIL.EGO_Gift {
config = {
sin = 'none'
},
attributes = {},
atlas = 'ego_gift_atlas',
pos = { x = 7, y = 0 },
soul_pos = { x = 7, y = 3 },
Expand Down
5 changes: 5 additions & 0 deletions content/ego_gift/death_seeker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ PB_UTIL.EGO_Gift {
config = {
sin = 'gluttony',
},
attributes = {
'mult',
'enhancements',
'rank',
},
atlas = 'ego_gift_atlas',
pos = { x = 3, y = 2 },
soul_pos = { x = 3, y = 5 },
Expand Down
4 changes: 4 additions & 0 deletions content/ego_gift/decamillennial_stewpot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ PB_UTIL.EGO_Gift {
config = {
sin = 'lust',
},
attributes = {
'hands',
'destroy_card',
},
atlas = 'ego_gift_atlas',
pos = { x = 1, y = 2 },
soul_pos = { x = 1, y = 5 },
Expand Down
6 changes: 6 additions & 0 deletions content/ego_gift/disk_fragment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ PB_UTIL.EGO_Gift {
sin = 'gluttony',
cards = 2,
},
attributes = {
'generation',
'planet',
'consumable',
'negative'
},
atlas = 'ego_gift_atlas',
pos = { x = 3, y = 1 },
soul_pos = { x = 3, y = 4 },
Expand Down
Loading