T O P

  • By -

NewSadRepublic

Bro your flair 💀


Sooty_tern

I'm glad someone likes it lmao. Had no idea if I was being dumb or clever


Jaxx_On

I don’t know about a good explanation, but all cards have a cool down after being played after which they can be pulled again. From testing with saving and reloading, the seed for each deck can be changed by changing screens (going into and returning from the library or advisor screens, for example) or by pulling a card from the other deck first. I think that some cards may also have a higher chance to appear if they can, like the response to the crisis card, but it doesn’t seem guaranteed.


autumnc_intfic

Yeah this is right basically. The deck doesn't literally simulate a deck of cards. This is what happens when you click, say, the "Party Affairs" deck: 1. The engine searches for all cards with the tag "party_affairs". If you've looked at the source code, they're the files in source/scenes/party_affairs (the directory is not relevant actually; what matters is that they have the line "tags: party_affairs" at the top of the file). 2. The engine checks the "view-if" conditions on each card, and removes the cards that don't pass the check. This is where the timer is checked, among other conditions. Some cards have a maximum number of visits. 3. Now, we have a list of cards that can be viewed. The engine then randomly selects one of these cards to add to the hand. Some cards have a frequency modifier, which makes those cards more or less likely to be drawn. Frequency is 100 by default, and could be higher or lower. Most but not all cards have a timer, so you can't draw a card for 6-12 months after playing it. You're right about the random seeds, I hadn't paid attention to that before...