60 lines
1.7 KiB
Text
60 lines
1.7 KiB
Text
[gd_scene load_steps=9 format=3]
|
|
|
|
[ext_resource type="Script" path="res://world/player_storage_interaction.gd" id="1_interaction"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="BoxMaterial"]
|
|
shading_mode = 0
|
|
albedo_color = Color(0.047, 0.22, 0.27, 1)
|
|
texture_filter = 0
|
|
|
|
[sub_resource type="StandardMaterial3D" id="LidMaterial"]
|
|
shading_mode = 0
|
|
albedo_color = Color(0.12, 0.52, 0.58, 1)
|
|
texture_filter = 0
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh"]
|
|
material = SubResource("BoxMaterial")
|
|
size = Vector3(1.5, 0.7, 0.9)
|
|
|
|
[sub_resource type="BoxMesh" id="LidMesh"]
|
|
material = SubResource("LidMaterial")
|
|
size = Vector3(1.62, 0.16, 1.02)
|
|
|
|
[sub_resource type="BoxShape3D" id="CollisionShape"]
|
|
size = Vector3(1.62, 0.86, 1.02)
|
|
|
|
[sub_resource type="SphereShape3D" id="InteractionShape"]
|
|
radius = 2.3
|
|
|
|
[node name="PlayerStorageBox" type="Node3D"]
|
|
|
|
[node name="Body" type="MeshInstance3D" parent="."]
|
|
position = Vector3(0, 0.35, 0)
|
|
mesh = SubResource("BoxMesh")
|
|
cast_shadow = 0
|
|
|
|
[node name="Lid" type="MeshInstance3D" parent="."]
|
|
position = Vector3(0, 0.76, 0)
|
|
mesh = SubResource("LidMesh")
|
|
cast_shadow = 0
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
|
collision_layer = 1
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
|
position = Vector3(0, 0.43, 0)
|
|
shape = SubResource("CollisionShape")
|
|
|
|
[node name="InteractionArea" type="Area3D" parent="."]
|
|
unique_name_in_owner = true
|
|
position = Vector3(0, 0.55, 0)
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
script = ExtResource("1_interaction")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractionArea"]
|
|
shape = SubResource("InteractionShape")
|
|
|
|
[node name="PromptAnchor" type="Marker3D" parent="."]
|
|
position = Vector3(0, 1.15, 0)
|