267 lines
9.5 KiB
Plaintext
267 lines
9.5 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://drw18a6mcr2of"]
|
|
|
|
[ext_resource type="Script" uid="uid://ptdj0qmobihd" path="res://Script/BigPanel/CropWarehousePanel.gd" id="1_24g1t"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8kysg"]
|
|
bg_color = Color(0.9, 0.85, 0.75, 0.95)
|
|
border_width_left = 8
|
|
border_width_top = 8
|
|
border_width_right = 8
|
|
border_width_bottom = 8
|
|
border_color = Color(0.5, 0.3, 0.1, 1)
|
|
corner_radius_top_left = 25
|
|
corner_radius_top_right = 25
|
|
corner_radius_bottom_right = 25
|
|
corner_radius_bottom_left = 25
|
|
shadow_color = Color(0.3, 0.2, 0.1, 0.4)
|
|
shadow_size = 15
|
|
shadow_offset = Vector2(3, 3)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_hover"]
|
|
bg_color = Color(0.85, 0.7, 0.5, 1)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.5, 0.4, 0.2, 1)
|
|
corner_radius_top_left = 12
|
|
corner_radius_top_right = 12
|
|
corner_radius_bottom_right = 12
|
|
corner_radius_bottom_left = 12
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_pressed"]
|
|
bg_color = Color(0.65, 0.5, 0.3, 1)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.3, 0.2, 0.05, 1)
|
|
corner_radius_top_left = 12
|
|
corner_radius_top_right = 12
|
|
corner_radius_bottom_right = 12
|
|
corner_radius_bottom_left = 12
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button"]
|
|
bg_color = Color(0.75, 0.6, 0.4, 1)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0.4, 0.3, 0.1, 1)
|
|
corner_radius_top_left = 12
|
|
corner_radius_top_right = 12
|
|
corner_radius_bottom_right = 12
|
|
corner_radius_bottom_left = 12
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uc6q1"]
|
|
bg_color = Color(0.95, 0.92, 0.85, 0.9)
|
|
border_width_left = 3
|
|
border_width_top = 3
|
|
border_width_right = 3
|
|
border_width_bottom = 3
|
|
border_color = Color(0.6, 0.4, 0.2, 0.8)
|
|
corner_radius_top_left = 15
|
|
corner_radius_top_right = 15
|
|
corner_radius_bottom_right = 15
|
|
corner_radius_bottom_left = 15
|
|
corner_detail = 20
|
|
|
|
[node name="CropWarehousePanel" type="Panel"]
|
|
offset_left = 58.0
|
|
offset_top = 77.0
|
|
offset_right = 1624.0
|
|
offset_bottom = 797.0
|
|
scale = Vector2(0.8, 0.8)
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_8kysg")
|
|
script = ExtResource("1_24g1t")
|
|
|
|
[node name="TMBackGround" type="ColorRect" parent="."]
|
|
layout_mode = 0
|
|
offset_left = -72.0
|
|
offset_top = -95.0
|
|
offset_right = 1678.0
|
|
offset_bottom = 804.0
|
|
color = Color(0.9, 0.8, 0.6, 0.3)
|
|
|
|
[node name="Title" type="Label" parent="."]
|
|
layout_mode = 2
|
|
offset_top = 13.0
|
|
offset_right = 1566.0
|
|
offset_bottom = 98.0
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_color = Color(0.4, 0.2, 0.1, 1)
|
|
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.8)
|
|
theme_override_colors/font_outline_color = Color(0.7, 0.5, 0.3, 1)
|
|
theme_override_constants/shadow_offset_x = 2
|
|
theme_override_constants/shadow_offset_y = 2
|
|
theme_override_constants/outline_size = 3
|
|
theme_override_constants/shadow_outline_size = 8
|
|
theme_override_font_sizes/font_size = 45
|
|
text = "🌾 作物仓库 🌾"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="SortContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 10.0
|
|
offset_top = 97.5
|
|
offset_right = 1576.0
|
|
offset_bottom = 160.5
|
|
alignment = 1
|
|
|
|
[node name="FilterLabel" type="Label" parent="SortContainer"]
|
|
self_modulate = Color(0.439216, 0.560784, 1, 1)
|
|
layout_mode = 2
|
|
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.6)
|
|
theme_override_constants/shadow_offset_x = 1
|
|
theme_override_constants/shadow_offset_y = 1
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "🔍 筛选:"
|
|
|
|
[node name="Sort_All" type="Button" parent="SortContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "🌾全部"
|
|
|
|
[node name="Sort_Common" type="Button" parent="SortContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "⚪普通"
|
|
|
|
[node name="Sort_Superior" type="Button" parent="SortContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0, 0.823529, 0.415686, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "🟢优良"
|
|
|
|
[node name="Sort_Rare" type="Button" parent="SortContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0, 0.454902, 0.729412, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "🔵稀有"
|
|
|
|
[node name="Sort_Epic" type="Button" parent="SortContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.552941, 0.396078, 0.772549, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "🟣史诗"
|
|
|
|
[node name="Sort_Legendary" type="Button" parent="SortContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.988235, 0.835294, 0.247059, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "🟡传奇"
|
|
|
|
[node name="SortLabel" type="Label" parent="SortContainer"]
|
|
self_modulate = Color(0.439216, 0.560784, 1, 1)
|
|
layout_mode = 2
|
|
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.6)
|
|
theme_override_constants/shadow_offset_x = 1
|
|
theme_override_constants/shadow_offset_y = 1
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "📊 排序:"
|
|
|
|
[node name="Sort_Price" type="Button" parent="SortContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "💰 按价格"
|
|
|
|
[node name="Sort_GrowTime" type="Button" parent="SortContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "⏰按生长时间"
|
|
|
|
[node name="Sort_Profit" type="Button" parent="SortContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "📈按收益"
|
|
|
|
[node name="Sort_Level" type="Button" parent="SortContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "⭐ 按等级"
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
|
layout_mode = 2
|
|
offset_left = 9.0
|
|
offset_top = 179.0
|
|
offset_right = 3890.0
|
|
offset_bottom = 1502.0
|
|
scale = Vector2(0.4, 0.4)
|
|
size_flags_vertical = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_uc6q1")
|
|
horizontal_scroll_mode = 0
|
|
vertical_scroll_mode = 2
|
|
scroll_deadzone = -10
|
|
|
|
[node name="Warehouse_Grid" type="GridContainer" parent="ScrollContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
size_flags_vertical = 3
|
|
columns = 8
|
|
|
|
[node name="QuitButton" type="Button" parent="."]
|
|
custom_minimum_size = Vector2(60, 60)
|
|
layout_mode = 2
|
|
offset_left = 1482.5
|
|
offset_top = 27.5
|
|
offset_right = 1542.5
|
|
offset_bottom = 90.5
|
|
theme_override_colors/font_color = Color(0.8, 0.2, 0.2, 1)
|
|
theme_override_font_sizes/font_size = 35
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "❌"
|
|
|
|
[node name="RefreshButton" type="Button" parent="."]
|
|
custom_minimum_size = Vector2(88, 60)
|
|
layout_mode = 2
|
|
offset_left = 13.0
|
|
offset_top = 13.0
|
|
offset_right = 117.0
|
|
offset_bottom = 76.0
|
|
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
|
theme_override_font_sizes/font_size = 28
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
|
text = "🔄刷新"
|