feat: surface player standing and quest journal in the village HUD
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
[ext_resource type="Script" uid="uid://dwwxux24jc6yq" path="res://world/ui/village_whisper_hud.gd" id="15_whisper"]
|
||||
[ext_resource type="Script" path="res://world/ui/player_interaction_hud.gd" id="16_interaction"]
|
||||
[ext_resource type="Script" path="res://world/ui/villager_field_note_hud.gd" id="17_villager_note"]
|
||||
[ext_resource type="Script" path="res://world/ui/quest_journal_hud.gd" id="18_quest_journal"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_o5qli"]
|
||||
radius = 0.4
|
||||
@@ -390,6 +391,86 @@ text = "The pantry is empty."
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="QuestJournalLayer" type="CanvasLayer" parent="."]
|
||||
layer = 4
|
||||
|
||||
[node name="QuestJournal" type="Control" parent="QuestJournalLayer" node_paths=PackedStringArray("simulation_manager")]
|
||||
visible = false
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -360.0
|
||||
offset_top = -150.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = -20.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
mouse_filter = 2
|
||||
script = ExtResource("18_quest_journal")
|
||||
simulation_manager = NodePath("../../SimulationManager")
|
||||
|
||||
[node name="Accent" type="ColorRect" parent="QuestJournalLayer/QuestJournal"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 9
|
||||
anchor_bottom = 1.0
|
||||
offset_right = 2.0
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.55, 0.42, 0.2, 0.9)
|
||||
|
||||
[node name="Copy" type="VBoxContainer" parent="QuestJournalLayer/QuestJournal"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 12.0
|
||||
offset_top = 8.0
|
||||
mouse_filter = 2
|
||||
theme_override_constants/separation = 2
|
||||
alignment = 2
|
||||
|
||||
[node name="Standing" type="Label" parent="QuestJournalLayer/QuestJournal/Copy"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.98, 0.92, 0.79, 1)
|
||||
theme_override_colors/font_outline_color = Color(0.07, 0.045, 0.025, 0.94)
|
||||
theme_override_constants/outline_size = 6
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "Standing · Stranger · 0/100"
|
||||
|
||||
[node name="QuestKicker" type="Label" parent="QuestJournalLayer/QuestJournal/Copy"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.93, 0.7, 0.36, 1)
|
||||
theme_override_colors/font_outline_color = Color(0.07, 0.045, 0.025, 0.9)
|
||||
theme_override_constants/outline_size = 5
|
||||
theme_override_font_sizes/font_size = 11
|
||||
text = "ACTIVE QUEST"
|
||||
|
||||
[node name="Quest" type="Label" parent="QuestJournalLayer/QuestJournal/Copy"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.9, 0.84, 0.7, 1)
|
||||
theme_override_colors/font_outline_color = Color(0.07, 0.045, 0.025, 0.9)
|
||||
theme_override_constants/outline_size = 4
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "Amina · bring 1 food to the village pantry"
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="Thanks" type="Label" parent="QuestJournalLayer/QuestJournal/Copy"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.95, 0.76, 0.42, 1)
|
||||
theme_override_colors/font_outline_color = Color(0.07, 0.045, 0.025, 0.94)
|
||||
theme_override_constants/outline_size = 5
|
||||
theme_override_font_sizes/font_size = 13
|
||||
text = "Gratitude"
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="DemoController" type="Node" parent="." unique_id=644713371 node_paths=PackedStringArray("ui", "active_npcs_parent", "simulation_manager", "world_view_manager", "camera_rig", "player", "pantry_storage", "crisis_caption")]
|
||||
script = ExtResource("13_demo")
|
||||
ui = NodePath("../UI")
|
||||
|
||||
Reference in New Issue
Block a user