Se nos viene la olla

This commit is contained in:
2023-10-13 03:14:34 +02:00
parent d12028a24c
commit d649a7f4a8
9 changed files with 123 additions and 49 deletions

View File

@@ -135,8 +135,7 @@ tooltips = {
"action2": "Usar"
}
action3_target_texts = {
"turno_cocina_bol": "Llenar el bol de agua",
"turno_cocina_bol_lentejas": "Llenar el bol de agua"
"turno_cocina_olla_vacia": "Llenar la olla de agua"
}
target_when_selected_action_is_in = [ "action3" ]
animations = null
@@ -145,7 +144,7 @@ animations = null
polygon = PoolVector2Array( 2327, 294, 2395, 296, 2401, 290, 2367, 286, 2365, 260, 2362, 259, 2362, 278, 2356, 286, 2334, 286 )
[node name="ESCLocation" type="Position2D" parent="fregadero_der"]
position = Vector2( 2322, 300 )
position = Vector2( 1855, 400 )
script = ExtResource( 5 )
[node name="fregadero_izq" type="Area2D" parent="."]
@@ -153,15 +152,14 @@ pause_mode = 1
script = ExtResource( 6 )
global_id = "cocina_fregadero_izq"
esc_script = "res://gymkhana/rooms/turno_cocina/cocina/esc/fregadero_izq.esc"
combine_when_selected_action_is_in = [ ]
combine_when_selected_action_is_in = [ "action4" ]
dialog_color = Color( 1, 1, 1, 1 )
tooltips = {
"action1": "Mirar el fregadero",
"action2": "Usar"
}
action3_target_texts = {
"turno_cocina_bol": "Llenar el bol de agua",
"turno_cocina_bol_lentejas": "Llenar el bol de agua"
"turno_cocina_olla_vacia": "Llenar la olla de agua"
}
target_when_selected_action_is_in = [ "action3" ]
animations = null
@@ -170,7 +168,7 @@ animations = null
polygon = PoolVector2Array( 1800, 276, 1804, 280, 1895, 273, 1883, 266, 1863, 267, 1839, 268, 1835, 264, 1835, 259, 1838, 254, 1848, 248, 1854, 252, 1858, 252, 1856, 246, 1851, 244, 1843, 247, 1836, 251, 1831, 258, 1830, 263, 1828, 265, 1826, 264, 1823, 265, 1822, 269, 1824, 270, 1822, 272, 1809, 272, 1798, 273 )
[node name="ESCLocation" type="Position2D" parent="fregadero_izq"]
position = Vector2( 1800, 300 )
position = Vector2( 2370, 395 )
script = ExtResource( 5 )
[node name="cuchillos" type="Area2D" parent="."]

View File

@@ -2,12 +2,9 @@
say player "Parece que funciona."
:action2
say player "No tengo donde meter el agua."
:action3 turno_cocina_bol_lentejas
play_lib_snd cocina_fregader_der
:action3 turno_cocina_olla_vacia
# play_lib_snd cocina_fregader_izq
say player "Agua a ojo... en su justa medida."
inventory_remove turno_cocina_peso_bol
inventory_add turno_cocina_bol_lentejas
inventory_add turno_cocina_peso
set_active cocina_fregadero_izq false
:action3 turno_cocina_bol
say player "Mejor meter las lentejas primero."
inventory_remove turno_cocina_olla_vacia
inventory_add turno_cocina_olla_llena

View File

@@ -1,13 +1,11 @@
:action1
say player "Parece que funciona."
:action2
say player "No tengo donde meter el agua."
:action3 turno_cocina_bol_lentejas
play_lib_snd cocina_fregader_izq
:action3 turno_cocina_olla_vacia
# play_lib_snd cocina_fregader_izq
say player "Agua a ojo... en su justa medida."
inventory_remove turno_cocina_peso_bol
inventory_add turno_cocina_bol_lentejas
inventory_add turno_cocina_peso
set_active cocina_fregadero_izq false
:action3 turno_cocina_bol
say player "Mejor meter las lentejas primero."
inventory_remove turno_cocina_olla_vacia
inventory_add turno_cocina_olla_llena

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=2]
[gd_scene load_steps=11 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]
@@ -8,6 +8,7 @@
[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]
[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 )
@@ -42,9 +43,10 @@ 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"
"action1": "Entrar en la cocina"
}
animations = null
@@ -64,9 +66,10 @@ 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"
"action1": "Ir delante"
}
animations = null
@@ -84,3 +87,11 @@ global_id = "puerta_delante_start"
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 )