[gd_scene format=3 uid="uid://cl05bdri38mxf"] [ext_resource type="Script" uid="uid://cjc0l13b07802" path="res://docs/gyms/tiny_sword/buildings/castle/castle.gd" id="1_cjtps"] [ext_resource type="Texture2D" uid="uid://cry4arn00kgrt" path="res://docs/gyms/tiny_sword/buildings/castle/Castle.png" id="1_tgvch"] [ext_resource type="PackedScene" uid="uid://dlidx2x0otpjg" path="res://core/prestige/prestige_panel.tscn" id="3_l7gct"] [ext_resource type="Script" uid="uid://cpfmctd4xsfho" path="res://docs/gyms/tiny_sword/buildings/castle/test_buff.gd" id="4_l7gct"] [ext_resource type="PackedScene" uid="uid://dudfvxilbydas" path="res://core/goals/current_goal_panel.tscn" id="4_r36om"] [ext_resource type="Resource" uid="uid://bjc6qmvr7pe12" path="res://docs/gyms/tiny_sword/buffs/spawn_worker_buff.tres" id="5_s3a5k"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_tgvch"] size = Vector2(312, 198) [node name="Castle" type="Node2D" unique_id=1966557957] script = ExtResource("1_cjtps") [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1365573096] texture = ExtResource("1_tgvch") [node name="Area2D" type="Area2D" parent="." unique_id=66203052] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1342657556] position = Vector2(1, 22) shape = SubResource("RectangleShape2D_tgvch") [node name="PrestigePanel" parent="." unique_id=245519778 instance=ExtResource("3_l7gct")] offset_left = 161.0 offset_top = -232.0 offset_right = 581.0 offset_bottom = -3.0 [node name="PanelContainer" type="PanelContainer" parent="." unique_id=549346899] offset_left = 160.0 offset_top = 5.0 offset_right = 575.0 offset_bottom = 201.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="MarginContainer" type="MarginContainer" parent="PanelContainer" unique_id=321038386] layout_mode = 2 theme_override_constants/margin_left = 20 theme_override_constants/margin_top = 20 theme_override_constants/margin_right = 20 theme_override_constants/margin_bottom = 20 [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer" unique_id=450633732] layout_mode = 2 size_flags_vertical = 0 theme_override_constants/separation = 4 alignment = 1 [node name="TestBuff" type="PanelContainer" parent="PanelContainer/MarginContainer/VBoxContainer" unique_id=1906280979] layout_mode = 2 script = ExtResource("4_l7gct") buff_data = ExtResource("5_s3a5k") [node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/TestBuff" unique_id=1293262110] layout_mode = 2 [node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/TestBuff/HBoxContainer" unique_id=1519392687] layout_mode = 2 text = "Label" [node name="Button" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer/TestBuff/HBoxContainer" unique_id=1254643833] layout_mode = 2 text = "Button" [node name="CurrentGoalPanel" parent="PanelContainer/MarginContainer/VBoxContainer" unique_id=1627561697 instance=ExtResource("4_r36om")] layout_mode = 2 [connection signal="mouse_entered" from="Area2D" to="." method="_on_area_2d_mouse_entered"] [connection signal="mouse_exited" from="Area2D" to="." method="_on_area_2d_mouse_exited"]