REM/scenes/props/workbench.tscn
2026-03-26 20:37:29 -06:00

107 lines
4.6 KiB
Plaintext

[gd_scene format=3 uid="uid://cet8swps817sk"]
[ext_resource type="Script" uid="uid://t0xhxvyoert4" path="res://scripts/workbench.gd" id="1_ycbor"]
[ext_resource type="Texture2D" uid="uid://df826g11mrjod" path="res://assets/textures/wood/Wood013_1K-PNG/Wood013_1K-PNG_Color.png" id="2_d3wgm"]
[ext_resource type="Texture2D" uid="uid://cydetx4hbmcti" path="res://assets/textures/wood/Wood013_1K-PNG/Wood013_1K-PNG_NormalGL.png" id="3_pn057"]
[ext_resource type="Texture2D" uid="uid://bwk3t7yqsxj2d" path="res://assets/textures/wood/Wood013_1K-PNG/Wood013_1K-PNG_Roughness.png" id="4_nm58r"]
[ext_resource type="Script" uid="uid://l0koncj131rq" path="res://scripts/item_stand_1.gd" id="5_pn057"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_odejd"]
albedo_texture = ExtResource("2_d3wgm")
roughness_texture = ExtResource("4_nm58r")
normal_enabled = true
normal_texture = ExtResource("3_pn057")
uv1_triplanar = true
uv1_world_triplanar = true
texture_filter = 0
[sub_resource type="BoxMesh" id="BoxMesh_7jd0r"]
material = SubResource("StandardMaterial3D_odejd")
size = Vector3(3, 0.2, 1.5)
[sub_resource type="BoxMesh" id="BoxMesh_ycbor"]
material = SubResource("StandardMaterial3D_odejd")
size = Vector3(0.2, 1, 0.2)
[sub_resource type="BoxShape3D" id="BoxShape3D_i0vrc"]
size = Vector3(3, 1.23975, 1.5)
[sub_resource type="BoxMesh" id="BoxMesh_d3wgm"]
material = SubResource("StandardMaterial3D_odejd")
size = Vector3(0.75, 0.2, 0.75)
[sub_resource type="BoxShape3D" id="BoxShape3D_pn057"]
size = Vector3(0.75, 1, 0.75)
[node name="Workbench" type="StaticBody3D" unique_id=1694309928 groups=["interactable"]]
collision_layer = 3
script = ExtResource("1_ycbor")
[node name="BenchTop" type="MeshInstance3D" parent="." unique_id=1648736723]
mesh = SubResource("BoxMesh_7jd0r")
[node name="BenchLeg" type="MeshInstance3D" parent="BenchTop" unique_id=315668501]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.39987, -0.6, 0.65004)
mesh = SubResource("BoxMesh_ycbor")
[node name="BenchLeg2" type="MeshInstance3D" parent="BenchTop" unique_id=567848772]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.4, -0.6, 0.65)
mesh = SubResource("BoxMesh_ycbor")
[node name="BenchLeg3" type="MeshInstance3D" parent="BenchTop" unique_id=1692560002]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.39987, -0.6, -0.65)
mesh = SubResource("BoxMesh_ycbor")
[node name="BenchLeg4" type="MeshInstance3D" parent="BenchTop" unique_id=16698189]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.4, -0.6, -0.65)
mesh = SubResource("BoxMesh_ycbor")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=786867462]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.480483, 0)
shape = SubResource("BoxShape3D_i0vrc")
[node name="InteractLabel" type="Label3D" parent="." unique_id=2112448531]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.375652, 0)
text = "[E] Craft"
[node name="CraftLabel" type="Label3D" parent="." unique_id=635980477]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.657479, 0)
[node name="ItemStand1" type="StaticBody3D" parent="." unique_id=67639388 groups=["interactable"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0.193, 0)
collision_layer = 3
script = ExtResource("5_pn057")
[node name="ItemStandMesh" type="MeshInstance3D" parent="ItemStand1" unique_id=572209388]
mesh = SubResource("BoxMesh_d3wgm")
skeleton = NodePath("../..")
[node name="ItemMesh" type="MeshInstance3D" parent="ItemStand1" unique_id=1820423270]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
[node name="ItemStandCollision" type="CollisionShape3D" parent="ItemStand1" unique_id=116538025]
shape = SubResource("BoxShape3D_pn057")
[node name="InteractLabel" type="Label3D" parent="ItemStand1" unique_id=234758283]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0221463, 0.377451)
text = "[E] Item 1"
[node name="ItemStand2" type="StaticBody3D" parent="." unique_id=1929102858 groups=["interactable"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0.193, 0)
collision_layer = 3
script = ExtResource("5_pn057")
[node name="ItemStandMesh" type="MeshInstance3D" parent="ItemStand2" unique_id=1226552968]
mesh = SubResource("BoxMesh_d3wgm")
skeleton = NodePath("../..")
[node name="ItemMesh" type="MeshInstance3D" parent="ItemStand2" unique_id=1728259119]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.6, 0)
[node name="ItemStandCollision" type="CollisionShape3D" parent="ItemStand2" unique_id=1344530036]
shape = SubResource("BoxShape3D_pn057")
[node name="InteractLabel" type="Label3D" parent="ItemStand2" unique_id=1567098859]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0181672, 0.377533)
text = "[E] Item 2"