[gd_scene load_steps=10 format=4 uid="uid://c8pkhw0b47xdd"]

[ext_resource type="Texture2D" uid="uid://dg4odum5vfc2r" path="res://assets/props/cupboard/cupboard_C.png" id="1_00yk4"]
[ext_resource type="Texture2D" uid="uid://dkx0128lukxme" path="res://assets/props/cupboard/cupboard_M.png" id="2_w0nd8"]
[ext_resource type="Texture2D" uid="uid://c0qid1gqplbly" path="res://assets/props/cupboard/cupboard_N.png" id="3_ssqwt"]
[ext_resource type="Texture2D" uid="uid://cdmgbmje8ub3y" path="res://assets/props/cupboard/cupboard_R.png" id="4_q3cl1"]
[ext_resource type="PackedScene" uid="uid://c2omlx4ptrc01" path="res://src/world/gunk_body/gunk_body.tscn" id="5_q3cl1"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wyuua"]
albedo_texture = ExtResource("1_00yk4")
metallic = 1.0
metallic_texture = ExtResource("2_w0nd8")
roughness_texture = ExtResource("4_q3cl1")
normal_enabled = true
normal_texture = ExtResource("3_ssqwt")
texture_filter = 2

[sub_resource type="ArrayMesh" id="ArrayMesh_rgfsf"]
_surfaces = [{
"aabb": AABB(-0.5, -0.5, -2, 1, 1, 4),
"format": 34896613377,
"index_count": 84,
"index_data": PackedByteArray("AAABAAIAAgADAAAAAAADAAQAAgAFAAMAAgABAAUAAwAGAAQAAwAFAAYABAAHAAAAAAAHAAEABAAGAAcAAQAIAAUABQAJAAYACAAJAAUABgAKAAcACQAKAAYABwALAAEACwAIAAEACgALAAcACQAIAAwACwAKAA0ACgAJAA4ADgAJAAwADQAKAA4ADAAIAA8ACAALAA8ADAAPAA4ADwALAA0ADgAPAA0A"),
"name": "Material",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 16,
"vertex_data": PackedByteArray("AAD/////AAAAAAAA//8AAAAA//8AAAAA/////wAAAAD///////8AAAAAAAAAAAAA//8AAAAAAAD//wAA//8AAMwMAAAzAwAAMvMAADMDAAAy8wAAy/wAAMwMAADL/AAAMvPMDDMDAADMDMwMy/wAADLzzAzL/AAAzAzMDDMDAAA=")
}]
blend_shape_mode = 0

[sub_resource type="ArrayMesh" id="ArrayMesh_8b8wy"]
_surfaces = [{
"aabb": AABB(-0.5, -0.5, -2, 1, 1, 4),
"attribute_data": PackedByteArray("/6//0/+D/9P/r/8r/4P/K/8rAAD/VwAA/yv/K/9X/yv/K/8r/1f/K/8r/9P/V//T/yv/0/9X/9P/K////1f///9Z/9H/Wf8t/1v/z/9b/y8AAP8r/yv/KwAA/9P/K//T/4H/0f+B/y3/g//T/4P/K/9X/9P/Wf8t/1n/0f9X/yv/W/8v/3//L/9b/8//f//P/4H/Lf+B/9H/f/8v/3//z/+B/9H/Wf/R/3//z/9b/8//Wf8t/4H/Lf9b/y//f/8v"),
"format": 34896613399,
"index_count": 84,
"index_data": PackedByteArray("AAABAAIAAgABAAMABAAFAAYABgAFAAcACAAJAAoACgAJAAsADAANAA4ADgANAA8AEAARABIAEgARABMAFAAVABYAFgAVABcAGAAZABoAGgAZABsAHAAYABoAGQAdABsAHgAYABwAGwAdAB8AHQAeAB8AHwAeABwAIAAhACIAIgAhACMAJAAlACYAJgAlACcAKAApACoAKgApACsALAAtAC4ALgAtAC8A"),
"material": SubResource("StandardMaterial3D_wyuua"),
"name": "Material",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 48,
"vertex_data": PackedByteArray("AAD/////VNUAAAAA//9U1QAA//8AAFTVAAAAAAAAVNUAAP//AAD//wAAAAAAAP///////wAA/////wAAAAD///////8AAFTV//8AAAAAVNX///////9U1f//AAD//1TV/////////7///wAA////vwAA//////+/AAAAAP///78y8wAAy/xaxjLzAAAzAxfpMvPMDMv8esYy88wMMwNR6QAA//8AAP+//////wAA/78AAP//////v/////////+/zAwAAMv8S//MDAAAMwNR/wAAAAD//1H/AAAAAAAAT////wAA//9P/zLzAAAzA0v/MvMAAMv8Uf///wAAAABR/zLzzAwzA///zAzMDDMD//8y88wMy/z//8wMzAzL/P//zAwAADMD+ujMDAAAy/xLxswMzAwzA8DozAzMDMv8K8bMDAAAy/z//zLzAADL/P//zAzMDMv8//8y88wMy/z//zLzAAAzA///zAwAADMD//8y88wMMwP//8wMzAwzA///VNVU1VTVVNVU1VTVVNVU1f8//7//P/+//z//v/8//7+qqlRVqqpUVaqqVFWqqlRV/3//f/9//3//f/9//3//fxq7ceJ/6T/LdrtD4rXpJMv///9/////f////3////9/nD84/0B/X0CfPz//Pn9gQD5/YECcPzj/QH9fQJ8/P///f/8//3//P/9//z//f/8/sbRkaXWd7DqWtC5pR52POv9/////f////3////9/////f/9//3//f/9//3//f/9/")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_rgfsf")

[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_tv0mb"]
data = PackedVector3Array(-0.5, 0.5, 2, -0.5, -0.5, 2, -0.5, 0.5, -2, -0.5, 0.5, -2, -0.5, -0.5, 2, -0.5, -0.5, -2, -0.5, 0.5, -2, -0.5, -0.5, -2, 0.5, 0.5, -2, 0.5, 0.5, -2, -0.5, -0.5, -2, 0.5, -0.5, -2, 0.5, 0.5, -2, 0.5, -0.5, -2, 0.5, 0.5, 2, 0.5, 0.5, 2, 0.5, -0.5, -2, 0.5, -0.5, 2, 0.5, 0.5, 2, 0.5, -0.5, 2, -0.5, 0.5, 2, -0.5, 0.5, 2, 0.5, -0.5, 2, -0.5, -0.5, 2, 0.45, -0.5, 1.95, 0.45, -0.5, -1.95, 0.45, -0.45, 1.95, 0.45, -0.45, 1.95, 0.45, -0.5, -1.95, 0.45, -0.45, -1.95, -0.5, 0.5, -2, 0.5, 0.5, -2, -0.5, 0.5, 2, -0.5, 0.5, 2, 0.5, 0.5, -2, 0.5, 0.5, 2, -0.45, -0.5, 1.95, -0.45, -0.5, -1.95, -0.5, -0.5, 2, -0.5, -0.5, 2, -0.45, -0.5, -1.95, -0.5, -0.5, -2, 0.5, -0.5, 2, -0.45, -0.5, 1.95, -0.5, -0.5, 2, -0.45, -0.5, -1.95, 0.45, -0.5, -1.95, -0.5, -0.5, -2, 0.45, -0.5, 1.95, -0.45, -0.5, 1.95, 0.5, -0.5, 2, -0.5, -0.5, -2, 0.45, -0.5, -1.95, 0.5, -0.5, -2, 0.45, -0.5, -1.95, 0.45, -0.5, 1.95, 0.5, -0.5, -2, 0.5, -0.5, -2, 0.45, -0.5, 1.95, 0.5, -0.5, 2, 0.45, -0.45, -1.95, -0.45, -0.45, -1.95, 0.45, -0.45, 1.95, 0.45, -0.45, 1.95, -0.45, -0.45, -1.95, -0.45, -0.45, 1.95, -0.45, -0.5, -1.95, -0.45, -0.5, 1.95, -0.45, -0.45, -1.95, -0.45, -0.45, -1.95, -0.45, -0.5, 1.95, -0.45, -0.45, 1.95, -0.45, -0.5, 1.95, 0.45, -0.5, 1.95, -0.45, -0.45, 1.95, -0.45, -0.45, 1.95, 0.45, -0.5, 1.95, 0.45, -0.45, 1.95, 0.45, -0.5, -1.95, -0.45, -0.5, -1.95, 0.45, -0.45, -1.95, 0.45, -0.45, -1.95, -0.45, -0.5, -1.95, -0.45, -0.45, -1.95)

[node name="Cupboard" type="MeshInstance3D"]
mesh = SubResource("ArrayMesh_8b8wy")

[node name="GunkBody" parent="." groups=["MetalMaterial"] instance=ExtResource("5_q3cl1")]

[node name="CollisionShape3D" type="CollisionShape3D" parent="GunkBody"]
shape = SubResource("ConcavePolygonShape3D_tv0mb")
