feat: add nearby villager field notes
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
[ext_resource type="PackedScene" path="res://player/PlayerVisual.tscn" id="14_player_visual"]
|
||||
[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"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_o5qli"]
|
||||
radius = 0.4
|
||||
@@ -23,11 +24,12 @@ height = 1.7
|
||||
|
||||
[node name="JajceWorld" parent="." unique_id=1023795383 instance=ExtResource("11_jajce")]
|
||||
|
||||
[node name="Player" type="CharacterBody3D" parent="." unique_id=2022843760 node_paths=PackedStringArray("camera_rig", "simulation_manager", "pantry_storage", "guard_site", "study_site")]
|
||||
[node name="Player" type="CharacterBody3D" parent="." unique_id=2022843760 node_paths=PackedStringArray("camera_rig", "simulation_manager", "world_view_manager", "pantry_storage", "guard_site", "study_site")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
|
||||
script = ExtResource("1_h2yge")
|
||||
camera_rig = NodePath("../CameraRig")
|
||||
simulation_manager = NodePath("../SimulationManager")
|
||||
world_view_manager = NodePath("../WorldViewManager")
|
||||
pantry_storage = NodePath("../JajceWorld/WorldObjects/StorageSites/VillagePantry")
|
||||
guard_site = NodePath("../JajceWorld/WorldObjects/ActivitySites/GuardPost")
|
||||
study_site = NodePath("../JajceWorld/WorldObjects/ActivitySites/StudyDesk")
|
||||
@@ -193,6 +195,101 @@ theme_override_font_sizes/font_size = 13
|
||||
text = "Context"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="VillagerInspectionLayer" type="CanvasLayer" parent="."]
|
||||
layer = 2
|
||||
|
||||
[node name="VillagerFieldNote" type="Control" parent="VillagerInspectionLayer" node_paths=PackedStringArray("player", "simulation_manager")]
|
||||
visible = false
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 34.0
|
||||
offset_top = -194.0
|
||||
offset_right = 430.0
|
||||
offset_bottom = -46.0
|
||||
grow_vertical = 0
|
||||
mouse_filter = 2
|
||||
script = ExtResource("17_villager_note")
|
||||
player = NodePath("../../Player")
|
||||
simulation_manager = NodePath("../../SimulationManager")
|
||||
|
||||
[node name="Accent" type="ColorRect" parent="VillagerInspectionLayer/VillagerFieldNote"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 9
|
||||
anchor_bottom = 1.0
|
||||
offset_right = 2.0
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.9, 0.63, 0.28, 0.92)
|
||||
|
||||
[node name="Copy" type="VBoxContainer" parent="VillagerInspectionLayer/VillagerFieldNote"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 14.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
theme_override_constants/separation = 1
|
||||
alignment = 1
|
||||
|
||||
[node name="Kicker" type="Label" parent="VillagerInspectionLayer/VillagerFieldNote/Copy"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.9, 0.63, 0.28, 1)
|
||||
theme_override_colors/font_outline_color = Color(0.07, 0.045, 0.025, 0.92)
|
||||
theme_override_constants/outline_size = 4
|
||||
theme_override_font_sizes/font_size = 10
|
||||
text = "NEARBY VILLAGER"
|
||||
|
||||
[node name="Name" type="Label" parent="VillagerInspectionLayer/VillagerFieldNote/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 = 24
|
||||
text = "Villager"
|
||||
|
||||
[node name="Activity" type="Label" parent="VillagerInspectionLayer/VillagerFieldNote/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 = 5
|
||||
theme_override_font_sizes/font_size = 15
|
||||
text = "Current activity"
|
||||
|
||||
[node name="Target" type="Label" parent="VillagerInspectionLayer/VillagerFieldNote/Copy"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.82, 0.75, 0.63, 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 = "Target · None recorded"
|
||||
|
||||
[node name="Carrying" type="Label" parent="VillagerInspectionLayer/VillagerFieldNote/Copy"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.82, 0.75, 0.63, 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 = "Carrying · nothing"
|
||||
|
||||
[node name="Reason" type="Label" parent="VillagerInspectionLayer/VillagerFieldNote/Copy"]
|
||||
custom_minimum_size = Vector2(380, 0)
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.88, 0.78, 0.6, 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 = "Why · Awaiting the next decision"
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="VillageWhisperLayer" type="CanvasLayer" parent="."]
|
||||
layer = 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user