2026-01-15 21:51:07 +11:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://btenxre8yvynx"]
|
2026-01-12 19:32:35 +11:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://mvqohkfd6whc" path="res://crafting/recipe book/recipe_card.gd" id="1_8t2l7"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dgqs20xf7l8c" path="res://inv_system/item_slot.tscn" id="1_ebtwo"]
|
2026-01-14 22:15:18 +11:00
|
|
|
[ext_resource type="Texture2D" uid="uid://cu18nhutsu0ov" path="res://assets/craftarrow.png" id="3_qstsn"]
|
2026-01-12 19:32:35 +11:00
|
|
|
|
2026-01-15 21:51:07 +11:00
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_qstsn"]
|
|
|
|
|
font_size = 10
|
|
|
|
|
|
2026-01-12 19:55:40 +11:00
|
|
|
[node name="Recipe Card" type="PanelContainer" node_paths=PackedStringArray("grid_container", "output_slot", "output_label")]
|
2026-01-12 19:32:35 +11:00
|
|
|
script = ExtResource("1_8t2l7")
|
|
|
|
|
grid_container = NodePath("HBoxContainer/GridContainer")
|
|
|
|
|
output_slot = NodePath("HBoxContainer/VBoxContainer/ItemSlot10")
|
2026-01-12 19:55:40 +11:00
|
|
|
output_label = NodePath("HBoxContainer/VBoxContainer/Label")
|
2026-01-12 19:32:35 +11:00
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
alignment = 1
|
|
|
|
|
|
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
columns = 3
|
|
|
|
|
|
|
|
|
|
[node name="ItemSlot" parent="HBoxContainer/GridContainer" instance=ExtResource("1_ebtwo")]
|
2026-01-15 21:51:07 +11:00
|
|
|
custom_minimum_size = Vector2(32, 32)
|
2026-01-12 19:32:35 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="ItemSlot2" parent="HBoxContainer/GridContainer" instance=ExtResource("1_ebtwo")]
|
2026-01-15 21:51:07 +11:00
|
|
|
custom_minimum_size = Vector2(32, 32)
|
2026-01-12 19:32:35 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="ItemSlot3" parent="HBoxContainer/GridContainer" instance=ExtResource("1_ebtwo")]
|
2026-01-15 21:51:07 +11:00
|
|
|
custom_minimum_size = Vector2(32, 32)
|
2026-01-12 19:32:35 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="ItemSlot4" parent="HBoxContainer/GridContainer" instance=ExtResource("1_ebtwo")]
|
2026-01-15 21:51:07 +11:00
|
|
|
custom_minimum_size = Vector2(32, 32)
|
2026-01-12 19:32:35 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="ItemSlot5" parent="HBoxContainer/GridContainer" instance=ExtResource("1_ebtwo")]
|
2026-01-15 21:51:07 +11:00
|
|
|
custom_minimum_size = Vector2(32, 32)
|
2026-01-12 19:32:35 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="ItemSlot6" parent="HBoxContainer/GridContainer" instance=ExtResource("1_ebtwo")]
|
2026-01-15 21:51:07 +11:00
|
|
|
custom_minimum_size = Vector2(32, 32)
|
2026-01-12 19:32:35 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="ItemSlot7" parent="HBoxContainer/GridContainer" instance=ExtResource("1_ebtwo")]
|
2026-01-15 21:51:07 +11:00
|
|
|
custom_minimum_size = Vector2(32, 32)
|
2026-01-12 19:32:35 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="ItemSlot8" parent="HBoxContainer/GridContainer" instance=ExtResource("1_ebtwo")]
|
2026-01-15 21:51:07 +11:00
|
|
|
custom_minimum_size = Vector2(32, 32)
|
2026-01-12 19:32:35 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="ItemSlot9" parent="HBoxContainer/GridContainer" instance=ExtResource("1_ebtwo")]
|
2026-01-15 21:51:07 +11:00
|
|
|
custom_minimum_size = Vector2(32, 32)
|
2026-01-12 19:32:35 +11:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
2026-01-14 22:15:18 +11:00
|
|
|
texture = ExtResource("3_qstsn")
|
2026-01-12 19:32:35 +11:00
|
|
|
stretch_mode = 3
|
|
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
alignment = 1
|
|
|
|
|
|
|
|
|
|
[node name="ItemSlot10" parent="HBoxContainer/VBoxContainer" instance=ExtResource("1_ebtwo")]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Computer"
|
2026-01-15 21:51:07 +11:00
|
|
|
label_settings = SubResource("LabelSettings_qstsn")
|
2026-01-12 19:32:35 +11:00
|
|
|
horizontal_alignment = 1
|
2026-01-13 12:53:54 +11:00
|
|
|
autowrap_mode = 2
|