:setup

# Disable cocina_patata if already picked.
# We cannot look in inventory because the countable item is a different item.
> [cocina_patata_picked]
  set_active cocina_patata false

# Disable cocina_debajo_sofa if already picked.
# We cannot look in inventory because the countable item is a different item.
> [cocina_debajo_sofa_picked]
  set_active cocina_debajo_sofa false

> [turno_cocina_economica_con_olla]
  set_active turno_cocina_olla_llena true
  set_active turno_cocina_economica false
> [!turno_cocina_economica_con_olla]
  set_active turno_cocina_olla_llena false
  set_active turno_cocina_economica true
  
# Position player depending of last scene
> [eq ESC_LAST_SCENE cocina_detras]
  teleport player puerta_detras_start
  set_angle player 180
  stop

teleport player puerta_delante_start
set_angle player 270
set_active turno_cocina_olla_llena true [turno_cocina_economica_con_olla]
set_active turno_cocina_olla_llena false [!turno_cocina_economica_con_olla]
set_active turno_cocina_economica true [!turno_cocina_economica_con_olla]
set_active turno_cocina_economica false [turno_cocina_economica_con_olla]
