Working meta scenes

This commit is contained in:
YourWishes committed 2025-01-15 22:18:44 -06:00
1 parent 5344fc4aeb
commit f767dbf966
15 files changed
+144 -86

No files matched your search

+5 -1
View File
@@ -1,4 +1,8 @@
class_name CookingRecipe
const ItemStack = preload("res://scripts/Item/ItemStack.gd")
func _init() -> void:
pass
pass
func getIngredients() -> Array[ItemStack]:
return []
+7 -1
View File
@@ -1,4 +1,10 @@
class_name VerticalSlice extends "res://scripts/Cooking/Recipe/CookingRecipe.gd"
const ItemSystem = preload("res://scripts/System/ItemSystem.gd")
func _init() -> void:
super._init();
super._init();
func getIngredients() -> Array[ItemStack]:
return [
ItemStack.new(ItemSystem.ITEM_POTION, 1)
];