mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-22 11:32:30 +08:00
feat: 添加鸡蛋资源并实现字段显示优势功能
- 新增鸡蛋资源文件及导入配置 - 在FieldShow组件中添加showAdvantage属性控制优势显示 - 修正武器类默认名称错误 - 添加entityNegativeFields数组存储负数字段
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bkm51am35af20"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_pda12"]
|
||||
[ext_resource type="Texture2D" uid="uid://dhu2npe2hdg6m" path="res://resources/feeds/egg-a.svg" id="2_4crt5"]
|
||||
[ext_resource type="Texture2D" uid="uid://b7vxserbhskol" path="res://resources/feeds/banana.svg" id="2_4g6dr"]
|
||||
|
||||
[node name="Egg" instance=ExtResource("1_pda12")]
|
||||
avatarTexture = ExtResource("2_4crt5")
|
||||
displayName = "鸡蛋"
|
||||
quality = 2
|
||||
topic = 3
|
||||
fields = Array[int]([3, 7])
|
||||
fieldValues = Array[float]([0.25, 10.0])
|
||||
costs = Array[int]([0, 1])
|
||||
costCounts = Array[int]([200, 100])
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_4g6dr")
|
||||
|
||||
[node name="name" parent="container/info" index="1"]
|
||||
displayName = "香蕉"
|
||||
topic = 3
|
||||
@@ -4,7 +4,7 @@
|
||||
[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"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_ossj7"]
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_3ylui"]
|
||||
font_size = 13
|
||||
|
||||
[node name="FieldShow" type="HBoxContainer"]
|
||||
@@ -43,5 +43,5 @@ layout_mode = 2
|
||||
size_flags_horizontal = 10
|
||||
size_flags_vertical = 8
|
||||
text = "0"
|
||||
label_settings = SubResource("LabelSettings_ossj7")
|
||||
label_settings = SubResource("LabelSettings_3ylui")
|
||||
horizontal_alignment = 1
|
||||
|
||||
Reference in New Issue
Block a user