token-mold icon indicating copy to clipboard operation
token-mold copied to clipboard

[FEATURE] Enhance name generation flexibility

Open Moerill opened this issue 5 years ago • 4 comments

Many requests do exist for different ways of customizing name generation. ( https://github.com/Moerill/token-mold/issues/14 https://github.com/Moerill/token-mold/issues/52 https://github.com/Moerill/token-mold/issues/38 https://github.com/Moerill/token-mold/issues/27 )

Idea to maybe encompass most or all of these is:

  • Keep the attribute based table
  • Allow for different kind of name generation selections, consisting of possibly multiple concatenated options in arbitrary order:
    • name generator
    • string field
    • attribute field (to allow e.g. the name to be used)
    • rollable table (with support for better rollable tables)
    • The existing indexing system

This could result in stuff like: @data.name + ' - ' + 'the ' + @rollableTable[english adjectives] + @NameGenerator[english] + Index resulting in a generated name, for e.g. a gnoll: gnoll - the almighty qwabwa (42)

this way it would also be easy to reverse parts, change the order to smth you prefer, etc., as well as e.g. integrate with possible other modules for name generation.

Biggest issue here is how to design the UX to make it simple to understand and use, but keeping it as flexible as possible. The example above using some pseudo language wouldn't be the way i'd want to go, i'd prefer some more basic method using input or select boxes to choose the different parts.

If you have any ideas on this, please comment below!
Its just smth that came to my mind, but will be some time until i have time to implement it. So.. if someone else wants to tackle it, feel free to try and create a pull request! (and/or contact me)

Moerill avatar Sep 10 '20 12:09 Moerill

I'd love to see this! Or, in the short term support for rollable tables that have sub tables.

My current use case is I'd like to prepend the race to my tokens to add some flavor to my d&d game, but many races have sub races. Currently I just see Elf Sub Race Guard instead of Wood Elf Guard (Elf Sub Race is the name of the rollable table that gets rolled to determine the sub race).

But, the UI could be designed with an add a section function that combines everything together.

So, you'd have a button that adds another section and each section would have a type (text, table, increment, base name or name generator for example) and then you'd be able to build whatever you wanted by adding those sections in the order you want (with liberal use of text for spaces and so on).

crimsonknave avatar Dec 13 '21 03:12 crimsonknave

Similar to the above, I'd be really happy to see something that can give the token a name of (random adjective) + (type and subtypes for D&D 5e, or traits for PF 2e).

For example, an elf NPC in PF 2e could become "Irascible Elf Humanoid", or a wolf in 5e could become "Interfering Beast".

icopp avatar Jun 07 '22 09:06 icopp

I'd love to at least be able to have [RANDOM CREATURE NAME] the [RANDOM Adjective]. I'll noodle it around in my head for UI stuff, but not much of a UI person so shrug we'll see.

sturteva avatar Jan 17 '23 23:01 sturteva

As for ui i always had idea it being per ACTOR settings so GOBLIN, KNIGHT,PEASANT Screenshot (23) attaching my idea of menu with dropdowns and add button

jodamajster avatar Apr 20 '24 07:04 jodamajster