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

feat(武器系统): 添加武器类型支持及相关组件

- 在FeedName.gd中新增WEAPON枚举类型及对应翻译和颜色配置
- 在Feed.gd中添加weapons数组和weaponsBox容器
- 新增WeaponShow.tscn武器展示组件
- 添加NuclearBomb.tscn核弹武器示例
- 修改ComponentManager.gd中主题文件加载路径
- 更新FeedCardBase.tscn和FeedName.tscn以支持武器显示
This commit is contained in:
2025-09-21 16:35:49 +08:00
parent 0f588a4b58
commit ace6d3bf53
7 changed files with 62 additions and 10 deletions
+7 -6
View File
@@ -3,11 +3,11 @@
[ext_resource type="Script" path="res://scripts/Statemachine/FeedName.gd" id="1_wfxme"]
[ext_resource type="Theme" uid="uid://bje5cd08dyok7" path="res://themes/bigTextAndBold.tres" id="2_k71he"]
[sub_resource type="LabelSettings" id="LabelSettings_whetw"]
[sub_resource type="LabelSettings" id="LabelSettings_8o8ly"]
font_size = 12
font_color = Color(1, 0.442751, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_wse1t"]
[sub_resource type="LabelSettings" id="LabelSettings_6f4ri"]
font_size = 12
font_color = Color(1, 0, 0.585938, 1)
@@ -27,12 +27,13 @@ qualityColorMap = {
topicColorMap = {
0: Color(1, 0, 0.585938, 1),
1: Color(0, 0.414063, 1, 1),
2: Color(0.757813, 0.497314, 0, 1),
2: Color(0.60183, 0.349817, 0, 1),
3: Color(0.40625, 1, 0, 1),
4: Color(1, 0, 0, 1),
5: Color(1, 0.421875, 0, 1),
6: Color(1, 1, 1, 1),
7: Color(0.449219, 0.449219, 0.449219, 1)
7: Color(0.449219, 0.449219, 0.449219, 1),
8: Color(1, 0.816993, 0, 1)
}
metadata/_edit_horizontal_guides_ = [25.0]
@@ -41,7 +42,7 @@ unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
text = "[传说]"
label_settings = SubResource("LabelSettings_whetw")
label_settings = SubResource("LabelSettings_8o8ly")
[node name="label" type="RichTextLabel" parent="."]
unique_name_in_owner = true
@@ -57,4 +58,4 @@ unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 8
text = "[生存]"
label_settings = SubResource("LabelSettings_wse1t")
label_settings = SubResource("LabelSettings_6f4ri")