EthanJWright / foundryvtt-importer

Import entities from external sources like Reddit, CSV, etc.
MIT License
37 stars 7 forks source link

Item parser doesn't work #84

Closed mmxlv closed 1 year ago

mmxlv commented 1 year ago

Hello, im trying to use the item import and it just manages to import the name of the item, not its description or details, i don't know if im doing something wrong here or what. Here's the item im trying to import.

https://www.reddit.com/r/DnDHomebrew/comments/112cri3/vessel_of_healing_legendary_wondrous_item/

Captura de pantalla 2023-02-14 172200

EthanJWright commented 1 year ago

would you mind adding the text for the item you're trying to import?

mmxlv commented 1 year ago

yep, i grab the text from a image to text addon, this is what i get from the reddit img.

Vessell of Healing Wondrous item, Legendary This beautiful glass bottle glows with a purple light emitted from the magical liquid contained inside. As an action on your turn, you may pour out or drink the healing potion stored within this bottle. When you do so, you regain 2d4 +2 hit points. At the end of your turn, roll a d12. If the value rolled is greater than the number of times you have used this item since you finished a long rest, the bottle refills. Otherwise, the bottle remains empty until you finish a long rest, when it refills itself. Any healing potion produced by this bottle loses its potency if it is not consumed with 6 seconds of being poured.

EthanJWright commented 1 year ago

Did you try this on the most recent version of the addon? I took that text and pasted it into the item importer and got this:

image

Which is about all that I would expect it to grab out of an item like that.

If it's still not doing anything but the name with the text you provided & an up to date addon, can you open the 'console' (application -> toggle developer tools) and send me anything that shows up in red when you click 'Okay' in the import item tab?

mmxlv commented 1 year ago

i didnt updated to latest, i had issues with other modules updates so i decided not to update more modules, il take a look later. Thx

mmxlv commented 1 year ago

Still doesn't work after updating. consolelog active_modules

i dont know if im doing something wrong here now.

EthanJWright commented 1 year ago

hmm super weird, I wish I could replicate it, thanks for the logs, I'll try to see if I can find any discrepancies

mmxlv commented 1 year ago

Hello, after updating some other modules, now its working, so maybe some other module was breaking it (i updated the 5e system too.) so, i gues it was a module conflict that needed to be updated. Thx for the help to.