344 lines
11 KiB
Text
344 lines
11 KiB
Text
[gd_scene load_steps=7 format=3]
|
||
|
||
[ext_resource type="Script" path="res://ui/fishing_shop.gd" id="1_script"]
|
||
[ext_resource type="Theme" path="res://ui/game_theme.tres" id="2_theme"]
|
||
[ext_resource type="Texture2D" path="res://items/icons/placeholder/reel_speed_upgrade.svg" id="3_reel"]
|
||
[ext_resource type="Texture2D" path="res://items/icons/placeholder/barrier_power_upgrade.svg" id="4_barrier"]
|
||
[ext_resource type="Texture2D" path="res://items/icons/placeholder/fish_coin.svg" id="5_coin"]
|
||
[ext_resource type="Texture2D" path="res://items/icons/placeholder/cooler_expansion.svg" id="6_cooler"]
|
||
|
||
[node name="FishingShop" type="Control"]
|
||
unique_name_in_owner = true
|
||
visible = false
|
||
z_index = 80
|
||
layout_mode = 3
|
||
anchors_preset = 15
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
mouse_filter = 2
|
||
theme = ExtResource("2_theme")
|
||
theme_override_font_sizes/font_size = 20
|
||
script = ExtResource("1_script")
|
||
|
||
[node name="InputBlocker" type="Control" parent="."]
|
||
layout_mode = 1
|
||
anchors_preset = 15
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
mouse_filter = 0
|
||
|
||
[node name="ShopCoolerPage" type="Control" parent="."]
|
||
unique_name_in_owner = true
|
||
visible = false
|
||
z_index = 90
|
||
layout_mode = 1
|
||
anchors_preset = 15
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
mouse_filter = 1
|
||
|
||
[node name="ShopCoolerMount" type="Control" parent="ShopCoolerPage"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 1
|
||
anchors_preset = 15
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
mouse_filter = 1
|
||
|
||
[node name="BackToShopButton" type="Button" parent="ShopCoolerPage"]
|
||
unique_name_in_owner = true
|
||
z_index = 110
|
||
layout_mode = 0
|
||
offset_left = 1052.0
|
||
offset_top = 54.0
|
||
offset_right = 1218.0
|
||
offset_bottom = 104.0
|
||
text = "back to shop"
|
||
|
||
[node name="ShopPanel" type="PanelContainer" parent="."]
|
||
unique_name_in_owner = true
|
||
layout_mode = 1
|
||
anchors_preset = 8
|
||
anchor_left = 0.5
|
||
anchor_top = 0.5
|
||
anchor_right = 0.5
|
||
anchor_bottom = 0.5
|
||
offset_left = -490.0
|
||
offset_top = -300.0
|
||
offset_right = 490.0
|
||
offset_bottom = 300.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
|
||
[node name="Margin" type="MarginContainer" parent="ShopPanel"]
|
||
layout_mode = 2
|
||
theme_override_constants/margin_left = 16
|
||
theme_override_constants/margin_top = 12
|
||
theme_override_constants/margin_right = 16
|
||
theme_override_constants/margin_bottom = 12
|
||
|
||
[node name="Layout" type="VBoxContainer" parent="ShopPanel/Margin"]
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 10
|
||
|
||
[node name="Header" type="HBoxContainer" parent="ShopPanel/Margin/Layout"]
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 8
|
||
|
||
[node name="Title" type="Label" parent="ShopPanel/Margin/Layout/Header"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
text = "fishing shop"
|
||
theme_override_font_sizes/font_size = 32
|
||
theme_override_colors/font_color = Color(0.208, 0.725, 0.78, 1)
|
||
|
||
[node name="CoinIcon" type="TextureRect" parent="ShopPanel/Margin/Layout/Header"]
|
||
custom_minimum_size = Vector2(24, 24)
|
||
layout_mode = 2
|
||
texture = ExtResource("5_coin")
|
||
expand_mode = 1
|
||
stretch_mode = 5
|
||
texture_filter = 1
|
||
|
||
[node name="WalletLabel" type="Label" parent="ShopPanel/Margin/Layout/Header"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "wallet: $0"
|
||
|
||
[node name="CloseButton" type="Button" parent="ShopPanel/Margin/Layout/Header"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "close"
|
||
custom_minimum_size = Vector2(104, 48)
|
||
|
||
[node name="ModeTabs" type="HBoxContainer" parent="ShopPanel/Margin/Layout"]
|
||
layout_mode = 2
|
||
alignment = 1
|
||
theme_override_constants/separation = 10
|
||
|
||
[node name="BuyModeButton" type="Button" parent="ShopPanel/Margin/Layout/ModeTabs"]
|
||
unique_name_in_owner = true
|
||
custom_minimum_size = Vector2(180, 42)
|
||
layout_mode = 2
|
||
text = "buy gear & supplies"
|
||
|
||
[node name="SellModeButton" type="Button" parent="ShopPanel/Margin/Layout/ModeTabs"]
|
||
unique_name_in_owner = true
|
||
custom_minimum_size = Vector2(180, 42)
|
||
layout_mode = 2
|
||
text = "sell fish"
|
||
|
||
[node name="Feedback" type="Label" parent="ShopPanel/Margin/Layout"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = ""
|
||
horizontal_alignment = 1
|
||
theme_override_colors/font_color = Color(1, 0.82, 0.4, 1)
|
||
|
||
[node name="Body" type="HBoxContainer" parent="ShopPanel/Margin/Layout"]
|
||
layout_mode = 2
|
||
size_flags_vertical = 3
|
||
theme_override_constants/separation = 12
|
||
|
||
[node name="Upgrades" type="VBoxContainer" parent="ShopPanel/Margin/Layout/Body"]
|
||
custom_minimum_size = Vector2(270, 0)
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
theme_override_constants/separation = 8
|
||
|
||
[node name="UpgradeTitle" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades"]
|
||
layout_mode = 2
|
||
text = "fishing upgrades"
|
||
theme_override_font_sizes/font_size = 23
|
||
|
||
[node name="Supplies" type="VBoxContainer" parent="ShopPanel/Margin/Layout/Body"]
|
||
custom_minimum_size = Vector2(210, 0)
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
theme_override_constants/separation = 6
|
||
|
||
[node name="Title" type="Label" parent="ShopPanel/Margin/Layout/Body/Supplies"]
|
||
layout_mode = 2
|
||
text = "shop stock"
|
||
theme_override_font_sizes/font_size = 23
|
||
|
||
[node name="Scroll" type="ScrollContainer" parent="ShopPanel/Margin/Layout/Body/Supplies"]
|
||
layout_mode = 2
|
||
size_flags_vertical = 3
|
||
horizontal_scroll_mode = 0
|
||
|
||
[node name="SuppliesList" type="VBoxContainer" parent="ShopPanel/Margin/Layout/Body/Supplies/Scroll"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
theme_override_constants/separation = 5
|
||
|
||
[node name="ReelCard" type="PanelContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades"]
|
||
layout_mode = 2
|
||
|
||
[node name="Margin" type="MarginContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades/ReelCard"]
|
||
layout_mode = 2
|
||
theme_override_constants/margin_left = 9
|
||
theme_override_constants/margin_top = 7
|
||
theme_override_constants/margin_right = 9
|
||
theme_override_constants/margin_bottom = 7
|
||
|
||
[node name="Row" type="HBoxContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades/ReelCard/Margin"]
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 9
|
||
|
||
[node name="Icon" type="TextureRect" parent="ShopPanel/Margin/Layout/Body/Upgrades/ReelCard/Margin/Row"]
|
||
custom_minimum_size = Vector2(44, 44)
|
||
layout_mode = 2
|
||
texture = ExtResource("3_reel")
|
||
expand_mode = 1
|
||
stretch_mode = 5
|
||
texture_filter = 1
|
||
|
||
[node name="Data" type="VBoxContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades/ReelCard/Margin/Row"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="Name" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/ReelCard/Margin/Row/Data"]
|
||
layout_mode = 2
|
||
text = "reel speed"
|
||
theme_override_font_sizes/font_size = 22
|
||
|
||
[node name="ReelLevel" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/ReelCard/Margin/Row/Data"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "level 0"
|
||
theme_override_font_sizes/font_size = 18
|
||
|
||
[node name="ReelEffect" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/ReelCard/Margin/Row/Data"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "1.00× → 1.10×"
|
||
theme_override_font_sizes/font_size = 18
|
||
|
||
[node name="ReelCost" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/ReelCard/Margin/Row/Data"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "$50"
|
||
theme_override_font_sizes/font_size = 18
|
||
|
||
[node name="ReelPurchase" type="Button" parent="ShopPanel/Margin/Layout/Body/Upgrades/ReelCard/Margin/Row"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "purchase"
|
||
|
||
[node name="BarrierCard" type="PanelContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades"]
|
||
layout_mode = 2
|
||
|
||
[node name="Margin" type="MarginContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades/BarrierCard"]
|
||
layout_mode = 2
|
||
theme_override_constants/margin_left = 9
|
||
theme_override_constants/margin_top = 7
|
||
theme_override_constants/margin_right = 9
|
||
theme_override_constants/margin_bottom = 7
|
||
|
||
[node name="Row" type="HBoxContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades/BarrierCard/Margin"]
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 9
|
||
|
||
[node name="Icon" type="TextureRect" parent="ShopPanel/Margin/Layout/Body/Upgrades/BarrierCard/Margin/Row"]
|
||
custom_minimum_size = Vector2(44, 44)
|
||
layout_mode = 2
|
||
texture = ExtResource("4_barrier")
|
||
expand_mode = 1
|
||
stretch_mode = 5
|
||
texture_filter = 1
|
||
|
||
[node name="Data" type="VBoxContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades/BarrierCard/Margin/Row"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="Name" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/BarrierCard/Margin/Row/Data"]
|
||
layout_mode = 2
|
||
text = "barrier power"
|
||
theme_override_font_sizes/font_size = 22
|
||
|
||
[node name="BarrierLevel" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/BarrierCard/Margin/Row/Data"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "level 0"
|
||
theme_override_font_sizes/font_size = 18
|
||
|
||
[node name="BarrierEffect" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/BarrierCard/Margin/Row/Data"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "1 damage → 2 damage"
|
||
theme_override_font_sizes/font_size = 18
|
||
|
||
[node name="BarrierCost" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/BarrierCard/Margin/Row/Data"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "$100"
|
||
theme_override_font_sizes/font_size = 18
|
||
|
||
[node name="BarrierPurchase" type="Button" parent="ShopPanel/Margin/Layout/Body/Upgrades/BarrierCard/Margin/Row"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "purchase"
|
||
|
||
[node name="CoolerCard" type="PanelContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades"]
|
||
layout_mode = 2
|
||
|
||
[node name="Margin" type="MarginContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades/CoolerCard"]
|
||
layout_mode = 2
|
||
theme_override_constants/margin_left = 9
|
||
theme_override_constants/margin_top = 7
|
||
theme_override_constants/margin_right = 9
|
||
theme_override_constants/margin_bottom = 7
|
||
|
||
[node name="Row" type="HBoxContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades/CoolerCard/Margin"]
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 9
|
||
|
||
[node name="Icon" type="TextureRect" parent="ShopPanel/Margin/Layout/Body/Upgrades/CoolerCard/Margin/Row"]
|
||
custom_minimum_size = Vector2(44, 44)
|
||
layout_mode = 2
|
||
texture = ExtResource("6_cooler")
|
||
expand_mode = 1
|
||
stretch_mode = 5
|
||
texture_filter = 1
|
||
|
||
[node name="Data" type="VBoxContainer" parent="ShopPanel/Margin/Layout/Body/Upgrades/CoolerCard/Margin/Row"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 3
|
||
|
||
[node name="Name" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/CoolerCard/Margin/Row/Data"]
|
||
layout_mode = 2
|
||
text = "cooler capacity"
|
||
theme_override_font_sizes/font_size = 22
|
||
|
||
[node name="CoolerLevel" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/CoolerCard/Margin/Row/Data"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "level 0"
|
||
theme_override_font_sizes/font_size = 18
|
||
|
||
[node name="CoolerEffect" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/CoolerCard/Margin/Row/Data"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "12 → 18 fish"
|
||
theme_override_font_sizes/font_size = 18
|
||
|
||
[node name="CoolerCost" type="Label" parent="ShopPanel/Margin/Layout/Body/Upgrades/CoolerCard/Margin/Row/Data"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "$75"
|
||
theme_override_font_sizes/font_size = 18
|
||
|
||
[node name="CoolerPurchase" type="Button" parent="ShopPanel/Margin/Layout/Body/Upgrades/CoolerCard/Margin/Row"]
|
||
unique_name_in_owner = true
|
||
layout_mode = 2
|
||
text = "purchase"
|