HumanCompatibleAI / overcooked_ai

A benchmark environment for fully cooperative human-AI performance.
https://arxiv.org/abs/1910.05789
MIT License
683 stars 144 forks source link

Press the space bar to start cooking OR start directly with three onions on the pot #101

Closed AlexWanghaoming closed 1 year ago

AlexWanghaoming commented 1 year ago

Dear developer, Which line of overcooked Env to alter the config that press the space bar to start cooking OR start directly with three onions on the pot? Thanks

jyan1999 commented 1 year ago

Hi Alex,

Which line of overcooked Env to alter the config that press the space bar to start cooking The INTERACT action to cook soup is executed here.

start directly with three onions on the pot Currently this can't be done as the game requires an INTERACT action to start cooking the soup. This is a newer feature, and you can use an older release if this behavior is undesirable. A temporary hotfix is to move the block of code that starts cooking to step_environment_effects, so all the cooking will start automatically.

We are also in the process of adding support for this feature and it will be available ASAP.

AlexWanghaoming commented 1 year ago

Hi jyan1999, Thanks for your quick feedback and revision.