aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/map/items/sliced_lettuce.gd3
-rw-r--r--client/map/items/sliced_lettuce.tscn2
2 files changed, 4 insertions, 1 deletions
diff --git a/client/map/items/sliced_lettuce.gd b/client/map/items/sliced_lettuce.gd
index 18f27fff..f6410b90 100644
--- a/client/map/items/sliced_lettuce.gd
+++ b/client/map/items/sliced_lettuce.gd
@@ -19,3 +19,6 @@ extends Item
func _init(owned_by_: Node3D):
super(owned_by_)
base.add_child(load("res://map/items/sliced_lettuce.tscn").instantiate())
+
+static func height() -> float:
+ return .025
diff --git a/client/map/items/sliced_lettuce.tscn b/client/map/items/sliced_lettuce.tscn
index 3fb675c6..f04b7a3a 100644
--- a/client/map/items/sliced_lettuce.tscn
+++ b/client/map/items/sliced_lettuce.tscn
@@ -5,6 +5,6 @@
[node name="SlicedLettuce" type="Node3D"]
[node name="Mesh" type="MeshInstance3D" parent="."]
-transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
+transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0.01, 0)
mesh = ExtResource("1_y7x7n")
skeleton = NodePath("")