1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-30 15:22:30 +08:00

Refactor feed components and UI interactions

- Updated various feed components (Cake, Cupcake, Dango, Donut, FruitPlatter, FruitSalad, Milk, Orange, RedJam, Strawberry, Taco, WaterBottle, Xigua-Full, Xigua-Half, YellowJam) to correct names, textures, and display names.
- Modified MakeFeed scene to improve feed selection and display logic, including the addition of skip functionality.
- Enhanced UIState and EntityBase scripts to manage feed counts and selections more effectively.
- Introduced DirTool for directory operations and improved file loading mechanisms.
- Adjusted TickTool for frame-based operations.
This commit is contained in:
2025-08-27 16:33:21 +08:00
parent a3ae7ae887
commit 9e396eef3d
24 changed files with 164 additions and 162 deletions
+4 -5
View File
@@ -1,10 +1,9 @@
[gd_scene load_steps=4 format=3 uid="uid://dhyjvrmcql6ay"]
[gd_scene load_steps=3 format=3 uid="uid://dhyjvrmcql6ay"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_a74ax"]
[ext_resource type="Texture2D" uid="uid://wa3p5atf521t" path="res://resources/feeds/jar-a.svg" id="2_o2o56"]
[ext_resource type="Texture2D" uid="uid://doyq5mp7wvv7s" path="res://resources/feeds/glass water-a.svg" id="2_q67vo"]
[node name="FruitSalad" instance=ExtResource("1_a74ax")]
[node name="RedJam" instance=ExtResource("1_a74ax")]
avatarTexture = ExtResource("2_o2o56")
displayName = "草莓果酱"
fields = Array[int]([3, 1])
@@ -13,7 +12,7 @@ costs = Array[int]([0, 1])
costCounts = Array[int]([100, 50])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_q67vo")
texture = ExtResource("2_o2o56")
[node name="name" parent="container/info" index="1"]
text = "[b]一杯水[/b]"
text = "[b]草莓果酱[/b]"