IsThisMyRealName / too-many-tokens-online

Link provider for too many tokens for foundryvtt
MIT License
1 stars 0 forks source link

How to for Pathfinder 1e? #6

Closed Terrox closed 1 month ago

Terrox commented 1 month ago

Doesn't seem to work in foundry v11 for pathfinder 1e

IsThisMyRealName commented 1 month ago

What exactly does not work? Can you find the macro? If so, do you get an error message?

Terrox commented 1 month ago

Added macro to hotbar Seletected a goblin token Clicked macro Dialogue says to choose an actor, with empty input field.

Will screenshot in a few hours

IsThisMyRealName commented 1 month ago

Strange. The input field should be a dropdown, where you can select or search for what you want. If all else fails I will release an update later today to add tokens for creatures from the Pathfinder 2e Monster Core (you can see them here: https://toomanytokens.com/index.html?system=pf). Maybe that will help.

Terrox commented 1 month ago

Ah so system should be pf?

IsThisMyRealName commented 1 month ago

Currently only DND is implemented in the module and should work. But later today I will add another macro and some files, so you can also use pathfinder tokens.

Terrox commented 1 month ago

screenshot of unlinked token macro. clicking select wildcard shows "Please select a creature! foundry.js:68326:78" image

IsThisMyRealName commented 1 month ago

Can you type in something in the input field? If not, can you check, that the module folder contains a folder "DND" contains links and names.txt?

Terrox commented 1 month ago

edit: it sort of working, yes folders have files. image image typing into the field does work - I guess I didn't type the right thing and never saw any dropdown matches - but it does work to match on "goblin" etc. also double-clicking the field works but I didn't know to try because it seems like a standard input field. I thought it would try to match by token name from the goblin token I selected before i started typing. "Select an actor" input field, I thought this meant my actor but I'm not sure what it means. Maybe should be "enter creature type". It doesn't update the image on the the token selected, but it does update the parent actor for the token and also update the image on the token avatar (because it inherits from actor sheet I?), so next token dragged in is ok. This seems a bit like a bug but maybe is unique to Pathfinder1e on v11 ? So I think the flow doesn't work in Pathfinder because you'd import a statblock, then drag a token into scene, then apply toomanytokens, but the token images on scene wont change. You cannot apply images to existing scene tokens, only bring new tokens into scene.

IsThisMyRealName commented 1 month ago

Ah okay. I will see if I rename some stuff in the next few days to make it easier to use. Also if you update you should find a second macro for tokens for Pathfinder. For your usecase of creating an actor/statblock, than draging it in a scene and applying toomanytokens you can do that the following way:

  1. Drag the tokens you want to the scene.
  2. Select the tokens you want to apply toomanytokens to. image
  3. Execute the macro and select the creaturename you want tokens for. image
  4. Select the attributes you want for your tokens. (The creature name (here Goblin Warrior) is optional) image
  5. Press the leftmost button (Assign Too-Many-Tokens to selected tokens)
  6. The selected tokens will have too-many-tokens applied. image

If you want to apply toomanytokens to every newly created token you can press the second button. If you want to apply toomanytokens to every newly created token and update the image for the actor you can select the third button.

I hope this helps. If so I will close this issue once I have changed the texts (enter creature type etc.)

Terrox commented 1 month ago

Oh I see, I assumed the 3rd option was everything but it says prototype. Move your last post into the module description as your instructions :)

Terrox commented 1 month ago

btw 2.0.0 hasn't filtered through to the forge yet, I guess it takes a while.

IsThisMyRealName commented 1 month ago

That was my bad, I screwed up the update and didn't test it correctly i think. Version 2.0.1 should now be online. Thank you for your help and feedback. :)