From a97a706dc9795788e3789539679f6e0b1e490556 Mon Sep 17 00:00:00 2001 From: cakipaul Date: Tue, 12 Aug 2025 22:51:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=BA=8C=E7=AB=A0=E4=BF=9D=E5=8D=AB?= =?UTF-8?q?=E7=A7=91=E6=BC=94=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asset/art/scene/c02/s04_保卫科/血迹.png | Bin 0 -> 5125 bytes .../art/scene/c02/s04_保卫科/血迹.png.import | 34 +++++ asset/dialogue/inspect_content.csv | 8 +- asset/dialogue/inspect_content.dialogue | 9 +- asset/dialogue/item_description.csv | 4 +- asset/dialogue/item_description.dialogue | 4 +- scene/ground/scene/c02/s04_保卫科.tscn | 127 +++++++++++------- .../script/c02/s04_event李癞拜老鼠精.gd | 31 ++++- .../script/c03/s04_closeup整理麻将游戏.tscn | 17 +-- scene/ux/prop_hud.gd | 2 +- scene/ux/prop_inspector.tscn | 1 - 11 files changed, 158 insertions(+), 79 deletions(-) create mode 100644 asset/art/scene/c02/s04_保卫科/血迹.png create mode 100644 asset/art/scene/c02/s04_保卫科/血迹.png.import diff --git a/asset/art/scene/c02/s04_保卫科/血迹.png b/asset/art/scene/c02/s04_保卫科/血迹.png new file mode 100644 index 0000000000000000000000000000000000000000..9a842b76049f395bba82748c5d4eb184febe8295 GIT binary patch literal 5125 zcmV+g6#DClP)f6Xi@@54ZTQ_E-Enz5K6$1 z03tR-RB%L5k){YTDBysjLy@r}iiH7DvFijGMAUI`6dRUFWUU$Bym{}eS9UO(Z2>7`&z9wUXbV-Il z#&6`Y8GKGQ04S2&F6MJnWNa;Ck|;8QE#r9r;7G||@X{|>%+C|c55>;RS}qbKr-&IQ zTvLXPlM{>K&(BTgi^a?^4mXV>;xX8n8Ce|RasXz}{8imI52H3ZN4bf ze_i~WlJ|C&UW9+{8AKoW!}eExnGFE2re(F+`iE_46#!l90Z_aBhs|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H`{3~JqpN4&8_@x`-8&osSuHFAN>5Y1gxlMy>U=}zcbBO~!M7?J> zo{=>&-7a&hl|mDb?ASfSX|gzGh@D`6pGI8|pL1hO@O&pZCU}VZNAvn_&XJh6GEj zd#|BB9aBFAJ(gfTL6Y$%d%q1rwDGxui@(SBYF#$Kj1Z)h+TvB_5%{;_x0&a#0 z*f^6QYO&6(tIY)53=^<172ye`ac`;gl+XW8H0i_y+zb=2(Fi5vvtBh@sQ4H_#;8re z&A75t^D>vX)aO?FESM&4b$H?3J6kNy+YYn9#zHX*+>E&n85oAqE+$~ZxWdd;z`t`J zFn`G~TEyDG#zL_+a5Kz>HjFEb3D_{MFy{(5bID_wOXl(|8^bUz#@LA*nM-Z}k5GQb z(P=ExTdtrNhwvYcjtT{p^ynvyY4dY7E84Ly; zfWctU84L#UI+lIl4d8X)HQ>z!m2ak)^);?KU4X%0a1(e3;D6zgqaMzkQ1lAitH3U! zpOw5en23$5jI@E}quKt0tSr4raq@Bh@_!asF2gV;K;D~FY;A4*7l5s;g%-##jLET? zSjIxJnOM!Ri5!M;g=yu1{>&xM0FME$q(1*m8|O3(<9sgcLWf}|53sehHF9v~lBX%Z z@$D`sClTbdWG?wA n@F4a1UuSWC END diff --git a/asset/dialogue/item_description.csv b/asset/dialogue/item_description.csv index 2c64ce55..9aafe188 100644 --- a/asset/dialogue/item_description.csv +++ b/asset/dialogue/item_description.csv @@ -227,7 +227,7 @@ c02_保卫科花名册os,登记簿?{br}刚才那个小孩在上面写了些什 c02_保卫科花名册首次互动结束,3012?上面有我的名字,看来确实是这里... {br}先去三楼看看吧,,,,,"3012? My name is on it, so this really is the place...{br}Let me go check the third floor first" c02_保卫科祭台os,祭台是专门供奉这只大老鼠的?,,,,,Is this altar specifically for worshipping this big rat? c02_保卫科老鼠精,鼠歌 {br}{br}天地小如喉,{br}红轮自吞吐。{br}多少世间人,{br}都被红轮误。,,,,,"Rat Song{br}{br}Heaven and earth small as a throat,{br}The red wheel swallows itself.{br}How many worldly people{br}Are misled by the red wheel." -c02_保卫科老鼠精_第二章,莫被红轮误莫被红轮误{br}莫被红轮误莫被红轮误{br}莫被红轮误莫被红轮误,,,,, +c02_保卫科老鼠精_第二章,莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误,,,,, c02_小手还能换什么,...还有什么东西能跟它交换呢?,,,,,...what else can I trade with it? c02_小手出现摔倒,?!,,,,,?! c02_小手是什么鬼,这是什么鬼东西,它是在讨要什么,,,,,What the hell is this thing? What is it asking for? @@ -341,5 +341,5 @@ c03_s12_label7,[wave]反正...都一样吧[/wave],,,,, c03_s12_label8,[wave]又嫩又甜[/wave],,,,, c03_李癞胖演出结束,怎么突然出现这么多人?{br}要不跟过去看看?,,,,, c03_冷飕飕风吹过,...{br}这股风...,,,,, -c03_保卫科_李癞拜老鼠精,?!{br}他们这是...在拜老鼠精?,,,,, +c03_保卫科_李癞拜老鼠精,?!{br}他们这是...在拜那幅像?,,,,, c03_小手洞1,洞里有很浓的血腥味...,,,,, diff --git a/asset/dialogue/item_description.dialogue b/asset/dialogue/item_description.dialogue index 66682d44..4fc83497 100644 --- a/asset/dialogue/item_description.dialogue +++ b/asset/dialogue/item_description.dialogue @@ -291,7 +291,7 @@ 3012?上面有我的名字,看来确实是这里... {br}先去三楼看看吧[ID:c02_保卫科花名册首次互动结束] 祭台是专门供奉这只大老鼠的? [ID:c02_保卫科祭台os] 鼠歌 {br}{br}天地小如喉,{br}红轮自吞吐。{br}多少世间人,{br}都被红轮误。 [ID:c02_保卫科老鼠精] -莫被红轮误莫被红轮误{br}莫被红轮误莫被红轮误{br}莫被红轮误莫被红轮误 [ID:c02_保卫科老鼠精_第二章] +莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误莫被红轮误 [ID:c02_保卫科老鼠精_第二章] #小手 ...还有什么东西能跟它交换呢? [ID:c02_小手还能换什么] ?! [ID:c02_小手出现摔倒] @@ -428,7 +428,7 @@ # 李癞胖演出结束 怎么突然出现这么多人?{br}要不跟过去看看?[ID:c03_李癞胖演出结束] ...{br}这股风...[ID:c03_冷飕飕风吹过] -?!{br}他们这是...在拜老鼠精?[ID:c03_保卫科_李癞拜老鼠精] +?!{br}他们这是...在拜那幅像?[ID:c03_保卫科_李癞拜老鼠精] # 小手 洞里有很浓的血腥味...[ID:c03_小手洞1] => END diff --git a/scene/ground/scene/c02/s04_保卫科.tscn b/scene/ground/scene/c02/s04_保卫科.tscn index c8e6e274..98f7470d 100644 --- a/scene/ground/scene/c02/s04_保卫科.tscn +++ b/scene/ground/scene/c02/s04_保卫科.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=37 format=3 uid="uid://bivc5cdap370p"] +[gd_scene load_steps=38 format=3 uid="uid://bivc5cdap370p"] [ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_2jej0"] [ext_resource type="Script" uid="uid://dmhh4g47bdxxy" path="res://scene/ground/scene/c02/s04_保卫科.gd" id="2_jyere"] @@ -6,7 +6,6 @@ [ext_resource type="AudioStream" uid="uid://b2mudqvq1dmng" path="res://asset/audio/sfx/环境音/白噪音/白噪声房间里1.ogg" id="3_g8amr"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_cq2m4"] [ext_resource type="SpriteFrames" uid="uid://c2sjavnptjn" path="res://asset/art/gif/c02_保卫科/c02_保卫科_frames.tres" id="4_svuj3"] -[ext_resource type="AudioStream" uid="uid://cukox0pnlbd1a" path="res://asset/audio/mixkit/mixkit-female-astonished-gasp-964.ogg" id="5_c6o7a"] [ext_resource type="Texture2D" uid="uid://bnyf8m63ltgh0" path="res://asset/art/scene/c02/s04_保卫科/l_香.png" id="5_cy26p"] [ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="6_66gue"] [ext_resource type="PackedScene" uid="uid://b8i6tqwdvvddy" path="res://scene/ground/script/c02/花名册.tscn" id="6_fvlg0"] @@ -34,8 +33,10 @@ [ext_resource type="SpriteFrames" uid="uid://cmvr3lbwe3h7p" path="res://asset/art/gif/c03_特写与游戏动画/c03_特写与游戏动画_frames.tres" id="30_hfptv"] [ext_resource type="Script" uid="uid://cphfob11f7atx" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.gd" id="31_16fvg"] [ext_resource type="PackedScene" uid="uid://dsa6frlw6e6gg" path="res://scene/entity/pickable.tscn" id="32_hfptv"] +[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="32_rs2ug"] [ext_resource type="Texture2D" uid="uid://sm603s1un01x" path="res://asset/art/prop/c02/老虎钳物品.png" id="33_16fvg"] [ext_resource type="AudioStream" uid="uid://d0luawc546uoq" path="res://asset/audio/sfx/交互/第二章/sfx_s03_剪头惊悚.ogg" id="33_bjh7v"] +[ext_resource type="Texture2D" uid="uid://cpqcmpixriw8p" path="res://asset/art/scene/c02/s04_保卫科/血迹.png" id="36_rs2ug"] [node name="S04" type="Node2D"] @@ -90,47 +91,60 @@ target_portal = "1" [node name="portal_right" parent="Ground/DeployLayer" index="1"] position = Vector2(551, 22) -[node name="Local寻人启事" parent="Ground/DeployLayer" index="2" instance=ExtResource("19_k74x7")] +[node name="血迹" type="Sprite2D" parent="Ground/DeployLayer" index="2"] +self_modulate = Color(0.585062, 0.585062, 0.585062, 1) +position = Vector2(203, 107) +texture = ExtResource("36_rs2ug") + +[node name="EventBinder" type="Node" parent="Ground/DeployLayer/血迹"] +script = ExtResource("23_cq2m4") +updater_event = &"c03_lilai_worship_mouse" +updater_mode = "shower" +updater_ease_duration = 0.0 +updater_stages = Array[int]([3]) +metadata/_custom_type_script = "uid://0wjaho6qkg6s" + +[node name="Local寻人启事" parent="Ground/DeployLayer" index="3" instance=ExtResource("19_k74x7")] position = Vector2(116, -1) texture = ExtResource("20_g8amr") texture_cover = ExtResource("21_cq2m4") content_key = "c02_寻人启事_完整" -[node name="Ambush进门看到小蝉" parent="Ground/DeployLayer" index="3" instance=ExtResource("7_ypth3")] +[node name="Ambush进门看到小蝉" parent="Ground/DeployLayer" index="4" instance=ExtResource("7_ypth3")] unique_name_in_owner = true position = Vector2(72, 51) hook_method = "xiaochan_disappear" -[node name="涂鸦提示" type="Sprite2D" parent="Ground/DeployLayer" index="4"] +[node name="涂鸦提示" type="Sprite2D" parent="Ground/DeployLayer" index="5"] position = Vector2(275, 13) texture = ExtResource("6_gk1h4") -[node name="小钳子提示" type="Sprite2D" parent="Ground/DeployLayer" index="5"] +[node name="小钳子提示" type="Sprite2D" parent="Ground/DeployLayer" index="6"] position = Vector2(270, -3) texture = ExtResource("9_k74x7") -[node name="Closeup折锡纸" parent="Ground/DeployLayer" index="6" instance=ExtResource("6_66gue")] +[node name="Closeup折锡纸" parent="Ground/DeployLayer" index="7" instance=ExtResource("6_66gue")] unique_name_in_owner = true position = Vector2(189, 15) packed_scene = ExtResource("7_fvlg0") on_display_hide_hud = true first_interact_os_key = "c02_保卫科祭台os" -[node name="Closeup老鼠精" parent="Ground/DeployLayer" index="7" instance=ExtResource("6_66gue")] +[node name="Closeup老鼠精" parent="Ground/DeployLayer" index="8" instance=ExtResource("6_66gue")] light_mask = 5 position = Vector2(207.5, -40.5) texture = ExtResource("11_ffvrp") packed_scene = ExtResource("8_cm3g6") on_display_hide_hud = true -[node name="Closeup花名册" parent="Ground/DeployLayer" index="8" instance=ExtResource("6_66gue")] +[node name="Closeup花名册" parent="Ground/DeployLayer" index="9" instance=ExtResource("6_66gue")] unique_name_in_owner = true position = Vector2(351, 31) packed_scene = ExtResource("6_fvlg0") on_display_hide_hud = true first_interact_os_key = "c02_保卫科花名册os" -[node name="煤油灯" type="Sprite2D" parent="Ground/DeployLayer" index="9"] +[node name="煤油灯" type="Sprite2D" parent="Ground/DeployLayer" index="10"] position = Vector2(370, 39) [node name="灯光" type="AnimatedSprite2D" parent="Ground/DeployLayer/煤油灯"] @@ -147,7 +161,7 @@ energy = 2.0 blend_mode = 2 texture = ExtResource("9_a43aq") -[node name="小手讨东西" parent="Ground/DeployLayer" index="10" instance=ExtResource("10_a43aq")] +[node name="小手讨东西" parent="Ground/DeployLayer" index="11" instance=ExtResource("10_a43aq")] position = Vector2(295, -6) [node name="EventBinder" type="Node" parent="Ground/DeployLayer/小手讨东西"] @@ -158,12 +172,12 @@ updater_ease_duration = 0.0 updater_stages = Array[int]([0, 1, 2]) metadata/_custom_type_script = "uid://0wjaho6qkg6s" -[node name="小蝉写字" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="11"] +[node name="小蝉写字" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="12"] position = Vector2(351, 51) sprite_frames = ExtResource("20_47ju4") animation = &"c00_头套小婵_write" -[node name="老鼠精_第二章" type="Sprite2D" parent="Ground/DeployLayer" index="12"] +[node name="老鼠精_第二章" type="Sprite2D" parent="Ground/DeployLayer" index="13"] self_modulate = Color(0.493545, 0.493546, 0.493546, 1) position = Vector2(206.5, -41.5) texture = ExtResource("23_vppvs") @@ -201,42 +215,6 @@ position = Vector2(88.5, 28.5) title_filter = "c03" note_key = "c03_小手洞1" -[node name="Event李癞拜老鼠精" type="Node2D" parent="Ground/DeployLayer" index="13"] -script = ExtResource("29_0iy73") -event_name = &"c03_lilai_worship_mouse" -event_stages = Array[int]([1, 2, 3]) -metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" - -[node name="Pro李癞拜老鼠精" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event李癞拜老鼠精"] -visible = false -position = Vector2(214, 35) -sprite_frames = ExtResource("30_hfptv") -animation = &"李癞拜老鼠精" -autoplay = "李癞拜老鼠精" -script = ExtResource("31_16fvg") -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="Pro陆仁剪舌头" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event李癞拜老鼠精"] -visible = false -position = Vector2(212, 30) -sprite_frames = ExtResource("30_hfptv") -animation = &"陆仁剪李氏舌头" -script = ExtResource("31_16fvg") -autostart = false -metadata/_custom_type_script = "uid://cphfob11f7atx" - -[node name="Sfx拔舌头" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event李癞拜老鼠精"] -stream = ExtResource("5_c6o7a") -bus = &"game_sfx" -script = ExtResource("4_cq2m4") -metadata/_custom_type_script = "uid://rq6w1vuhuq1m" - -[node name="Sfx拔舌头amb" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event李癞拜老鼠精"] -stream = ExtResource("33_bjh7v") -bus = &"game_sfx" -script = ExtResource("4_cq2m4") -metadata/_custom_type_script = "uid://rq6w1vuhuq1m" - [node name="Pickable老虎钳" parent="Ground/DeployLayer" index="14" instance=ExtResource("32_hfptv")] position = Vector2(171, 78) as_important_item = true @@ -256,6 +234,57 @@ updater_stage_mode = "exclude" updater_stages = Array[int]([0, 1]) metadata/_custom_type_script = "uid://0wjaho6qkg6s" +[node name="Event李癞拜老鼠精" type="Node2D" parent="Ground/DeployLayer" index="15"] +script = ExtResource("29_0iy73") +event_name = &"c03_lilai_worship_mouse" +event_stages = Array[int]([1, 2, 3]) +metadata/_custom_type_script = "uid://bkkiyk5jkdw4d" + +[node name="Pro李癞拜老鼠精" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event李癞拜老鼠精"] +visible = false +position = Vector2(214, 35) +sprite_frames = ExtResource("30_hfptv") +animation = &"李癞拜老鼠精" +autoplay = "李癞拜老鼠精" +script = ExtResource("31_16fvg") +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="PointLight拜老鼠" type="PointLight2D" parent="Ground/DeployLayer/Event李癞拜老鼠精"] +visible = false +position = Vector2(205, 18) +energy = 0.6 +texture = ExtResource("32_rs2ug") +texture_scale = 0.5 + +[node name="PointLight剪舌头" type="PointLight2D" parent="Ground/DeployLayer/Event李癞拜老鼠精"] +visible = false +position = Vector2(195, 68) +scale = Vector2(1.5, 1) +energy = 3.0 +texture = ExtResource("32_rs2ug") +texture_scale = 0.52 + +[node name="Pro陆仁剪舌头" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event李癞拜老鼠精"] +visible = false +position = Vector2(212, 30) +sprite_frames = ExtResource("30_hfptv") +animation = &"陆仁剪李氏舌头" +script = ExtResource("31_16fvg") +autostart = false +metadata/_custom_type_script = "uid://cphfob11f7atx" + +[node name="血迹" type="Sprite2D" parent="Ground/DeployLayer/Event李癞拜老鼠精/Pro陆仁剪舌头"] +self_modulate = Color(0.585062, 0.585062, 0.585062, 1) +show_behind_parent = true +position = Vector2(-9, 77) +texture = ExtResource("36_rs2ug") + +[node name="Sfx拔舌头" type="AudioStreamPlayer" parent="Ground/DeployLayer/Event李癞拜老鼠精"] +stream = ExtResource("33_bjh7v") +bus = &"game_sfx" +script = ExtResource("4_cq2m4") +metadata/_custom_type_script = "uid://rq6w1vuhuq1m" + [node name="MainPlayer" parent="Ground" index="5"] position = Vector2(447, 98) player_movement_rect = Rect2(66, -158, 429, 316) diff --git a/scene/ground/script/c02/s04_event李癞拜老鼠精.gd b/scene/ground/script/c02/s04_event李癞拜老鼠精.gd index 5fa825bc..a43d9818 100644 --- a/scene/ground/script/c02/s04_event李癞拜老鼠精.gd +++ b/scene/ground/script/c02/s04_event李癞拜老鼠精.gd @@ -22,21 +22,32 @@ func _on_ground_ready(_ground: Ground2D) -> void: func _on_pre_stage_updated() -> void: pass +@onready var pro_worship_sprite = $"Pro李癞拜老鼠精" as ProAnimatedSprite2D +@onready var light_worship = $"PointLight拜老鼠" as PointLight2D +@onready var light_cut_tounge = $"PointLight剪舌头" as PointLight2D func _on_stage_updated() -> void: - $"Pro李癞拜老鼠精".visible = stage == 1 + pro_worship_sprite.visible = stage == 1 if stage == 1: # 开始演出 SceneManager.get_player().set_facing_direction(Vector2.LEFT) SceneManager.lock_player() - await Util.wait(3.0) + light_worship.show() + light_worship.energy = 0.0 + var tween = create_tween() + tween.tween_property(light_worship, "energy", 0.6, 0.7) + await Util.wait(4.0) + tween = create_tween() + tween.tween_property(light_worship, "energy", 0.0, 0.7) + tween.parallel().tween_property(pro_worship_sprite, "modulate:a", 0.0, 1.0) + await tween.finished EventManager.set_stage_if_greater("c03_lilai_worship_mouse", 2) SceneManager.pop_os_with_str("c03_保卫科_李癞拜老鼠精") SceneManager.unlock_player() elif stage == 2: var portal = $"../portal_left" as Portal2D portal.before_pre_transport_wait.connect(_on_exit_room) - portal.pre_transport_wait_time = 2.0 + portal.pre_transport_wait_time = 1.0 func _on_exit_room() -> void: @@ -44,6 +55,16 @@ func _on_exit_room() -> void: EventManager.set_stage_if_greater("c03_lilai_worship_mouse", 3) var sprite = $"Pro陆仁剪舌头" as ProAnimatedSprite2D sprite.show() - $"Sfx拔舌头amb".global_play() - Util.timer(0.5, $"Sfx拔舌头".global_play) + sprite.play() + $"Sfx拔舌头".global_play() + # Util.timer(0.5, $"Sfx拔舌头".global_play) SceneManager.pop_debug_dialog_info("音效", "惊悚: 拔舌头") + + light_cut_tounge.show() + light_cut_tounge.energy = 0.0 + var tween = create_tween() + tween.tween_property(light_cut_tounge, "energy", 3.0, 0.1) + tween.tween_property(light_cut_tounge, "energy", 1.0, 0.05) + tween.tween_property(light_cut_tounge, "energy", 3.0, 0.05) + tween.tween_property(light_cut_tounge, "energy", 0.5, 0.05) + tween.tween_property(light_cut_tounge, "energy", 3.0, 0.05) diff --git a/scene/ground/script/c03/s04_closeup整理麻将游戏.tscn b/scene/ground/script/c03/s04_closeup整理麻将游戏.tscn index 99961afc..8cb80e74 100644 --- a/scene/ground/script/c03/s04_closeup整理麻将游戏.tscn +++ b/scene/ground/script/c03/s04_closeup整理麻将游戏.tscn @@ -27,15 +27,12 @@ [ext_resource type="FontFile" uid="uid://bnxdsxp7dst7f" path="res://asset/font/锐字太空混元像素简繁-闪 超黑_mianfeiziti.com.ttf" id="25_52d31"] [ext_resource type="Script" uid="uid://dpocj5al0rvai" path="res://ui/text_helper.gd" id="26_u3cv7"] -[sub_resource type="AudioStreamInteractive" id="AudioStreamInteractive_u3cv7"] -clip_count = 2 -clip_0/name = &"八音盒打开" -clip_0/stream = ExtResource("2_aqudu") -clip_0/auto_advance = 1 -clip_0/next_clip = 1 -clip_1/name = &"瞎子房间癞子呼吸" -clip_1/stream = ExtResource("3_52d31") -clip_1/auto_advance = 0 +[sub_resource type="AudioStreamSynchronized" id="AudioStreamSynchronized_u3cv7"] +stream_count = 2 +stream_0/stream = ExtResource("2_aqudu") +stream_0/volume = 0.0 +stream_1/stream = ExtResource("3_52d31") +stream_1/volume = -15.0 [sub_resource type="Animation" id="Animation_2kqht"] length = 0.001 @@ -265,7 +262,7 @@ script = ExtResource("1_npctd") metadata/_edit_horizontal_guides_ = [278.0] [node name="SfxEnterScene" type="AudioStreamPlayer" parent="."] -stream = SubResource("AudioStreamInteractive_u3cv7") +stream = SubResource("AudioStreamSynchronized_u3cv7") bus = &"game_sfx" script = ExtResource("3_oarv7") metadata/_custom_type_script = "uid://rq6w1vuhuq1m" diff --git a/scene/ux/prop_hud.gd b/scene/ux/prop_hud.gd index b12fe35f..f352f422 100644 --- a/scene/ux/prop_hud.gd +++ b/scene/ux/prop_hud.gd @@ -594,7 +594,7 @@ func inspect_item(prop_key: String, display_obtained := true, inspect_content := if inspect_content: var content = get_item_description(prop_key) var wide = len(content) > 150 - inspector.pop_standard_inspection(texture, null, content, false, wide) + inspector.pop_standard_inspection(texture, null, content, not wide, wide) else: inspector.pop_prop_inspection(prop_key, texture, display_obtained) diff --git a/scene/ux/prop_inspector.tscn b/scene/ux/prop_inspector.tscn index 7ba62454..f50664e6 100644 --- a/scene/ux/prop_inspector.tscn +++ b/scene/ux/prop_inspector.tscn @@ -53,7 +53,6 @@ grow_vertical = 2 size_flags_vertical = 4 mouse_filter = 2 texture = ExtResource("2_wr575") -stretch_mode = 5 stretch_mode = 3 [node name="NotesBG" type="TextureRect" parent="."]