Updated RecipesDB to store an array of tem_type resources instead of hardcoded slots

This commit is contained in:
akshay committed 2022-08-14 17:56:29 -04:00
1 parent a336411c84
commit 46817025a6
5 files changed
+22 -23

No files matched your search

+3 -2
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=2]
[gd_scene load_steps=9 format=2]
[ext_resource path="res://scenes/player.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/moon.tscn" type="PackedScene" id=2]
@@ -7,6 +7,7 @@
[ext_resource path="res://scenes/item_holder.tscn" type="PackedScene" id=5]
[ext_resource path="res://item_types/ore.tres" type="Resource" id=6]
[ext_resource path="res://recipes/all_recipes.tres" type="Resource" id=7]
[ext_resource path="res://item_types/raw_yam.tres" type="Resource" id=8]
[node name="dev_akshay" type="Spatial"]
@@ -28,4 +29,4 @@ start_with_item = ExtResource( 6 )
[node name="item_holder2" parent="." instance=ExtResource( 5 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.33, 0, 1 )
start_with_item = ExtResource( 6 )
start_with_item = ExtResource( 8 )