1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-03 18:27:13 +08:00

feat(Feeds): 添加新饲料资源并调整现有饲料属性

添加番茄、核桃、酸奶等新饲料资源图片及配置
调整鸡蛋、胡萝卜等饲料的数值属性
更新FeedFilter组件的目标字段和刷新行为
This commit is contained in:
2025-12-07 14:51:54 +08:00
parent 2cc9ab5730
commit c0ea5c9c68
24 changed files with 384 additions and 9 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
[gd_scene load_steps=2 format=3 uid="uid://hkxs56a5rcvv"]
[ext_resource type="Script" path="res://scripts/Debug/FeedFilter.gd" id="1_feedfilter"]
[ext_resource type="Script" uid="uid://y551ijop8ydy" path="res://scripts/Debug/FeedFilter.gd" id="1_feedfilter"]
[node name="FeedFilter" type="HBoxContainer"]
theme_override_constants/separation = 0
script = ExtResource("1_feedfilter")
targetFields = Array[int]([14])
targetFields = Array[int]([27])
clickToRefresh = true
+1 -1
View File
@@ -11,7 +11,7 @@ topic = 5
fields = Array[int]([7])
fieldValues = Array[float]([-5.0])
costs = Array[int]([0, 1])
costCounts = Array[int]([500, 1000])
costCounts = Array[int]([300, 650])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_u65vk")
+22
View File
@@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://dtd6t24hrqwqh"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_4087t"]
[ext_resource type="Texture2D" uid="uid://d2tt5qma8nwt4" path="res://resources/feeds/cow-fruit.png" id="2_k6bqk"]
[ext_resource type="Texture2D" uid="uid://pvcwt58hsg5i" path="res://resources/feeds/Taco.svg" id="2_nriyf"]
[node name="CowFruit" instance=ExtResource("1_4087t")]
avatarTexture = ExtResource("2_k6bqk")
displayName = "牛油果"
topic = 4
fields = Array[int]([1, 5])
fieldValues = Array[float]([0.03, 0.05])
costs = Array[int]([0])
costCounts = Array[int]([600])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_nriyf")
[node name="name" parent="container/info" index="1"]
displayName = "塔克"
quality = 3
topic = 2
+1 -1
View File
@@ -9,7 +9,7 @@ displayName = "鸡蛋"
quality = 3
topic = 3
fields = Array[int]([3, 7])
fieldValues = Array[float]([0.3, 20.0])
fieldValues = Array[float]([0.2, 5.0])
costs = Array[int]([0, 1])
costCounts = Array[int]([500, 300])
+23
View File
@@ -0,0 +1,23 @@
[gd_scene load_steps=4 format=3 uid="uid://pumjscgt5b1s"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_4u06l"]
[ext_resource type="Texture2D" uid="uid://dsamh2u7a2bmw" path="res://resources/feeds/carrot.png" id="2_341bf"]
[ext_resource type="Texture2D" uid="uid://cf7sknxtrba4c" path="res://resources/feeds/three-fish.png" id="2_j0h7o"]
[node name="Fish3" instance=ExtResource("1_4u06l")]
avatarTexture = ExtResource("2_j0h7o")
displayName = "三文鱼片"
quality = 3
topic = 1
fields = Array[int]([26, 0])
fieldValues = Array[float]([0.02, -3.0])
costs = Array[int]([0, 1])
costCounts = Array[int]([700, 1500])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_341bf")
[node name="name" parent="container/info" index="1"]
displayName = "胡萝卜"
quality = 2
topic = 5
+22
View File
@@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://csscps7cn5aug"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_3nv8e"]
[ext_resource type="Texture2D" uid="uid://cd5ngm5c44yb6" path="res://resources/feeds/full-bread.png" id="2_6lkfe"]
[ext_resource type="Texture2D" uid="uid://b7vxserbhskol" path="res://resources/feeds/banana.svg" id="2_8r38l"]
[node name="FullBread" instance=ExtResource("1_3nv8e")]
avatarTexture = ExtResource("2_6lkfe")
displayName = "全麦三明治"
quality = 0
topic = 3
fields = Array[int]([2])
fieldValues = Array[float]([0.04])
costs = Array[int]([0, 1])
costCounts = Array[int]([125, 50])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_8r38l")
[node name="name" parent="container/info" index="1"]
displayName = "香蕉"
topic = 3
+2 -1
View File
@@ -9,7 +9,7 @@ displayName = "彩虹糖"
quality = 3
topic = 4
fields = Array[int]([1, 5, 6, 13, 7, 3])
fieldValues = Array[float]([0.2, 0.25, 0.05, 1.0, 15.0, -0.5])
fieldValues = Array[float]([0.3, 0.35, 0.1, 2.0, 15.0, -0.6])
costs = Array[int]([0, 3])
costCounts = Array[int]([700, 100])
@@ -18,4 +18,5 @@ texture = ExtResource("2_xhiuj")
[node name="name" parent="container/info" index="1"]
displayName = "彩虹糖"
quality = 3
topic = 4
+2 -2
View File
@@ -8,8 +8,8 @@ avatarTexture = ExtResource("2_eed3c")
displayName = "塔克"
quality = 3
topic = 2
fields = Array[int]([13, 3, 24])
fieldValues = Array[float]([0.18, 0.02, 0.05])
fields = Array[int]([13, 24])
fieldValues = Array[float]([0.18, 0.05])
costs = Array[int]([1])
costCounts = Array[int]([400])
+22
View File
@@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://cdqrjcvqieaiv"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_n8rje"]
[ext_resource type="Texture2D" uid="uid://b7vxserbhskol" path="res://resources/feeds/banana.svg" id="2_jv7mi"]
[ext_resource type="Texture2D" uid="uid://drx1gdhuqvula" path="res://resources/feeds/tomato.png" id="2_k8x63"]
[node name="Tomato" instance=ExtResource("1_n8rje")]
avatarTexture = ExtResource("2_k8x63")
displayName = "番茄"
quality = 2
topic = 1
fields = Array[int]([10])
fieldValues = Array[float]([0.05])
costs = Array[int]([0, 1])
costCounts = Array[int]([100, 70])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_jv7mi")
[node name="name" parent="container/info" index="1"]
displayName = "香蕉"
topic = 3
+23
View File
@@ -0,0 +1,23 @@
[gd_scene load_steps=4 format=3 uid="uid://dtkfw8j0vkwyr"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_8vvjq"]
[ext_resource type="Texture2D" uid="uid://cxpup20qfexvu" path="res://resources/feeds/walnut.png" id="2_e8h4u"]
[ext_resource type="Texture2D" uid="uid://pvcwt58hsg5i" path="res://resources/feeds/Taco.svg" id="2_qok10"]
[node name="Walnut" instance=ExtResource("1_8vvjq")]
avatarTexture = ExtResource("2_e8h4u")
displayName = "核桃"
quality = 4
topic = 2
fields = Array[int]([13, 22, 23, 24])
fieldValues = Array[float]([0.15, 0.1, 0.12, 0.03])
costs = Array[int]([0, 1])
costCounts = Array[int]([1000, 2000])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_qok10")
[node name="name" parent="container/info" index="1"]
displayName = "塔克"
quality = 3
topic = 2
+3 -2
View File
@@ -8,8 +8,8 @@ avatarTexture = ExtResource("2_bea7w")
displayName = "蜂蜜果酱"
quality = 2
topic = 4
fields = Array[int]([3, 1, 12])
fieldValues = Array[float]([-0.08, 0.15, 0.01])
fields = Array[int]([3, 1])
fieldValues = Array[float]([-0.08, 0.15])
costs = Array[int]([0, 1])
costCounts = Array[int]([200, 125])
@@ -19,3 +19,4 @@ texture = ExtResource("2_bea7w")
[node name="name" parent="container/info" index="1"]
displayName = "蜂蜜果酱"
quality = 2
topic = 4
+20
View File
@@ -0,0 +1,20 @@
[gd_scene load_steps=4 format=3 uid="uid://dn0g67rcijnpq"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_mc3ao"]
[ext_resource type="Texture2D" uid="uid://b7vxserbhskol" path="res://resources/feeds/banana.svg" id="2_ioyyr"]
[ext_resource type="Texture2D" uid="uid://bh70av8xdifjt" path="res://resources/feeds/yogurt.png" id="2_xcbej"]
[node name="Yogurt" instance=ExtResource("1_mc3ao")]
avatarTexture = ExtResource("2_xcbej")
displayName = "酸奶"
fields = Array[int]([8])
fieldValues = Array[float]([0.04])
costs = Array[int]([0, 1])
costCounts = Array[int]([200, 100])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_ioyyr")
[node name="name" parent="container/info" index="1"]
displayName = "香蕉"
topic = 3
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d2tt5qma8nwt4"
path="res://.godot/imported/cow-fruit.png-07c35b6822c10f2602f374922a5998fa.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/feeds/cow-fruit.png"
dest_files=["res://.godot/imported/cow-fruit.png-07c35b6822c10f2602f374922a5998fa.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cd5ngm5c44yb6"
path="res://.godot/imported/full-bread.png-330be7a2e7c942cffec7af3d511262c8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/feeds/full-bread.png"
dest_files=["res://.godot/imported/full-bread.png-330be7a2e7c942cffec7af3d511262c8.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cf7sknxtrba4c"
path="res://.godot/imported/three-fish.png-93fb5162a4b9a239e54e28f417c88f61.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/feeds/three-fish.png"
dest_files=["res://.godot/imported/three-fish.png-93fb5162a4b9a239e54e28f417c88f61.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://drx1gdhuqvula"
path="res://.godot/imported/tomato.png-b3b3f52f524acf0a689a1dc454f92fe4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/feeds/tomato.png"
dest_files=["res://.godot/imported/tomato.png-b3b3f52f524acf0a689a1dc454f92fe4.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cxpup20qfexvu"
path="res://.godot/imported/walnut.png-db381eb7001baf6d081b9af298450414.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/feeds/walnut.png"
dest_files=["res://.godot/imported/walnut.png-db381eb7001baf6d081b9af298450414.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bh70av8xdifjt"
path="res://.godot/imported/yogurt.png-6255c51052b09ea0fe26a86ea9e87ca1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/feeds/yogurt.png"
dest_files=["res://.godot/imported/yogurt.png-6255c51052b09ea0fe26a86ea9e87ca1.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1