[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="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 = 155.0 offset_top = -80.0 offset_right = 575.0 offset_bottom = 126.0 [node name="TestBuff" type="PanelContainer" parent="." unique_id=2112401476] offset_left = 155.0 offset_top = 157.0 offset_right = 263.0 offset_bottom = 197.0 script = ExtResource("4_l7gct") buff_data = ExtResource("5_s3a5k") [node name="HBoxContainer" type="HBoxContainer" parent="TestBuff" unique_id=1293262110] layout_mode = 2 [node name="Label" type="Label" parent="TestBuff/HBoxContainer" unique_id=1519392687] layout_mode = 2 text = "Label" [node name="Button" type="Button" parent="TestBuff/HBoxContainer" unique_id=1254643833] layout_mode = 2 text = "Button" [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"]