[gd_scene load_steps=12 format=2]

[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/characters/oier/oier.tscn" type="PackedScene" id=2]
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina_delante/assets/background.png" type="Texture" id=3]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=6]
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina_delante/assets/depth.png" type="Texture" id=7]
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking.tscn" type="PackedScene" id=8]
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina_delante/assets/foreground.png" type="Texture" id=9]
[ext_resource path="res://gymkhana/items/inventory/turno_cocina_madera.tscn" type="PackedScene" id=10]

[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( -768, 301, -1163, 462, -1161, 358, -532, 166, 649, 54, 647, -17, 715, -15, 760, 50, 167, 278, 36, 211, -86, 216, -236, 229, -87, 153, 22, 154, -360, 166 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ), PoolIntArray( 4, 5, 6, 7 ), PoolIntArray( 4, 7, 8, 9 ), PoolIntArray( 10, 9, 8, 0, 11 ), PoolIntArray( 10, 12, 13, 9 ), PoolIntArray( 11, 0, 3, 14 ) ]
outlines = [ PoolVector2Array( -1161, 358, -532, 166, -360, 166, -236, 229, -86, 216, -87, 153, 22, 154, 36, 211, 649, 54, 647, -17, 715, -15, 760, 50, 167, 278, -768, 301, -1163, 462 ) ]

[node name="ESCRoom" type="Node2D"]
script = ExtResource( 1 )
global_id = "cocina_delante"
esc_script = "res://gymkhana/rooms/turno_cocina/cocina_delante/esc/cocina_delante.esc"
player_scene = ExtResource( 2 )
camera_limits = [ Rect2( 0, 0, 2391, 577 ) ]

[node name="background" type="Sprite" parent="."]
position = Vector2( 1160, 289 )
texture = ExtResource( 3 )

[node name="ESCTerrain" type="Navigation2D" parent="."]
script = ExtResource( 4 )
scales = ExtResource( 7 )
scale_min = 0.5
scale_max = 1.25

[node name="NavigationPolygonInstance" type="NavigationPolygonInstance" parent="ESCTerrain"]
position = Vector2( 1160, 289 )
navpoly = SubResource( 1 )

[node name="puerta_cocina" type="Area2D" parent="."]
pause_mode = 1
script = ExtResource( 6 )
global_id = "cocina_delante_puerta_cocina"
esc_script = "res://gymkhana/rooms/turno_cocina/cocina_delante/esc/puerta_cocina.esc"
is_exit = true
combine_when_selected_action_is_in = [  ]
dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
"action1": "cocina_delante_puerta_cocina_action1"
}
animations = null

[node name="puerta_cocina_collision" type="CollisionPolygon2D" parent="puerta_cocina"]
position = Vector2( 630, -130 )
scale = Vector2( 0.963362, 0.9875 )
polygon = PoolVector2Array( -1.03802, 589.367, -1.03809, 311.899, 166.085, 311.899, 166.085, 589.367 )

[node name="puerta_cocina_start" type="Position2D" parent="puerta_cocina"]
position = Vector2( 716, 473 )
script = ExtResource( 5 )
global_id = "puerta_cocina_start"

[node name="puerta_despensa" type="Area2D" parent="."]
pause_mode = 1
script = ExtResource( 6 )
global_id = "cocina_delante_puerta_despensa"
esc_script = "res://gymkhana/rooms/turno_cocina/cocina_delante/esc/puerta_despensa.esc"
is_exit = true
combine_when_selected_action_is_in = [  ]
dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
"action1": "cocina_delante_puerta_despensa_action1"
}
animations = null

[node name="puerta_despensa_collision" type="CollisionPolygon2D" parent="puerta_despensa"]
position = Vector2( 51, 113 )
scale = Vector2( 0.963362, 0.9875 )
polygon = PoolVector2Array( -1.03803, 470.886, -1.03809, 311.899, 72.6622, 311.899, 71.6242, 469.873 )

[node name="puerta_despensa_start" type="Position2D" parent="puerta_despensa"]
position = Vector2( 90, 621 )
script = ExtResource( 5 )
global_id = "puerta_despensa_start"

[node name="puerta_detras" type="Area2D" parent="."]
pause_mode = 1
script = ExtResource( 6 )
global_id = "cocina_delante_puerta_detras"
esc_script = "res://gymkhana/rooms/turno_cocina/cocina_delante/esc/puerta_detras.esc"
is_exit = true
combine_when_selected_action_is_in = [  ]
dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
"action1": "cocina_delante_puerta_detras_action1"
}
animations = null

[node name="puerta_detras_collision" type="CollisionPolygon2D" parent="puerta_detras"]
position = Vector2( 1067, -26 )
scale = Vector2( 0.963362, 0.9875 )
polygon = PoolVector2Array( 5.19019, 470.886, 6.22815, 359.494, -67.472, 360.506, -69.5481, 285.57, 120.412, 293.671, 122.488, 470.886 )

[node name="puerta_detras_start" type="Position2D" parent="puerta_detras"]
position = Vector2( 1131, 460 )
script = ExtResource( 5 )
global_id = "puerta_detras_start"

[node name="EnekoSmoking" parent="." instance=ExtResource( 8 )]
position = Vector2( 813, 440 )
dialog_color = Color( 0, 1, 0.462745, 1 )

[node name="ESCLocation" type="Position2D" parent="EnekoSmoking"]
position = Vector2( -44, 82 )
script = ExtResource( 5 )
global_id = "eneko_smoking"

[node name="Foreground" type="Sprite" parent="."]
position = Vector2( 1817, 451 )
z_index = 4096
texture = ExtResource( 9 )

[node name="new_game_start_location" type="Position2D" parent="."]
position = Vector2( 1326, 519 )
script = ExtResource( 5 )
global_id = "new_game_start_location"
is_start_location = true

[node name="pegatinas" type="Area2D" parent="."]
pause_mode = 1
position = Vector2( 870, 264 )
script = ExtResource( 6 )
global_id = "cocina_delante_pegatinas"
esc_script = "res://gymkhana/rooms/turno_cocina/cocina_delante/esc/pegatinas.esc"
combine_when_selected_action_is_in = [  ]
dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
"action1": "cocina_delante_pegatinas_action1",
"action2": "cocina_delante_pegatinas_action2"
}
animations = null

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="pegatinas"]
position = Vector2( -33, -25 )
polygon = PoolVector2Array( -20, 43, 37, 46, 39, 87, 57, 86, 92, 84, 91, -16, 47, -17, -20, -17, -21, 26 )

[node name="ESCLocation" type="Position2D" parent="pegatinas"]
position = Vector2( -99, 213 )
script = ExtResource( 5 )

[node name="turno_cocina_madera" parent="." instance=ExtResource( 10 )]
position = Vector2( 1505, 160 )
scale = Vector2( 0.880435, 0.88735 )

[node name="turno_cocina_madera_collision" type="CollisionPolygon2D" parent="turno_cocina_madera"]
position = Vector2( 396.395, 87.9022 )
polygon = PoolVector2Array( -2.27148, -21.4121, -2.27148, 32.6816, -77.2345, 30.4277, -78.3702, -21.4121 )

[node name="turno_cocina_madera_location" type="Position2D" parent="turno_cocina_madera"]
position = Vector2( 366.864, 132.98 )
script = ExtResource( 5 )
