[gd_scene format=3 uid="uid://33ctlyrpibs3"] [ext_resource type="Script" uid="uid://dj7pngpg53qdb" path="res://Scenes/Printer/printer.gd" id="1_dlbos"] [ext_resource type="StyleBox" uid="uid://csahw36txnewl" path="res://Styles/btn_style_box_green_hover.tres" id="2_dlbos"] [ext_resource type="StyleBox" uid="uid://b0kxbbhtsbhcr" path="res://Styles/btn_style_box_red_hover.tres" id="3_mmlst"] [node name="Printer" type="PanelContainer" unique_id=1372437203] custom_minimum_size = Vector2(0, 150) anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 script = ExtResource("1_dlbos") [node name="MarginContainer" type="MarginContainer" parent="." unique_id=1159449756] layout_mode = 2 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 [node name="MainArea" type="VBoxContainer" parent="MarginContainer" unique_id=2137617795] layout_mode = 2 [node name="TopInfo" type="HBoxContainer" parent="MarginContainer/MainArea" unique_id=1033555892] layout_mode = 2 [node name="PrinterLabel" type="Label" parent="MarginContainer/MainArea/TopInfo" unique_id=397114791] layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 30 text = "Printer #1" [node name="StatusLabel" type="RichTextLabel" parent="MarginContainer/MainArea/TopInfo" unique_id=157586427] layout_mode = 2 size_flags_horizontal = 3 bbcode_enabled = true text = "Status: Free" horizontal_alignment = 2 vertical_alignment = 1 [node name="PrinterModelLabel" type="Label" parent="MarginContainer/MainArea" unique_id=666140345] layout_mode = 2 text = "Printer model" [node name="PrintInfo" type="VBoxContainer" parent="MarginContainer/MainArea" unique_id=1502076264] layout_mode = 2 [node name="InfoRow1" type="HBoxContainer" parent="MarginContainer/MainArea/PrintInfo" unique_id=1561257387] layout_mode = 2 [node name="SelectFilament" type="OptionButton" parent="MarginContainer/MainArea/PrintInfo/InfoRow1" unique_id=1562930238] layout_mode = 2 item_count = 1 popup/item_0/id = 0 [node name="QualityLabel" type="RichTextLabel" parent="MarginContainer/MainArea/PrintInfo/InfoRow1" unique_id=937206053] layout_mode = 2 size_flags_horizontal = 3 bbcode_enabled = true text = "Print quality: ###%" horizontal_alignment = 2 [node name="InfoRow2" type="HBoxContainer" parent="MarginContainer/MainArea/PrintInfo" unique_id=719967546] layout_mode = 2 [node name="TimeLeftLabel" type="Label" parent="MarginContainer/MainArea/PrintInfo/InfoRow2" unique_id=1516591173] layout_mode = 2 text = "Time left: ###s" [node name="RewardLabel" type="RichTextLabel" parent="MarginContainer/MainArea/PrintInfo/InfoRow2" unique_id=700892606] layout_mode = 2 size_flags_horizontal = 3 bbcode_enabled = true text = "Reward: ###€" horizontal_alignment = 2 [node name="ProgressBar" type="ProgressBar" parent="MarginContainer/MainArea/PrintInfo" unique_id=768246659] layout_mode = 2 theme_override_styles/fill = ExtResource("2_dlbos") max_value = 1.0 [node name="Buttons" type="HBoxContainer" parent="MarginContainer/MainArea" unique_id=248340191] layout_mode = 2 [node name="StartButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=1943803675] layout_mode = 2 size_flags_horizontal = 3 theme_override_styles/hover = ExtResource("2_dlbos") text = "Start print" [node name="UpgradeButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=765929805] visible = false layout_mode = 2 size_flags_horizontal = 3 text = "Upgrade" [node name="SellButton" type="Button" parent="MarginContainer/MainArea/Buttons" unique_id=929234066] layout_mode = 2 size_flags_horizontal = 3 theme_override_styles/hover = ExtResource("3_mmlst") text = "Sell printer" [node name="SelectJob" type="OptionButton" parent="MarginContainer/MainArea" unique_id=1500040832] layout_mode = 2 [node name="Timer" type="Timer" parent="." unique_id=425740035] [connection signal="item_selected" from="MarginContainer/MainArea/PrintInfo/InfoRow1/SelectFilament" to="." method="_on_select_filament_item_selected"] [connection signal="pressed" from="MarginContainer/MainArea/PrintInfo/InfoRow1/SelectFilament" to="." method="_on_select_filament_pressed"] [connection signal="pressed" from="MarginContainer/MainArea/Buttons/StartButton" to="." method="_on_start_button_pressed"] [connection signal="pressed" from="MarginContainer/MainArea/Buttons/SellButton" to="." method="_on_sell_button_pressed"] [connection signal="item_selected" from="MarginContainer/MainArea/SelectJob" to="." method="_on_select_job_item_selected"] [connection signal="pressed" from="MarginContainer/MainArea/SelectJob" to="." method="_on_select_job_pressed"]