Moerill / token-mold

MIT License
24 stars 33 forks source link

[FEATURE] Per token name generation #154

Open TogaParty opened 1 year ago

TogaParty commented 1 year ago

Is your feature request related to a problem? Please describe. It would be nice if name configuration could be configured on the token as an override. Right now it's a hassle to switch name/gender tables if I'm dragging out male or female commoners.

Describe the solution you'd like Per token configuration options.

Describe alternatives you've considered Switching tables as I drag out tokens.

Additional context Add any other context or screenshots about the feature request here.

Geekswordsman commented 1 year ago

This is actually not possible to be done on a system agnostic level. Some systems don't expose a field for gender - for instance, the DND5e system does.

If your system does expose it, then you can presently set it if you change the Base Name to Replace and add an attribute/value pairs for the genders, along with the language to roll in.

While in the current version this is limited to a random language, v3.0 will permit this to be a table as well. Additionally, I'm adding in the option to manually add in attributes to look for in the event that the automated scraper doesn't pick up one (for instance, if you have a sheet module that adds it but Token Mold isn't able to grab it).