[gd_scene load_steps=7 format=3 uid="uid://b0gate0001"]

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

[sub_resource type="BoxShape3D" id="BoxShape3D_1"]
size = Vector3(2, 3, 2)

[sub_resource type="BoxMesh" id="BoxMesh_1"]
size = Vector3(2, 3, 2)

[sub_resource type="StandardMaterial3D" id="GateMat"]
albedo_color = Color(0.4, 0.4, 0.55, 1)
emission_enabled = true
emission = Color(0.2, 0.2, 0.4, 1)
emission_energy_multiplier = 0.4

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

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

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

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

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

[node name="NameLabel" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.0, 0)
billboard = 1
text = "Gate"
font_size = 22
outline_size = 3

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

[node name="SpawnPoint" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 3)
