#Gemstones - A new Card Modifier

1 messages · Page 2 of 1

junior dust
warm dragon
#

small question about the cross mod content Gemstones has with Card Sleeves

warm dragon
#

whats the special effect with the respective sleeve for whatever the gem slot deck is named

hidden pilot
#

basic sleeve applies an empty gem slot to playing cards in your deck, stacked sleeve applies an empty gem slot to all card that appear in the run

warm dragon
#

coolio

#

might try that when I get home

junior dust
#

Pushed this yesterday btw, so the mod compat should be working perfectly again

hidden pilot
#

i need to work on art for jokers & spectrals

#

this will be the bane of my existence whyyyyyyyyy

elfin otter
#

does someone know what that means?

#

I have both mods and it keeps showing this

hidden pilot
#

you're missing talisman (or have a lower version)

#

download talisman directly from the repo

elfin otter
#

it says the lastest version is 2.0.2

hidden pilot
#

did you download gemstones from the latest release or directly from the repo

elfin otter
#

mmm

#

good question

#

I'm going to check

#

from this zip

elfin otter
#

file* not found

novel surge
#

this also retriggers once for each card discarded

#

doesn't effect gameplay aside from looking strange and the brief animation tho

hidden pilot
#

its the latest official release

elfin otter
#

oh

#

ok thanks

elfin otter
hidden pilot
#

awesome

#

i'll update the link in a bit

elfin otter
#

great

novel surge
#

is it just me or does the "chance to level up hand when scored" gem not work

#

i even tested it with a bunch of Oops All 6s to make the probability guaranteed

indigo lance
#

You mean Amber?

novel surge
#

yea

#

Adamite also doesn't seem to be doing anything

hidden pilot
#

everything should work

winter tendon
#

Question, is this mod still OldCalc, or has it already been updated to BetterCalc? And if so, what was the last update before that?

novel surge
#

i may be misinterpreting what retriggering a joker entails but this doesn't seem right

indigo lance
#

Hang on... Something's missing here... It didn't even retrigger

novel surge
#

Yea

indigo lance
#

It would have brought the Mult up to 9, because it'd be +4 twice

novel surge
#

And it's not an issue with odds because emerald works fine

#

seems to apply to every card discarded, even if only 1 is an emerald

#

only other mods i have are Jen's Library (modding support), Nopeus (more speeds), Incantation (stack negative consumables), Debug mode, and gamblecore (aw, dangit)

#

Hope this is helpful in identifying the issue, because I love this mod's concept and all of these gems would be super cool if I could get them to work

indigo lance
novel surge
#

turning off all other mods except talisman and debug mode (to test with) doesn't seem to change these

#

sorry if im being too overwhelming with reporting these

#

don't mean to be overly negative

hidden pilot
hidden pilot
novel surge
#

version is 0.9.8

hidden pilot
#

you're using steamodded 0.9.8?

#

@novel surge ^

novel surge
#

yup

#

newest installation as of like

#

2 days ago

#

as far as i am aware

hidden pilot
#

and not the work-in-progress alpha versions

#

on the menu screen in the top right corner, what does steamodded say the version is

novel surge
#

oh... huh

#

that's very strange bc i looked at a file within the steamodded folder and it says this

hidden pilot
#

the actual version is storred in a different folder

hidden pilot
novel surge
#

?? weird

#

i had to update it for a mod i got 4 days ago

#

idk how that happened

#

sorry for all the bug reports that ended up being caused by me installing the mod wrong lol

hidden pilot
#

its fine lol

#

happy you're able to play my mod!

novel surge
#

ok welp. hang on

#

i went to steammodded and the newest release says to not use it

#

linking instead to the version i downloaded that is apparently months old

#

with no clear way to get to a newer version

#

i tried the newest release anyway and the game doesn't even start up

#

where are you getting the real newest release?

#

even completely removed my mods folder and created a new one with only a freshly downloaded copy of steamodded, talisman, and gemstones

#

all the issues persist to the best of my knowledge, though it's harder to test without debug console

junior dust
#

it sounds like the versions you found were
0.9.8 (latest release version, but basically a year old at this point)
old-calc (about a month old, and doesn't work with gemstones afaik)

novel surge
#

ok whats going on with this then

#

im very confused about this

junior dust
#

and smods hasn't been updated on mod stores in months now, which is why that one still says 0.9.8

novel surge
#

ok well the version you linked has the same thing in the top right and the same issues

#

in fact my computer recognized it as a duplicate download

#

from the previous time i tried downloading smods

#

ok yeah that link is from the page ive been redirected to repeatedly

junior dust
#

the version I linked does in fact not have that same number in the top right

#

try deleting your old/current version of steamodded, and replace it with the smods (2) or whatever it's called in your downloads?

novel surge
#

ah

junior dust
#

that looks like the right version 👍

novel surge
#

i didn't read past "alpha" since i assumed the last few digits were insignificant

#

my bad

#

but the gems are still not working correctly

junior dust
#

no worries lol

novel surge
#

yeah honestly lol

hidden pilot
novel surge
#

also shoutout to the guide for saying "no up-to-date releases exist. click here for the up-to-date release"

#

idk if this is some technicality and it means something to people who are more versed in this than i am, but to my normie brain this sentence doesn't make sense

junior dust
novel surge
#

correct

#

i tested emerald and amber and those are still broken

junior dust
#

Halo would know more about that 😬

novel surge
#

i put debug back into my mods folder as well for testing but that's the only extra mod

#

actually you know what let me send you my mods folder in its entirety

#

uh idk if i should send a file from my computer on a public server

#

shit also discord doesn't let you send anything without paying them

#

i will not be doing that

#

i don't know how to troubleshoot further :/

hidden pilot
#

ik emerald is funky but not sure about amber

novel surge
#

im sure it's weird testing something with odds since it's always possible that you're just getting unlucky lol

#

though as unlucky as i am, i feel like i wouldn't whiff on a 8 in 3 chance so many times in a row

#

in conclusion: idk good luck o7

crystal anvil
#

github even has a "mark as prerelease" button if they wanted to be clear that it's Not Done Yet

vivid mountain
fair scarab
#

new calc incompatibility

#

happens with other mods

vivid mountain
#

ah

#

what about citrine not raising probability and giving ERROR?

vivid mountain
#

also just found this, the amber on to the moon was able to trigger despite being debuffed

#

pretty sure the turquoise caused it

fair scarab
#

pretty sure this is a mod issue and not smods

#

you would need to wait for a patch if they make one

hidden pilot
vivid mountain
#

ah

vivid mountain
#

while using that voucher i got the biggest gemstone pack, used only infusion, then skipped, and then crash

#

also not sure if related or not but trying to redeem the gemstone voucher now just straight up closes the game without even a crash log

plucky siren
#

Hello, question for op. If you don't mind telling, how did you go about adding a new card modifier to the game?

plucky siren
#

Thank you!

hidden pilot
#

idk when i'm updating lol

blazing bone
#

Can someone link me to these version of talisman and lovely? Cant seem to find it

crystal anvil
blazing bone
#

Do i install the latest version of them all?

#

Still cant seem to work, ive installed the latest version of both

crystal anvil
#

did you click the release labeled "2.0.2" on talisman, perchance

blazing bone
#

Yeah i installed that one

#

since it was the latest one i see

#

being 2 weeks ago

crystal anvil
#

2.0.2 is less than 2.1.0

#

use the code button to get the latest commit

blazing bone
#

ok

#

Erm, so i installed the version of talisman

#

Could it be lovely?

crystal anvil
#

did you click the 0.7.1 release on lovely? because this time that's correct, 0.7.1 is not less than 0.7.1

blazing bone
#

Yeah, I installed that one

crystal anvil
#

and you put the version.dll in your balatro folder next to balatro.exe, right?

blazing bone
#

Uh, how do i do that?

#

I just put it in the mods folder

#

for %AppData%\Balatro

crystal anvil
#

that's not where lovely goes. you did this once already

#

right click balatro in steam and go to "browse local files"

blazing bone
#

ok

#

I se the version.dll in my balatro folder

#

from steam

#

Do i put this into my balatro local files?

#

or the modded folder

#

@crystal anvil

crystal anvil
#

that's version.dll, yes
you put it next to balatro.exe, yes

blazing bone
#

Welp, Lovely side worked

#

but talisman doesnt

fluid pivot
#

just tried this mod and it crashed when "create_card_for_shop"

fluid pivot
#

how do i find that? cant seem to copy paste from the crash screen

hidden pilot
#

a screenshot works as well

#

there should be a keybind to copy the crash log but i forgot it

fluid pivot
#

ya was right at the bottom

#

oh wait, does it need card sleeves or is it just compatible with it?

hidden pilot
#

just compatable

paper burrow
#

I tried to load up the game and got this error

paper burrow
#

Never mind, got it loading, it seems for some reason removing cartomancer got the game to load

white cape
#

Hey so

#

I put my quartz gem on a card and it simply does not activate

#

no trigger, no sound, no +10 chips perm or even not perm

white cape
#

ok so either talisman or the mod is stopping both itself and other mods from adding chips from certain sources

crystal anvil
#

i think I've seen the same issue in the newest version
or it was the newest at the time anyway. it's been a few days

rancid steeple
#

@hidden pilot hello, how did you make a sticker that retriggers playing cards?

#

i'm trying to do a similar thing in my mod

crystal anvil
#
Gemstones.GemSlot = SMODS.Sticker:extend{
    rate = 0.0,
    order = 100,
    should_apply = false,
    prefix_config = { key = false },
    joker_compat = true,
    card_compat = true,

    draw = function(self, card) --don't draw shine
        G.shared_stickers[self.key].role.draw_major = card
        G.shared_stickers[self.key]:draw_shader("dissolve", nil, nil, nil, card.children.center)
    end,
    added = function(self, card) end,
    removed = function(self, card) end,
}
Gemstones.GemSlot{
    key = "gemslot_diamond",
    badge_colour = HEX("abd8ff"),
    atlas = "slot",
    pos = { x = 1, y = 1 },
    config = { retriggers = 1 },
    joker_compat = false,
    card_compat = true,

    loc_vars = function(self, info_queue, card)
        return { vars = { self.config.retriggers } }
    end,
    calculate = function(self, card, context)
        if context.repetition then
            return {
                message = localize('k_again_ex'),
                repetitions = self.config.retriggers,
                card = card
            }
        end
    end
}

it's actually surprisingly simple
(you don't need to make a new class if you just have the one sticker in mind and not a whole new category; this is what that looked like)

GitHub

A Balatro mod that adds a new Card Modifier - Gemstones - 0fficialHalo/Gemstones

#

the important part is the calculate function

hidden pilot
#

if you asked me before bettercalc then it would've taken 10-15 patches

crystal anvil
#

better calc makes a lot of things easier

rancid steeple
#

thank youuu

white cape
blazing bone
#

it crashes whenever i choose a blind

dusk veldt
hidden pilot
dusk veldt
#

yes

dusk veldt
#

yea they had a poll to see what the people wanted

hidden pilot
#

i can finally remove talisman as a dependency

dusk veldt
#

even if they didnt, when i got around to Xchips stuff, i would have made it so it would only be there if talisman was enabled

#

as that is how im doing cross mod stuff without dependencies

hidden pilot
#

hmm

#

i'll prob still remove it but make the mod compatable

cunning oriole
#

is this suppose to trigger when other cards are discarded?

hidden pilot
#

no

#

i need to fix it

cunning oriole
#

Zamn

#

would be funny if that was its own joker gem or smth

cunning oriole
rancid steeple
#

hello, still trying to make that retrigger sticker

#

it doesn't seem to work at all

#
calculate = function(self, card, context)
        if
            -- Joker (doesn't work)
            (context.retrigger_joker_check and not context.retrigger_joker and context.other_card == card)
            -- Playing Card
            or ((card.ability.set == "Default" or card.ability.set == "Enhanced") and context.repetition)
        then
            return {
                message = localize("k_again_ex"),
                repetitions = 1,
                card = card,
            }
        end
    end
#

i don't know what i'm doing wrong but it just doesn't work for jokers

#

(it works fine with playing cards)

wooden heron
#

Exited shop to enter a new ante and crashed, hadn't even gotten any gemstones or slots that run yet

#

Not the first time, previously I had thought it was a conflict with JoyousSpring but ig not

#

Actually, reloading the run to test, it's when I try to hover over the small blind's tag

wooden heron
#

Also got it on the empty and citrine tags :/

crystal anvil
#

i think halo is sort of not here lately but i keep thinking about the painful not-quite unwinnable situation that can come up with epidote+juggler and time crystals, where you have a ton of hands left, no chance of beating the score, and everything left in your deck has time crystals
admittedly i don't know how long it takes to get juggler that high, i was playing jen's almanac at the time so maybe this is implausible under one mod conditions

hidden pilot
#

should i revive the mod

#

i only stopped updating because i lacked motivation and smods kept changing so i had to keep it up-to-date frequently

crystal anvil
#

i vote yes to this

#

i think now that smods has done an official 1.0 beta release, it will do a lot less of changing existing things
it's still in active development but it'll at least be more focused on adding features

hidden pilot
#

i'll have an update out hopefully by the end of the week that'll update the mod to current SMODS version

hidden pilot
#

i might've forgotten

boreal flame
#

thats okay

cunning oriole
#

.

hidden pilot
#

ok i'll actually do it this time

sand mulch
#

is it just me or does adamite not work

vernal nova
#

so gem gauntlet seems to be triggering not properly to say the least. pretty sure its not supposed to increase my score a bunch when i slot a gem into a card. or every single time i click on one

#

also gems seem to take up only half a consumable slot? dont know if thats intended

#

happy early birthday btw :o congrats!

crystal anvil
#

gems only taking half a consumable slot is intentional

vernal nova
#

oh neat

vernal nova
#

maybe one day it wont all seem so gemstover

karmic zephyr
#

So I've discovered this mod and I like it (haven't played yet)

#

I've been known for good art so can I help for the mod?

#

For the art

#

I've seen how quartz and the othes look like and I knew this mod needed art a lot

hidden pilot
hidden pilot
#

spectral card version for..?

karmic zephyr
hidden pilot
upper pasture
#

is it an Intentional Feature™ that the emerald gemstone seems to apply to every card in your deck, even though it's only applied to a single card? i have one king of diamonds with an emerald gemstone on it, but every single card discarded is triggering its effect

crystal anvil
#

i don't think it's intentional, but the mod hasn't been updated in a long while

cunning oriole
#

pretty sure it's on a long haitus unless someone wants to fork and update themselves (with permission)

hidden pilot
#

i have came to the realization i'm never going to get around to updating the mod to modern versions so i give permission to re-make the mod for the latest smods

#

only requirement is to credit me in the mod (only if the concept is the same/the repo is forked) & send me a message when its up so i can check it out jimbo_spin

crystal anvil
#

i'll probably fork it just for maintenance purposes, then
fixing the emerald thing and updating to new probability. and uh. what else needs doing. probably just that, idk i don't rember

crystal anvil
crystal anvil
#

a one-line change, lmao

crystal anvil
#

halo, was the random chance of a gem slot in standard packs supposed to be affected by diceCult and the like?

crystal anvil
#

localization update, the entire class of gem slots now uses a single shared label instead of having to copy and paste the same label every time one gets added

crystal anvil
crystal anvil
#

well while streaming today i found another bug (aventurine was also applying its effect when any card discarded instead of only attached card)
so that's fixed now

hidden pilot
#

its been a while since i've played balatro so idk if cards from standard packs being given editions is always at X percent or not

crystal anvil
#

the way you programmed it used G.GAME.probabilities.normal
I'll double check but i don't think editions do that

boreal flame
#

i believe that includes enhancements and seals too

hidden pilot
#

ahh ok

#

so ig make it exponential % chance to spawn with a gem slot based on the current ante

crystal anvil
uncut fiber
#

Hovering over this tag seems to crash the game

uncut fiber
#

Also playing this hand is giving me this error

crystal anvil
crystal anvil
#

i am not experiencing this error, can you make sure you have the most up-to-date version of the mod?

hidden pilot
#

tbh i should've just changed "Gem Slots" -> "Gemstone Slots"

lethal mason
#

Dude just downloaded this mod and it fan favorite, like it goes hard. You talking about, I can have an addition in both my card and in the Joker.

Like this shit and any other mod slap too hard. 10/10 and not even sure how could make better

clever yarrow
lethal mason
#

I would love to see this mod active again

clever yarrow
#

I use it. Maybe someone else can remake it?

lethal mason
#

I contacted the original creator because like you I enjoy a lot, he said he would like into it, but been so long

clever yarrow
#

Why not remake it yourself? I mean.. I... hope you can...

lethal mason
clever yarrow
#

fair

lethal mason
#

But if I could would gladly do it

clever yarrow
crystal anvil
#

1, update the mod, it's up to 0.8.1 now
2, when did this happen, can you make it reliably happen in this context

#

i don't know if 0.8.1 fixes this bug but i would like to know

clever yarrow
clever yarrow
crystal anvil
#
2: Gemstones by Halo / OfficialHalo [ID: Gemstone, Priority: -50, Version: 0.8.0, Uses Lovely]

i see you still haven't updated

#

i see you also aren't mentioning such things as when this crash is happening

clever yarrow
#

there's an updatge?

#

look, when I see that, uh.. yea.

crystal anvil
#

I'm somewhat confused how you got 0.8.0 with no releases

#

also, like, why are you repeatedly sending the same crash if you have no reason to believe there has been any attempt to address it?

clever yarrow
#

god i wish i had a stiff drink. can't drink. i take medicine to help with emotional stuff.

clever yarrow
#

Ok. If this works. This will be batshit insane. Amazingly batshit insane

clever yarrow
#

YESSSSS

#

I PUT A EPIDOTE

#

ON EPIDOTE

crystal anvil
#

Do not report the loc_vars crash if your version number, as reported in the crash log, is 0.8.0. At least CHECK whether the crash still happens on the latest commit.

crystal anvil
clever yarrow
#

y'know I use BMM for updates usually, right?

crystal anvil
#

skill issue

#

if you don't know how to download the latest commit and someone tells you "try the latest commit and see if the bug is still there", either figure it out or wait patiently

stray whale
#

(Yeah, BMM doesn't update their versions often.)

crystal anvil
#

never mind what bmm does. i don't care what bmm does, that's the whole point

stray whale
#

... Okay, yeah. I don't use BMM myself, but yeah.

hidden pilot
#

lowkey need to update this already

crystal anvil
#

i did push an update that fixes the loc vars crash
(or should, it was inconsistent even when it was happening)

#

oh wait i already mentioned that

hidden pilot
#

gonna take a look at that

crystal anvil
#

I'm pretty sure the cause was just that some gems didn't have that method but the tag assumed otherwise

#

it could have also been fixed by giving them a default loc vars method that just returns a token table

#

but that seemed silly

hidden pilot
#

ehhh should be fine lol

#

also gotta remove the talisman stuff since xchips is in base smods

crystal anvil
#

yep

#

i think i already did that

#

also might be relevant to switch to the canonical apply function instead of using the custom added and removed functions

hidden pilot
#

oh yeah i did do that

crystal anvil
#

I've been rotating that one in my mind since i invented dekaja and had to put in a patch for that

hidden pilot
#

ahh

#

i need to refresh my mind on smods its been too long lol

#

@crystal anvil you're fine with me bringing your changes to the mod right

crystal anvil
#

yeah

hidden pilot
#

with proper credit ofc

crystal anvil
#

oh yeah i think smods now has a canonical way to redirect discards

#

sort of
you can do it in context.stay_flipped

hidden pilot
#

ah sweet

#

i went ahead and pushed what i had, its mostly just changes transferred from your fork

lethal mason
hidden pilot
#

not really sure what to add at this point, maybe new jokers but i don't have art for the current ones

lethal mason
#

There few gems that I think you still needed

hidden pilot
#

first release since jan 2025 😭

hidden pilot
#

i'm just now realizing that gemstone consumables are not taking up half a slot so thats neat..

lethal mason
tulip pollen
#

but i feel ya

crystal anvil
#

yeah i wasn't pleased with that guy

#

especially after pinging me in a second thread just to drop the same damn bare crash log again

lethal mason
# tulip pollen 😭

I was swesting bullet for a minute I taught was me. Cuss pass I did message you 😅

hidden pilot
#

i've got no clue if this works on the latest smods btw