inventory refactor + inv ui interactable

This commit is contained in:
Altaezio
2025-10-13 18:38:47 +02:00
parent 433b3dfd28
commit 3ee2c8bdf1
7 changed files with 86 additions and 59 deletions

View File

@@ -68,7 +68,7 @@ class TakeShovelStep extends Step:
return []
func is_step_over(p : Player) -> bool:
return p.inventory.length() > 0
return p.inventory.items.size() > 0
class DigLootStep extends Step:
func generate_indicators(p: Player) -> Array[InGameIndicator]: