#Certificate Bug

1 messages · Page 1 of 1 (latest)

latent aspen
#

Found a bug with certificate while modding the game

#

I was making a consumable that acts similarly to Certificate, creating a random card and placing it to your hand. However, while debugging, I found that simply emplacing the card to your deck (the same way Certificate works) does not actually save it into your deck, it only gets saved at the end of the round. If you exit the game before completing the round normally, playing the card, or discarding the card, the card is not saved and you lose it forever.

latent aspen
#

And just to be thorough, I went and tried this with other card-adding items as well. Cryptid doesn't have to deal with this bug for a few reasons. First, unlike Certificate, the deck size is automatically increased to account for the new cards, and clicking on the deck to view your cards also makes them show up in the display. The cards do show up in this display for Certificate as well, but get deleted if you don't play/discard round win before exiting.
Another point in favor of Cryptid is that it is a consumable, meaning that one of these meaningful actions MUST take place in order for the game to even consider it "gone" in the first place, since using it and then leaving will undo its effects as if you never used it

gray frost
#

Does certificate do this in an unmodded game?

latent aspen
#

I'll try to see if it happens, just need to find it in an unmodded run

gray frost
#

Yeah, worth making sure, as steam modded and external stuff like debugging have been known to throw some random stuff around and cause weird bugs

latent aspen
#

Just thought I'd bring it up, if nothing else maybe a Steamodded dev will see it and work to fix it