Refactor hob to use Recipemanager

This commit is contained in:
JonShard
2026-07-19 10:34:01 +02:00
parent f0e3ba705d
commit a48611c0ff
8 changed files with 81 additions and 64 deletions
-1
View File
@@ -50,7 +50,6 @@ func _on_item_dropped(_item: Node3D) -> void:
# If the other body is a FoodItem, check for a recipe and combine if one exists.
func _on_body_entered(body: Node3D) -> void:
print("CombinableItem _on_body_entered")
if _combining or body == _pickable:
print("CombinableItem _on_body_entered: other is our own pickable")
return
+1 -2
View File
@@ -4,5 +4,4 @@
[node name="FoodItem" type="Node" unique_id=63948206]
script = ExtResource("1_0na5k")
id = "hamburger"
item_type = "Meal"
id = "some_food_id"