diff options
| author | tpart <tpart120@proton.me> | 2024-09-16 13:51:38 +0200 |
|---|---|---|
| committer | tpart <tpart120@proton.me> | 2024-09-16 13:53:29 +0200 |
| commit | 7612bae40de7f9494ebca230965989efada60778 (patch) | |
| tree | 63e193582258c469dc43ecd92fd2631fe1ab3ec9 /client/map | |
| parent | 16c6235e931ac220fa8be2061df24e70dadd2a8c (diff) | |
| download | hurrycurry-7612bae40de7f9494ebca230965989efada60778.tar hurrycurry-7612bae40de7f9494ebca230965989efada60778.tar.bz2 hurrycurry-7612bae40de7f9494ebca230965989efada60778.tar.zst | |
Fix item holding position
Diffstat (limited to 'client/map')
| -rw-r--r-- | client/map/items/food_processor.gd | 3 | ||||
| -rw-r--r-- | client/map/items/plate.gd | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/client/map/items/food_processor.gd b/client/map/items/food_processor.gd index c082a741..05b783c1 100644 --- a/client/map/items/food_processor.gd +++ b/client/map/items/food_processor.gd @@ -83,3 +83,6 @@ func finish(): static func base_position() -> Vector3: return Vector3(0., 0.4, 0.) + +static func height() -> float: + return .3 diff --git a/client/map/items/plate.gd b/client/map/items/plate.gd index eb9ee4b5..28fd3f46 100644 --- a/client/map/items/plate.gd +++ b/client/map/items/plate.gd @@ -44,5 +44,5 @@ func setup_sounds(): take_sound.setup([preload("res://map/items/sounds/plate_take.ogg")]) put_sound.setup([preload("res://map/items/sounds/plate_put.ogg")]) -static func base_position() -> Vector3: - return Vector3(0., 0.05, 0.) +static func height() -> float: + return .05 |