some additions for replacements

This commit is contained in:
AIrjen
2023-09-29 17:03:09 +02:00
parent 4cde31e9f2
commit cb63dd927a
5 changed files with 36 additions and 14 deletions
+20
View File
@@ -2680,6 +2680,26 @@ def replacewildcard(completeprompt, insanitylevel, wildcard,listname, activatehy
if(wildcard == "-outfit-" or wildcard == "-minioutfit-"):
completeprompt = completeprompt.replace("-sameoutfit-", replacementvalue,1)
if(wildcard in ["-animal-"
,"-human-"
,"-humanoid-"
, "-manwoman-"
, "-malefemale-"
, "-object-"
, "-fictional-"
, "-nonfictional-"
, "-building-"
, "-vehicle-"
, "-food-"
, "-job-"
, "-objecttotal-"
, "-space-"
, "-firstname-"]
and chance_roll(insanitylevel, "uncommon")):
completeprompt = completeprompt.replace("-heshe-", "the " + replacementvalue,1)
completeprompt = completeprompt.replace(wildcard, replacementvalue,1)
+3 -1
View File
@@ -81,4 +81,6 @@ Gnomes
Goblins
Blizzard entertainment
Riot games
Mugler
Mugler
a -humanoid-
a -rpgclass-
1 Gucci
81 Goblins
82 Blizzard entertainment
83 Riot games
84 Mugler
85 a -humanoid-
86 a -rpgclass-
+2 -2
View File
@@ -2,9 +2,9 @@
, OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;normal) OR(;-outfitdescriptor-;uncommon) OR(;-color-;uncommon) -outfit-
, OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;normal) OR(;-outfitdescriptor-;uncommon) OR(;-color-;uncommon) -outfit- OR(; and OR(;-outfitdescriptor-;uncommon) OR(;-color-;uncommon) -outfit-;rare)
, OR(wearing;dressed in;in;normal) OR(-job-;-rpgclass-;-season-;-animal--style) OR(-minioutfit-;-outfit-;rare)
, OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;uncommon) OR(-minioutfit-;-outfit-;rare) OR(;designed by -brand-;uncommon)
, OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;uncommon) OR(-minioutfit-;-outfit-;rare) OR(;OR(designed;made;inspired;forged) by -brand-;uncommon)
, wearing OR(-material-;-color-) -overrideoutfit-
, OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;-material-;-color-;uncommon) OR(-outfit-;-minioutfit-;rare) with OR(-pattern-;-outfitprinttotal-;-material-;uncommon) -print-,
, -heshe- is OR(wearing a;dressed in) OR(;-hisher-;-hisher- -outfitdescriptor-;rare) -outfit-, OR(-hisher-;The;normal) -sameoutfit- is OR(-outfitdescriptor-;-color-) OR( OR(and has;, It has) OR(-pattern-;-outfitprinttotal-;-material-;uncommon) -print- on it,; and is OR(made of;detailed with bits of) -material-;rare) OR(;,It looks -outfitdescriptor- on -himher-,;unique)
, -heshe- is OR(wearing;dressed in) OR(;-hisher-;-hisher- traditional;rare) -culture- -outfit-, OR(; OR(-hisher-;The;normal) -sameoutfit- is OR(-outfitdescriptor-;-color-),;normal) OR(;,It looks -outfitdescriptor- on -himher-,;unique)
, -heshe- is OR(wearing a;dressed in a) OR(;-outfitdescriptor-;normal) OR(;-color-;uncommon) OR(;-culture-;uncommon) OR(;-material-;rare) -outfit- that was OR(designed;made;inspired) by -brand-, It is OR(-outfitdescriptor-;-color-;normal) OR(;and OR(-outfitdescriptor-;-color-;normal);normal) OR(;, The -sameoutfit- looks -outfitdescriptor- on -himher-,;unique)
, -heshe- is OR(wearing a;dressed in a) OR(;-outfitdescriptor-;normal) OR(;-color-;uncommon) OR(;-culture-;uncommon) OR(;-material-;rare) -outfit- that was OR(designed;made;inspired;forged) by -brand-, It is OR(-outfitdescriptor-;-color-;normal) OR(;and OR(-outfitdescriptor-;-color-;normal);normal) OR(;, The -sameoutfit- looks -outfitdescriptor- on -himher-,;unique)
1 , OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;normal) OR(;-color-;uncommon) OR(;-culture-;uncommon) OR(;-material-;rare) -outfit-
2 , OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;normal) OR(;-outfitdescriptor-;uncommon) OR(;-color-;uncommon) -outfit-
3 , OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;normal) OR(;-outfitdescriptor-;uncommon) OR(;-color-;uncommon) -outfit- OR(; and OR(;-outfitdescriptor-;uncommon) OR(;-color-;uncommon) -outfit-;rare)
4 , OR(wearing;dressed in;in;normal) OR(-job-;-rpgclass-;-season-;-animal--style) OR(-minioutfit-;-outfit-;rare)
5 , OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;uncommon) OR(-minioutfit-;-outfit-;rare) OR(;designed by -brand-;uncommon) , OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;uncommon) OR(-minioutfit-;-outfit-;rare) OR(;OR(designed;made;inspired;forged) by -brand-;uncommon)
6 , wearing OR(-material-;-color-) -overrideoutfit-
7 , OR(wearing;dressed in;in;normal) OR(;-outfitdescriptor-;-material-;-color-;uncommon) OR(-outfit-;-minioutfit-;rare) with OR(-pattern-;-outfitprinttotal-;-material-;uncommon) -print-,
8 , -heshe- is OR(wearing a;dressed in) OR(;-hisher-;-hisher- -outfitdescriptor-;rare) -outfit-, OR(-hisher-;The;normal) -sameoutfit- is OR(-outfitdescriptor-;-color-) OR( OR(and has;, It has) OR(-pattern-;-outfitprinttotal-;-material-;uncommon) -print- on it,; and is OR(made of;detailed with bits of) -material-;rare) OR(;,It looks -outfitdescriptor- on -himher-,;unique)
9 , -heshe- is OR(wearing;dressed in) OR(;-hisher-;-hisher- traditional;rare) -culture- -outfit-, OR(; OR(-hisher-;The;normal) -sameoutfit- is OR(-outfitdescriptor-;-color-),;normal) OR(;,It looks -outfitdescriptor- on -himher-,;unique)
10 , -heshe- is OR(wearing a;dressed in a) OR(;-outfitdescriptor-;normal) OR(;-color-;uncommon) OR(;-culture-;uncommon) OR(;-material-;rare) -outfit- that was OR(designed;made;inspired) by -brand-, It is OR(-outfitdescriptor-;-color-;normal) OR(;and OR(-outfitdescriptor-;-color-;normal);normal) OR(;, The -sameoutfit- looks -outfitdescriptor- on -himher-,;unique) , -heshe- is OR(wearing a;dressed in a) OR(;-outfitdescriptor-;normal) OR(;-color-;uncommon) OR(;-culture-;uncommon) OR(;-material-;rare) -outfit- that was OR(designed;made;inspired;forged) by -brand-, It is OR(-outfitdescriptor-;-color-;normal) OR(;and OR(-outfitdescriptor-;-color-;normal);normal) OR(;, The -sameoutfit- looks -outfitdescriptor- on -himher-,;unique)
+7 -7
View File
@@ -1,7 +1,7 @@
made from OR(-material-;-space-;-flora-)
OR(detailed;engraved;rare) with OR(-material-;-color-;-descriptor-;-pattern-) OR(; and -color-; and -descriptor-;rare) OR(patterns;details)
OR(intricate details;smooth;sleek)
designed by -brand-
anthropomorphic OR(;with a face;normal)
with OR(-pattern-;-color-;-descriptor-;rare) -print-
covered in -covering-
OR(;, -heshe- is;uncommon) made from OR(-material-;-space-;-flora-)
OR(;, -heshe- is;uncommon) OR(detailed;engraved;rare) with OR(-material-;-color-;-outfitdescriptor-;-pattern-) OR(; and -color-; and -outfitdescriptor-;rare) OR(patterns;details)
OR(;, -heshe- is;uncommon) OR(intricate details;smooth;sleek)
OR(;, -heshe- is;uncommon) OR(designed;made;inspired;forged) by -brand-
OR(;, -heshe- is;uncommon) anthropomorphic OR(;with a face;normal)
OR(;, -heshe- is;uncommon) with OR(-pattern-;-color-;-descriptor-;rare) -print-
OR(;, -heshe- is;uncommon) covered in -covering-
1 made from OR(-material-;-space-;-flora-) OR(; -heshe- is;uncommon) made from OR(-material-;-space-;-flora-)
2 OR(detailed;engraved;rare) with OR(-material-;-color-;-descriptor-;-pattern-) OR(; and -color-; and -descriptor-;rare) OR(patterns;details) OR(; -heshe- is;uncommon) OR(detailed;engraved;rare) with OR(-material-;-color-;-outfitdescriptor-;-pattern-) OR(; and -color-; and -outfitdescriptor-;rare) OR(patterns;details)
3 OR(intricate details;smooth;sleek) OR(; -heshe- is;uncommon) OR(intricate details;smooth;sleek)
4 designed by -brand- OR(; -heshe- is;uncommon) OR(designed;made;inspired;forged) by -brand-
5 anthropomorphic OR(;with a face;normal) OR(; -heshe- is;uncommon) anthropomorphic OR(;with a face;normal)
6 with OR(-pattern-;-color-;-descriptor-;rare) -print- OR(; -heshe- is;uncommon) with OR(-pattern-;-color-;-descriptor-;rare) -print-
7 covered in -covering- OR(; -heshe- is;uncommon) covered in -covering-
+4 -4
View File
@@ -51,13 +51,13 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im
print("")
print("All done!")
generateprompts(10,5
,"humanoid" # subject
generateprompts(10,10
,"" # subject
,"all","all",False,"","","PREFIXPROMPT"
,"SUFFIXPROMPT"
,"SUFFIXPROMPT -heshe- is looking here"
,"",1,""
,"" # subject override
,True,
"",100, "all", "all", "all", "all", False, True, 0
, "armor" #outfit override
, "" #outfit override
)