Moerill / token-mold

MIT License
26 stars 33 forks source link

[FEATURE] Enhance name generation flexibility #53

Open Moerill opened 4 years ago

Moerill commented 4 years ago

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:

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)

crimsonknave commented 2 years ago

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).

icopp commented 2 years ago

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".

sturteva commented 1 year ago

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.

jodamajster commented 5 months ago

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