Inventory management focused game written in Godot / C#
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.

312 lines
12 KiB

[gd_scene load_steps=19 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"]
[ext_resource type="PackedScene" uid="uid://ccprmftodum0o" path="res://objects/nail.tscn" id="4_6l6v6"]
[ext_resource type="PackedScene" uid="uid://bjgfm5x7a0dab" path="res://objects/bolt.tscn" id="5_r6ljd"]
[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="BoxShape3D" id="BoxShape3D_dvxhj"]
size = Vector3(0.063, 0.063, 0.25)
[sub_resource type="BoxMesh" id="BoxMesh_hlein"]
material = SubResource("StandardMaterial3D_foa6h")
size = Vector3(0.063, 0.063, 0.25)
[sub_resource type="BoxShape3D" id="BoxShape3D_wh54f"]
size = Vector3(0.188, 0.063, 0.75)
[sub_resource type="BoxMesh" id="BoxMesh_pejsc"]
material = SubResource("StandardMaterial3D_foa6h")
size = Vector3(0.188, 0.063, 0.75)
[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="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="Nail" parent="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.745874, 0.0351096, 0.218623)
[node name="Nail2" parent="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.746914, 0.0351096, 0.160497)
[node name="Nail3" parent="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.749779, 0.0351096, 0.0935802)
[node name="Nail4" parent="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.753094, 0.0351096, 0.0316732)
[node name="Nail5" parent="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.750168, 0.0351096, -0.0270133)
[node name="Bolt" parent="Table/Grid" instance=ExtResource("5_r6ljd")]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.0255985, 0.0359391, 0.315234)
[node name="Bolt2" parent="Table/Grid" 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.0892183, 0.0359391, 0.315234)
[node name="Bolt3" parent="Table/Grid" instance=ExtResource("5_r6ljd")]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.150296, 0.0359391, 0.315234)
[node name="SmallBox" type="StaticBody3D" parent="Table/Grid"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.43938, 0.0673701, 0)
collision_layer = 9
collision_mask = 0
script = ExtResource("3_01pgc")
Size = Vector3i(2, 2, 4)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table/Grid/SmallBox"]
shape = SubResource("BoxShape3D_hkc0l")
[node name="Model" type="Node3D" parent="Table/Grid/SmallBox"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table/Grid/SmallBox/Model"]
mesh = SubResource("BoxMesh_3qwx3")
skeleton = NodePath("../..")
[node name="SmallBox2" type="StaticBody3D" parent="Table/Grid"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.251316, 0.0673701, 0.127615)
collision_layer = 9
collision_mask = 0
script = ExtResource("3_01pgc")
Size = Vector3i(2, 2, 4)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table/Grid/SmallBox2"]
shape = SubResource("BoxShape3D_hkc0l")
[node name="Model" type="Node3D" parent="Table/Grid/SmallBox2"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table/Grid/SmallBox2/Model"]
mesh = SubResource("BoxMesh_3qwx3")
skeleton = NodePath("../..")
[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="Table2" type="StaticBody3D" parent="."]
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" type="Area3D" parent="Table2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0999999, 0)
collision_layer = 8
collision_mask = 0
script = ExtResource("2_gstd0")
GridSize = Vector2i(30, 14)
[node name="SmallBox3" type="StaticBody3D" parent="Table2/Grid"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.717982, 0.0335231, -0.120977)
collision_layer = 9
collision_mask = 0
script = ExtResource("3_01pgc")
Size = Vector3i(1, 1, 4)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table2/Grid/SmallBox3"]
shape = SubResource("BoxShape3D_dvxhj")
[node name="Model" type="Node3D" parent="Table2/Grid/SmallBox3"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table2/Grid/SmallBox3/Model"]
mesh = SubResource("BoxMesh_hlein")
skeleton = NodePath("../..")
[node name="SmallBox4" type="StaticBody3D" parent="Table2/Grid"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.591133, 0.0335231, -0.120977)
collision_layer = 9
collision_mask = 0
script = ExtResource("3_01pgc")
Size = Vector3i(1, 1, 4)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table2/Grid/SmallBox4"]
shape = SubResource("BoxShape3D_dvxhj")
[node name="Model" type="Node3D" parent="Table2/Grid/SmallBox4"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table2/Grid/SmallBox4/Model"]
mesh = SubResource("BoxMesh_hlein")
skeleton = NodePath("../..")
[node name="SmallBox5" type="StaticBody3D" parent="Table2/Grid"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.466087, 0.0335231, -0.120977)
collision_layer = 9
collision_mask = 0
script = ExtResource("3_01pgc")
Size = Vector3i(1, 1, 4)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table2/Grid/SmallBox5"]
shape = SubResource("BoxShape3D_dvxhj")
[node name="Model" type="Node3D" parent="Table2/Grid/SmallBox5"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table2/Grid/SmallBox5/Model"]
mesh = SubResource("BoxMesh_hlein")
skeleton = NodePath("../..")
[node name="SmallBox6" type="StaticBody3D" parent="Table2/Grid"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.342431, 0.0335231, -0.120977)
collision_layer = 9
collision_mask = 0
script = ExtResource("3_01pgc")
Size = Vector3i(1, 1, 4)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table2/Grid/SmallBox6"]
shape = SubResource("BoxShape3D_dvxhj")
[node name="Model" type="Node3D" parent="Table2/Grid/SmallBox6"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table2/Grid/SmallBox6/Model"]
mesh = SubResource("BoxMesh_hlein")
skeleton = NodePath("../..")
[node name="SmallBox7" type="StaticBody3D" parent="Table2/Grid"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.217693, 0.0335231, -0.120977)
collision_layer = 9
collision_mask = 0
script = ExtResource("3_01pgc")
Size = Vector3i(1, 1, 4)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table2/Grid/SmallBox7"]
shape = SubResource("BoxShape3D_dvxhj")
[node name="Model" type="Node3D" parent="Table2/Grid/SmallBox7"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table2/Grid/SmallBox7/Model"]
mesh = SubResource("BoxMesh_hlein")
skeleton = NodePath("../..")
[node name="SmallBox8" type="StaticBody3D" parent="Table2/Grid"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0920233, 0.0335231, -0.120977)
collision_layer = 9
collision_mask = 0
script = ExtResource("3_01pgc")
Size = Vector3i(1, 1, 4)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table2/Grid/SmallBox8"]
shape = SubResource("BoxShape3D_dvxhj")
[node name="Model" type="Node3D" parent="Table2/Grid/SmallBox8"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table2/Grid/SmallBox8/Model"]
mesh = SubResource("BoxMesh_hlein")
skeleton = NodePath("../..")
[node name="SmallBox9" type="StaticBody3D" parent="Table2/Grid"]
transform = Transform3D(-4.37114e-08, 0, -1, 1, -4.37114e-08, -4.37114e-08, -4.37114e-08, -1, 1.91069e-15, 0.314445, 0.0927377, 0.155108)
collision_layer = 9
collision_mask = 0
script = ExtResource("3_01pgc")
Size = Vector3i(3, 1, 12)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table2/Grid/SmallBox9"]
shape = SubResource("BoxShape3D_wh54f")
[node name="Model" type="Node3D" parent="Table2/Grid/SmallBox9"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table2/Grid/SmallBox9/Model"]
transform = Transform3D(1, 0, -8.35187e-23, 0, 1, 0, -8.35187e-23, 0, 1, 0, 0, 0)
mesh = SubResource("BoxMesh_pejsc")
skeleton = NodePath("../..")
[node name="CollisionShape3D" type="CollisionShape3D" parent="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="Table2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0499997, 0)
mesh = SubResource("BoxMesh_548mk")
[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")