-
Notifications
You must be signed in to change notification settings - Fork 44
Phrase keywords and structure
As of the Feb. 10th update, prompts are now stored in a bunch of .txt files that are combined internally into a dictionary when you start up the script.
Any one of these can be placed in [brackets] in your template input to replace with a random selection, including categories and sub-categories like [Relations], which will return a value from any randomly-selected list contained within. The same applies to any new files and folders you add.
Here is the full list of default keywords:
- Adjectives
- VisAdjs
- ObjAdjs
- CharAdjs
- Colors
- Subjects
- Characters
- Chars
- CharObjs
- Creatures
- LandCreas
- AirCreas
- SeaCreas
- Vehicles
- LandVehicles
- AirVehicles
- SeaVehicles *
- SpaceVehicles
- Characters
- Settings
- CharSets
- CreaSets
- LandCreaSets
- AirCreaSets
- SeaCreaSets *
- ObjSets
- LandObjSets
- SeaObjSets
- AirObjSets
- SpaceObjSets
- AllSets
- Relations
- LandRels
- AirCreaRels
- AirObjRels
- SpaceObjRels
- VisualModifiers
- Styles
- Qualities
*Sea creature and vehicle settings have the relations embedded in the phrases, so there is no Sea relation list unless you add your own.
Meanwhile, the special keywords [listadj], [liststy], and [listqual] will pull multiple random phrases from the [VisAdjs], [Styles], and [Qualities] lists. Special keywords are defined near the top of promptgen.py
. You can change what list they reference by simply changing the structure within the prompts folder that they reference:
You'll have to edit that if you want to use those special keywords, but have moved or renamed the lists they use. Just edit the pathing in the screenshot above to match whatever you want, and you're set.