Set inventory variables to match the the situation exposing the bug.