Hi! I've been trying to make a character in DST that when low on sanity transforms into a Pog (those cute mobs in DS Hamlet). I'm aware that this is possible due to the Playable Pets mod. Thing is, I've looked into the code, and tried to copy (the character is for personal use and training, that's why I've directly copied) the playable Pog part only, but no matter how I modify it, the game keeps crashing on world generation... I've even tried to make a Pog mod separately from the character, but it still doesn't work. I'd like some guidance on how to correctly incorporate the code or even (preferentially) how to write such a thing from scratch.