mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
db1a1625da
为武器添加tease文本字段用于显示额外信息 调整武器卡字体大小和布局,添加tease标签显示 更新公鸡角色的武器配置
191 lines
6.1 KiB
Plaintext
191 lines
6.1 KiB
Plaintext
[gd_scene format=3 uid="uid://ckq2cq6m23hq3"]
|
|
|
|
[ext_resource type="Script" uid="uid://c7odfwtug8ds4" path="res://scripts/Structs/Weapon.gd" id="1_g802t"]
|
|
[ext_resource type="Theme" uid="uid://dhvs6urgf6jr5" path="res://themes/main.tres" id="2_fwkd3"]
|
|
[ext_resource type="Texture2D" uid="uid://dwwpkn4q07ja2" path="res://icon.svg" id="2_j0w4u"]
|
|
[ext_resource type="PackedScene" uid="uid://ch81vd3awkmhk" path="res://components/UI/WeaponName.tscn" id="3_qv0b1"]
|
|
[ext_resource type="Texture2D" uid="uid://k13cte17httt" path="res://resources/items/energy.svg" id="4_6gohw"]
|
|
[ext_resource type="PackedScene" uid="uid://bbm8l3hr4ihar" path="res://components/UI/ItemShow.tscn" id="4_k01vb"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n2ewr"]
|
|
content_margin_left = 30.0
|
|
content_margin_top = 20.0
|
|
content_margin_right = 30.0
|
|
content_margin_bottom = 20.0
|
|
bg_color = Color(0, 0, 0, 0.5)
|
|
border_width_left = 2
|
|
border_width_top = 2
|
|
border_width_right = 2
|
|
border_width_bottom = 2
|
|
border_color = Color(0, 0, 0, 0.75)
|
|
corner_radius_top_left = 5
|
|
corner_radius_top_right = 5
|
|
corner_radius_bottom_right = 5
|
|
corner_radius_bottom_left = 5
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_b3nsw"]
|
|
font_size = 12
|
|
font_color = Color(0.55, 0.55, 0.55, 1)
|
|
|
|
[node name="WeaponCard" type="PanelContainer" unique_id=2085048785]
|
|
offset_right = 350.0
|
|
offset_bottom = 304.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_n2ewr")
|
|
script = ExtResource("1_g802t")
|
|
avatarTexture = ExtResource("2_j0w4u")
|
|
sources = Array[String](["无灵"])
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="sounds" type="Node2D" parent="." unique_id=1775425991]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="attack" type="AudioStreamPlayer2D" parent="sounds" unique_id=853583292]
|
|
process_mode = 3
|
|
|
|
[node name="container" type="VBoxContainer" parent="." unique_id=575698869]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
alignment = 1
|
|
|
|
[node name="wrapper" type="VBoxContainer" parent="container" unique_id=673686123]
|
|
layout_mode = 2
|
|
|
|
[node name="updateBtn" type="Button" parent="container/wrapper" unique_id=248603389]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme = ExtResource("2_fwkd3")
|
|
text = "升级"
|
|
|
|
[node name="souls" type="HBoxContainer" parent="container/wrapper" unique_id=1439164733]
|
|
layout_mode = 2
|
|
|
|
[node name="extractBtn" type="Button" parent="container/wrapper/souls" unique_id=496889309]
|
|
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_id=1008423578]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme = ExtResource("2_fwkd3")
|
|
text = "镶嵌"
|
|
|
|
[node name="info" type="VBoxContainer" parent="container" unique_id=1625294072]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="avatar" type="TextureRect" parent="container/info" unique_id=1021985889]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(75, 75)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 0
|
|
texture = ExtResource("2_j0w4u")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="infos" type="HBoxContainer" parent="container/info" unique_id=492799150]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
alignment = 1
|
|
|
|
[node name="energyInfo" type="HBoxContainer" parent="container/info/infos" unique_id=644675021]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="icon" type="TextureRect" parent="container/info/infos/energyInfo" unique_id=2073246581]
|
|
custom_minimum_size = Vector2(15, 15)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
texture = ExtResource("4_6gohw")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="energy" type="Label" parent="container/info/infos/energyInfo" unique_id=1664028115]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "0.0"
|
|
|
|
[node name="beachball" parent="container/info/infos" unique_id=653442983 instance=ExtResource("4_k01vb")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
type = 3
|
|
count = 500
|
|
|
|
[node name="soul" parent="container/info/infos" unique_id=1367320807 instance=ExtResource("4_k01vb")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
type = 4
|
|
count = 1
|
|
|
|
[node name="displays" type="VBoxContainer" parent="container/info" unique_id=784441328]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="name" parent="container/info/displays" unique_id=1576068972 instance=ExtResource("3_qv0b1")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
typeTopicColorMap = {
|
|
0: Color(1, 1, 1, 1),
|
|
1: Color(0, 0.708754, 1, 1),
|
|
2: Color(1, 0.232016, 0, 1),
|
|
3: Color(0.707984, 0, 1, 1),
|
|
4: Color(0, 1, 0.7641754, 1)
|
|
}
|
|
soulLevelColorMap = {
|
|
1: Color(1, 1, 1, 1),
|
|
2: Color(0.489296, 1, 0.548293, 1),
|
|
3: Color(0.584242, 0.651083, 1, 1),
|
|
4: Color(1, 0.325579, 0.996599, 1),
|
|
5: Color(1, 0.57713, 0.247421, 1)
|
|
}
|
|
|
|
[node name="source" type="Label" parent="container/info/displays" unique_id=365191794]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "无灵"
|
|
label_settings = SubResource("LabelSettings_b3nsw")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="description" type="RichTextLabel" parent="container" unique_id=566230682]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
bbcode_enabled = true
|
|
text = "[center]造成[color=cyan]10[/color]点伤害。[/center]"
|
|
fit_content = true
|
|
|
|
[node name="tease" type="Label" parent="container" unique_id=689277044]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
label_settings = SubResource("LabelSettings_b3nsw")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="costs" type="GridContainer" parent="container" unique_id=1912749879]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 10
|
|
theme_override_constants/h_separation = 10
|
|
theme_override_constants/v_separation = 10
|
|
columns = 2
|
|
|
|
[node name="control" type="HBoxContainer" parent="container" unique_id=1948685075]
|
|
layout_mode = 2
|
|
|
|
[node name="moveleft" type="Button" parent="container/control" unique_id=2063008334]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "←"
|
|
|
|
[node name="moveright" type="Button" parent="container/control" unique_id=883570680]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "→"
|