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
|
|
@ -28,6 +28,13 @@ const WS_SAVES = [
|
|||
|
||||
const WS_ALIGNMENTS = ['Rechtschaffen', 'Neutral', 'Chaotisch', 'Gut', 'Böse', '–'];
|
||||
|
||||
/**
|
||||
* Geschlecht: bestimmt das Platzhalterporträt (…-weiblich.webp). Der erste
|
||||
* Eintrag ist der Standardwert für neue und bestehende Charaktere.
|
||||
*/
|
||||
const WS_DEFAULT_GENDER = 'männlich';
|
||||
const WS_GENDERS = ['männlich', 'weiblich'];
|
||||
|
||||
const WS_ITEM_CATEGORIES = ['Waffe', 'Rüstung', 'Schild', 'Ausrüstung', 'Verbrauch', 'Schatz', 'Sonstiges'];
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue