Broken pos
This commit is contained in:
parent
11d928c4f3
commit
3af13d0a8b
24 changed files with 304 additions and 146 deletions
15
generic/items/dbg_input1.tres
Normal file
15
generic/items/dbg_input1.tres
Normal file
|
@ -0,0 +1,15 @@
|
|||
[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://cpjlj1vm46t08"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://gfkhedfdi7ug" path="res://sprites/atlasses/Popekko.png" id="1_hmnnx"]
|
||||
[ext_resource type="Script" uid="uid://p5327ibxtyfs" path="res://scripts/item.gd" id="2_t6mdl"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_h7cm1"]
|
||||
atlas = ExtResource("1_hmnnx")
|
||||
region = Rect2(0, 16, 4, 4)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_t6mdl")
|
||||
display_name = &"Input1"
|
||||
preview = SubResource("AtlasTexture_h7cm1")
|
||||
stack_size = 2
|
||||
metadata/_custom_type_script = "uid://p5327ibxtyfs"
|
15
generic/items/dbg_input2.tres
Normal file
15
generic/items/dbg_input2.tres
Normal file
|
@ -0,0 +1,15 @@
|
|||
[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://c23vqjqnyo6f3"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://gfkhedfdi7ug" path="res://sprites/atlasses/Popekko.png" id="1_7lekm"]
|
||||
[ext_resource type="Script" uid="uid://p5327ibxtyfs" path="res://scripts/item.gd" id="2_50iur"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7lekm"]
|
||||
atlas = ExtResource("1_7lekm")
|
||||
region = Rect2(4, 16, 4, 4)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_50iur")
|
||||
display_name = &"Input2"
|
||||
preview = SubResource("AtlasTexture_7lekm")
|
||||
stack_size = 2
|
||||
metadata/_custom_type_script = "uid://p5327ibxtyfs"
|
|
@ -1,17 +0,0 @@
|
|||
[gd_resource type="Resource" script_class="Item" load_steps=5 format=3 uid="uid://byn78mwy08ff"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://gfkhedfdi7ug" path="res://sprites/atlasses/Popekko.png" id="1_1hrh7"]
|
||||
[ext_resource type="Script" uid="uid://p5327ibxtyfs" path="res://scripts/item.gd" id="1_2pbm1"]
|
||||
[ext_resource type="PackedScene" uid="uid://bbh7akfbskq4u" path="res://scenes/debug_item.tscn" id="2_1hrh7"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_trycy"]
|
||||
atlas = ExtResource("1_1hrh7")
|
||||
region = Rect2(0, 0, 5, 5)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_2pbm1")
|
||||
display_name = &"Test"
|
||||
preview = SubResource("AtlasTexture_trycy")
|
||||
stack_size = 100
|
||||
scene = ExtResource("2_1hrh7")
|
||||
metadata/_custom_type_script = "uid://p5327ibxtyfs"
|
15
generic/items/dbg_output.tres
Normal file
15
generic/items/dbg_output.tres
Normal file
|
@ -0,0 +1,15 @@
|
|||
[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://c16fy6r43xlg1"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://gfkhedfdi7ug" path="res://sprites/atlasses/Popekko.png" id="1_r3jjm"]
|
||||
[ext_resource type="Script" uid="uid://p5327ibxtyfs" path="res://scripts/item.gd" id="2_rkyi0"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_r3jjm"]
|
||||
atlas = ExtResource("1_r3jjm")
|
||||
region = Rect2(8, 16, 4, 4)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_rkyi0")
|
||||
display_name = &"Output"
|
||||
preview = SubResource("AtlasTexture_r3jjm")
|
||||
stack_size = 100
|
||||
metadata/_custom_type_script = "uid://p5327ibxtyfs"
|
31
generic/recipes/test_recipe.tres
Normal file
31
generic/recipes/test_recipe.tres
Normal file
|
@ -0,0 +1,31 @@
|
|||
[gd_resource type="Resource" script_class="Recipe" load_steps=9 format=3 uid="uid://d2lbc1qqkayaa"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://w4v6jqv1ygqb" path="res://scripts/recipe/recipe_part.gd" id="1_no0hw"]
|
||||
[ext_resource type="Resource" uid="uid://cpjlj1vm46t08" path="res://generic/items/dbg_input1.tres" id="2_f53xa"]
|
||||
[ext_resource type="Script" uid="uid://dl0i68ut0lw70" path="res://scripts/recipe/recipe.gd" id="2_w6qf0"]
|
||||
[ext_resource type="Resource" uid="uid://c23vqjqnyo6f3" path="res://generic/items/dbg_input2.tres" id="3_heoi8"]
|
||||
[ext_resource type="Resource" uid="uid://c16fy6r43xlg1" path="res://generic/items/dbg_output.tres" id="4_0enwg"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_q2e78"]
|
||||
script = ExtResource("1_no0hw")
|
||||
item = ExtResource("2_f53xa")
|
||||
amount = 1
|
||||
metadata/_custom_type_script = "uid://w4v6jqv1ygqb"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ry6el"]
|
||||
script = ExtResource("1_no0hw")
|
||||
item = ExtResource("3_heoi8")
|
||||
amount = 1
|
||||
metadata/_custom_type_script = "uid://w4v6jqv1ygqb"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ek2yb"]
|
||||
script = ExtResource("1_no0hw")
|
||||
item = ExtResource("4_0enwg")
|
||||
amount = 5
|
||||
metadata/_custom_type_script = "uid://w4v6jqv1ygqb"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_w6qf0")
|
||||
ingridients = Array[ExtResource("1_no0hw")]([SubResource("Resource_q2e78"), SubResource("Resource_ry6el")])
|
||||
result = SubResource("Resource_ek2yb")
|
||||
metadata/_custom_type_script = "uid://dl0i68ut0lw70"
|
Loading…
Add table
Add a link
Reference in a new issue