RustHacker/crafting/recipe book/scavengeBook.gd
2026-01-12 20:04:01 +11:00

18 lines
515 B
GDScript

extends PanelContainer
@export var grid : GridContainer
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
RecipeManager.recipes_loaded.connect(scavs_ready)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func scavs_ready():
for scav in RecipeManager.scavenge_recipes:
# TODO: create an item slot with the scav recipie icon, bock dragging
# show details about scavenge results in tooltip?
pass