# Overcooked-AI and Cooperative Cuisine

## Use the overcooked-AI levels and configs in cooperative cuisine
All the layouts from overcooked-AI can be used within cooperative cuisine. Dedicated configs are defined and can be loaded via hydra.
The overcooked-ai_environment_config.yaml must be chosen as environment config. Under layout_name any layout from overcooked-AI can be defined.
Additionally, the item_config must be item_info_overcooked-ai.yaml. 
With those chosen configs the layouts and rewards from overcooked-AI are used.

## How is the connection between Overcooked-AI and cooperative cuisine defined? 
Cooperative Cuisine is highly modular due to the usage of hydra as config manager. 
Therefore, the parameters used for overcooked-AI are simply used in the dedicated config file. 
The layout format is different, which is why a mapping is defined which converts the overcooked-AI layout into the cooperative cuisine layout. 
The layout file has to be present in cooperative_cuisine/reinforcement_learning/layouts/overcooked_ai_layouts.