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

feat(物品系统): 新增灵魂物品类型及相关功能

- 在ItemStore.gd中添加SOUL物品类型及其映射
- 在EntityBase.gd中为物品栏添加SOUL类型及其上限
- 新增灵魂物品的SVG图标及导入配置
- 为角色(KukeMC, Bear, Chick)添加灵魂掉落配置
- 在武器卡片界面添加灵魂提炼和镶嵌按钮
This commit is contained in:
2025-09-19 22:38:25 +08:00
parent fcfa648b86
commit ac7183e78b
8 changed files with 73 additions and 6 deletions
+21 -1
View File
@@ -41,12 +41,32 @@ layout_mode = 2
theme_override_constants/separation = 10
alignment = 1
[node name="updateBtn" type="Button" parent="container"]
[node name="wrapper" type="VBoxContainer" parent="container"]
layout_mode = 2
[node name="updateBtn" type="Button" parent="container/wrapper"]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("2_fwkd3")
text = "升级"
[node name="souls" type="HBoxContainer" parent="container/wrapper"]
layout_mode = 2
[node name="extractBtn" type="Button" parent="container/wrapper/souls"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("2_fwkd3")
text = "提炼灵魂"
[node name="inlayBtn" type="Button" parent="container/wrapper/souls"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("2_fwkd3")
text = "镶嵌灵魂"
[node name="info" type="VBoxContainer" parent="container"]
layout_mode = 2
theme_override_constants/separation = 10