started scavenging book
This commit is contained in:
parent
4f899c13f9
commit
c952938134
5 changed files with 78 additions and 3 deletions
18
crafting/recipe book/scavengeBook.gd
Normal file
18
crafting/recipe book/scavengeBook.gd
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue