game: Inventar — Tausch, Traglast, Seiten, Laterne, Tränke, Drag & Drop

This commit is contained in:
torsten 2026-11-17 15:27:37 +01:00
parent a78de0ffec
commit 01c312d918
30 changed files with 539 additions and 58 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -205,3 +205,4 @@ datum,endpoint_id,request_id,prompt,seed,lizenz
2026-11-17,fal-ai/flux-2/klein/9b,01a1e9d9-67b3-7960-bd91-7e85a0ad7b37,"single isolated game item icon, flat color shapes with hard edges, bold silhouette, limited palette of muted ochre, steel blue, olive green, warm cream and deep umber, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow, a coiled hemp rope",9110,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder"
2026-11-17,fal-ai/flux-2/klein/9b,01a1e9d9-7bb3-78e1-85e0-8a42844e0d17,"single isolated game item icon, flat color shapes with hard edges, bold silhouette, limited palette of muted ochre, steel blue, olive green, warm cream and deep umber, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow, a cloth bundle of dried food, bread and cheese",9111,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder"
2026-11-17,fal-ai/flux-2/klein/9b,01a1e9d9-feae-70b2-a91a-d586d61b0eba,"single isolated game item icon, a heavy chainmail hauberk made of small interlocking steel rings, clearly visible metal ring texture, metallic grey, short sleeves, hanging empty as a garment, flat color shapes with hard edges, bold silhouette, limited palette of steel blue, muted ochre and deep umber, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow",9112,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder"
2026-11-17,fal-ai/flux-2/klein/9b,01a1e9e4-cccc-7360-84e8-9d3ec3dbf906,"single isolated game item icon, a round glass vial filled with glowing red healing potion, a cork stopper, a small highlight on the glass, flat color shapes with hard edges, bold silhouette, limited palette of deep red, warm cream and muted ochre, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow",9113,"FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder"

1 datum endpoint_id request_id prompt seed lizenz
205 2026-11-17 fal-ai/flux-2/klein/9b 01a1e9d9-67b3-7960-bd91-7e85a0ad7b37 single isolated game item icon, flat color shapes with hard edges, bold silhouette, limited palette of muted ochre, steel blue, olive green, warm cream and deep umber, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow, a coiled hemp rope 9110 FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder
206 2026-11-17 fal-ai/flux-2/klein/9b 01a1e9d9-7bb3-78e1-85e0-8a42844e0d17 single isolated game item icon, flat color shapes with hard edges, bold silhouette, limited palette of muted ochre, steel blue, olive green, warm cream and deep umber, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow, a cloth bundle of dried food, bread and cheese 9111 FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder
207 2026-11-17 fal-ai/flux-2/klein/9b 01a1e9d9-feae-70b2-a91a-d586d61b0eba single isolated game item icon, a heavy chainmail hauberk made of small interlocking steel rings, clearly visible metal ring texture, metallic grey, short sleeves, hanging empty as a garment, flat color shapes with hard edges, bold silhouette, limited palette of steel blue, muted ochre and deep umber, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow 9112 FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder
208 2026-11-17 fal-ai/flux-2/klein/9b 01a1e9e4-cccc-7360-84e8-9d3ec3dbf906 single isolated game item icon, a round glass vial filled with glowing red healing potion, a cork stopper, a small highlight on the glass, flat color shapes with hard edges, bold silhouette, limited palette of deep red, warm cream and muted ochre, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow 9113 FLUX.2 [klein] 9B über fal.ai (BFL Non-Commercial License: Gewichte/Selbsthosting; Outputs nach §2d frei nutzbar, keine IP-Indemnity) - 512x512, 0.2621 MP, x-fal-billable-units 1.0 = 0.01 USD, 4 Bilder

View file

@ -10,7 +10,9 @@ stummen Knopfs.
| Bild | Zeigt |
|---|---|
| [`_inventar_1920x1080.png`](_inventar_1920x1080.png) | Aldric: Schwert/Kette/Schild ausgerüstet, Rucksack mit Vorrat, Seil, Leder (gewählt), Dolch; Gold 20 |
| [`_inventar_1920x1080.png`](_inventar_1920x1080.png) | Aldric: Schwert/Kette/Schild, Rucksack mit Vorrat, Seil, Heiltrank, Dolch, Leder (gewählt); Gold 20, Last 9/26 |
| [`_geben_1920x1080.png`](_geben_1920x1080.png) | „Geben an": Bruna, Cael, Dorn (Aldric ist gesperrt) |
| [`_laterne_stadt_1920x1080.png`](_laterne_stadt_1920x1080.png) | Laterne an: warmer Lichtkreis folgt der Figur in der Stadt |
## Aufbau
@ -18,13 +20,18 @@ stummen Knopfs.
- Partei-Reiter oben (bis sechs Figuren), ausgewählter Reiter gold.
- Links **AUSGERÜSTET**: Waffe, Rüstung, Schild als Icon + Name, mit „Ablegen".
- Rechts **RUCKSACK**: 5×3-Raster à 88 px, 64er-Icon, Zähler unten rechts.
Ein Klick wählt den Gegenstand; die Detailbox zeigt Name, Typ, RK/Schaden
und die Aktion.
Mehr als 15 Gegenstände → **Seitenwechsel** mit `<` / `>`; der Titel zeigt
„RUCKSACK 1/2". Ein Klick wählt den Gegenstand; die Detailbox zeigt Name,
Typ, RK/Schaden und die Aktionen.
- **Ausrüsten** ist gesperrt, wenn die Klasse den Gegenstand nicht tragen darf
(`classes.json`: `weapons`, `armor`). Die Box nennt den Grund.
- **Benutzen** bei Verbrauchsgütern: Vorrat heilt 1d6 TP und verschwindet;
Laterne schaltet `flags["licht"]`; Seil meldet „noch keine Anwendung".
- Fußzeile: RK, Angriff, TP der gewählten Figur.
- **Geben an** öffnet die Partei-Auswahl; die Zielkapazität steht im Tooltip.
**Drag & Drop**: Gegenstand auf einen Partei-Reiter ziehen = tauschen,
auf einen ausgerüsteten Slot ziehen = ausrüsten.
- **Benutzen**: Vorrat heilt 1d6 TP, Heiltrank 2d6+2, jeweils verbraucht;
Laterne schaltet `flags["licht"]` und die echte Stadtlaterne; Seil meldet
„noch keine Anwendung".
- Fußzeile: **Last x/y** (10 + STÄ), RK, Angriff, TP der gewählten Figur.
Öffnen: Taste **I** oder der Knopf **INVENTAR** oben links in der Stadt.
Schließen: **I**, **Esc** oder „Schließen".
@ -40,8 +47,12 @@ Schließen: **I**, **Esc** oder „Schließen".
Rucksack und legt das vorher ausgerüstete Stück zurück. `Game.ablegen()`
macht das Gegenteil. `Game.rk()` rechnet sofort neu.
- `Game.gold` ist Parteigold (Start 20) und liegt im Spielstand.
- `Game.gewicht()` zählt Rucksack und ausgerüstete Stücke; `Game.kapazitaet()`
= 10 + STÄ. `Game.geben()` prüft die Zielkapazität und meldet „überladen".
- `Game.benutzen()` behandelt Verbrauchsgüter und gibt die Meldung für die UI
zurück.
- `Game.flags["licht"]` steuert den `PointLight2D` am Spieler; die Stadt liest
das Flag beim Schließen des Inventars.
```bash
godot --headless --path game -- --check
@ -52,9 +63,7 @@ godot --path game res://tools/schuss.tscn -- \
## Offen
- **Tausch zwischen Figuren**, Gewicht/Traglast.
- **Mehr als 15 Gegenstände**: Das Raster zeigt die erste Seite; Seitenwechsel
fehlt noch.
- **Echte Lichtwirkung** der Laterne (bisher nur ein Flag) und weitere
Verbrauchsgüter (Tränke).
- **Drag & Drop** statt Klick + Aktionsknopf.
- **Gewicht als Bewegungseinschränkung** (bisher nur Kapazitätsgrenze beim
Tausch, keine Mali).
- **Container, Werfen, Fallenlassen**; Tausch nur zwischen Parteifiguren.
- **Weitere Verbrauchsgüter** (Gifttrank, Elixier) nach demselben Rezept.

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 KiB

View file

@ -1,7 +1,7 @@
# Item-Icons — elf Gegenstände in 64 px
# Item-Icons — zwölf Gegenstände in 64 px
Stand: 17.11.2026 · fal `klein/9b`, 512², 4 Varianten je Gegenstand.
**48 Rohbilder (11 + Kette-Nachlauf), 11 gewählt, 0,076 $**
**52 Rohbilder (11 + Kette-Nachlauf + Heiltrank), 12 gewählt, 0,082 $**
(Lizenzzeilen in [`../../license-log.csv`](../../license-log.csv)).
**Frage:** Trägt ein 64er-Iconsatz das Inventar-Raster, ohne dass die Liste
@ -29,6 +29,7 @@ bleibt der Gegenstand auch ohne Text lesbar.
| Laterne | 1 | warmes Licht, klarer Rahmen |
| Seil | 1 | geschlossener Ring, nicht zerrissen |
| Vorrat | 1 | Bündel mit Brot und Käse |
| Heiltrank | 9113/3 | runde Glasflasche, roter Trank |
Die erste Kette (9111) las sich als Stoffhemd. Der Nachlauf mit *„interlocking
steel rings, clearly visible metal ring texture"* hat es korrigiert.
@ -55,5 +56,5 @@ python3 art/tools/pixelize.py <roh> -o art/final/Objects/item_<id>_64.png \
## Offen
- Weitere Gegenstände (Tränke, Zauberkomponenten) bekommen beim Anlegen eine
- Weitere Gegenstände (Gifttrank, Zauberkomponenten) bekommen beim Anlegen eine
Zeile in `items.json` und ein Icon nach demselben Rezept.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 887 KiB

After

Width:  |  Height:  |  Size: 967 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

View file

@ -0,0 +1 @@
single isolated game item icon, a round glass vial filled with glowing red healing potion, a cork stopper, a small highlight on the glass, flat color shapes with hard edges, bold silhouette, limited palette of deep red, warm cream and muted ochre, readable at 64 pixels, isolated on a flat solid magenta background, centered, complete silhouette, no text, no letters, no frame, no cast shadow