[gd_scene load_steps=9 format=3]

[ext_resource type="Script" path="res://src/Buildings/Building.cs" id="1_building"]
[ext_resource type="Script" path="res://src/Buildings/BuildingData.cs" id="2_data"]

[sub_resource type="Resource" id="BuildingData_cottage"]
resource_local_to_scene = true
script = ExtResource("2_data")
BuildingName = "Highland Cottage"
Material = 0
Foundation = 0
Volume = 120.0
MaxLoad = 420000.0
DecayRate = 0.001

[sub_resource type="BoxShape3D" id="BoxShape_cottage"]
size = Vector3(4, 3.6, 4)

[sub_resource type="StandardMaterial3D" id="Material_stone"]
albedo_color = Color(0.48, 0.49, 0.5, 1)
roughness = 1.0

[sub_resource type="BoxMesh" id="BoxMesh_walls"]
material = SubResource("Material_stone")
size = Vector3(4, 3.6, 4)

[sub_resource type="StandardMaterial3D" id="Material_slate"]
albedo_color = Color(0.19, 0.25, 0.31, 1)
roughness = 1.0

[sub_resource type="CylinderMesh" id="CylinderMesh_roof"]
material = SubResource("Material_slate")
top_radius = 0.0
bottom_radius = 3.15
height = 1.8
radial_segments = 4
rings = 1

[sub_resource type="BoxMesh" id="BoxMesh_chimney"]
material = SubResource("Material_stone")
size = Vector3(0.65, 1.8, 0.65)

[node name="Building" type="StaticBody3D"]
script = ExtResource("1_building")
Data = SubResource("BuildingData_cottage")
collision_layer = 1
collision_mask = 34

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
position = Vector3(0, 1.8, 0)
shape = SubResource("BoxShape_cottage")

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
position = Vector3(0, 1.8, 0)
mesh = SubResource("BoxMesh_walls")

[node name="Roof" type="MeshInstance3D" parent="."]
position = Vector3(0, 4.25, 0)
rotation = Vector3(0, 0.785398, 0)
scale = Vector3(1, 1, 0.82)
mesh = SubResource("CylinderMesh_roof")

[node name="Chimney" type="MeshInstance3D" parent="."]
position = Vector3(1.15, 4.9, 0.7)
mesh = SubResource("BoxMesh_chimney")
