Skip to content

Commit 875e02b

Browse files
committed
remove hard talisman dependency
1 parent 6adff6c commit 875e02b

File tree

16 files changed

+121
-32
lines changed

16 files changed

+121
-32
lines changed

Cryptid.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"badge_text_colour": "FFFFFF",
1212
"version": "0.5.10~dev3",
1313
"dependencies": [
14-
"Talisman (>=2.2.0a)",
1514
"Steamodded (>=1.0.0~BETA-0614a)"
1615
],
1716
"conflicts": [

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
# Cryptid
33
An unbalanced Balatro mod.
44

5-
Note: Cryptid requires [Steamodded](https://github.com/Steamopollys/Steamodded/archive/refs/heads/main.zip) and [Talisman](https://github.com/SpectralPack/Talisman/archive/refs/heads/main.zip).
5+
Note: Cryptid requires [Steamodded](https://github.com/Steamopollys/Steamodded/archive/refs/heads/main.zip)
6+
[Talisman](https://github.com/SpectralPack/Talisman/archive/refs/heads/main.zip) may be used to increase the score cap but isnt required.
7+
68

79
Cryptid currently adds:
810

@@ -23,7 +25,6 @@ Cryptid currently adds:
2325
> *My game is crashing on startup/something doesn't appear to be loading!*
2426
2527
Make sure everything is properly installed.
26-
For Talisman, the folder that contains Talisman should be named `Talisman`. If you've downloaded the source code from GitHub (by clicking on [Code] and then [Download ZIP]), the folder within the ZIP may be called `Talisman-main`, which will cause a problem. Simply rename the folder(s) so that the `-main` part of the name is removed, so that the folder is just called `Talisman`.
2728
Whenever you are manually updating Talisman or Cryptid, or any other mod for that matter, it's a good approach to instead delete the contents of the folder, then install the contents of the folder from the ZIP into the existing folder to avoid having to constantly rename the folder over and over.
2829
For automatic updates, try using the [automatic update script](https://discord.com/channels/1264429948970733782/1268911536638787625).
2930
It could also be that Steamodded is out of date, sometimes mods may use features of a new version that's absent in an older version, but don't change the version that they ask for.
@@ -43,7 +44,7 @@ If they show up red, that means there's a problem. Hover over the mod icon (whic
4344
You can disable some features of the mod by opening your Mods, clicking [Cryptid], going over to the Config tab, and clicking Thematic Sets. There, you can toggle various Cryptid additions on or off as you see fit.
4445
You can also enable/disable certain music tracks in the Music tab. If you're a streamer, consider disabling the Jimball music for your safety!
4546

46-
> *I'm hitting infinity very often, is there any way to raise the limit of the scoring system?*
47+
> *I'm hitting "naneinf"/"Infinity" very often, is there any way to raise the limit of the scoring system?*
4748
4849
Talisman may be configured to be on **BigNum** mode, which has a maximum limit of ee308. You can make the limit virtually disappear by changing it to **OmegaNum**, which can handle e10##1000. You can configure it by going into Mods, then clicking Talisman, and changing the Score Limit under Config. Be careful; if you have a saved run that was on a different number system, you won't be able to load it (unless if you switch back)!
4950

assets/sounds/ExponentialChips.wav

1.07 MB
Binary file not shown.

assets/sounds/ExponentialMult.wav

549 KB
Binary file not shown.
620 KB
Binary file not shown.

items/deck.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ local critical = {
451451
check = 2
452452
G.E_MANAGER:add_event(Event({
453453
func = function()
454-
play_sound("talisman_emult", 1)
454+
play_sound("cryptid_emult", 1)
455455
attention_text({
456456
scale = 1.4,
457457
text = localize("cry_critical_hit_ex"),
@@ -978,7 +978,7 @@ local antimatter = {
978978
update_hand_text({ delay = 0 }, { mult = context.mult, chips = context.chips })
979979
G.E_MANAGER:add_event(Event({
980980
func = function()
981-
play_sound("talisman_emult", 1)
981+
play_sound("cryptid_emult", 1)
982982
attention_text({
983983
scale = 1.4,
984984
text = localize("cry_critical_hit_ex"),

items/exotic.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ local universum = {
169169
--Universum Patches
170170
local uht = update_hand_text
171171
function update_hand_text(config, vals)
172-
if next(find_joker("cry-Universum")) and not Talisman.config_file.disable_anims then
172+
if next(find_joker("cry-Universum")) and (not Talisman or not Talisman.config_file.disable_anims) then
173173
G.E_MANAGER:add_event(Event({ --This is the Hand name text for the poker hand
174174
trigger = "before",
175175
blockable = not config.immediate,

items/m.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ local bonk = {
684684
end
685685
if context.other_joker and context.other_joker.ability.set == "Joker" then
686686
if context.other_joker:is_jolly() then
687-
if not Talisman.config_file.disable_anims then
687+
if Talisman and not Talisman.config_file.disable_anims then
688688
G.E_MANAGER:add_event(Event({
689689
func = function()
690690
context.other_joker:juice_up(0.5, 0.5)
@@ -703,7 +703,7 @@ local bonk = {
703703
chip_mod = lenient_bignum(to_big(card.ability.extra.chips) * card.ability.extra.xchips),
704704
}
705705
else
706-
if not Talisman.config_file.disable_anims then
706+
if Talisman and not Talisman.config_file.disable_anims then
707707
G.E_MANAGER:add_event(Event({
708708
func = function()
709709
context.other_joker:juice_up(0.5, 0.5)
@@ -1557,7 +1557,7 @@ local mprime = {
15571557
context.other_joker:is_jolly() or Cryptid.safe_get(context.other_joker.config.center, "pools", "M")
15581558
)
15591559
then
1560-
if not Talisman.config_file.disable_anims then
1560+
if Talisman and not Talisman.config_file.disable_anims then
15611561
G.E_MANAGER:add_event(Event({
15621562
func = function()
15631563
context.other_joker:juice_up(0.5, 0.5)

items/misc_joker.lua

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,7 +1924,7 @@ local waluigi = {
19241924
calculate = function(self, card, context)
19251925
if context.post_trigger or context.forcetrigger then
19261926
if not context.forcetrigger then
1927-
if not Talisman.config_file.disable_anims then
1927+
if Talisman and not Talisman.config_file.disable_anims then
19281928
G.E_MANAGER:add_event(Event({
19291929
func = function()
19301930
context.other_card:juice_up(0.5, 0.5)
@@ -1979,18 +1979,6 @@ local wario = {
19791979
return {
19801980
dollars = lenient_bignum(card.ability.extra.money),
19811981
card = context.other_context and context.other_context.blueprint_card or context.other_card or nil,
1982-
-- This function isn't working properly :sob:
1983-
--[[func = function()
1984-
G.E_MANAGER:add_event(Event({
1985-
func = function()
1986-
if not Talisman.config_file.disable_anims then
1987-
(context.blueprint_card or card):juice_up(0.5, 0.5)
1988-
end
1989-
return true
1990-
end,
1991-
}))
1992-
return true
1993-
end,--]]
19941982
}
19951983
end
19961984
end,
@@ -3589,7 +3577,7 @@ local meteor = {
35893577
and context.other_joker.edition.foil == true
35903578
and card ~= context.other_joker
35913579
then
3592-
if not Talisman.config_file.disable_anims then
3580+
if Talisman and not Talisman.config_file.disable_anims then
35933581
G.E_MANAGER:add_event(Event({
35943582
func = function()
35953583
context.other_joker:juice_up(0.5, 0.5)
@@ -3685,7 +3673,7 @@ local exoplanet = {
36853673
and context.other_joker.edition.holo == true
36863674
and card ~= context.other_joker
36873675
then
3688-
if not Talisman.config_file.disable_anims then
3676+
if Talisman and not Talisman.config_file.disable_anims then
36893677
G.E_MANAGER:add_event(Event({
36903678
func = function()
36913679
context.other_joker:juice_up(0.5, 0.5)
@@ -3781,7 +3769,7 @@ local stardust = {
37813769
and context.other_joker.edition.polychrome == true
37823770
and card ~= context.other_joker
37833771
then
3784-
if not Talisman.config_file.disable_anims then
3772+
if Talisman and not Talisman.config_file.disable_anims then
37853773
G.E_MANAGER:add_event(Event({
37863774
func = function()
37873775
context.other_joker:juice_up(0.5, 0.5)
@@ -8458,7 +8446,7 @@ local universe = {
84588446
and context.other_joker.edition.cry_astral == true
84598447
and card ~= context.other_joker
84608448
then
8461-
if not Talisman.config_file.disable_anims then
8449+
if Talisman and not Talisman.config_file.disable_anims then
84628450
G.E_MANAGER:add_event(Event({
84638451
func = function()
84648452
context.other_joker:juice_up(0.5, 0.5)

items/test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ local test2 = {
8585
end
8686
elseif context.other_joker and card ~= context.other_joker then
8787
if card.T.x + card.T.w / 2 < context.other_joker.T.x + context.other_joker.T.w / 2 then
88-
if not Talisman.config_file.disable_anims then
88+
if Talisman and not Talisman.config_file.disable_anims then
8989
G.E_MANAGER:add_event(Event({
9090
func = function()
9191
context.other_joker:juice_up(0.5, 0.5)

0 commit comments

Comments
 (0)