1e51ef7def
- Konzept/, didaktik_geografie/, didaktik_simulation/, v2-modules/, v2-platform/ - 12 code-workspace-Files - STATUS-*.md - viele M/D/R-Änderungen an bereits getrackten Files - .gitignore verstärkt: **/.humaninput/, **/secret_keys.txt Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
29 lines
956 B
SQL
29 lines
956 B
SQL
-- Logistik L1 Spielziel-Umbau: 4 Tage + Bankrott-Regel + Sterne-System
|
|
-- Stand: 2026-04-24
|
|
-- Thomas-Feedback:
|
|
-- "Gespielt wird 4 Tage. Wer pleite geht, hat verloren. Sonst wird einfach
|
|
-- abgerechnet, wer wie viel hat." + Sterne-System in der UI.
|
|
--
|
|
-- DB-Aenderungen nur am Level-Config:
|
|
-- timeLimitHours 72 -> 96 (4 Tage statt 3)
|
|
-- minTargetEarnings 3000 -> 0 (kein Gewinn-Ziel mehr; Erfolg = nicht pleite)
|
|
--
|
|
-- Die Sterne-Logik lebt clientseitig (game.html) — keine DB-Felder noetig,
|
|
-- da sie sich aus balance + startBudget berechnen laesst.
|
|
|
|
SET NAMES utf8mb4;
|
|
|
|
UPDATE game_levels
|
|
SET params = JSON_SET(
|
|
params,
|
|
'$.timeLimitHours', 96,
|
|
'$.minTargetEarnings', 0
|
|
)
|
|
WHERE game_id = 'logistik' AND sort_order = 1;
|
|
|
|
-- Verifikation:
|
|
-- SELECT JSON_EXTRACT(params, '$.timeLimitHours'),
|
|
-- JSON_EXTRACT(params, '$.minTargetEarnings')
|
|
-- FROM game_levels WHERE game_id='logistik' AND sort_order=1;
|
|
-- Erwartet: 96, 0
|