[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_detras/assets/background.jpg" 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_detras/assets/depth.png" type="Texture" id=7]
[ext_resource path="res://gymkhana/rooms/turno_cocina/cocina_detras/assets/columna.png" type="Texture" id=8]
[ext_resource path="res://gymkhana/items/inventory/turno_cocina_olla_vacia.tscn" type="PackedScene" id=9]
[ext_resource path="res://gymkhana/items/inventory/turno_cocina_romero.tscn" type="PackedScene" id=10]

[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( -1104, 183, -1146, 112, -1013, 114, -864, 131, -787, 150, -717, 189, 44, 171, 37, 137, 169, 158, 177, 170, 184, 248, 169, 316, 246, 170, 246, 233, -236, 229, -1093, 316, -598, 200, -852, 111, -790, 115, -519, 186, -392, 198 )
polygons = [ PoolIntArray( 0, 1, 2, 3, 4, 5 ), PoolIntArray( 6, 7, 8, 9, 10, 11 ), PoolIntArray( 9, 12, 13, 10 ), PoolIntArray( 14, 11, 15, 0, 16 ), PoolIntArray( 17, 18, 4, 3 ), PoolIntArray( 14, 6, 11 ), PoolIntArray( 16, 19, 20, 14 ), PoolIntArray( 0, 5, 16 ) ]
outlines = [ PoolVector2Array( -1146, 112, -1013, 114, -864, 131, -852, 111, -790, 115, -787, 150, -717, 189, -598, 200, -519, 186, -392, 198, -236, 229, 44, 171, 37, 137, 169, 158, 177, 170, 246, 170, 246, 233, 184, 248, 169, 316, -1093, 316, -1104, 183 ) ]

[node name="ESCRoom" type="Node2D"]
script = ExtResource( 1 )
__meta__ = {
"_edit_lock_": true
}
global_id = "cocina_detras"
esc_script = "res://gymkhana/rooms/turno_cocina/cocina_detras/esc/cocina_detras.esc"
player_scene = ExtResource( 2 )
camera_limits = [ Rect2( 0, 0, 1500, 577 ) ]

[node name="background" type="Sprite" parent="."]
position = Vector2( 750, 289 )
texture = ExtResource( 3 )
__meta__ = {
"_edit_lock_": true
}

[node name="ESCTerrain" type="Navigation2D" parent="."]
script = ExtResource( 4 )
__meta__ = {
"_edit_lock_": true
}
scales = ExtResource( 7 )
scale_min = 0.5
player_speed_multiplier = 1.3
player_doubleclick_speed_multiplier = 2.0

[node name="NavigationPolygonInstance" type="NavigationPolygonInstance" parent="ESCTerrain"]
position = Vector2( 1252, 260 )
navpoly = SubResource( 1 )
__meta__ = {
"_edit_lock_": true
}

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

[node name="puerta_cocina_collision" type="CollisionPolygon2D" parent="puerta_cocina"]
position = Vector2( 630, -130 )
scale = Vector2( 0.963362, 0.9875 )
polygon = PoolVector2Array( 117.298, 581.266, 120.412, 341.266, 169.199, 325.063, 236.671, 333.165, 236.671, 588.354 )

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

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

[node name="puerta_delante_collision" type="CollisionPolygon2D" parent="puerta_delante"]
position = Vector2( 298, -203 )
scale = Vector2( 0.963362, 0.9875 )
polygon = PoolVector2Array( 117.298, 581.266, 112.107, 422.279, 285.459, 437.468, 282.345, 486.076, 234.595, 513.418, 234.595, 582.279 )

[node name="puerta_delante_start" type="Position2D" parent="puerta_delante"]
position = Vector2( 436, 381 )
script = ExtResource( 5 )
global_id = "puerta_delante_start"

[node name="Columna" type="Sprite" parent="."]
position = Vector2( 235, 294 )
z_index = 400
texture = ExtResource( 8 )

[node name="turno_cocina_olla_vacia" parent="." instance=ExtResource( 9 )]
position = Vector2( 883, 451 )
scale = Vector2( 0.5, 0.5 )

[node name="ESCLocation" type="Position2D" parent="turno_cocina_olla_vacia"]
position = Vector2( 1, 96 )
script = ExtResource( 5 )

[node name="turno_cocina_romero" parent="." instance=ExtResource( 10 )]
position = Vector2( 61, 341 )

[node name="ESCLocation" type="Position2D" parent="turno_cocina_romero"]
position = Vector2( 89, 60 )
script = ExtResource( 5 )
interaction_direction = 6

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="turno_cocina_romero"]
position = Vector2( -61, -341 )
polygon = PoolVector2Array( 75, 413, 96, 398, 97, 366, 88, 270, 12, 276, 33, 434 )
