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

[ext_resource type="Script" path="res://scenes/entities/village/village.gd" id="1"]

[sub_resource type="BoxShape3D" id="BoxShape_1"]
size = Vector3(6, 4, 6)

[sub_resource type="BoxMesh" id="BoxMesh_1"]
size = Vector3(6, 4, 6)

[sub_resource type="StandardMaterial3D" id="VillageMat"]
albedo_color = Color(0.55, 0.4, 0.25, 1)

[sub_resource type="QuadMesh" id="QuadMesh_HB"]
size = Vector2(1.0, 0.25)

[sub_resource type="StandardMaterial3D" id="HBMat"]
shading_mode = 0
no_depth_test = true
albedo_color = Color(0.4, 0.85, 0.4, 1)

[node name="Village" type="StaticBody3D"]
collision_layer = 1
collision_mask = 0
script = ExtResource("1")

[node name="Collision" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
shape = SubResource("BoxShape_1")

[node name="Mesh" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
mesh = SubResource("BoxMesh_1")
material_override = SubResource("VillageMat")

[node name="Label" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.5, 0)
billboard = 1
text = "Village"
font_size = 28
outline_size = 4

[node name="Healthbar" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.0, 0)
mesh = SubResource("QuadMesh_HB")
material_override = SubResource("HBMat")
gi_mode = 0
