- Diegetische Buch-UI an der journal-Taste: Einband + Pergament-Blatt, blättern mit Pfeiltasten/Steuerkreuz oder Buttons, J/Esc klappt zu - Seiten: Kalender-Innencover (Tag 1–10, heutiger Tag markiert), Drache & Signet, drei Fach-Seiten aus data/lexicon/subjects.json (füllen sich über die Wissens-Zähler), Personen & Gerüchte (Codex-Übernahme), Muster-Board mit CR-2-Leitfrage „Warum ist Wren mit 16 hier?" (liest w1_fragment_-Flags, Fundament für Phase 10), eigene Notizen (persistiert über GameState.lexicon_notes im Save) - Battle-Brief- und Geschichts-Station zählen jetzt Fachwissen (knowledge_flag) wie die Rotunde - Journal-Szene und -Skript entfernt, player.tscn instanziert das Lexicon - Buchführung: Lexicon-Teil von CR 4 nach CHANGEREQUESTS_DONE Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
138 lines
4.3 KiB
Text
138 lines
4.3 KiB
Text
[gd_scene load_steps=5 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/ui/lexicon.gd" id="1_lexicon"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cover"]
|
|
content_margin_left = 14.0
|
|
content_margin_top = 14.0
|
|
content_margin_right = 14.0
|
|
content_margin_bottom = 14.0
|
|
bg_color = Color(0.28, 0.2, 0.14, 1)
|
|
corner_radius_top_left = 6
|
|
corner_radius_top_right = 6
|
|
corner_radius_bottom_right = 6
|
|
corner_radius_bottom_left = 6
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_page"]
|
|
content_margin_left = 10.0
|
|
content_margin_top = 10.0
|
|
content_margin_right = 10.0
|
|
content_margin_bottom = 10.0
|
|
bg_color = Color(0.87, 0.81, 0.66, 1)
|
|
corner_radius_top_left = 3
|
|
corner_radius_top_right = 3
|
|
corner_radius_bottom_right = 3
|
|
corner_radius_bottom_left = 3
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_notes"]
|
|
content_margin_left = 8.0
|
|
content_margin_top = 8.0
|
|
content_margin_right = 8.0
|
|
content_margin_bottom = 8.0
|
|
bg_color = Color(0.91, 0.86, 0.72, 1)
|
|
corner_radius_top_left = 3
|
|
corner_radius_top_right = 3
|
|
corner_radius_bottom_right = 3
|
|
corner_radius_bottom_left = 3
|
|
|
|
[node name="Lexicon" type="CanvasLayer"]
|
|
layer = 4
|
|
script = ExtResource("1_lexicon")
|
|
|
|
[node name="Root" type="Control" parent="."]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="Dim" type="ColorRect" parent="Root"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
color = Color(0, 0, 0, 0.4)
|
|
|
|
[node name="Book" type="PanelContainer" parent="Root"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -430.0
|
|
offset_top = -290.0
|
|
offset_right = 430.0
|
|
offset_bottom = 290.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_cover")
|
|
|
|
[node name="Margin" type="MarginContainer" parent="Root/Book"]
|
|
theme_override_constants/margin_left = 14
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 14
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="Content" type="VBoxContainer" parent="Root/Book/Margin"]
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="Header" type="HBoxContainer" parent="Root/Book/Margin/Content"]
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="TitleLabel" type="Label" parent="Root/Book/Margin/Content/Header"]
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.91, 0.86, 0.72, 1)
|
|
theme_override_font_sizes/font_size = 26
|
|
text = "Lexicon"
|
|
|
|
[node name="PageLabel" type="Label" parent="Root/Book/Margin/Content/Header"]
|
|
theme_override_colors/font_color = Color(0.72, 0.65, 0.52, 1)
|
|
theme_override_font_sizes/font_size = 15
|
|
text = "Seite 1 / 7"
|
|
vertical_alignment = 2
|
|
|
|
[node name="PageText" type="Label" parent="Root/Book/Margin/Content"]
|
|
size_flags_vertical = 3
|
|
theme_override_colors/font_color = Color(0.16, 0.12, 0.08, 1)
|
|
theme_override_font_sizes/font_size = 17
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_page")
|
|
text = ""
|
|
autowrap_mode = 3
|
|
|
|
[node name="NotesEdit" type="TextEdit" parent="Root/Book/Margin/Content"]
|
|
visible = false
|
|
size_flags_vertical = 3
|
|
theme_override_colors/font_color = Color(0.16, 0.12, 0.08, 1)
|
|
theme_override_colors/caret_color = Color(0.16, 0.12, 0.08, 1)
|
|
theme_override_font_sizes/font_size = 17
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_notes")
|
|
theme_override_styles/focus = SubResource("StyleBoxFlat_notes")
|
|
placeholder_text = "Eigene Notizen — Beobachtungen, Namen, Muster ..."
|
|
wrap_mode = 1
|
|
|
|
[node name="Footer" type="HBoxContainer" parent="Root/Book/Margin/Content"]
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="PrevButton" type="Button" parent="Root/Book/Margin/Content/Footer"]
|
|
custom_minimum_size = Vector2(140, 38)
|
|
focus_mode = 0
|
|
text = "◀ Zurück"
|
|
|
|
[node name="HintLabel" type="Label" parent="Root/Book/Margin/Content/Footer"]
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.72, 0.65, 0.52, 1)
|
|
theme_override_font_sizes/font_size = 14
|
|
text = "Blättern: ◀ ▶"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="NextButton" type="Button" parent="Root/Book/Margin/Content/Footer"]
|
|
custom_minimum_size = Vector2(140, 38)
|
|
focus_mode = 0
|
|
text = "Weiter ▶"
|
|
|
|
[node name="CloseButton" type="Button" parent="Root/Book/Margin/Content"]
|
|
custom_minimum_size = Vector2(0, 42)
|
|
text = "Zuklappen (J / Esc)"
|