You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
177 lines
8.3 KiB
177 lines
8.3 KiB
[gd_scene load_steps=16 format=3 uid="uid://bwfuet1irfi17"] |
|
|
|
[ext_resource type="Script" path="res://scenes/Workshop.cs" id="1_i8qyc"] |
|
[ext_resource type="Script" path="res://scenes/ItemManager.cs" id="1_l6hw6"] |
|
[ext_resource type="PackedScene" uid="uid://yvy5vvaqgxy8" path="res://objects/crate.tscn" id="2_j6a20"] |
|
[ext_resource type="Texture2D" uid="uid://dts3g3ivc4stn" path="res://assets/palettes/metal.png" id="3_kvstu"] |
|
[ext_resource type="PackedScene" uid="uid://ccprmftodum0o" path="res://objects/nail.tscn" id="4_6l6v6"] |
|
[ext_resource type="PackedScene" uid="uid://cujbum8te1r6v" path="res://objects/plank.tscn" id="4_kupiv"] |
|
[ext_resource type="PackedScene" uid="uid://dmehew21mh3ee" path="res://objects/cutting_board.tscn" id="5_hj6pf"] |
|
[ext_resource type="PackedScene" uid="uid://bjgfm5x7a0dab" path="res://objects/bolt.tscn" id="5_r6ljd"] |
|
[ext_resource type="PackedScene" uid="uid://54575e3ygpxl" path="res://objects/grid.tscn" id="6_okibm"] |
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_q481w"] |
|
size = Vector3(15, 5, 15) |
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_5erfn"] |
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_tg4vq"] |
|
size = Vector2(10, 10) |
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_vkl3b"] |
|
size = Vector3(2, 0.1, 1) |
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_548mk"] |
|
size = Vector3(2, 0.1, 1) |
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_efbik"] |
|
size = Vector3(0.1, 0.9, 0.1) |
|
|
|
[node name="Workshop" type="Area3D" node_paths=PackedStringArray("Objects")] |
|
collision_layer = 1024 |
|
collision_mask = 0 |
|
script = ExtResource("1_i8qyc") |
|
Objects = NodePath("Objects") |
|
|
|
[node name="ItemManager" type="Node" parent="."] |
|
script = ExtResource("1_l6hw6") |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0) |
|
shape = SubResource("BoxShape3D_q481w") |
|
|
|
[node name="Sun" type="DirectionalLight3D" parent="."] |
|
transform = Transform3D(0.866025, 0, -0.5, 0.25, 0.866025, 0.433013, 0.433013, -0.5, 0.75, 0, 5, 0) |
|
|
|
[node name="Floor" type="StaticBody3D" parent="."] |
|
collision_mask = 0 |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"] |
|
shape = SubResource("WorldBoundaryShape3D_5erfn") |
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"] |
|
mesh = SubResource("PlaneMesh_tg4vq") |
|
|
|
[node name="Crates" type="Node3D" parent="."] |
|
|
|
[node name="Crate1" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.5, -4) |
|
Palette = ExtResource("3_kvstu") |
|
|
|
[node name="Crate2" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.5, 0) |
|
|
|
[node name="Crate3" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.5, 4) |
|
|
|
[node name="Crate4" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 4) |
|
|
|
[node name="Crate5" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.5, 4) |
|
|
|
[node name="Crate6" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.5, 0) |
|
|
|
[node name="Crate7" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.5, -4) |
|
|
|
[node name="Objects" type="Node" parent="."] |
|
|
|
[node name="Table" type="StaticBody3D" parent="Objects"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4) |
|
collision_layer = 2 |
|
collision_mask = 0 |
|
|
|
[node name="Grid" parent="Objects/Table" instance=ExtResource("6_okibm")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) |
|
GridSize = Vector2i(38, 18) |
|
|
|
[node name="Nail" parent="Objects/Table/Grid" instance=ExtResource("4_6l6v6")] |
|
transform = Transform3D(-4.37114e-08, -1, -4.37114e-08, 0, -4.37114e-08, 1, -1, 4.37114e-08, 1.91069e-15, -0.75, 0.025, 0.225) |
|
|
|
[node name="Nail2" parent="Objects/Table/Grid" instance=ExtResource("4_6l6v6")] |
|
transform = Transform3D(1.31134e-07, 1, 4.37114e-08, 0, -4.37114e-08, 1, 1, -1.31134e-07, -5.73206e-15, -0.75, 0.025, 0.175) |
|
|
|
[node name="Nail3" parent="Objects/Table/Grid" instance=ExtResource("4_6l6v6")] |
|
transform = Transform3D(-4.37114e-08, -1, -4.37114e-08, 0, -4.37114e-08, 1, -1, 4.37114e-08, 1.91069e-15, -0.75, 0.025, 0.125) |
|
|
|
[node name="Nail4" parent="Objects/Table/Grid" instance=ExtResource("4_6l6v6")] |
|
transform = Transform3D(1.31134e-07, 1, 4.37114e-08, 0, -4.37114e-08, 1, 1, -1.31134e-07, -5.73206e-15, -0.75, 0.025, 0.075) |
|
|
|
[node name="Nail5" parent="Objects/Table/Grid" instance=ExtResource("4_6l6v6")] |
|
transform = Transform3D(-4.37114e-08, -1, -4.37114e-08, 0, -4.37114e-08, 1, -1, 4.37114e-08, 1.91069e-15, -0.75, 0.025, 0.0250001) |
|
|
|
[node name="Plank" parent="Objects/Table/Grid" instance=ExtResource("4_kupiv")] |
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.775, 0.025, -0.05) |
|
|
|
[node name="Cutting Board" parent="Objects/Table/Grid" instance=ExtResource("5_hj6pf")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.025, 0.2) |
|
|
|
[node name="Bolt" parent="Objects/Table/Grid/Cutting Board/Grid" index="1" instance=ExtResource("5_r6ljd")] |
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.1, 0.025, -0.0250001) |
|
|
|
[node name="Bolt2" parent="Objects/Table/Grid/Cutting Board/Grid" index="2" instance=ExtResource("5_r6ljd")] |
|
transform = Transform3D(-1, 8.74228e-08, 3.82137e-15, 0, -4.37114e-08, 1, 8.74228e-08, 1, 4.37114e-08, 0.15, 0.025, -0.0250001) |
|
|
|
[node name="Bolt3" parent="Objects/Table/Grid/Cutting Board/Grid" index="3" instance=ExtResource("5_r6ljd")] |
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.2, 0.025, -0.0250001) |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Objects/Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.95, 0) |
|
shape = SubResource("BoxShape3D_vkl3b") |
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Objects/Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.95, 0) |
|
mesh = SubResource("BoxMesh_548mk") |
|
|
|
[node name="Leg1" type="MeshInstance3D" parent="Objects/Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.9, 0.45, 0.4) |
|
mesh = SubResource("BoxMesh_efbik") |
|
skeleton = NodePath("../MeshInstance3D") |
|
|
|
[node name="Leg2" type="MeshInstance3D" parent="Objects/Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9, 0.45, 0.4) |
|
mesh = SubResource("BoxMesh_efbik") |
|
skeleton = NodePath("../MeshInstance3D") |
|
|
|
[node name="Leg3" type="MeshInstance3D" parent="Objects/Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.9, 0.45, -0.4) |
|
mesh = SubResource("BoxMesh_efbik") |
|
skeleton = NodePath("../MeshInstance3D") |
|
|
|
[node name="Leg4" type="MeshInstance3D" parent="Objects/Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9, 0.45, -0.4) |
|
mesh = SubResource("BoxMesh_efbik") |
|
skeleton = NodePath("../MeshInstance3D") |
|
|
|
[node name="Table2" type="StaticBody3D" parent="Objects"] |
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 1.5, -4.6) |
|
collision_layer = 2 |
|
collision_mask = 0 |
|
|
|
[node name="Grid" parent="Objects/Table2" instance=ExtResource("6_okibm")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0) |
|
GridSize = Vector2i(38, 18) |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Objects/Table2"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0499997, 0) |
|
shape = SubResource("BoxShape3D_vkl3b") |
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Objects/Table2"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0499997, 0) |
|
mesh = SubResource("BoxMesh_548mk") |
|
|
|
[node name="Plank" parent="Objects" instance=ExtResource("4_kupiv")] |
|
transform = Transform3D(-0.258819, 0, -0.965926, 0, 1, 0, 0.965926, 0, -0.258819, 1.775, 0.0467873, -4.05) |
|
|
|
[node name="Plank2" parent="Objects" instance=ExtResource("4_kupiv")] |
|
transform = Transform3D(-0.25506, 0.169814, -0.951897, -0.0338422, 0.982287, 0.184303, 0.966333, 0.0792227, -0.244795, 1.89731, 0.112917, -4.05) |
|
|
|
[node name="Plank3" parent="Objects" instance=ExtResource("4_kupiv")] |
|
transform = Transform3D(0.867391, 0.120474, -0.482823, -0.166746, 0.984526, -0.0538993, 0.468858, 0.12726, 0.874058, 2.18736, 0.136963, -4.05) |
|
|
|
[node name="Plank4" parent="Objects" instance=ExtResource("4_kupiv")] |
|
transform = Transform3D(0.716486, 0.0834318, -0.692594, -0.166746, 0.984526, -0.0538993, 0.67738, 0.154105, 0.719311, 2.05036, 0.136963, -3.70527) |
|
|
|
[editable path="Objects/Table/Grid/Cutting Board"]
|
|
|