Skip to content

Commit 2ee9648

Browse files
authored
Merge pull request #58 from lord-ruby/dev
Dev
2 parents 9b4cc74 + 87bc568 commit 2ee9648

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

assets/sounds/music_dread.ogg

846 KB
Binary file not shown.

items/misc/sounds.lua

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,14 @@ SMODS.Sound({
5252
key = "e_rizz",
5353
path = "e_rizz.ogg",
5454
volume = 0.7
55-
})
55+
})
56+
57+
SMODS.Sound({
58+
key = "music_dread",
59+
path = "music_dread.ogg",
60+
select_music_track = function()
61+
if not G.screenwipe and G.STATE == G.STATES.SMODS_BOOSTER_OPENED and SMODS.OPENED_BOOSTER and string.find(SMODS.OPENED_BOOSTER.config.center.key, "twisted", 0, true) ~= nil then
62+
return 1339
63+
end
64+
end
65+
})

items/misc/stakes.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ function Blind:defeat(s)
187187
end
188188

189189
local ccfs = create_card_for_shop
190-
function create_card_for_shop(area)
191-
local card = ccfs(area)
190+
function create_card_for_shop(...)
191+
local card = ccfs(...)
192192
if G.GAME.curse == "entr_blind" then
193193
if pseudorandom("entr_blind_curse") < 0.5 then
194194
card.cry_flipped = true
@@ -249,4 +249,4 @@ return {
249249
iridium,
250250
zenith
251251
}
252-
}
252+
}

lib/hooks.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ function Card:set_ability(center, initial, delay_sprites)
18281828
matref(self, center, initial, delay_sprites)
18291829
else
18301830
if self.config and self.config.center and Entropy.FlipsideInversions and not Entropy.is_inverted(center)
1831-
and pseudorandom("marked") < 0.10 and G.GAME.Marked and G.STATE == G.STATES.SHOP and (not self.area or not self.area.config.collection) then
1831+
and pseudorandom("marked") < 0.10 and G.GAME.Marked and G.STATE == G.STATES.SHOP and (not self.area or not self.area.config.collection) and Entropy.Inversion(center) then
18321832
matref(self, G.P_CENTERS[Entropy.Inversion(center)], initial, delay_sprites)
18331833
elseif self.config and self.config.center
18341834
and pseudorandom("trump_card") < 0.10 and G.GAME.TrumpCard and G.STATE == G.STATES.SMODS_BOOSTER_OPENED
@@ -3780,4 +3780,4 @@ function Card:sell_card()
37803780
end
37813781
end
37823782
sell_card_stuff(self)
3783-
end
3783+
end

0 commit comments

Comments
 (0)