Improve paired cast continuity and wording
This commit is contained in:
@@ -2823,6 +2823,18 @@ def figure_pool(mode: str) -> list:
|
||||
return FIGURE_CURVY # 'curvy' default: voluptuous-leaning mix
|
||||
|
||||
|
||||
def make_body_phrase(body: str, figure_note: str = "") -> str:
|
||||
body = str(body or "").strip()
|
||||
figure_note = str(figure_note or "").strip()
|
||||
if not body:
|
||||
return figure_note
|
||||
if not figure_note:
|
||||
return f"{body} figure"
|
||||
if "figure" in figure_note.lower():
|
||||
return f"{body} build and {figure_note}"
|
||||
return f"{body} figure with {figure_note}"
|
||||
|
||||
|
||||
def choose_woman(rng: random.Random, ethnicity: str = "any", no_plus: bool = False, no_black: bool = False):
|
||||
young = by_ethnicity(YOUNG_WOMEN, ethnicity)
|
||||
mature = by_ethnicity(MATURE_WOMEN, ethnicity)
|
||||
@@ -2889,7 +2901,7 @@ def make_single(index: int, batch: int, rng: random.Random, gender: str, expr_de
|
||||
subject, age, body, skin, hair, eyes = choose(rng, men_pool)
|
||||
clothes = choose(rng, MEN_CLOTHES_MINIMAL if minimal else MEN_CLOTHES)
|
||||
figure_note = ""
|
||||
body_phrase = f"{body} figure with {figure_note}" if figure_note else f"{body} figure"
|
||||
body_phrase = make_body_phrase(body, figure_note)
|
||||
|
||||
scene_slug, scene = choose(rng, SCENES)
|
||||
if poses == "evocative":
|
||||
|
||||
Reference in New Issue
Block a user