Updated crafting machine code to check for valid recipe when deciding to enable/disable the coin machine

This commit is contained in:
akshay committed 2022-08-14 19:29:17 -04:00
1 parent 46817025a6
commit 01e57c169c
2 files changed
+11 -6

No files matched your search

+2 -3
View File
@@ -1,11 +1,10 @@
[gd_resource type="Resource" load_steps=5 format=2]
[gd_resource type="Resource" load_steps=4 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_slots = [ ExtResource( 2 ), ExtResource( 4 ) ]
item_type_slots = [ ExtResource( 2 ), ExtResource( 2 ) ]
item_type_out = ExtResource( 3 )