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, since it takes no effect"
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 to a broken object won't do anything. You can't grab the ball if it's inside something."
Primitives = ['Agent', 'Wall', 'GoalTile', 'Lava', 'Key', 'Door', 'Box', 'Ball', 'is_broken', 'left', 'right', 'forward', 'grab', 'drop', 'toggle', 'done', 'pointing_right', 'pointing_down', 'pointing_left', 'pointing_up', 'inside_something', 'go_to', 'step_towards', 'agent', 'goal', 'is_on_a', 'at', 'at_any', 'in_inventory', 'gate_12', 'door_16', 'ball_121']
Effect main:
    if A == walk_to(gate_12) and is_broken(gate_12):
        S' -> S
    if A == walk_to(door_16) and is_broken(door_16):
        S' -> S
    if A == grab(ball_121) and inside_something(ball_121):
        S' -> S

Advice = "Don't go to the purple ball"
Primitives = ['Agent', 'Wall', 'GoalTile', 'Lava', 'Key', 'Door', 'Box', 'Ball', 'left', 'right', 'forward', 'walk_to', 'open', 'close', 'putin', 'grab', 'inside', 'holding', 'grey_key_11', 'red_door', 'grey_door_127', 'agent', 'purple_ball', 'is_on_a', 'at', 'at_any', 'in_inventory']
Effect main:
    if A == walk_to(purple_ball):
        Reward -1

Advice = "If you put the pie into the microwave and the chicken into the oven, and make sure that they are both on, you will get reward and the episode will end."
Primitives = ['Toothpaste', 'Bedroom', 'Character', 'Cereal', 'Bathroom', 'Sofa', 'Cabinet', 'Salmon', 'Pie', 'Kitchentable', 'Remotecontrol', 'Fridge', 'Microwave', 'Kitchen', 'Bookshelf', 'Livingroom', 'walk_to', 'open', 'turn_on', 'close', 'putin', 'puton', 'grab', 'drop', 'can_drop', 'is_drop', 'inside', 'inside_something', 'on', 'at', 'is_closed', 'is_open', 'holding', 'near', 'character_1', 'kitchen_205', 'bookshelf_249', 'fridge_305', 'oven_133', 'pie_319', 'chicken_127', 'microwave_19']
Effect main:
    if inside(pie_319, microwave_19) and inside(chicken_127, oven_133):
        if is_closed(microwave_19) and at(oven_133) and A == turn_on(oven_133):
            Reward 5
            S' -> S
        elif is_closed(oven_133) and at(microwave_19) and A == turn_on(microwave_19):
            Reward 5
            S' -> S

Advice = "If you're not trying to pick up the fridge, you will be penalized"
Primitives = ['Sofa', 'Kitchentable', 'Bathroom', 'Salmon', 'Kitchen', 'Bookshelf', 'Cereal', 'Cabinet', 'Livingroom', 'Fridge', 'Bedroom', 'Character', 'Toothpaste', 'Pie', 'Microwave', 'Remotecontrol', 'walk_to', 'open', 'close', 'putin', 'puton', 'grab', 'drop', 'can_drop', 'is_drop', 'inside', 'inside_something', 'on', 'at', 'fridge_305', 'is_pickup', 'is_closed', 'is_open', 'holding', 'near', 'character_1', 'bathroom_11', 'toothpaste_62', 'bedroom_73', 'kitchen_205', 'kitchentable_231', 'bookshelf_249', 'fridge_305', 'microwave_313', 'pie_319', 'salmon_327', 'cereal_334', 'livingroom_335', 'sofa_368', 'cabinet_415', 'remotecontrol_452']
Effect main:
    if fridge_305(fridge_305) and not is_pickup(A):
        Reward -1
