[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="Texture2D" uid="uid://bq8wf01j5ulwe" path="res://resources/ui/update-level.svg" id="4_do015"] [ext_resource type="Texture2D" uid="uid://f5rjbiw18tew" path="res://resources/ui/auto.png" id="4_h3enm"] [ext_resource type="Texture2D" uid="uid://bqplsjw07wkn8" path="res://resources/ui/update-soul.svg" id="4_j0v0r"] [ext_resource type="PackedScene" uid="uid://bbm8l3hr4ihar" path="res://components/UI/ItemShow.tscn" id="4_k01vb"] [ext_resource type="Texture2D" uid="uid://clobdvvfmj618" path="res://resources/ui/downdate-soul.svg" id="5_j7v7d"] [ext_resource type="Texture2D" uid="uid://lrvlfvt55j0" path="res://resources/ui/once-update.svg" id="5_jv1l6"] [ext_resource type="Script" uid="uid://5r8mvbag4m0q" path="res://scripts/Statemachine/TextSwitchButton.gd" id="5_us21t"] [ext_resource type="Texture2D" uid="uid://bbny26fysoh57" path="res://resources/ui/sublimate.png" id="8_75t4v"] [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 = 10 border_width_top = 10 border_width_right = 10 border_width_bottom = 10 border_color = Color(1, 1, 1, 1) border_blend = true corner_radius_top_left = 15 corner_radius_top_right = 15 corner_radius_bottom_right = 15 corner_radius_bottom_left = 15 corner_detail = 1 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mjvvk"] 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_top = 10 border_width_bottom = 10 border_color = Color(1, 1, 1, 1) border_blend = true corner_radius_top_right = 15 corner_radius_bottom_left = 15 corner_detail = 1 [sub_resource type="LabelSettings" id="LabelSettings_b3nsw"] font_size = 12 font_color = Color(0.55, 0.55, 0.55, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jv1l6"] content_margin_left = 10.0 content_margin_top = 10.0 content_margin_right = 10.0 content_margin_bottom = 10.0 bg_color = Color(0, 0, 0, 0.4) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(1, 1, 1, 1) corner_radius_top_left = 15 corner_radius_bottom_right = 15 corner_detail = 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="anchor" type="Control" parent="container" unique_id=870492027] layout_mode = 2 [node name="climatePanel" type="PanelContainer" parent="container/anchor" unique_id=653448699] layout_mode = 1 anchors_preset = -1 anchor_left = 1.15 anchor_right = 1.15 offset_right = 40.0 offset_bottom = 40.0 theme_override_styles/panel = SubResource("StyleBoxFlat_mjvvk") [node name="wrapper" type="VBoxContainer" parent="container/anchor/climatePanel" unique_id=1097849201] layout_mode = 2 theme_override_constants/separation = 15 [node name="title" type="Label" parent="container/anchor/climatePanel/wrapper" unique_id=2006348917] layout_mode = 2 text = "升华" [node name="sublimateOptions" type="VBoxContainer" parent="container/anchor/climatePanel/wrapper" unique_id=738429306] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 10 [node name="wrapper" type="VBoxContainer" parent="container" unique_id=673686123] layout_mode = 2 [node name="updates" type="HBoxContainer" parent="container/wrapper" unique_id=901133416] layout_mode = 2 [node name="autoUpdateBtn" type="Button" parent="container/wrapper/updates" unique_id=287764631] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 theme = ExtResource("2_fwkd3") toggle_mode = true text = "手动强化" icon = ExtResource("4_h3enm") script = ExtResource("5_us21t") pressedText = "自动强化" unpressedText = "手动强化" [node name="onceUpdateBtn" type="Button" parent="container/wrapper/updates" unique_id=1523224875] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 theme = ExtResource("2_fwkd3") text = "一键强化" icon = ExtResource("5_jv1l6") [node name="updateBtn" type="Button" parent="container/wrapper" unique_id=248603389] unique_name_in_owner = true layout_mode = 2 theme = ExtResource("2_fwkd3") text = "强化武器" icon = ExtResource("4_do015") alignment = 2 [node name="separator" type="HSeparator" parent="container/wrapper" unique_id=2079058077] layout_mode = 2 theme = ExtResource("2_fwkd3") [node name="climateBtn" type="Button" parent="container/wrapper" unique_id=390423731] unique_name_in_owner = true layout_mode = 2 theme = ExtResource("2_fwkd3") text = "升华" icon = ExtResource("8_75t4v") alignment = 2 script = ExtResource("5_us21t") pressedText = "凝华" unpressedText = "升华" [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 = "灵魂·提炼" icon = ExtResource("4_j0v0r") [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 = "灵魂·镶嵌" icon = ExtResource("5_j7v7d") [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="back" type="PanelContainer" parent="container" unique_id=517412512] layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_jv1l6") [node name="scroller" type="ScrollContainer" parent="container/back" unique_id=543588938] custom_minimum_size = Vector2(0, 200) layout_mode = 2 size_flags_vertical = 3 horizontal_scroll_mode = 0 [node name="description" type="RichTextLabel" parent="container/back/scroller" unique_id=566230682] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 bbcode_enabled = true text = "造成[color=cyan]10[/color]点伤害。" fit_content = true [node name="tease" type="Label" parent="container" unique_id=689277044] unique_name_in_owner = true visible = false 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 = "→"