Paid Answer for Question Regarding Token Flip Module + Shared Compendiums

Hello everyone! I am having some problems setting up Actors that utilize the Token Flip module by theripper93 within shared compendiums in Foundry v13 345. I have already shared my problem on theripper93’s Discord server, but they referred me elsewhere due to this being a part of the core configuration. But I just can’t seem to figure out what I’m doing wrong. I am providing a 70 second video of the issue. In this video, you will see my only active modules are Token Flip and my shared compendium pack. This is taking place in a test world with nothing else in it on my local machine, but I will end up transferring this to a cloud hosting provider like The Forge so I want to make sure it will still be functional there, too. Essentially, from what I understand by theripper93 told me,
“If you move a Token Flip Actor into a compendium, it needs to keep its Actor ID during import and export, otherwise it won’t work.”
I have some development experience, so I’m not unfamiliar with the concept of IDs, but have never intentionally messed with the IDs of Foundry Actors. In fact, I’m not even totally sure how to do that through the user interface alone (unless it’s the Actor’s Name; but I know Name does not normally equal the ID). When I asked theripper93 about this further, they let me know they weren’t entirely sure about compendiums since it was a core thing, and that I would have better luck in the main Foundry server. But I’m here to find a more involved answer, if possible! My goal is to be able to set up some shared compendiums that utilize Token Flip so I have easy access to Actors between my various game worlds on The Forge without having to recreate everything. Can someone please help me understand how to get this working and functional between my game worlds? I have a limited budget but am willing to pay $20 for an answer that helps me troubleshoot and resolve this. Thank you! EDIT: Basically, the problem is once I Flip a token for the first time once I've dragged it over from the compendium, it says the Actor is no longer referenced in the world, even though it still exists in the Actors tab, and I can not open its character sheet.
Token Flip – TheRipper93 Wiki
The wiki for TheRipper93
10 Replies
Forien
Forien4mo ago
you can make sure to "keep ID" when you import something from compendium. but I wonder why is ID matching even relevant? Wouldn't the data needed be saved in flags anyway?
No description
Forien
Forien4mo ago
Also, I was certain that when you import from compendium into your world and your world doesn't have that ID yet, then the ID is kept 🤔 maybe the dragging directly onto canvas is the issue? I always used https://foundryvtt.com/packages/token-variants, so hard for me to say anything more here (and it's not yet updated for v13)
⭐ Shyann
⭐ ShyannOP4mo ago
maybe the dragging directly onto canvas is the issue?
:Character_Mavis_Eheh: Is this not normally how it should be done? 💀 This is honestly the first time I've ever even noticed the "Import All Content" selection lmao. I have never once right-clicked on my compendiums. Big oof. Let me try this.
⭐ Shyann
⭐ ShyannOP4mo ago
I should definitely check this, right? Are Actors classified as "documents"?
No description
Forien
Forien4mo ago
Is this not normally how it should be done?
Tokens represent Actors. So to create a Token you need to have Actor in your World. There is no "Token Compendium", there is "Actor Compendium". So you are expected to import the Actor into the World and then create a Token on a Scene from that Actor. Dragging Actor from Compendium onto a Scene always creates new Actor with new ID, so dragging something 3 times will import same Actor 3 times with different IDs yes, Actor, Item, Macro, JournalEntry, RollTable, all of those (and more) are Documents in Foundry
⭐ Shyann
⭐ ShyannOP4mo ago
Dragging Actor from Compendium onto a Scene always creates new Actor with new ID, so dragging something 3 times will import same Actor 3 times with different IDs
I've noticed that before and was always annoyed with it lol. I got myself in a terrible practice of dragging a single Actor over, and then pulling my multiple versions from the newly created Actor from the Actors Tab. Yikes. I am learning today. Let me try this out!
Forien
Forien4mo ago
Yeah I believe dragging an Actor from Compendium onto the World will by default keep the ID and then dragging it onto a scene multiple times will work as intended (depending on Link Actor Data in the Prototype Token) no idea about the module though, if it saves data on TokenDocument and not on Actor or within Actor's Prototype Token, then that data will not exist in Compendiums
⭐ Shyann
⭐ ShyannOP4mo ago
Success! Thank you for showing me this! It was indeed a combination of the fact I was not importing the compendiums, and linking the "Keep Document IDs." When I imported and left that box unchecked, the issue of being unable to access the character sheet after the initial Flip continued to persist. But ensuring that box was checked resolved my issue! Hooray! Thank you so much @Forien! Please DM me your Venmo or Paypal info so I can shoot you some cash! :animated_heartkame:
Leo The League Lion
@⭐ GM Shyann gave :vote: LeaguePoints™ to @Forien (#208 • 5)
Forien
Forien4mo ago
You're welcome :lovecat:

Did you find this page helpful?