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

feat: 添加掉落物功能,更新饲料和物品显示,重构相关UI组件

This commit is contained in:
2025-08-26 20:46:02 +08:00
parent 417ca71de3
commit 51fc904a6a
20 changed files with 424 additions and 16 deletions
+2
View File
@@ -34,6 +34,8 @@ animations = [{
script = ExtResource("2_r6bub")
cooldownUnit = 200.0
displayName = "小鸡"
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(10, 20), Vector2(7, 14)])
[node name="hurt" parent="sounds" index="2"]
stream = ExtResource("3_ik1xf")
+2
View File
@@ -34,6 +34,8 @@ radius = 40.0
[node name="Hen" instance=ExtResource("1_twxai")]
script = ExtResource("2_8u5a0")
cooldownUnit = 500.0
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(4, 8), Vector2(2, 6)])
[node name="hurt" parent="sounds" index="2"]
stream = ExtResource("3_ojyt7")