[gd_scene load_steps=10 format=2]

[ext_resource path="res://other/Impact_small.tres" type="DynamicFont" id=1]
[ext_resource path="res://textures/ui/bean.png" type="Texture" id=2]
[ext_resource path="res://ui/BuyBeansMenu.gd" type="Script" id=3]
[ext_resource path="res://ui/line_edit_numeric.gd" type="Script" id=4]
[ext_resource path="res://sounds/music/shop.ogg" type="AudioStream" id=5]
[ext_resource path="res://textures/ui/beanshop/bean200.png" type="Texture" id=6]
[ext_resource path="res://textures/ui/beanshop/bean50.png" type="Texture" id=7]
[ext_resource path="res://textures/ui/beanshop/bean35000.png" type="Texture" id=8]

[sub_resource type="ButtonGroup" id=1]

[node name="BuyBeansMenu" type="MarginContainer"]
pause_mode = 2
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 50.0
margin_top = 50.0
margin_right = -50.0
margin_bottom = -50.0
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Panel" type="Panel" parent="."]
margin_right = 924.0
margin_bottom = 500.0

[node name="MarginContainer" type="MarginContainer" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = 20.0
margin_right = -20.0
margin_bottom = -20.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
margin_right = 884.0
margin_bottom = 463.0
custom_constants/separation = 30

[node name="Title" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
margin_right = 884.0
margin_bottom = 62.0
text = "Get your beans here"
align = 1

[node name="Packages" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
margin_top = 92.0
margin_right = 884.0
margin_bottom = 319.0
custom_constants/separation = 80
alignment = 1

[node name="10" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Packages"]
margin_left = 67.0
margin_right = 175.0
margin_bottom = 227.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/Packages/10"]
margin_left = 6.0
margin_right = 102.0
margin_bottom = 96.0
size_flags_horizontal = 4
texture = ExtResource( 2 )

[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/Packages/10"]
margin_top = 100.0
margin_right = 108.0
margin_bottom = 179.0
custom_fonts/font = ExtResource( 1 )
text = "10 beans
$3.95"
align = 1

[node name="Button" type="Button" parent="Panel/MarginContainer/VBoxContainer/Packages/10"]
margin_top = 183.0
margin_right = 108.0
margin_bottom = 227.0
custom_fonts/font = ExtResource( 1 )
toggle_mode = true
group = SubResource( 1 )
text = "Select"

[node name="50" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Packages"]
margin_left = 255.0
margin_right = 368.0
margin_bottom = 227.0
size_flags_horizontal = 4

[node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/Packages/50"]
margin_left = 8.0
margin_right = 104.0
margin_bottom = 96.0
size_flags_horizontal = 4
texture = ExtResource( 7 )

[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/Packages/50"]
margin_top = 100.0
margin_right = 113.0
margin_bottom = 179.0
custom_fonts/font = ExtResource( 1 )
text = "50 beans
$12.49"
align = 1

[node name="Button2" type="Button" parent="Panel/MarginContainer/VBoxContainer/Packages/50"]
margin_top = 183.0
margin_right = 113.0
margin_bottom = 227.0
custom_fonts/font = ExtResource( 1 )
toggle_mode = true
group = SubResource( 1 )
text = "Select"

[node name="200" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Packages"]
margin_left = 448.0
margin_right = 576.0
margin_bottom = 227.0

[node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/Packages/200"]
margin_left = 16.0
margin_right = 112.0
margin_bottom = 96.0
size_flags_horizontal = 4
texture = ExtResource( 6 )

[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/Packages/200"]
margin_top = 100.0
margin_right = 128.0
margin_bottom = 179.0
custom_fonts/font = ExtResource( 1 )
text = "200 beans
$35.99"
align = 1

[node name="Button2" type="Button" parent="Panel/MarginContainer/VBoxContainer/Packages/200"]
margin_top = 183.0
margin_right = 128.0
margin_bottom = 227.0
custom_fonts/font = ExtResource( 1 )
toggle_mode = true
group = SubResource( 1 )
text = "Select"

[node name="35000" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Packages"]
margin_left = 656.0
margin_right = 817.0
margin_bottom = 227.0

[node name="TextureRect" type="TextureRect" parent="Panel/MarginContainer/VBoxContainer/Packages/35000"]
margin_left = 32.0
margin_right = 128.0
margin_bottom = 96.0
size_flags_horizontal = 4
texture = ExtResource( 8 )

[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/Packages/35000"]
margin_top = 100.0
margin_right = 161.0
margin_bottom = 179.0
custom_fonts/font = ExtResource( 1 )
text = "35000 beans
$59.99"
align = 1

[node name="Button2" type="Button" parent="Panel/MarginContainer/VBoxContainer/Packages/35000"]
margin_top = 183.0
margin_right = 161.0
margin_bottom = 227.0
custom_fonts/font = ExtResource( 1 )
toggle_mode = true
group = SubResource( 1 )
text = "Select"

[node name="Purchase" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
margin_top = 349.0
margin_right = 884.0
margin_bottom = 463.0
size_flags_vertical = 2

[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Purchase"]
margin_right = 580.0
margin_bottom = 114.0
size_flags_horizontal = 3
size_flags_vertical = 0

[node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Purchase/VBoxContainer"]
margin_right = 580.0
margin_bottom = 48.0

[node name="LineEdit" type="LineEdit" parent="Panel/MarginContainer/VBoxContainer/Purchase/VBoxContainer/HBoxContainer"]
margin_right = 288.0
margin_bottom = 48.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 1 )
max_length = 16
context_menu_enabled = false
shortcut_keys_enabled = false
selecting_enabled = false
placeholder_text = "Credit Card Number"
script = ExtResource( 4 )

[node name="LineEdit2" type="LineEdit" parent="Panel/MarginContainer/VBoxContainer/Purchase/VBoxContainer/HBoxContainer"]
margin_left = 292.0
margin_right = 580.0
margin_bottom = 48.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 1 )
max_length = 3
placeholder_text = "Security Code"
script = ExtResource( 4 )

[node name="HBoxContainer2" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer/Purchase/VBoxContainer"]
margin_top = 52.0
margin_right = 580.0
margin_bottom = 114.0

[node name="LineEdit" type="LineEdit" parent="Panel/MarginContainer/VBoxContainer/Purchase/VBoxContainer/HBoxContainer2"]
margin_right = 182.0
margin_bottom = 62.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 1 )
max_length = 2
placeholder_text = "Exp Month"
script = ExtResource( 4 )

[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer/Purchase/VBoxContainer/HBoxContainer2"]
margin_left = 186.0
margin_right = 206.0
margin_bottom = 62.0
text = "/"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="LineEdit3" type="LineEdit" parent="Panel/MarginContainer/VBoxContainer/Purchase/VBoxContainer/HBoxContainer2"]
margin_left = 210.0
margin_right = 393.0
margin_bottom = 62.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 1 )
max_length = 2
placeholder_text = "Exp Year"
script = ExtResource( 4 )

[node name="LineEdit2" type="LineEdit" parent="Panel/MarginContainer/VBoxContainer/Purchase/VBoxContainer/HBoxContainer2"]
margin_left = 397.0
margin_right = 580.0
margin_bottom = 62.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 1 )
max_length = 9
placeholder_text = "SSN"
script = ExtResource( 4 )

[node name="Button" type="Button" parent="Panel/MarginContainer/VBoxContainer/Purchase"]
margin_left = 584.0
margin_right = 884.0
margin_bottom = 114.0
rect_min_size = Vector2( 300, 0 )
custom_fonts/font = ExtResource( 1 )
disabled = true
text = "Purchase your beans!"

[node name="AudioStreamPlayer2D" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
volume_db = -4.0
autoplay = true

[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/Packages/10/Button" to="." method="_on_Button_pressed"]
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/Packages/50/Button2" to="." method="_on_Button_pressed"]
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/Packages/200/Button2" to="." method="_on_Button_pressed"]
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/Packages/35000/Button2" to="." method="_on_Button_pressed"]
[connection signal="pressed" from="Panel/MarginContainer/VBoxContainer/Purchase/Button" to="." method="purchase"]
