#Stat Mod

41 messages · Page 1 of 1 (latest)

heady plank
#

Hello, I have a couple ideas of stats to add to the game. The problem is, I looked at the games code and was COMPLETELY thrown off and overwhelmed. I’ve never worked with game dev but am proficient in python and looked into lua. They seem pretty similar so I thought why not try.

1. times each hand has been played.
2. most played cards
3. most discarded cards
4. times packs have been opened 
5. most sold joker
6. most bought joker
7. 
scenic salmon
#

oh intresting. What stats are you thinking?

heady plank
#

a lot of these are evident in the games code, just not displayed

scenic salmon
#

I know ofr sure the times all hands have been played is already tracked (not sure if its displayed)

#

played and discard cards are not tracked (also how do things like cards with modifiers work)

#

packs don't seem tracked (but tbh should be)

heady plank
scenic salmon
#

soul can also be found in spectral packs btw

heady plank
heady plank
scenic salmon
#

yeah sorry tarot pakcs

heady plank
#

i open both very often

scenic salmon
#

rip

heady plank
#

i assume it would be too hard to implement (even tho idk how to read the games code)

scenic salmon
#

not sure

#

Although you wouldn't have any stats from before the mod is installed

heady plank
#

besides the stats found in the code yeah :(

scenic salmon
#

I also worry the game might remove our stats if the mod is removed

heady plank
#

idk i may try again i got very overwhelmed last time i looked into it

scenic salmon
#

will have to check

heady plank
#

modding scary i don’t want to lose my save file

scenic salmon
#

I mean I don't think the game will delete you save, but if your adding extra info to it, it might just not save that

#

haven't looked to far into that

heady plank
#

u could also prob back up the save too

scenic salmon
#

for trakcing joker purchases, this is probably the spot functions/button_callbacks.lua

#

unfortunatly, this will not be simple to add to with steammoded

heady plank
#

what is that even tracking?

#

or doing

scenic salmon
#

that tracks the jokers purchased for the current save

#

current game*

#

not even sure if it is used

heady plank
scenic salmon
#

I grepped the code and it doesn't even look like anything references it

heady plank
#

if it’s not keeping track of the id of the joker, it’s pointless

scenic salmon
#

sure but you can add your own code there to do so

#

I assume it at one point showed here

#

let me test smth

#

looks like the game keeps any custom values you stick in the profile file

#

so you should be able to track stuff without worry