This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
ld49/level/CafeNavmesh.tscn
Ryan 0010e9317e Tweak register interaction timeout
Player is no longer 'stuck' at register after taking an order
Tweaked spawn decline offset
2021-10-30 14:20:44 -04:00

161 lines
13 KiB
Text

[gd_scene load_steps=20 format=2]
[ext_resource path="res://level/Cafe.tscn" type="PackedScene" id=1]
[ext_resource path="res://game/customer/spots/SpawningSpot.tscn" type="PackedScene" id=2]
[ext_resource path="res://game/customer/spots/DrinkingSpot.tscn" type="PackedScene" id=3]
[ext_resource path="res://game/customer/spawner/CustomerSpawner.tscn" type="PackedScene" id=4]
[ext_resource path="res://game/customer/GenericCustomer.tscn" type="PackedScene" id=5]
[ext_resource path="res://game/customer/spots/ExitSpot.tscn" type="PackedScene" id=6]
[ext_resource path="res://game/customer/spots/AskFoodSpot.tscn" type="PackedScene" id=7]
[ext_resource path="res://game/customer/spots/GetFoodSpot.tscn" type="PackedScene" id=8]
[sub_resource type="NavigationMesh" id=1]
vertices = PoolVector3Array( -12.603, 0.542829, -5.8231, -6.603, 0.542829, -5.8231, -6.303, 0.542829, -6.4231, -12.603, 0.542829, -14.5231, 6.597, 0.542829, -6.4231, 6.897, 0.542829, 0.476898, 12.597, 0.542829, 0.776901, 12.597, 0.542829, -9.4231, -0.00299931, 0.542829, -39.7231, -12.603, 0.542829, -31.3231, -12.603, 0.542829, -22.9231, -0.00299931, 0.542829, -6.4231, 12.597, 0.542829, -19.6231, 12.597, 0.542829, -29.8231, 12.597, 0.542829, -29.8231, 6.297, 0.542829, -39.7231, -0.00299931, 0.542829, -39.7231, -6.303, 0.542829, -39.7231, -12.603, 0.542829, -39.7231, -12.603, 0.542829, -31.3231, 12.597, 0.542829, -29.8231, 12.597, 0.542829, -39.7231, 6.297, 0.542829, -39.7231, -0.00299931, 0.542829, -6.4231, 6.597, 0.542829, -6.4231, 12.597, 0.542829, -9.4231, 12.597, 0.542829, -19.6231, -12.603, 0.542829, -14.5231, -6.303, 0.542829, -6.4231, -0.00299931, 0.542829, -6.4231, -12.603, 0.542829, -22.9231, -0.00299931, 0.542829, -39.7231, -6.303, 0.542829, -39.7231, -12.603, 0.542829, -31.3231, -6.303, 0.542829, 4.6769, -6.603, 0.542829, -5.8231, -12.603, 0.542829, -5.8231, -12.603, 0.542829, 4.9769, 0.297001, 3.34283, -5.5231, -6.003, 3.34283, -5.8231, -4.803, 3.34283, -4.3231, -0.302999, 3.34283, -4.3231, -4.803, 3.34283, 0.776901, -6.003, 3.34283, 1.6769, -0.00299931, 3.34283, 1.0769, -0.302999, 3.34283, 0.776901, -0.00299931, 3.34283, 1.0769, 0.297001, 3.34283, -5.5231, -0.302999, 3.34283, -4.3231, -0.302999, 3.34283, 0.776901, -6.003, 3.34283, 1.6769, -4.803, 3.34283, 0.776901, -4.803, 3.34283, -4.3231, -6.003, 3.34283, -5.8231, 4.197, 3.34283, 2.5769, 4.197, 3.34283, 3.4769, 5.097, 3.34283, 3.4769, 6.297, 3.34283, 2.2769, 5.397, 3.34283, 1.6769, 6.297, 3.34283, -5.8231, 5.097, 3.34283, -5.8231, 5.397, 3.34283, 1.6769, 6.297, 3.34283, 2.2769, 2.997, 0.542829, 3.4769, 3.897, 0.542829, 4.0769, 3.897, 0.542829, 3.7769, 3.597, 0.542829, 2.5769, 4.797, 0.542829, 1.6769, 4.797, 0.542829, -5.2231, 0.597001, 0.542829, -5.2231, 0.597001, 0.542829, 1.0769, 3.597, 0.542829, 2.5769, 2.097, 0.542829, 4.6769, 2.997, 0.542829, 3.4769, 3.597, 0.542829, 2.5769, 0.597001, 0.542829, 1.0769, -0.302999, 0.542829, 1.9769, -0.302999, 0.542829, 1.9769, -5.103, 0.542829, 1.9769, -5.103, 0.542829, 4.6769, 2.097, 0.542829, 4.6769, -4.203, 0.542829, -4.0231, -4.203, 0.542829, 0.476898, -0.903, 0.542829, 0.476898, -0.903, 0.542829, -4.0231, 5.097, 0.542829, 4.0769, 3.897, 0.542829, 3.7769, 3.897, 0.542829, 4.0769, 4.197, 0.542829, 4.9769, -0.00299931, 0.542829, 39.7769, 6.297, 0.542829, 39.7769, 12.597, 0.542829, 29.8769, 12.597, 0.542829, 0.776901, 6.897, 0.542829, 0.476898, 6.897, 0.542829, 2.2769, -6.003, 0.542829, 6.7769, -6.303, 0.542829, 4.6769, -12.603, 0.542829, 4.9769, -12.603, 0.542829, 13.6769, 12.597, 0.542829, 0.776901, 6.897, 0.542829, 2.2769, 5.097, 0.542829, 4.0769, 12.597, 0.542829, 0.776901, 5.097, 0.542829, 4.0769, 4.197, 0.542829, 4.9769, 12.597, 0.542829, 10.3769, 2.397, 0.542829, 6.7769, -6.003, 0.542829, 6.7769, -12.603, 0.542829, 13.6769, 2.397, 0.542829, 6.7769, -12.603, 0.542829, 13.6769, -12.603, 0.542829, 22.3769, -0.00299931, 0.542829, 39.7769, 12.597, 0.542829, 29.8769, 12.597, 0.542829, 20.2769, -12.603, 0.542829, 31.0769, -12.603, 0.542829, 39.7769, -6.303, 0.542829, 39.7769, 12.597, 0.542829, 10.3769, 4.197, 0.542829, 4.9769, 2.397, 0.542829, 6.7769, 12.597, 0.542829, 20.2769, 6.297, 0.542829, 39.7769, 12.597, 0.542829, 39.7769, 12.597, 0.542829, 29.8769, -12.603, 0.542829, 31.0769, -6.303, 0.542829, 39.7769, -0.00299931, 0.542829, 39.7769, -12.603, 0.542829, 22.3769, 3.597, 3.34283, 4.9769, 2.997, 3.34283, 4.0769, 2.097, 3.34283, 5.2769, 2.397, 3.34283, 6.1769, -5.703, 3.34283, 6.1769, 2.397, 3.34283, 6.1769, 2.097, 3.34283, 5.2769, -5.703, 3.34283, 4.9769 )
polygons = [ PoolIntArray( 1, 0, 2 ), PoolIntArray( 2, 0, 3 ), PoolIntArray( 5, 4, 6 ), PoolIntArray( 6, 4, 7 ), PoolIntArray( 9, 8, 10 ), PoolIntArray( 10, 8, 13 ), PoolIntArray( 10, 13, 12 ), PoolIntArray( 10, 12, 11 ), PoolIntArray( 15, 14, 16 ), PoolIntArray( 19, 18, 17 ), PoolIntArray( 22, 21, 20 ), PoolIntArray( 24, 23, 25 ), PoolIntArray( 25, 23, 26 ), PoolIntArray( 28, 27, 29 ), PoolIntArray( 29, 27, 30 ), PoolIntArray( 33, 32, 31 ), PoolIntArray( 35, 34, 36 ), PoolIntArray( 36, 34, 37 ), PoolIntArray( 41, 40, 38 ), PoolIntArray( 38, 40, 39 ), PoolIntArray( 45, 44, 42 ), PoolIntArray( 42, 44, 43 ), PoolIntArray( 49, 48, 46 ), PoolIntArray( 46, 48, 47 ), PoolIntArray( 51, 50, 52 ), PoolIntArray( 52, 50, 53 ), PoolIntArray( 55, 54, 56 ), PoolIntArray( 56, 54, 58 ), PoolIntArray( 56, 58, 57 ), PoolIntArray( 60, 59, 61 ), PoolIntArray( 61, 59, 62 ), PoolIntArray( 64, 63, 65 ), PoolIntArray( 65, 63, 66 ), PoolIntArray( 71, 70, 67 ), PoolIntArray( 67, 70, 69 ), PoolIntArray( 67, 69, 68 ), PoolIntArray( 73, 72, 74 ), PoolIntArray( 74, 72, 75 ), PoolIntArray( 75, 72, 76 ), PoolIntArray( 78, 77, 79 ), PoolIntArray( 79, 77, 80 ), PoolIntArray( 84, 83, 81 ), PoolIntArray( 81, 83, 82 ), PoolIntArray( 87, 86, 88 ), PoolIntArray( 88, 86, 85 ), PoolIntArray( 91, 90, 89 ), PoolIntArray( 94, 93, 92 ), PoolIntArray( 96, 95, 97 ), PoolIntArray( 97, 95, 98 ), PoolIntArray( 101, 100, 99 ), PoolIntArray( 103, 102, 104 ), PoolIntArray( 104, 102, 105 ), PoolIntArray( 108, 107, 106 ), PoolIntArray( 110, 109, 111 ), PoolIntArray( 111, 109, 114 ), PoolIntArray( 111, 114, 113 ), PoolIntArray( 111, 113, 112 ), PoolIntArray( 115, 117, 116 ), PoolIntArray( 119, 118, 120 ), PoolIntArray( 120, 118, 121 ), PoolIntArray( 124, 123, 122 ), PoolIntArray( 126, 125, 127 ), PoolIntArray( 127, 125, 128 ), PoolIntArray( 130, 129, 131 ), PoolIntArray( 131, 129, 132 ), PoolIntArray( 136, 135, 133 ), PoolIntArray( 133, 135, 134 ) ]
agent/radius = 0.3
[sub_resource type="CubeMesh" id=2]
[sub_resource type="SpatialMaterial" id=3]
albedo_color = Color( 0.152941, 0.12549, 0.12549, 1 )
[sub_resource type="CubeMesh" id=4]
size = Vector3( 8, 3, 1.2 )
[sub_resource type="CubeMesh" id=5]
size = Vector3( 7.5, 3, 1.5 )
[sub_resource type="CubeMesh" id=6]
size = Vector3( 6, 3, 1.5 )
[sub_resource type="CubeMesh" id=7]
size = Vector3( 5.5, 3, 0.6 )
[sub_resource type="CubeMesh" id=8]
size = Vector3( 6.5, 3, 0.6 )
[sub_resource type="CubeMesh" id=9]
size = Vector3( 1.2, 3, 0.5 )
[sub_resource type="CubeMesh" id=10]
size = Vector3( 2, 3, 1 )
[sub_resource type="CubeMesh" id=11]
size = Vector3( 6, 3, 0.25 )
[node name="Cafe" instance=ExtResource( 1 )]
[node name="Navigation" type="Navigation" parent="." index="5"]
[node name="DrinkingSpot" parent="Navigation" index="0" instance=ExtResource( 3 )]
transform = Transform( -1.29469e-08, 0, 0.29619, 0, 0.29619, 0, -0.29619, 0, -1.29469e-08, 4.28147, 0.735948, -1.00197 )
[node name="DrinkingSpot9" parent="Navigation" index="1" instance=ExtResource( 3 )]
transform = Transform( -1.29469e-08, 0, 0.29619, 0, 0.29619, 0, -0.29619, 0, -1.29469e-08, 4.28147, 0.735948, 0.212672 )
[node name="DrinkingSpot4" parent="Navigation" index="2" instance=ExtResource( 3 )]
transform = Transform( 0.29619, 0, 0, 0, 0.29619, 0, 0, 0, 0.29619, -0.895762, 0.735948, 4.28921 )
[node name="DrinkingSpot8" parent="Navigation" index="3" instance=ExtResource( 3 )]
transform = Transform( 0.29619, 0, 0, 0, 0.29619, 0, 0, 0, 0.29619, 0.404238, 0.735948, 4.28921 )
[node name="DrinkingSpot5" parent="Navigation" index="4" instance=ExtResource( 3 )]
transform = Transform( 0.29619, 0, 0, 0, 0.29619, 0, 0, 0, 0.29619, -3.43413, 0.735948, 4.27284 )
[node name="DrinkingSpot6" parent="Navigation" index="5" instance=ExtResource( 3 )]
transform = Transform( 0.29619, 0, 0, 0, 0.29619, 0, 0, 0, 0.29619, -4.87274, 0.735948, 4.27533 )
[node name="DrinkingSpot2" parent="Navigation" index="6" instance=ExtResource( 3 )]
transform = Transform( -1.29469e-08, 0, 0.29619, 0, 0.29619, 0, -0.29619, 0, -1.29469e-08, 4.28147, 0.735948, -2.10154 )
[node name="DrinkingSpot3" parent="Navigation" index="7" instance=ExtResource( 3 )]
transform = Transform( -1.29469e-08, 0, 0.29619, 0, 0.29619, 0, -0.29619, 0, -1.29469e-08, 4.28147, 0.735948, -3.55505 )
[node name="DrinkingSpot7" parent="Navigation" index="8" instance=ExtResource( 3 )]
transform = Transform( -1.29469e-08, 0, 0.29619, 0, 0.29619, 0, -0.29619, 0, -1.29469e-08, 4.28147, 0.735948, -4.88682 )
[node name="NavigationMeshInstance" type="NavigationMeshInstance" parent="Navigation" index="9"]
visible = false
navmesh = SubResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="0"]
transform = Transform( 12.903, 0, 0, 0, 0.257171, 0, 0, 0, 40.0231, 0, 0, 0 )
mesh = SubResource( 2 )
material/0 = SubResource( 3 )
[node name="MeshInstance2" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.9, 1.5, 5.75 )
mesh = SubResource( 4 )
material/0 = null
[node name="MeshInstance7" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="2"]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 5.75, 1.5, -1.9 )
mesh = SubResource( 4 )
material/0 = null
[node name="MeshInstance6" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="3"]
transform = Transform( 0.00568967, 0, 0.999984, 0, 1, 0, -0.999984, 0, 0.00568967, -5.30338, 1.5, -2.24094 )
mesh = SubResource( 5 )
material/0 = null
[node name="MeshInstance10" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="4"]
transform = Transform( 0.999984, 0, -0.00568971, 0, 1, 0, 0.00568971, 0, 0.999984, -3.00338, 1.5, -5.24094 )
mesh = SubResource( 6 )
material/0 = null
[node name="MeshInstance4" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="5"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3.45, 1.5, 1.3 )
mesh = SubResource( 7 )
material/0 = null
[node name="MeshInstance8" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="6"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -0.15, 1.5, -2.5 )
mesh = SubResource( 8 )
material/0 = null
[node name="MeshInstance9" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="7"]
transform = Transform( 0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, -0.45, 1.5, 1 )
mesh = SubResource( 9 )
material/0 = null
[node name="MeshInstance5" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="8"]
transform = Transform( 0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 2.76, 1.5, 5.07 )
mesh = SubResource( 10 )
material/0 = null
[node name="MeshInstance11" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="9"]
transform = Transform( 0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 5.07, 1.5, 2.66 )
mesh = SubResource( 10 )
material/0 = null
[node name="MeshInstance12" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="10"]
transform = Transform( -5.96046e-08, 0, 1, 0, 1, 0, -1, 0, -5.96046e-08, -5.75, 1.5, 3 )
mesh = SubResource( 11 )
material/0 = null
[node name="MeshInstance13" type="MeshInstance" parent="Navigation/NavigationMeshInstance" index="11"]
transform = Transform( 1, 0, 1.58933e-08, 0, 1, 0, -1.58933e-08, 0, 1, 3, 1.5, -5.75 )
mesh = SubResource( 11 )
material/0 = null
[node name="CustomerSpawner" parent="Navigation" index="10" instance=ExtResource( 4 )]
customer_scenes = [ ExtResource( 5 ) ]
endgame_decline_offset = 130
[node name="SpawnSpot" parent="Navigation" index="11" instance=ExtResource( 2 )]
transform = Transform( 0.623337, 0, 0, 0, 1, 0, 0, 0, 0.459076, 7.1, 1.679, -4.9 )
[node name="SpawnSpot2" parent="Navigation" index="12" instance=ExtResource( 2 )]
transform = Transform( 0.623337, 0, 0, 0, 1, 0, 0, 0, 0.459076, -5.4762, 1.67883, 8.0289 )
[node name="SpawnSpot3" parent="Navigation" index="13" instance=ExtResource( 2 )]
transform = Transform( 0.623337, 0, 0, 0, 1, 0, 0, 0, 0.459076, 6.70498, 1.67883, 9.845 )
[node name="ExitSpot" parent="Navigation" index="14" instance=ExtResource( 6 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.7, 0, 9.8198 )
[node name="AskFoodSpot" parent="Navigation" index="15" instance=ExtResource( 7 )]
transform = Transform( -1.42663e-08, 0, -0.326376, 0, 0.326376, 0, 0.326376, 0, -1.42663e-08, 0.9, 0.55, -1.9 )
[node name="GetFoodSpot" parent="Navigation" index="16" instance=ExtResource( 8 )]
transform = Transform( -0.440657, 0, -3.85235e-08, 0, 0.440657, 0, 3.85235e-08, 0, -0.440657, -2.329, 0.548, 2.443 )