mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-11 12:32:54 +08:00
fix: 更新FeedHasField和FruitPlatter的targetFields,优化FieldShow的节点结构
This commit is contained in:
@@ -5,6 +5,5 @@
|
|||||||
[node name="FeedHasField" type="HBoxContainer"]
|
[node name="FeedHasField" type="HBoxContainer"]
|
||||||
theme_override_constants/separation = 0
|
theme_override_constants/separation = 0
|
||||||
script = ExtResource("1_7leag")
|
script = ExtResource("1_7leag")
|
||||||
targetFields = Array[int]([24])
|
targetFields = Array[int]([25])
|
||||||
composeMode = 1
|
composeMode = 1
|
||||||
clickToRefresh = true
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
avatarTexture = ExtResource("2_6i6sp")
|
avatarTexture = ExtResource("2_6i6sp")
|
||||||
displayName = "水果拼盘"
|
displayName = "水果拼盘"
|
||||||
topic = 7
|
topic = 7
|
||||||
fields = Array[int]([21])
|
fields = Array[int]([21, 25])
|
||||||
fieldValues = Array[float]([5.0])
|
fieldValues = Array[float]([5.0, 0.5])
|
||||||
costs = Array[int]([0, 1])
|
costs = Array[int]([0, 1])
|
||||||
costCounts = Array[int]([150, 200])
|
costCounts = Array[int]([150, 200])
|
||||||
|
|
||||||
|
|||||||
@@ -235,6 +235,7 @@ theme_override_styles/panel = SubResource("StyleBoxEmpty_ri8gw")
|
|||||||
[node name="fields" type="VBoxContainer" parent="root/fields/wrapper"]
|
[node name="fields" type="VBoxContainer" parent="root/fields/wrapper"]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
theme_override_constants/separation = 1
|
||||||
|
|
||||||
[node name="fieldsAnimator" type="AnimationPlayer" parent="root/fields"]
|
[node name="fieldsAnimator" type="AnimationPlayer" parent="root/fields"]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
[gd_scene load_steps=3 format=3 uid="uid://cw5ip3rw4r3pp"]
|
[gd_scene load_steps=4 format=3 uid="uid://cw5ip3rw4r3pp"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://scripts/Statemachine/FieldShow.gd" id="1_gwocj"]
|
[ext_resource type="Script" path="res://scripts/Statemachine/FieldShow.gd" id="1_gwocj"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://iu5i8ullbhf6" path="res://resources/items/apple.svg" id="2_q02yi"]
|
||||||
[ext_resource type="Theme" uid="uid://b6nox1qqh50ub" path="res://themes/smallText.tres" id="2_x62bb"]
|
[ext_resource type="Theme" uid="uid://b6nox1qqh50ub" path="res://themes/smallText.tres" id="2_x62bb"]
|
||||||
|
|
||||||
[node name="FieldShow" type="HBoxContainer"]
|
[node name="FieldShow" type="HBoxContainer"]
|
||||||
@@ -9,6 +10,15 @@ offset_bottom = 18.0
|
|||||||
script = ExtResource("1_gwocj")
|
script = ExtResource("1_gwocj")
|
||||||
metadata/_edit_horizontal_guides_ = [18.0]
|
metadata/_edit_horizontal_guides_ = [18.0]
|
||||||
|
|
||||||
|
[node name="icon" type="TextureRect" parent="."]
|
||||||
|
custom_minimum_size = Vector2(14, 14)
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 4
|
||||||
|
size_flags_vertical = 4
|
||||||
|
texture = ExtResource("2_q02yi")
|
||||||
|
expand_mode = 1
|
||||||
|
stretch_mode = 5
|
||||||
|
|
||||||
[node name="name" type="Label" parent="."]
|
[node name="name" type="Label" parent="."]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|||||||
Reference in New Issue
Block a user