Advice = "Don't go to the door without the key"
Primitives = ['yellow_door', 'goal', 'pickup', 'yellow_key', 'toggle', 'go_to', 'in_inventory', 'at']
Effect main:
    if at(yellow_door) and not in_inventory(yellow_key):
        Reward -1

Advice = "Don't walk into closed doors"
Primitives = ['Agent', 'Wall', 'GoalTile', 'Lava', 'Key', 'Door', 'Box', 'Ball', 'left', 'right', 'forward', 'pickup', 'drop', 'toggle', 'done', 'pointing_right', 'pointing_down', 'pointing_left', 'pointing_up', 'go_to', 'step_towards', 'agent', 'goal', 'is_on_a', 'at', 'at_any', 'in_inventory']
Effect main:
    if at(yellow_door) and not yellow_door.is_open and A == forward:
        Reward -1
        S' -> S

Advice = "Walking into walls won't do anything"
Primitives = ['Agent', 'Wall', 'GoalTile', 'Lava', 'Key', 'Door', 'Box', 'Ball', 'left', 'right', 'forward', 'pickup', 'drop', 'toggle', 'done', 'pointing_right', 'pointing_down', 'pointing_left', 'pointing_up', 'go_to', 'step_towards', 'agent', 'goal', 'is_on_a', 'at', 'at_any', 'in_inventory']
Effect main:
    if at_any(Wall) and A == forward:
        S' -> S
        Reward -0.0001
