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.
133 lines
4.9 KiB
133 lines
4.9 KiB
[gd_scene load_steps=13 format=3 uid="uid://bwfuet1irfi17"] |
|
|
|
[ext_resource type="Script" path="res://objects/Grid.cs" id="2_gstd0"] |
|
[ext_resource type="PackedScene" uid="uid://yvy5vvaqgxy8" path="res://objects/crate.tscn" id="2_j6a20"] |
|
[ext_resource type="Script" path="res://objects/Item.cs" id="3_01pgc"] |
|
[ext_resource type="Texture2D" uid="uid://dts3g3ivc4stn" path="res://assets/palettes/metal.png" id="3_kvstu"] |
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_hkc0l"] |
|
size = Vector3(0.125, 0.125, 0.25) |
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_foa6h"] |
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_3qwx3"] |
|
material = SubResource("StandardMaterial3D_foa6h") |
|
size = Vector3(0.125, 0.125, 0.25) |
|
|
|
[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) |
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_5erfn"] |
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_tg4vq"] |
|
size = Vector2(10, 10) |
|
|
|
[node name="Workshop" type="Node3D"] |
|
|
|
[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="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="Table" type="StaticBody3D" parent="."] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4) |
|
collision_layer = 2 |
|
collision_mask = 0 |
|
|
|
[node name="SmallBox" type="StaticBody3D" parent="Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.43938, 1.06737, 0) |
|
collision_layer = 9 |
|
collision_mask = 0 |
|
script = ExtResource("3_01pgc") |
|
Size = Vector3i(2, 2, 4) |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table/SmallBox"] |
|
shape = SubResource("BoxShape3D_hkc0l") |
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table/SmallBox"] |
|
mesh = SubResource("BoxMesh_3qwx3") |
|
|
|
[node name="SmallBox2" type="StaticBody3D" parent="Table"] |
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.251316, 1.06737, 0.127615) |
|
collision_layer = 9 |
|
collision_mask = 0 |
|
script = ExtResource("3_01pgc") |
|
Size = Vector3i(2, 2, 4) |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table/SmallBox2"] |
|
shape = SubResource("BoxShape3D_hkc0l") |
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table/SmallBox2"] |
|
mesh = SubResource("BoxMesh_3qwx3") |
|
|
|
[node name="Grid" type="Area3D" parent="Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) |
|
collision_layer = 8 |
|
collision_mask = 0 |
|
script = ExtResource("2_gstd0") |
|
GridSize = Vector2i(30, 14) |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="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="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="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="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="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="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="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")
|
|
|