Add hamburger and refactor CookableItem and CombinableItem into scenes

This commit is contained in:
JonShard
2026-07-15 11:14:23 +02:00
parent 485ca899ab
commit 885c6f49f0
12 changed files with 192 additions and 110 deletions
+22
View File
@@ -0,0 +1,22 @@
- Move recipes into a Yaml file that is read, and handles symetry through a Static manager class?
Example:
```yaml
combining:
cooked_burger:
- cooked_burger
- burger_buns
cooking:
cooked_burger: raw_burger
charcoal: cooked_burger
charcoal: toast
```
```gd
on_area_enter(other):
var result = RecipeManager.getCombination(my_id, other_id)
if result:
convertInto(result)
```