-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmall_health.tscn
43 lines (32 loc) · 1.59 KB
/
small_health.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[gd_scene load_steps=9 format=3 uid="uid://cd4bjhn0qultm"]
[ext_resource type="Script" path="res://scripts/item_scene.gd" id="1_jo3r7"]
[ext_resource type="Texture2D" uid="uid://bsqvkhuv8hles" path="res://sprites/health-small.png" id="1_voja6"]
[ext_resource type="Resource" uid="uid://cjwgb5btsa36p" path="res://resources/inventory/items/health_small.tres" id="2_d40li"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_e08u6"]
albedo_texture = ExtResource("1_voja6")
uv1_offset = Vector3(0, -0.25, 0)
texture_filter = 0
texture_repeat = false
[sub_resource type="BoxMesh" id="BoxMesh_t61s0"]
material = SubResource("StandardMaterial3D_e08u6")
size = Vector3(1, 0.5, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5mm0i"]
shading_mode = 0
[sub_resource type="BoxMesh" id="BoxMesh_cqxan"]
material = SubResource("StandardMaterial3D_5mm0i")
flip_faces = true
size = Vector3(1, 0.5, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_wrww5"]
size = Vector3(1, 0.5, 1)
[node name="SmallHealth" type="Area3D"]
script = ExtResource("1_jo3r7")
item = ExtResource("2_d40li")
[node name="Mesh" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_t61s0")
[node name="MeshOutline" type="MeshInstance3D" parent="."]
transform = Transform3D(1.04, 0, 0, 0, 1.04, 0, 0, 0, 1.04, 0, 0, 0)
mesh = SubResource("BoxMesh_cqxan")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_wrww5")
[connection signal="area_entered" from="." to="." method="_area_entered_area"]
[connection signal="area_exited" from="." to="." method="_area_exited_area"]