[gd_scene load_steps=17 format=2]

[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" 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/resources/esc_animationresource.gd" type="Script" id=5]
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/background trasera cocina-1500x577-noItems.jpg" type="Texture" id=6]
[ext_resource path="res://gymkhana/characters/oier/oier.tscn" type="PackedScene" id=7]
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/columna.png" type="Texture" id=25]
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/background trasera cocina-pix-height.png" type="Texture" id=26]
[ext_resource path="res://gymkhana/items/inventory/I_Bombona.tscn" type="PackedScene" id=27]
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=28]
[ext_resource path="res://gymkhana/items/inventory/assets/bombona-inv.png" type="Texture" id=29]
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking.tscn" type="PackedScene" id=30]
[ext_resource path="res://gymkhana/items/inventory/I_caja_herramientas.tscn" type="PackedScene" id=31]

[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( 155, 425, 129, 383, 242, 376, 1511, 445, 1512, 574, 193, 574, 1133, 474, 263, 374, 359, 376, 385, 397, 442, 395, 464, 432, 506, 457, 725, 472, 794, 462, 846, 467, 864, 482, 1318, 435, 1367, 411, 1425, 417, 749, 460, 584, 468, 1249, 454, 981, 480 )
polygons = [ PoolIntArray( 0, 1, 2 ), PoolIntArray( 3, 4, 5, 6 ), PoolIntArray( 5, 0, 2, 7, 8, 9 ), PoolIntArray( 9, 10, 11, 5 ), PoolIntArray( 5, 11, 12 ), PoolIntArray( 13, 14, 15, 16, 5 ), PoolIntArray( 17, 18, 19, 3 ), PoolIntArray( 13, 20, 14 ), PoolIntArray( 5, 12, 21 ), PoolIntArray( 22, 17, 3 ), PoolIntArray( 5, 21, 13 ), PoolIntArray( 6, 22, 3 ), PoolIntArray( 23, 6, 5 ), PoolIntArray( 5, 16, 23 ) ]
outlines = [ PoolVector2Array( 263, 374, 359, 376, 385, 397, 442, 395, 464, 432, 506, 457, 584, 468, 725, 472, 749, 460, 794, 462, 846, 467, 864, 482, 981, 480, 1133, 474, 1249, 454, 1318, 435, 1367, 411, 1425, 417, 1511, 445, 1512, 574, 193, 574, 155, 425, 129, 383, 242, 376 ) ]

[sub_resource type="Resource" id=2]
script = ExtResource( 5 )
dir_angles = [  ]
directions = [  ]
idles = [  ]
speaks = [  ]

[node name="ESCRoom" type="Node2D"]
script = ExtResource( 1 )
global_id = "trasera_cocina"
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/trasera_cocina.esc"
player_scene = ExtResource( 7 )
camera_limits = [ Rect2( 0, 0, 1500, 577 ) ]
editor_debug_mode = 1

[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 1500.0
margin_bottom = 755.0
mouse_filter = 2
texture = ExtResource( 6 )
script = ExtResource( 2 )

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

[node name="NavigationPolygonInstance" type="NavigationPolygonInstance" parent="ESCTerrain"]
navpoly = SubResource( 1 )

[node name="ESCLocation" type="Position2D" parent="."]
position = Vector2( 802, 470 )
script = ExtResource( 3 )
global_id = "trasera_cocina_start"
is_start_location = true

[node name="Hotspots" type="Node2D" parent="."]

[node name="entrada_cocina" type="Area2D" parent="Hotspots"]
pause_mode = 1
script = ExtResource( 28 )
global_id = "l_exit"
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/entrada_cocina.esc"
is_exit = true
dialog_color = Color( 1, 1, 1, 1 )
action1_text = "Esto es una puerta y tiene una descripcion mu larga"
action2_text = "Entrar! con descricion..."
action3_target_texts = { "i_bombona2": "Usar la bombona con la puerta?" }
action4_target_texts = { "i_bombona2": "Lanzarla contra la puerta" }
target_when_selected_action_is_in = [ "action3", "action4" ]
animations = SubResource( 2 )

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/entrada_cocina"]
position = Vector2( 725, -125 )
scale = Vector2( 0.963362, 0.9875 )
polygon = PoolVector2Array( 21, 575, 22, 331, 135, 339, 137, 581 )

[node name="Position2D" type="Position2D" parent="Hotspots/entrada_cocina"]
position = Vector2( 748, 465 )
script = ExtResource( 3 )

[node name="bombona" parent="Hotspots" instance=ExtResource( 27 )]
position = Vector2( 583, 414 )
script = ExtResource( 28 )
global_id = "i_bombona"
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/i_bombona.esc"
tooltip_name = "Mirar bombona"
combine_when_selected_action_is_in = [  ]
inventory_texture = ExtResource( 29 )
dialog_color = Color( 1, 1, 1, 1 )
action1_text = "Mirar bombona"
animations = null

[node name="bombona2" parent="Hotspots" instance=ExtResource( 27 )]
position = Vector2( 355, 409 )
script = ExtResource( 28 )
global_id = "i_bombona2"
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/i_bombona2.esc"
combine_when_selected_action_is_in = [ "action3" ]
use_from_inventory_only = true
inventory_texture = ExtResource( 29 )
dialog_color = Color( 1, 1, 1, 1 )
action1_text = "Mirar bombona"
action2_text = "Coger bombona"
action3_text = "Usar"
action4_text = "¿Por qué es un dibujo animado?"
animations = null

[node name="Columna" type="Sprite" parent="."]
position = Vector2( 235, 294.5 )
scale = Vector2( 0.973684, 1.02358 )
z_index = 400
texture = ExtResource( 25 )

[node name="EnekoSmoking" parent="." instance=ExtResource( 30 )]
position = Vector2( 959, 413 )
tooltip_name = "Objervar sujeto"
dialog_color = Color( 0, 1, 0.462745, 1 )
action1_text = "Objervar sujeto"
action2_text = "Hablar"
action3_target_texts = { "i_bombona2": "Toma, un regalo", "i_caja_herramientas": "Regalar" }
target_when_selected_action_is_in = [ "action3" ]
selectable = true

[node name="ESCLocation" type="Position2D" parent="EnekoSmoking"]
position = Vector2( -169, 179 )
script = ExtResource( 3 )
global_id = "eneko_smoking"

[node name="caja_herramientas" parent="." instance=ExtResource( 31 )]
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/i_caja_herramientas.esc"
position = Vector2( 707, 522 )

[node name="ESCLocation" type="Position2D" parent="ESCItemWithTooltip"]
position = Vector2( -51, 69 )
script = ExtResource( 3 )
global_id = "l_caja_herramientas"
