[gd_scene load_steps=18 format=2]

[ext_resource path="res://modules/core_models/wall_xp.gltf" type="MeshDataResource" id=1]
[ext_resource path="res://modules/core_models/wall_xn.gltf" type="MeshDataResource" id=2]
[ext_resource path="res://modules/core_models/floor.gltf" type="MeshDataResource" id=3]
[ext_resource path="res://modules/core_models/wall_zn.gltf" type="MeshDataResource" id=4]
[ext_resource path="res://modules/core_models/wall_zp.gltf" type="MeshDataResource" id=5]
[ext_resource path="res://modules/planets/test_planet/voxel_library/textures/stone_dungeon_1_albedo.png" type="Texture" id=6]
[ext_resource path="res://modules/buildings/CryptEntranceDoor.tscn" type="PackedScene" id=7]

[sub_resource type="SpatialMaterial" id=7]
albedo_texture = ExtResource( 6 )

[sub_resource type="ArrayMesh" id=9]
surfaces/0 = {
"aabb": AABB( 1.49012e-07, 0, -4.37114e-08, 1.00001, 1.00001, 1.00874e-05 ),
"array_data": PoolByteArray( 254, 255, 127, 63, 0, 0, 128, 63, 46, 189, 59, 51, 0, 0, 129, 0, 130, 0, 0, 127, 0, 0, 0, 0, 254, 255, 127, 63, 0, 0, 0, 0, 46, 189, 59, 179, 0, 0, 129, 0, 129, 0, 0, 127, 0, 0, 0, 60, 0, 0, 32, 52, 0, 0, 0, 0, 46, 189, 59, 179, 0, 0, 129, 0, 130, 0, 0, 127, 0, 60, 0, 60, 0, 0, 32, 52, 0, 0, 128, 63, 46, 189, 59, 51, 0, 0, 129, 0, 129, 0, 0, 127, 0, 60, 0, 0 ),
"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ),
"blend_shape_data": [  ],
"format": 97559,
"index_count": 6,
"material": SubResource( 7 ),
"primitive": 4,
"skeleton_aabb": [  ],
"vertex_count": 4
}

[sub_resource type="SpatialMaterial" id=8]
albedo_texture = ExtResource( 6 )

[sub_resource type="ArrayMesh" id=10]
surfaces/0 = {
"aabb": AABB( 1.49012e-07, 0, 0, 1, 1.00001, 1e-05 ),
"array_data": PoolByteArray( 0, 0, 32, 52, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 127, 0, 130, 0, 0, 127, 0, 60, 0, 60, 0, 0, 32, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 0, 129, 0, 0, 127, 0, 60, 0, 0, 254, 255, 127, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 0, 130, 0, 0, 127, 0, 0, 0, 0, 254, 255, 127, 63, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 127, 0, 129, 0, 0, 127, 0, 0, 0, 60 ),
"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ),
"blend_shape_data": [  ],
"format": 97559,
"index_count": 6,
"material": SubResource( 8 ),
"primitive": 4,
"skeleton_aabb": [  ],
"vertex_count": 4
}

[sub_resource type="SpatialMaterial" id=1]
albedo_texture = ExtResource( 6 )

[sub_resource type="ArrayMesh" id=2]
surfaces/0 = {
"aabb": AABB( 1.19209e-07, 0, -1, 1.00001, 1e-05, 1.00001 ),
"array_data": PoolByteArray( 254, 255, 127, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 0, 0, 130, 0, 0, 127, 0, 0, 0, 0, 254, 255, 127, 63, 0, 0, 0, 0, 0, 0, 128, 191, 0, 127, 0, 0, 129, 0, 0, 127, 0, 0, 0, 60, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 128, 191, 0, 127, 0, 0, 130, 0, 0, 127, 0, 60, 0, 60, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 0, 0, 129, 0, 0, 127, 0, 60, 0, 0 ),
"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ),
"blend_shape_data": [  ],
"format": 97559,
"index_count": 6,
"material": SubResource( 1 ),
"primitive": 4,
"skeleton_aabb": [  ],
"vertex_count": 4
}

[sub_resource type="SpatialMaterial" id=4]
albedo_texture = ExtResource( 6 )

[sub_resource type="ArrayMesh" id=3]
surfaces/0 = {
"aabb": AABB( -5.96046e-08, 0, -1, 1.00894e-05, 1.00001, 1 ),
"array_data": PoolByteArray( 0, 0, 0, 51, 0, 0, 128, 63, 254, 255, 127, 191, 129, 0, 0, 0, 0, 0, 126, 127, 0, 0, 0, 0, 0, 0, 128, 179, 0, 0, 0, 0, 254, 255, 127, 191, 129, 0, 0, 0, 0, 0, 127, 127, 0, 0, 0, 60, 0, 0, 0, 179, 0, 0, 0, 0, 0, 0, 32, 180, 129, 0, 0, 0, 0, 0, 126, 127, 0, 60, 0, 60, 0, 0, 128, 51, 0, 0, 128, 63, 0, 0, 32, 180, 129, 0, 0, 0, 0, 0, 127, 127, 0, 60, 0, 0 ),
"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ),
"blend_shape_data": [  ],
"format": 97559,
"index_count": 6,
"material": SubResource( 4 ),
"primitive": 4,
"skeleton_aabb": [  ],
"vertex_count": 4
}

[sub_resource type="SpatialMaterial" id=6]
albedo_texture = ExtResource( 6 )

[sub_resource type="ArrayMesh" id=5]
surfaces/0 = {
"aabb": AABB( -1.19209e-07, 8.9407e-08, -1, 1.0149e-05, 1.00001, 1.00001 ),
"array_data": PoolByteArray( 0, 0, 0, 51, 254, 255, 127, 63, 0, 0, 32, 180, 127, 0, 0, 0, 0, 0, 129, 127, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 192, 51, 0, 0, 32, 180, 127, 0, 0, 0, 0, 0, 129, 127, 0, 0, 0, 60, 0, 0, 0, 179, 0, 0, 192, 51, 254, 255, 127, 191, 127, 0, 0, 0, 0, 0, 129, 127, 0, 60, 0, 60, 0, 0, 0, 180, 254, 255, 127, 63, 254, 255, 127, 191, 127, 0, 0, 0, 0, 0, 129, 127, 0, 60, 0, 0 ),
"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ),
"blend_shape_data": [  ],
"format": 97559,
"index_count": 6,
"material": SubResource( 6 ),
"primitive": 4,
"skeleton_aabb": [  ],
"vertex_count": 4
}

[node name="CryptEntrance" type="Spatial"]

[node name="WallZN" type="Spatial" parent="."]

[node name="WallZN" type="MeshDataInstance" parent="WallZN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3 )
mesh = SubResource( 9 )
material/0 = null
mesh_data = ExtResource( 4 )
texture = ExtResource( 6 )
material = SubResource( 7 )

[node name="WallZN2" type="MeshDataInstance" parent="WallZN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, -3 )
mesh = SubResource( 9 )
material/0 = null
mesh_data = ExtResource( 4 )
texture = ExtResource( 6 )
material = SubResource( 7 )

[node name="WallZN3" type="MeshDataInstance" parent="WallZN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -3 )
mesh = SubResource( 9 )
material/0 = null
mesh_data = ExtResource( 4 )
texture = ExtResource( 6 )
material = SubResource( 7 )

[node name="WallZN4" type="MeshDataInstance" parent="WallZN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, -3 )
mesh = SubResource( 9 )
material/0 = null
mesh_data = ExtResource( 4 )
texture = ExtResource( 6 )
material = SubResource( 7 )

[node name="WallZN5" type="MeshDataInstance" parent="WallZN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, -3 )
mesh = SubResource( 9 )
material/0 = null
mesh_data = ExtResource( 4 )
texture = ExtResource( 6 )
material = SubResource( 7 )

[node name="WallZN6" type="MeshDataInstance" parent="WallZN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -3 )
mesh = SubResource( 9 )
material/0 = null
mesh_data = ExtResource( 4 )
texture = ExtResource( 6 )
material = SubResource( 7 )

[node name="WallZP" type="Spatial" parent="."]

[node name="WallZP" type="MeshDataInstance" parent="WallZP"]
mesh = SubResource( 10 )
material/0 = null
mesh_data = ExtResource( 5 )
texture = ExtResource( 6 )
material = SubResource( 8 )

[node name="WallZP2" type="MeshDataInstance" parent="WallZP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0 )
mesh = SubResource( 10 )
material/0 = null
mesh_data = ExtResource( 5 )
texture = ExtResource( 6 )
material = SubResource( 8 )

[node name="WallZP3" type="MeshDataInstance" parent="WallZP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0 )
mesh = SubResource( 10 )
material/0 = null
mesh_data = ExtResource( 5 )
texture = ExtResource( 6 )
material = SubResource( 8 )

[node name="WallZP4" type="MeshDataInstance" parent="WallZP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, 0 )
mesh = SubResource( 10 )
material/0 = null
mesh_data = ExtResource( 5 )
texture = ExtResource( 6 )
material = SubResource( 8 )

[node name="WallZP5" type="MeshDataInstance" parent="WallZP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0 )
mesh = SubResource( 10 )
material/0 = null
mesh_data = ExtResource( 5 )
texture = ExtResource( 6 )
material = SubResource( 8 )

[node name="WallZP6" type="MeshDataInstance" parent="WallZP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
mesh = SubResource( 10 )
material/0 = null
mesh_data = ExtResource( 5 )
texture = ExtResource( 6 )
material = SubResource( 8 )

[node name="DungeonTeleporter" parent="." instance=ExtResource( 7 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2 )

[node name="Ceiling" type="Spatial" parent="."]

[node name="Floor" type="MeshDataInstance" parent="Ceiling"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )
mesh = SubResource( 2 )
material/0 = null
mesh_data = ExtResource( 3 )
texture = ExtResource( 6 )
material = SubResource( 1 )

[node name="Floor2" type="MeshDataInstance" parent="Ceiling"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, 0 )
mesh = SubResource( 2 )
material/0 = null
mesh_data = ExtResource( 3 )
texture = ExtResource( 6 )
material = SubResource( 1 )

[node name="Floor3" type="MeshDataInstance" parent="Ceiling"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, 0 )
mesh = SubResource( 2 )
material/0 = null
mesh_data = ExtResource( 3 )
texture = ExtResource( 6 )
material = SubResource( 1 )

[node name="Floor4" type="MeshDataInstance" parent="Ceiling"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, -1 )
mesh = SubResource( 2 )
material/0 = null
mesh_data = ExtResource( 3 )
texture = ExtResource( 6 )
material = SubResource( 1 )

[node name="Floor5" type="MeshDataInstance" parent="Ceiling"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, -1 )
mesh = SubResource( 2 )
material/0 = null
mesh_data = ExtResource( 3 )
texture = ExtResource( 6 )
material = SubResource( 1 )

[node name="Floor6" type="MeshDataInstance" parent="Ceiling"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -1 )
mesh = SubResource( 2 )
material/0 = null
mesh_data = ExtResource( 3 )
texture = ExtResource( 6 )
material = SubResource( 1 )

[node name="Floor7" type="MeshDataInstance" parent="Ceiling"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, -2 )
mesh = SubResource( 2 )
material/0 = null
mesh_data = ExtResource( 3 )
texture = ExtResource( 6 )
material = SubResource( 1 )

[node name="Floor8" type="MeshDataInstance" parent="Ceiling"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 2, -2 )
mesh = SubResource( 2 )
material/0 = null
mesh_data = ExtResource( 3 )
texture = ExtResource( 6 )
material = SubResource( 1 )

[node name="Floor9" type="MeshDataInstance" parent="Ceiling"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, -2 )
mesh = SubResource( 2 )
material/0 = null
mesh_data = ExtResource( 3 )
texture = ExtResource( 6 )
material = SubResource( 1 )

[node name="WallXN" type="Spatial" parent="."]

[node name="WallXN" type="MeshDataInstance" parent="WallXN"]
mesh = SubResource( 3 )
material/0 = null
mesh_data = ExtResource( 2 )
texture = ExtResource( 6 )
material = SubResource( 4 )

[node name="WallXN3" type="MeshDataInstance" parent="WallXN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2 )
mesh = SubResource( 3 )
material/0 = null
mesh_data = ExtResource( 2 )
texture = ExtResource( 6 )
material = SubResource( 4 )

[node name="WallXN4" type="MeshDataInstance" parent="WallXN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -2 )
mesh = SubResource( 3 )
material/0 = null
mesh_data = ExtResource( 2 )
texture = ExtResource( 6 )
material = SubResource( 4 )

[node name="WallXN5" type="MeshDataInstance" parent="WallXN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1 )
mesh = SubResource( 3 )
material/0 = null
mesh_data = ExtResource( 2 )
texture = ExtResource( 6 )
material = SubResource( 4 )

[node name="WallXN6" type="MeshDataInstance" parent="WallXN"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
mesh = SubResource( 3 )
material/0 = null
mesh_data = ExtResource( 2 )
texture = ExtResource( 6 )
material = SubResource( 4 )

[node name="WallXP" type="Spatial" parent="."]

[node name="WallXP" type="MeshDataInstance" parent="WallXP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0 )
mesh = SubResource( 5 )
material/0 = null
mesh_data = ExtResource( 1 )
texture = ExtResource( 6 )
material = SubResource( 6 )

[node name="WallXP2" type="MeshDataInstance" parent="WallXP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -1 )
mesh = SubResource( 5 )
material/0 = null
mesh_data = ExtResource( 1 )
texture = ExtResource( 6 )
material = SubResource( 6 )

[node name="WallXP3" type="MeshDataInstance" parent="WallXP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, -2 )
mesh = SubResource( 5 )
material/0 = null
mesh_data = ExtResource( 1 )
texture = ExtResource( 6 )
material = SubResource( 6 )

[node name="WallXP4" type="MeshDataInstance" parent="WallXP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, -2 )
mesh = SubResource( 5 )
material/0 = null
mesh_data = ExtResource( 1 )
texture = ExtResource( 6 )
material = SubResource( 6 )

[node name="WallXP5" type="MeshDataInstance" parent="WallXP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, -1 )
mesh = SubResource( 5 )
material/0 = null
mesh_data = ExtResource( 1 )
texture = ExtResource( 6 )
material = SubResource( 6 )

[node name="WallXP6" type="MeshDataInstance" parent="WallXP"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, 0 )
mesh = SubResource( 5 )
material/0 = null
mesh_data = ExtResource( 1 )
texture = ExtResource( 6 )
material = SubResource( 6 )
