Files
gamedev-the-steward/world/storage/StorageNode.tscn
T

53 lines
1.7 KiB
Plaintext

[gd_scene load_steps=7 format=3]
[ext_resource type="Script" path="res://world/storage/StorageNode.gd" id="1_storage"]
[sub_resource type="StandardMaterial3D" id="Material_crate"]
albedo_color = Color(0.5, 0.32, 0.2, 1)
roughness = 0.85
[sub_resource type="StandardMaterial3D" id="Material_cloth"]
albedo_color = Color(0.72, 0.56, 0.34, 1)
roughness = 0.9
[sub_resource type="BoxMesh" id="Mesh_crate"]
material = SubResource("Material_crate")
size = Vector3(1.6, 1.1, 1.6)
[sub_resource type="BoxMesh" id="Mesh_lid"]
material = SubResource("Material_cloth")
size = Vector3(1.75, 0.12, 1.75)
[sub_resource type="BoxMesh" id="Mesh_sack"]
material = SubResource("Material_cloth")
size = Vector3(0.45, 0.65, 0.45)
[node name="StorageNode" type="Node3D"]
script = ExtResource("1_storage")
[node name="Visual" type="Node3D" parent="."]
[node name="Crate" type="MeshInstance3D" parent="Visual"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, 0)
mesh = SubResource("Mesh_crate")
[node name="LidCloth" type="MeshInstance3D" parent="Visual"]
transform = Transform3D(1, 0, 0, 0, 0.7, 0.7173561, 0, -0.7173561, 0.7, 0, 1.15, -0.06)
mesh = SubResource("Mesh_lid")
[node name="FoodSack" type="MeshInstance3D" parent="Visual"]
transform = Transform3D(0.85, 0, 0, 0, 1, 0, 0, 0, 0.85, 0.8, 0.325, 0.55)
mesh = SubResource("Mesh_sack")
[node name="InteractionPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.0)
[node name="DebugLabel" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.1, 0)
billboard = 1
no_depth_test = true
font_size = 20
outline_modulate = Color(0, 0, 0, 1)
outline_size = 4
text = "Storage"