windgeschworen/scenes/ui/main_menu.tscn
danny ef60c96735 Phase 4a: Unterrichts-Stationen, FactionSystem, Permadeath-Toggle
- training_station.gd: drei Stationen (Kampftraining -> Kraft,
  Landnavigation -> Schnelligkeit im Reiterquadranten; Geschichte & RSC
  -> Verstand im Klassenraum), je +2 auf den Stat (an STAT_MAX geklemmt),
  Rueckmeldung per Sprechblase, Doppel-Eingabe-Schutz
- TimeSystem.try_spend_slot(): erster echter Verbraucher von
  advance_slot() - Vormittag/Nachmittag ruecken vor, der Abend wird als
  verbraucht markiert und blockiert weitere Aktivitaeten bis zum
  Schlafsaal; Slot-Freigabe bei Slot-Wechsel/Reset
- FactionSystem als Fassade ueber neues gespeichertes
  GameState.faction_standings (-100..100, Signal
  faction_standing_changed), Fraktions-ID gezeichnete; Story-Logik folgt
  in 4b/4c
- Permadeath-Toggle im Hauptmenue (fokus-navigierbar, Text synchron);
  GameState.reset() laesst is_permadeath_enabled bewusst unangetastet
  (Menue-Option), Save/Load stellt den Zustand wieder her
- Debug-Overlay: Gezeichnete-Standing sichtbar, F9/F10 verschieben es
  testweise (reine Overlay-Debug-Hilfe ohne Input-Action)
- Headless verifiziert (29 Checks): Slot-Kette Vormittag->Nachmittag->
  Abend->blockiert->Schlafen, Stat-Zuwaechse aller drei Stationen,
  Faction-Signal + Save/Load-Roundtrip, Toggle inkl. Reset- und
  Persistenz-Semantik

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 17:01:53 +02:00

63 lines
1.7 KiB
Text

[gd_scene load_steps=2 format=3]
[ext_resource type="Script" path="res://scripts/ui/main_menu.gd" id="1_menu"]
[node name="MainMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_menu")
[node name="Background" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.07, 0.08, 0.1, 1)
[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
layout_mode = 2
theme_override_constants/separation = 16
[node name="TitleLabel" type="Label" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 56
text = "Windgeschworen"
horizontal_alignment = 1
[node name="TitleSpacer" type="Control" parent="CenterContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 24)
layout_mode = 2
[node name="StartButton" type="Button" parent="CenterContainer/VBoxContainer"]
custom_minimum_size = Vector2(260, 48)
layout_mode = 2
text = "Neues Spiel"
[node name="ContinueButton" type="Button" parent="CenterContainer/VBoxContainer"]
custom_minimum_size = Vector2(260, 48)
layout_mode = 2
text = "Fortsetzen"
[node name="PermadeathButton" type="Button" parent="CenterContainer/VBoxContainer"]
custom_minimum_size = Vector2(260, 48)
layout_mode = 2
text = "Permadeath: AN"
[node name="QuitButton" type="Button" parent="CenterContainer/VBoxContainer"]
custom_minimum_size = Vector2(260, 48)
layout_mode = 2
text = "Beenden"