Updated RecipesDB to store an array of tem_type resources instead of hardcoded slots
This commit is contained in:
1 parent
a336411c84
commit
46817025a6
5 files changed
+22
-23
No files matched your search
@@ -1,11 +1,11 @@
|
||||
[gd_resource type="Resource" load_steps=4 format=2]
|
||||
[gd_resource type="Resource" load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/Recipe.gd" type="Script" id=1]
|
||||
[ext_resource path="res://item_types/ore.tres" type="Resource" id=2]
|
||||
[ext_resource path="res://item_types/repair_kit.tres" type="Resource" id=3]
|
||||
[ext_resource path="res://item_types/raw_yam.tres" type="Resource" id=4]
|
||||
|
||||
[resource]
|
||||
script = ExtResource( 1 )
|
||||
item_type_in_1 = ExtResource( 2 )
|
||||
item_type_in_2 = ExtResource( 2 )
|
||||
item_type_slots = [ ExtResource( 2 ), ExtResource( 4 ) ]
|
||||
item_type_out = ExtResource( 3 )
|
||||
Reference in new issue
Block a user