Module talk:NameGenerator: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "I noticed that if you choose the "hero" type variant of any creature in the dropdown of Random Name, like "Ape hero" or "Bird hero", the outpu...")
 
(my perspective on creature types)
 
Line 1: Line 1:
I noticed that if you choose the "hero" type variant of any creature in the dropdown of [[Special:RunQuery/Random_Name|Random Name]], like "Ape hero" or "Bird hero", the output always includes <code>*CreatureType*</code> or <code>*CreatureTypeCap*</code> in the output string. For example, when generating a "Bird hero", you will get something like this: '''''Ca-caw-caaaaaaaw the Songstress, brooding *CreatureType*'''''. Not sure how easy it would be to replace that placeholder with an actual creature name or not (like "glowcrow" in this example), but might be nifty if it did.
I noticed that if you choose the "hero" type variant of any creature in the dropdown of [[Special:RunQuery/Random_Name|Random Name]], like "Ape hero" or "Bird hero", the output always includes <code>*CreatureType*</code> or <code>*CreatureTypeCap*</code> in the output string. For example, when generating a "Bird hero", you will get something like this: '''''Ca-caw-caaaaaaaw the Songstress, brooding *CreatureType*'''''. Not sure how easy it would be to replace that placeholder with an actual creature name or not (like "glowcrow" in this example), but might be nifty if it did.
:- [[User:Egocarib|Egocarib]] ([[User talk:Egocarib|talk]]) 18:45, 26 July 2022 (UTC)
:- [[User:Egocarib|Egocarib]] ([[User talk:Egocarib|talk]]) 18:45, 26 July 2022 (UTC)
* You could add in creature types to the [[Module:NameGenerator/NamingTable|default vars]], but there's no built in way to map them to specific name styles, so it'd require some extra work in the module to make it handle that. The naming table changes should be accomplished by a change to the script that generates the naming table, which is here: https://github.com/TrashMonks/misc_qud_tools/blob/master/name_gen.py [[User:Illuminatiswag|Illuminatiswag]] ([[User talk:Illuminatiswag|talk]]) 16:29, 1 August 2022 (UTC)

Latest revision as of 16:29, 1 August 2022

I noticed that if you choose the "hero" type variant of any creature in the dropdown of Random Name, like "Ape hero" or "Bird hero", the output always includes *CreatureType* or *CreatureTypeCap* in the output string. For example, when generating a "Bird hero", you will get something like this: Ca-caw-caaaaaaaw the Songstress, brooding *CreatureType*. Not sure how easy it would be to replace that placeholder with an actual creature name or not (like "glowcrow" in this example), but might be nifty if it did.

- Egocarib (talk) 18:45, 26 July 2022 (UTC)