32 lines
879 B
Plaintext
32 lines
879 B
Plaintext
[gd_scene load_steps=5 format=3]
|
|
|
|
[ext_resource type="Script" path="res://level/scripts/health_orb.gd" id="1_orb"]
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_orb"]
|
|
radius = 0.35
|
|
height = 0.7
|
|
|
|
[sub_resource type="StandardMaterial3D" id="Mat_orb"]
|
|
albedo_color = Color(0.2, 1, 0.35, 1)
|
|
emission_enabled = true
|
|
emission = Color(0.2, 1, 0.35, 1)
|
|
emission_energy_multiplier = 2.0
|
|
|
|
[sub_resource type="SphereShape3D" id="Shape_orb"]
|
|
radius = 0.8
|
|
|
|
[node name="HealthOrb" type="Area3D"]
|
|
script = ExtResource("1_orb")
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("SphereMesh_orb")
|
|
surface_material_override/0 = SubResource("Mat_orb")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("Shape_orb")
|
|
|
|
[node name="Glow" type="OmniLight3D" parent="."]
|
|
light_color = Color(0.4, 1, 0.5, 1)
|
|
light_energy = 1.5
|
|
omni_range = 3.0
|