aboutsummaryrefslogtreecommitdiff
path: root/client/map
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-16 13:26:17 +0200
committertpart <tpart120@proton.me>2024-09-16 13:26:17 +0200
commit83a98dd32ca3f7955d12285e653b512c8818ccbc (patch)
tree1eb4dbde952989e96aaa1abb4c97f979acdd4c6d /client/map
parent5327a9653b9883f108614278d4a36859f1340af6 (diff)
downloadhurrycurry-83a98dd32ca3f7955d12285e653b512c8818ccbc.tar
hurrycurry-83a98dd32ca3f7955d12285e653b512c8818ccbc.tar.bz2
hurrycurry-83a98dd32ca3f7955d12285e653b512c8818ccbc.tar.zst
Fix sliced lettuce height
Diffstat (limited to 'client/map')
-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("")