[gd_scene load_steps=8 format=3 uid="uid://ddpl8cbck7e6s"] [ext_resource type="Script" uid="uid://d0kgxh4ykuv23" path="res://scripts/CSharp/Common/NPC/TalkingCharacter.cs" id="1_xix7p"] [ext_resource type="PackedScene" uid="uid://cqc72e4hq6bcd" path="res://prefabs/interactions/interaction_area_2d.tscn" id="2_udjjv"] [ext_resource type="Texture2D" uid="uid://bgba1uv0muxat" path="res://art/characters/chugeist_tmp.png" id="3_42og6"] [ext_resource type="Script" uid="uid://d2486x6upmwqq" path="res://scripts/GdScript/dialogic_starter.gd" id="43_xooq4"] [ext_resource type="Script" path="res://scripts/GdScript/dialogic_toggle.gd" id="44_v6w16"] [sub_resource type="CircleShape2D" id="CircleShape2D_at1n1"] resource_local_to_scene = true radius = 345.552 [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_aqu1t"] radius = 84.0 height = 168.0 [node name="Chuga" type="Node2D"] editor_description = "This Scene seems a bit Chuga coated" z_index = 1 y_sort_enabled = true script = ExtResource("1_xix7p") [node name="InteractionArea" parent="." instance=ExtResource("2_udjjv")] position = Vector2(0, -450) scale = Vector2(2.805, 2.805) [node name="CollisionShape3D" parent="InteractionArea/Area2D" index="0"] position = Vector2(-4.99109, 63.4581) shape = SubResource("CircleShape2D_at1n1") [node name="Label" parent="InteractionArea" index="1"] z_index = 5 custom_minimum_size = Vector2(10, 10) offset_left = -131.194 offset_top = -157.219 offset_right = 115.806 offset_bottom = -54.2193 theme_override_font_sizes/font_size = 60 text = "[E] talk" [node name="TalkingControl" type="Node2D" parent="."] [node name="Visual" type="Sprite2D" parent="TalkingControl"] position = Vector2(-39, -770) scale = Vector2(1.81875, 1.81875) texture = ExtResource("3_42og6") [node name="Dialogic starter" type="Node2D" parent="."] script = ExtResource("43_xooq4") [node name="DialogicToggle" type="Node2D" parent="Dialogic starter"] script = ExtResource("44_v6w16") [node name="AnimatableBody2D" type="AnimatableBody2D" parent="."] position = Vector2(0, -172) [node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatableBody2D"] position = Vector2(0, 94) shape = SubResource("CapsuleShape2D_aqu1t") [connection signal="Talking" from="." to="Dialogic starter" method="open"] [connection signal="Interacted" from="InteractionArea" to="." method="ToggleTalking"] [connection signal="timelineEnded" from="Dialogic starter/DialogicToggle" to="." method="ToggleTalking"] [editable path="InteractionArea"]