HeroCreationLab / hero-creation-tool

Step-by-step module tool for creating 5e characters in FoundryVTT
MIT License
31 stars 15 forks source link

Weapon/Armor/Tool proficiencies don't display if custom base items are defined outside SRD items compendium #88

Closed arbron closed 2 years ago

arbron commented 2 years ago

If you define custom values for weaponIds or the other two base item objects that contain a full path to a compendium rather than the truncated ID, the tool fails to load any proficiencies:

Screen Shot 2022-02-11 at 09 06 18

This seems to be because it is assuming all proficiencies in the list are just a single ID within the SRD Items compendium.

Works:

DND5E.weaponIds = {
  ax: "nfIRTECQIG81CvM4"
};

Doesn't Work

DND5E.weaponIds = {
  ax: "world.my-compendium.nfIRTECQIG81CvM4"
};