ultrakorne / better-rolltables

Module for FoundryVTT to improve rolltables
MIT License
31 stars 29 forks source link

"Escaping" RollTable Names #75

Open gradinDotCom opened 3 years ago

gradinDotCom commented 3 years ago

If your rolltable's name is something like "10 gp Gemstones," Loot Table seems to want to compute the table as currency and cannot do that conversion. It would be helpful to understand how to represent a table name explicitly instead of using the implied logic that (presumably) "10 gp" represents to the module.

gradinDotCom commented 3 years ago

Upon further consideration, it could be my particular nesting. I'm using the plutonium library as my Entity. RollTable target: e.g. @Compendium[plutonium.items.JsmXTlVR13dMEd5O]{Periapt of Health} (description text). So my guess is further that this syntax is confusing RollTable when it gets an item.

image image image

DanielBoettner commented 3 years ago

It's likely the curly brackets in the string. As BRT uses this for parsing currency when you have entries in the table (not the currency field at the top).

Normal way to generate items from compendiums would be as show in the screenshot (entry 1): image