recipe book started

This commit is contained in:
Tabby 2026-01-12 19:32:35 +11:00
parent d47351cf00
commit e8c1f85a5b
10 changed files with 229 additions and 49 deletions

View file

@ -0,0 +1,17 @@
extends PanelContainer
@export var vbox : VBoxContainer
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
var test_card = load("res://crafting/recipe book/recipe_card.tscn").instantiate() as RecipeCard
var recipe : CraftRecipe = load("res://crafting/crafts/computer_craft.tres")
print(recipe)
test_card.show_recipe(recipe)
vbox.add_child(test_card)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass