#inside of loc_vars, the order you put
1 messages · Page 1 of 1 (latest)
Ty, Mate. I'm trying to figure out how count the cards by a conditional for pass to text box
what kind of cards you trying to count? Jokers, full cards in deck?
I'm doing a Joker and a Seal. The Joker count the number of card with that seal and add the number times 7
Or I'm trying to jaja
I already pass the mod load, I can watch my objects in the colecction
does the Joker work already and is it just the description thats messed up
can I see the code for the Joker?
I want to add the description count to see if the count its working
Sure, do you prefer the file.lua?
just the entire joker, can be copy-pasted or the file, doesn't matter
or a screenshot
btw quick tip, change the path to your jokers
it needs to be Joker.png to work properly
also change the key?
yeah
I have a joker that checks the deck for face cards and it works, but its coded a little differently from yours
try using
for _, v in pairs(G.playing_cards) do
if v:has_seal("drained) then
drenado_count = drenado_count + 1
end
end
then you'll need to write a has_seal(_key) function to use you know
The has_seal must to be outside from the function?