1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-29 23:41:54 +08:00
Files
Dog-Lynx-And-HCN/components/UI/WeaponName.tscn
T
fallingshrimp be558bac02 feat(武器系统): 添加武器灵魂等级功能
- 在Weapon结构体中新增soulLevel属性
- 为WeaponName添加灵魂等级枚举和颜色映射
- 修改武器名称显示格式,加入灵魂等级前缀和颜色
- 移除WeaponCardBase的debugRebuild标志
2025-09-19 22:21:32 +08:00

71 lines
1.9 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://ch81vd3awkmhk"]
[ext_resource type="Theme" uid="uid://bje5cd08dyok7" path="res://themes/bigTextAndBold.tres" id="2_y8dft"]
[ext_resource type="Script" path="res://scripts/Statemachine/WeaponName.gd" id="3_g750e"]
[sub_resource type="LabelSettings" id="LabelSettings_83mpy"]
font_size = 12
[sub_resource type="LabelSettings" id="LabelSettings_gcoja"]
font_size = 12
[node name="WeaponName" type="HBoxContainer"]
offset_right = 205.0
offset_bottom = 25.0
alignment = 1
script = ExtResource("3_g750e")
qualityColorMap = {
0: Color(0.5, 0.5, 0.5, 1),
1: Color(1, 1, 1, 1),
2: Color(0, 0.493446, 1, 1),
3: Color(0.507763, 0, 1, 1),
4: Color(1, 0.442751, 0, 1)
}
typeTopicColorMap = {
0: Color(1, 1, 1, 1),
1: Color(1, 0, 0, 1),
2: Color(0, 1, 1, 1),
3: Color(0.851563, 0, 1, 1)
}
soulLevelColorMap = {
0: Color(1, 1, 1, 1),
1: Color(0.549081, 1, 0.469515, 1),
2: Color(0.496592, 0.690537, 1, 1),
3: Color(0.797899, 0.499276, 1, 1),
4: Color(1, 0.568473, 0.258116, 1)
}
metadata/_edit_horizontal_guides_ = [25.0]
[node name="quality" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 0
text = "[普通]"
label_settings = SubResource("LabelSettings_83mpy")
[node name="label" type="RichTextLabel" parent="."]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("2_y8dft")
bbcode_enabled = true
text = "[b][color=ffffffff]归一[/color] · 未命名武器[/b]"
fit_content = true
autowrap_mode = 0
[node name="level" type="RichTextLabel" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 8
theme = ExtResource("2_y8dft")
bbcode_enabled = true
text = "[b]Lv.1[/b]"
fit_content = true
autowrap_mode = 0
[node name="typeTopic" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 8
text = "[冲击]"
label_settings = SubResource("LabelSettings_gcoja")