1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 15:01:53 +08:00
Files
Dog-Lynx-And-HCN/components/Abstracts/FeedCardBase.tscn
T
fallingshrimp c4b59a5b3f feat(饲料卡片): 添加饲料品质显示功能
实现饲料品质的枚举定义和颜色映射,修改FeedCardBase使用FeedName组件显示品质
2025-08-28 08:51:08 +08:00

71 lines
2.2 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://bykwevnv7keeh"]
[ext_resource type="Script" path="res://scripts/Structs/Feed.gd" id="1_2ea75"]
[ext_resource type="Theme" uid="uid://dhvs6urgf6jr5" path="res://themes/main.tres" id="2_lvrpo"]
[ext_resource type="Texture2D" uid="uid://dwwpkn4q07ja2" path="res://icon.svg" id="3_v6s0y"]
[ext_resource type="PackedScene" uid="uid://bt370a1djjg5p" path="res://components/UI/FeedName.tscn" id="4_aewpy"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n2ewr"]
content_margin_left = 30.0
content_margin_top = 20.0
content_margin_right = 30.0
content_margin_bottom = 20.0
bg_color = Color(0, 0, 0, 0.5)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0, 0, 0, 0.75)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[node name="FeedCard" type="PanelContainer"]
offset_right = 200.0
offset_bottom = 300.0
theme_override_styles/panel = SubResource("StyleBoxFlat_n2ewr")
script = ExtResource("1_2ea75")
metadata/_edit_lock_ = true
[node name="container" type="VBoxContainer" parent="."]
layout_mode = 2
theme_override_constants/separation = 10
[node name="selectBtn" type="Button" parent="container"]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("2_lvrpo")
text = "确定"
[node name="info" type="VBoxContainer" parent="container"]
layout_mode = 2
theme_override_constants/separation = 10
[node name="avatar" type="TextureRect" parent="container/info"]
unique_name_in_owner = true
custom_minimum_size = Vector2(75, 75)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
texture = ExtResource("3_v6s0y")
expand_mode = 1
stretch_mode = 5
[node name="name" parent="container/info" instance=ExtResource("4_aewpy")]
unique_name_in_owner = true
layout_mode = 2
quality = 1
[node name="fields" type="VBoxContainer" parent="container"]
unique_name_in_owner = true
layout_mode = 2
[node name="costs" type="GridContainer" parent="container"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 10
theme_override_constants/h_separation = 10
theme_override_constants/v_separation = 10
columns = 2