mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
feat: 调整食物属性和游戏平衡参数
- 修改多种食物的数值属性,包括香蕉、果酱、幸运签语饼等 - 更新水杯和草莓的品质设置 - 调整游戏规则中的敌人成长参数 - 为FeedHasField调试组件添加点击刷新功能
This commit is contained in:
@@ -8,8 +8,18 @@ enum ComposeMode {
|
||||
|
||||
@export var targetFields: Array[FieldStore.Entity] = []
|
||||
@export var composeMode: ComposeMode = ComposeMode.ALL
|
||||
@export var clickToRefresh: bool = false
|
||||
|
||||
var lastState: bool = false
|
||||
|
||||
func _ready():
|
||||
rebuild()
|
||||
func _physics_process(_delta):
|
||||
if clickToRefresh != lastState:
|
||||
lastState = clickToRefresh
|
||||
rebuild()
|
||||
|
||||
func rebuild():
|
||||
for i in get_children():
|
||||
i.queue_free()
|
||||
var files = DirTool.listdir("res://components/Feeds/")
|
||||
|
||||
Reference in New Issue
Block a user