[gd_scene load_steps=9 format=3 uid="uid://diqn7e5hqpbsk"]

[ext_resource type="Script" uid="uid://b5jrj8u7cx8id" path="res://Scripts/Parts/TilePropertyValue.gd" id="1_gida3"]
[ext_resource type="Texture2D" uid="uid://bnv2ocqgws3p7" path="res://Assets/Sprites/UI/Panel.png" id="2_6srr6"]
[ext_resource type="Texture2D" uid="uid://7qtdxl2cjxeh" path="res://Assets/Sprites/UI/Checkbox.png" id="3_qo1tt"]

[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_n7jgg"]

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_0slfq"]
texture = ExtResource("2_6srr6")
texture_margin_left = 2.0
texture_margin_top = 2.0
texture_margin_right = 2.0
texture_margin_bottom = 2.0

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_n7jgg"]

[sub_resource type="AtlasTexture" id="AtlasTexture_gida3"]
atlas = ExtResource("3_qo1tt")
region = Rect2(16, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_6srr6"]
atlas = ExtResource("3_qo1tt")
region = Rect2(0, 0, 16, 16)

[node name="TilePropertyBOOL" type="HBoxContainer"]
script = ExtResource("1_gida3")

[node name="Label" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "PROPERTY_NAME:"
uppercase = true

[node name="CheckBox" type="CheckBox" parent="."]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
theme_override_icons/icon = SubResource("CompressedTexture2D_n7jgg")
theme_override_styles/normal = SubResource("StyleBoxTexture_0slfq")
theme_override_styles/pressed = SubResource("StyleBoxTexture_0slfq")
theme_override_styles/hover = SubResource("StyleBoxTexture_0slfq")
theme_override_styles/hover_pressed = SubResource("StyleBoxTexture_0slfq")
theme_override_styles/disabled = SubResource("StyleBoxTexture_0slfq")
theme_override_styles/focus = SubResource("StyleBoxEmpty_n7jgg")
theme_override_icons/checked = SubResource("AtlasTexture_gida3")
theme_override_icons/unchecked = SubResource("AtlasTexture_6srr6")
theme_override_icons/radio_checked = SubResource("CompressedTexture2D_n7jgg")
theme_override_icons/radio_unchecked = SubResource("CompressedTexture2D_n7jgg")
theme_override_icons/checked_disabled = SubResource("CompressedTexture2D_n7jgg")
theme_override_icons/unchecked_disabled = SubResource("CompressedTexture2D_n7jgg")
theme_override_icons/radio_checked_disabled = SubResource("CompressedTexture2D_n7jgg")
theme_override_icons/radio_unchecked_disabled = SubResource("CompressedTexture2D_n7jgg")

[connection signal="start_value_changed" from="." to="CheckBox" method="set_pressed_no_signal"]
[connection signal="toggled" from="CheckBox" to="." method="set_value"]
