[gd_scene load_steps=6 format=3 uid="uid://d17c77pqsi8oy"]

[ext_resource type="Script" uid="uid://b8j7mw1xwisi" path="res://UI/EnemyCard/enemy_card_ui.gd" id="1_i1ei4"]
[ext_resource type="Texture2D" uid="uid://g00wwrlxxdc5" path="res://Assets/Textures/icon_eye_dog.png" id="2_3r04h"]
[ext_resource type="Texture2D" uid="uid://c7tnda7he8u5l" path="res://Assets/Textures/stars_legendary-Sheet.png" id="3_uu1bb"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uu1bb"]
bg_color = Color(0.691357, 0.691357, 0.691357, 1)
corner_radius_top_left = 15
corner_radius_top_right = 15
corner_radius_bottom_right = 15
corner_radius_bottom_left = 15
expand_margin_left = 5.0
expand_margin_top = 5.0
expand_margin_right = 5.0
expand_margin_bottom = 5.0

[sub_resource type="AtlasTexture" id="AtlasTexture_4b8gd"]
resource_local_to_scene = true
atlas = ExtResource("3_uu1bb")
region = Rect2(0, 0, 124, 23)

[node name="EnemyCardUI" type="Control" node_paths=PackedStringArray("enemy_name", "enemy_rarity", "enemy_tex", "enemy_count")]
layout_mode = 3
anchors_preset = 0
mouse_filter = 2
script = ExtResource("1_i1ei4")
enemy_name = NodePath("PanelContainer/HBoxContainer/EnemyName")
enemy_rarity = NodePath("PanelContainer/HBoxContainer/HBoxContainer/TextureRect")
enemy_tex = NodePath("PanelContainer/HBoxContainer/TextureRect")
enemy_count = NodePath("PanelContainer/HBoxContainer/HBoxContainer/Amount")

[node name="PanelContainer" type="PanelContainer" parent="."]
custom_minimum_size = Vector2(0, 300)
layout_mode = 0
offset_right = 241.0
offset_bottom = 138.0
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_uu1bb")

[node name="HBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
mouse_filter = 2

[node name="EnemyName" type="Label" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 0
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = "enemy name"
horizontal_alignment = 1
vertical_alignment = 1

[node name="TextureRect" type="TextureRect" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
mouse_filter = 2
texture = ExtResource("2_3r04h")
expand_mode = 1
stretch_mode = 5

[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/HBoxContainer"]
layout_mode = 2
size_flags_vertical = 8

[node name="Amount" type="Label" parent="PanelContainer/HBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = "15"
horizontal_alignment = 1
vertical_alignment = 1

[node name="TextureRect" type="TextureRect" parent="PanelContainer/HBoxContainer/HBoxContainer"]
layout_mode = 2
texture = SubResource("AtlasTexture_4b8gd")
stretch_mode = 5
