Store resources in generic inventories

This commit is contained in:
Loïc Wisniewski 2026-08-14 20:32:58 +02:00
commit 1721edd123
24 changed files with 385 additions and 172 deletions

View file

@ -38,7 +38,7 @@ func _process(delta: float) -> bool:
match stage:
0:
# --- gather a rock -------------------------------------------
scene.get_node("RockField").set_process(false)
scene.get_node("SurfaceFeatures/ResourceProvider").set_process(false)
rock = load("res://Rock.tscn").instantiate()
rock.build_shape(1)
# Placed OUTSIDE the pickup shape but inside attract_radius, so