Files
gymkhana-actions/gymkhana/items/inventory/turno_cocina_olla_llena.esc
2024-08-23 20:15:38 +02:00

60 lines
2.6 KiB
Plaintext

:action1
say player "Está llena de agua"
say player "lentejas" [turno_cocina_ingrediente_lentejas]
say player "patatas" [turno_cocina_ingrediente_patatas]
say player "ajo" [turno_cocina_ingrediente_ajo_en_lentejas]
say player "romero" [turno_cocina_ingrediente_romero]
:action2
say player "Ya la estoy usando."
:action3
say player "Está llena de agua"
say player "lentejas" [turno_cocina_ingrediente_lentejas]
say player "patatas" [turno_cocina_ingrediente_patatas]
say player "ajo" [turno_cocina_ingrediente_ajo_en_lentejas]
say player "romero" [turno_cocina_ingrediente_romero]
> [turno_cocina_ingrediente_patatas,turno_cocina_ingrediente_ajo_en_lentejas,turno_cocina_ingrediente_romero]
say player "Estas lentejas tienen una pinta buenísima!"
stop
> [turno_cocina_ingrediente_patatas,turno_cocina_ingrediente_ajo_en_lentejas]
say player "No tienen mala pinta, igual le convencen a Eneko."
stop
say player "Faltan ingredientes. Igual puedo leer la receta para ver lo que falta."
:action3 turno_cocina_bol_lentejas
# Echar las lentejas a la olla y recoger el bol y el peso
say player "Lentejas pa'entro!"
inventory_remove turno_cocina_bol_lentejas
inventory_add turno_cocina_bol
set_global turno_cocina_ingrediente_lentejas true
> [eq ESC_CURRENT_SCENE cocina]
accept_input SKIP
say player "No creo que vaya a necesitar el bol de nuevo, voy a guardarlo."
walk_block player turno_cocina_bol
inventory_remove turno_cocina_bol
say player "Tampoco me queda nada por pesar."
walk_block player turno_cocina_peso
inventory_remove turno_cocina_peso_usado
set_active turno_cocina_peso true
set_interactive turno_cocina_peso false
set_angle player 180
say player "Reglamento de Uli, artículo 28: devuelve las cosas a su sitio una vez hayas terminado de usarlas."
accept_input ALL
:action3 turno_cocina_patata
say player "Tienen que ser 4 patatas" [!eq _COUNT_turno_cocina_patata 4]
say player "Patatas pa'entro" [eq _COUNT_turno_cocina_patata 4]
inventory_remove turno_cocina_patata [eq _COUNT_turno_cocina_patata 4]
set_global turno_cocina_ingrediente_patatas true [eq _COUNT_turno_cocina_patata 4]
:action3 turno_cocina_romero
say player "Con romero estas lentejas van a estar de rechupete!"
set_global turno_cocina_ingrediente_romero true
inventory_remove turno_cocina_romero
:action3 turno_cocina_ajo
say player "Con ajo quedará al gusto de Eneko."
set_global turno_cocina_ingrediente_ajo_en_lentejas true
inventory_remove turno_cocina_ajo