Charaktere: Geschlecht (Default maennlich) plus weibliche Platzhalterportraets
Spalte characters.gender mit Migration, Auswahl im Formular, Anzeige auf Bogen und im PDF-Export. 12 neue Platzhalterbilder assets/portraits/<klasse>-weiblich.webp (fal.ai nano-banana-pro/edit) werden von portrait_placeholder_rel() nach Geschlecht gewaehlt.
This commit is contained in:
parent
0cbaeeafcd
commit
9388d04e98
23 changed files with 62 additions and 13 deletions
|
|
@ -441,6 +441,9 @@ function character_pdf(array $c, array $extra): string
|
|||
|
||||
/* ------------------------------------------------------ Person & Notizen */
|
||||
$facts = [];
|
||||
if ((string) ($c['gender'] ?? '') !== '') {
|
||||
$facts[] = 'Geschlecht: ' . $c['gender'];
|
||||
}
|
||||
if ((string) $c['deity'] !== '') {
|
||||
$facts[] = 'Gottheit: ' . $c['deity'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue