1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-02 17:31:55 +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
+3 -1
View File
@@ -16,7 +16,9 @@ var fields = {
FieldStore.Entity.PENARATION_RESISTANCE: 0,
FieldStore.Entity.PRICE_REDUCTION: 0,
FieldStore.Entity.EXTRA_BULLET_COUNT: 0,
FieldStore.Entity.DROP_APPLE_RATE: 0
FieldStore.Entity.DROP_APPLE_RATE: 0,
FieldStore.Entity.FEED_COUNT_SHOW: 3,
FieldStore.Entity.FEED_COUNT_CAN_MADE: 1
}
var inventory = {
ItemStore.ItemType.BASEBALL: 100,
+2
View File
@@ -37,3 +37,5 @@ static func setPanel(targetName: String = ""):
panel.showPanel()
else:
panel.hidePanel()
static func closeCurrentPanel():
setPanel()