RustHacker/scenes/workshop.tscn
2026-01-17 13:42:34 +11:00

64 lines
1.8 KiB
Text

[gd_scene load_steps=4 format=3 uid="uid://dbxymsdyvbe2p"]
[ext_resource type="Texture2D" uid="uid://dhyryjblax7sj" path="res://assets/workshop.png" id="1_d7fqo"]
[ext_resource type="Script" uid="uid://bla0gy2tlqwe1" path="res://scenes/workshop.gd" id="1_g1tdj"]
[ext_resource type="PackedScene" uid="uid://f06ym5ujhdsc" path="res://inv_system/crafting_panel.tscn" id="2_wwo6w"]
[node name="Workshop" type="Control" node_paths=PackedStringArray("ewaste_button", "computer_button", "crafting_inv")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("1_g1tdj")
ewaste_button = NodePath("GotoEwaste")
computer_button = NodePath("GotoComputer")
crafting_inv = NodePath("CraftingPanel")
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("1_d7fqo")
expand_mode = 3
[node name="GotoEwaste" type="Button" parent="."]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 29.0
offset_top = -41.0
offset_right = 175.0
offset_bottom = -10.0
grow_horizontal = 2
grow_vertical = 2
text = "Go to ewaste bins"
[node name="GotoComputer" type="Button" parent="."]
visible = false
layout_mode = 0
offset_left = 602.0
offset_top = 344.0
offset_right = 748.0
offset_bottom = 375.0
text = "Go to room"
[node name="CraftingPanel" parent="." instance=ExtResource("2_wwo6w")]
layout_mode = 0
offset_left = 871.0
offset_top = 189.0
offset_right = 1039.0
offset_bottom = 444.0
[connection signal="pressed" from="GotoEwaste" to="." method="_on_goto_ewaste_pressed"]
[connection signal="pressed" from="GotoComputer" to="." method="_on_goto_computer_pressed"]