Files
whale-town-front-v2/scenes/Maps/cafe_interior.tscn

361 lines
16 KiB
Plaintext

[gd_scene format=3 uid="uid://c2flhkqk5icab"]
[ext_resource type="Script" uid="uid://ccesagjisqodl" path="res://scenes/Maps/CafeInterior.gd" id="1_script"]
[ext_resource type="Texture2D" path="res://assets/maps/cafe/whale_cafe_large_service_hall_base_v4.png" id="2_map"]
[ext_resource type="PackedScene" path="res://scenes/characters/player.tscn" id="3_player"]
[ext_resource type="PackedScene" path="res://scenes/ui/ChatUI.tscn" id="4_chatui"]
[ext_resource type="PackedScene" path="res://scenes/ui/PlayerHud.tscn" id="5_playerhud"]
[ext_resource type="PackedScene" path="res://scenes/ui/FriendListPanel.tscn" id="6_friendpanel"]
[ext_resource type="PackedScene" path="res://scenes/ui/SettingsPanel.tscn" id="7_settings"]
[ext_resource type="PackedScene" path="res://scenes/characters/cafe_whale_barista_npc.tscn" id="8_barista_npc"]
[ext_resource type="Script" uid="uid://d1sfqui0pqalf" path="res://scenes/characters/CafeCompanionTarget.gd" id="9_cafe_companion_target"]
[ext_resource type="PackedScene" path="res://scenes/ui/CafeCompanionPanel.tscn" id="10_cafe_companion_panel"]
[ext_resource type="PackedScene" path="res://scenes/ui/CafeCompanionRecruitmentPanel.tscn" id="11_cafe_recruitment_panel"]
[ext_resource type="Script" uid="uid://dxupavbgcw3tw" path="res://scenes/Maps/MapMultiplayerController.gd" id="12_multiplayer"]
[ext_resource type="Theme" uid="uid://brk6ca2npglqc" path="res://assets/ui/world_text_theme.tres" id="13_world_text_theme"]
[ext_resource type="PackedScene" path="res://scenes/ui/MapPanel.tscn" id="14_mappanel"]
[sub_resource type="StyleBoxFlat" id="Style_CafeCompanionNameplate"]
content_margin_left = 12.0
content_margin_top = 4.0
content_margin_right = 12.0
content_margin_bottom = 4.0
bg_color = Color(1, 0.988, 0.955, 0.96)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.18, 0.34, 0.38, 0.92)
corner_radius_top_left = 12
corner_radius_top_right = 12
corner_radius_bottom_right = 12
corner_radius_bottom_left = 12
shadow_color = Color(0.05, 0.08, 0.09, 0.18)
shadow_size = 4
shadow_offset = Vector2(0, 2)
[sub_resource type="RectangleShape2D" id="Shape_BaristaChatTarget"]
size = Vector2(112, 148)
[sub_resource type="RectangleShape2D" id="Shape_TopWall"]
size = Vector2(1580, 72)
[sub_resource type="RectangleShape2D" id="Shape_BottomWall"]
size = Vector2(1572, 72)
[sub_resource type="RectangleShape2D" id="Shape_LeftWall"]
size = Vector2(80, 1100)
[sub_resource type="RectangleShape2D" id="Shape_RightWall"]
size = Vector2(47, 721)
[sub_resource type="RectangleShape2D" id="Shape_FrontCounterBand"]
size = Vector2(1063, 64)
[sub_resource type="RectangleShape2D" id="Shape_BackEquipmentBand"]
size = Vector2(1300, 92)
[sub_resource type="RectangleShape2D" id="Shape_LeftServiceFixture"]
size = Vector2(208, 309)
[sub_resource type="RectangleShape2D" id="Shape_RightServiceFixture"]
size = Vector2(202, 329)
[sub_resource type="RectangleShape2D" id="Shape_ExitArea"]
size = Vector2(420, 96)
[sub_resource type="RectangleShape2D" id="Shape_CafeRecruitmentLogo"]
size = Vector2(135, 63)
[node name="CafeInterior" type="Node2D" unique_id=6364941]
script = ExtResource("1_script")
[node name="UILayer" type="CanvasLayer" parent="." unique_id=915800518]
layer = 10
[node name="ChatUI" parent="UILayer" unique_id=1173101039 instance=ExtResource("4_chatui")]
[node name="PlayerHud" parent="UILayer" unique_id=1564092911 instance=ExtResource("5_playerhud")]
[node name="MapPanel" parent="UILayer" instance=ExtResource("14_mappanel")]
[node name="FriendListPanel" parent="UILayer" unique_id=916180939 instance=ExtResource("6_friendpanel")]
[node name="SettingsPanel" parent="UILayer" unique_id=783599923 instance=ExtResource("7_settings")]
[node name="CafeCompanionPanel" parent="UILayer" unique_id=365240236 instance=ExtResource("10_cafe_companion_panel")]
[node name="CafeCompanionRecruitmentPanel" parent="UILayer" unique_id=1274369176 instance=ExtResource("11_cafe_recruitment_panel")]
[node name="StageBackdrop" type="ColorRect" parent="." unique_id=120901466]
z_index = -200
offset_left = -2000.0
offset_top = -1600.0
offset_right = 2000.0
offset_bottom = 1600.0
mouse_filter = 2
color = Color(0.065, 0.075, 0.09, 1)
[node name="CafeServiceHallBase" type="Sprite2D" parent="." unique_id=106640887]
z_index = -100
texture_filter = 1
texture = ExtResource("2_map")
[node name="YSortWorld" type="Node2D" parent="." unique_id=1472764725]
y_sort_enabled = true
[node name="Characters" type="Node2D" parent="YSortWorld" unique_id=2141328072]
y_sort_enabled = true
[node name="Players" type="Node2D" parent="YSortWorld/Characters" unique_id=1853391519]
y_sort_enabled = true
[node name="Player" parent="YSortWorld/Characters/Players" unique_id=616484753 instance=ExtResource("3_player")]
position = Vector2(0, 325)
[node name="CafeHiredCompanionNameplate" type="Label" parent="YSortWorld/Characters/Players/Player" unique_id=1594219674]
visible = false
z_index = 30
custom_minimum_size = Vector2(188, 44)
offset_left = -47.0
offset_top = -96.0
offset_right = -47.0
offset_bottom = -96.0
scale = Vector2(0.5, 0.5)
theme = ExtResource("13_world_text_theme")
theme_override_colors/font_color = Color(0.12, 0.2, 0.24, 1)
theme_override_colors/font_shadow_color = Color(1, 1, 1, 0.85)
theme_override_constants/shadow_offset_x = 0
theme_override_constants/shadow_offset_y = 1
theme_override_font_sizes/font_size = 24
theme_override_styles/normal = SubResource("Style_CafeCompanionNameplate")
text = "陪伴机器人"
horizontal_alignment = 1
vertical_alignment = 1
[node name="CafeHiredCompanionTarget" type="Area2D" parent="YSortWorld/Characters/Players/Player" unique_id=1604517960]
position = Vector2(0, -58)
collision_layer = 2
collision_mask = 0
script = ExtResource("9_cafe_companion_target")
[node name="CollisionShape2D" type="CollisionShape2D" parent="YSortWorld/Characters/Players/Player/CafeHiredCompanionTarget" unique_id=658877351]
shape = SubResource("Shape_BaristaChatTarget")
disabled = true
[node name="RemotePlayers" type="Node2D" parent="YSortWorld/Characters/Players" unique_id=2071839484]
y_sort_enabled = true
[node name="CafeWhaleBaristaNpc" parent="YSortWorld/Characters" unique_id=1188569491 instance=ExtResource("8_barista_npc")]
position = Vector2(-472, -291)
[node name="CafeCompanionNameplate" type="Label" parent="YSortWorld/Characters/CafeWhaleBaristaNpc" unique_id=885952340]
z_index = 30
custom_minimum_size = Vector2(152, 44)
offset_left = -38.0
offset_top = -136.0
offset_right = -38.0
offset_bottom = -136.0
scale = Vector2(0.5, 0.5)
theme = ExtResource("13_world_text_theme")
theme_override_colors/font_color = Color(0.12, 0.2, 0.25, 1)
theme_override_colors/font_shadow_color = Color(1, 1, 1, 0.85)
theme_override_constants/shadow_offset_x = 0
theme_override_constants/shadow_offset_y = 1
theme_override_font_sizes/font_size = 24
theme_override_styles/normal = SubResource("Style_CafeCompanionNameplate")
text = "海盐拿铁"
horizontal_alignment = 1
vertical_alignment = 1
[node name="CafeCompanionTarget" type="Area2D" parent="YSortWorld/Characters/CafeWhaleBaristaNpc" unique_id=1439390611]
position = Vector2(0, -58)
script = ExtResource("9_cafe_companion_target")
servicePointId = "ServiceIdlePoint01"
companionId = "cafe_companion_npc"
personaName = "海盐拿铁"
[node name="CollisionShape2D" type="CollisionShape2D" parent="YSortWorld/Characters/CafeWhaleBaristaNpc/CafeCompanionTarget" unique_id=292882204]
shape = SubResource("Shape_BaristaChatTarget")
[node name="MultiplayerController" type="Node" parent="YSortWorld" unique_id=1171758081]
script = ExtResource("12_multiplayer")
map_id = "whale_cafe"
[node name="StaticCollision" type="Node2D" parent="." unique_id=329016366]
[node name="CafeBoundary" type="StaticBody2D" parent="StaticCollision" unique_id=810981314]
[node name="TopWall" type="CollisionShape2D" parent="StaticCollision/CafeBoundary" unique_id=83767543]
position = Vector2(14, -501)
shape = SubResource("Shape_TopWall")
[node name="BottomWall" type="CollisionShape2D" parent="StaticCollision/CafeBoundary" unique_id=578059512]
position = Vector2(3, 472)
shape = SubResource("Shape_BottomWall")
[node name="LeftWall" type="CollisionShape2D" parent="StaticCollision/CafeBoundary" unique_id=1817681571]
position = Vector2(-782, -5)
shape = SubResource("Shape_LeftWall")
[node name="RightWall" type="CollisionShape2D" parent="StaticCollision/CafeBoundary" unique_id=19691881]
position = Vector2(761, 196)
shape = SubResource("Shape_RightWall")
[node name="BarCounterCollision" type="StaticBody2D" parent="StaticCollision" unique_id=2101575249]
[node name="FrontCounterBand" type="CollisionShape2D" parent="StaticCollision/BarCounterCollision" unique_id=236568381]
position = Vector2(2.5, -123)
shape = SubResource("Shape_FrontCounterBand")
[node name="BackEquipmentBand" type="CollisionShape2D" parent="StaticCollision/BarCounterCollision" unique_id=302153346]
position = Vector2(0, -435)
shape = SubResource("Shape_BackEquipmentBand")
[node name="LeftServiceFixture" type="CollisionShape2D" parent="StaticCollision/BarCounterCollision" unique_id=1759728122]
position = Vector2(-641, -283.5)
shape = SubResource("Shape_LeftServiceFixture")
[node name="RightServiceFixture" type="CollisionShape2D" parent="StaticCollision/BarCounterCollision" unique_id=1239925157]
position = Vector2(636, -294.5)
shape = SubResource("Shape_RightServiceFixture")
[node name="PropCollision" type="StaticBody2D" parent="StaticCollision" unique_id=729484024]
[node name="CafeReceptionDeskCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=1834206100]
polygon = PackedVector2Array(-119, 60, -107, 43, 117, 43, 112, 74, 86, 116, -104, 105)
[node name="LeftSelfServiceKiosk01Collision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=1994436927]
polygon = PackedVector2Array(-521, 164, -465, 160, -462, 240, -510, 243, -525, 219)
[node name="LeftSelfServiceKiosk02Collision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=1428046087]
polygon = PackedVector2Array(-450, 153, -404, 166, -397, 242, -433, 240, -449, 224)
[node name="RightSelfServiceKiosk01Collision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=1839282295]
polygon = PackedVector2Array(411, 160, 443, 166, 439, 232, 398, 242, 390, 205, 400, 193)
[node name="RightSelfServiceKiosk02Collision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=1823238674]
polygon = PackedVector2Array(463, 161, 517, 162, 519, 226, 510, 243, 468, 235)
[node name="LeftCornerPlantSignCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=57617661]
polygon = PackedVector2Array(-747, 325, -750, 203, -679, 208, -637, 296, -602, 329, -594, 411, -645, 422, -739, 410)
[node name="RightCornerPlantSignCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=1013557406]
polygon = PackedVector2Array(629, 291, 653, 247, 740, 193, 747, 325, 739, 410, 658, 421, 619, 392)
[node name="LeftQueueTopRopeCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=443030549]
position = Vector2(8, -35)
polygon = PackedVector2Array(-382, 4, -282, 5, -282, 14, -382, 13)
[node name="LeftQueueLeftRopeCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=782461653]
position = Vector2(-18, -2)
polygon = PackedVector2Array(-360, 18, -352, -25, -365, 205, -376, 207)
[node name="LeftQueueRightRopeCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=785942935]
position = Vector2(-6, -37)
polygon = PackedVector2Array(-286, 8, -275, 8, -290, 217, -293, 248)
[node name="LeftQueueBottomRopeCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=141845763]
position = Vector2(-330, -326)
polygon = PackedVector2Array(-377, 204, -370, 207, -352, 386, -409, 460, -426, 358, -406, 202)
[node name="RightQueueTopRopeCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=332551755]
position = Vector2(2, -35)
polygon = PackedVector2Array(282, 5, 381, 5, 381, 14, 282, 14)
[node name="RightQueueLeftRopeCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=1268670145]
position = Vector2(-2, -40)
polygon = PackedVector2Array(276, 8, 287, 8, 308, 258, 294, 254, 291, 193)
[node name="RightQueueRightRopeCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=350292682]
position = Vector2(13, 3)
polygon = PackedVector2Array(355, -27, 363, 18, 387, 205, 374, 203)
[node name="RightQueueBottomRopeCollision" type="CollisionPolygon2D" parent="StaticCollision/PropCollision" unique_id=2067709655]
position = Vector2(300, -242)
polygon = PackedVector2Array(383, 116, 433, 92, 483, 231, 433, 355, 391, 297, 377, 232, 382, 191)
[node name="InteractionAreas" type="Node2D" parent="." unique_id=1414044788]
[node name="ExitToWorkZoneArea" type="Area2D" parent="InteractionAreas" unique_id=1132514494]
position = Vector2(0, 455)
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractionAreas/ExitToWorkZoneArea" unique_id=1808842525]
shape = SubResource("Shape_ExitArea")
[node name="CafeRecruitmentLogoArea" type="Area2D" parent="InteractionAreas" unique_id=1787759997]
position = Vector2(0, 90)
collision_layer = 2
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractionAreas/CafeRecruitmentLogoArea" unique_id=521534737]
position = Vector2(-5.5, -16.5)
shape = SubResource("Shape_CafeRecruitmentLogo")
[node name="Markers" type="Node2D" parent="." unique_id=388355020]
[node name="DefaultSpawn" type="Marker2D" parent="Markers" unique_id=1348428752]
position = Vector2(0, 392)
[node name="ServiceIdlePoints" type="Node2D" parent="Markers" unique_id=917409132]
[node name="ServiceIdlePoint01" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=579915137]
position = Vector2(-472, -291)
[node name="ServiceIdlePoint02" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=783535284]
position = Vector2(-376, -291)
[node name="ServiceIdlePoint03" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=904507716]
position = Vector2(-280, -291)
[node name="ServiceIdlePoint04" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=1203682930]
position = Vector2(-184, -291)
[node name="ServiceIdlePoint05" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=705534018]
position = Vector2(-90, -291)
[node name="ServiceIdlePoint06" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=227830370]
position = Vector2(0, -291)
[node name="ServiceIdlePoint07" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=1258667067]
position = Vector2(92, -291)
[node name="ServiceIdlePoint08" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=868571064]
position = Vector2(185, -291)
[node name="ServiceIdlePoint09" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=510403492]
position = Vector2(277, -291)
[node name="ServiceIdlePoint10" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=527786790]
position = Vector2(371, -291)
[node name="ServiceIdlePoint11" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=29178558]
position = Vector2(-484, -223)
[node name="ServiceIdlePoint12" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=61920657]
position = Vector2(-384, -223)
[node name="ServiceIdlePoint13" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=882725816]
position = Vector2(-287, -223)
[node name="ServiceIdlePoint14" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=748399169]
position = Vector2(-191, -223)
[node name="ServiceIdlePoint15" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=197622030]
position = Vector2(-96, -223)
[node name="ServiceIdlePoint16" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=1362126027]
position = Vector2(-2, -223)
[node name="ServiceIdlePoint17" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=2008866192]
position = Vector2(92, -223)
[node name="ServiceIdlePoint18" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=69828930]
position = Vector2(188, -223)
[node name="ServiceIdlePoint19" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=294392180]
position = Vector2(281, -223)
[node name="ServiceIdlePoint20" type="Marker2D" parent="Markers/ServiceIdlePoints" unique_id=1006333228]
position = Vector2(378, -223)