Store resources in generic inventories
This commit is contained in:
parent
02643c76c4
commit
1721edd123
24 changed files with 385 additions and 172 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue