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
|
|
@ -253,7 +253,7 @@ $equipped = array_values(array_filter($items, static fn ($item) => (int) $item['
|
|||
|
||||
<?php
|
||||
$facts = [];
|
||||
foreach (['deity' => 'Gottheit', 'age' => 'Alter', 'height' => 'Größe', 'weight' => 'Gewicht'] as $field => $label) {
|
||||
foreach (['gender' => 'Geschlecht', 'deity' => 'Gottheit', 'age' => 'Alter', 'height' => 'Größe', 'weight' => 'Gewicht'] as $field => $label) {
|
||||
if ((string) $character[$field] !== '') {
|
||||
$facts[] = $label . ': ' . $character[$field];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue