def reset_local_actions_and_qvalues(
    terminal_actions, empty_q_values, empty_values, empty_entropies, rl_type="q"
):
    """
    Fill up all actions with terminal actions as the predetermined default
    and set up the q values with all zero q values.

    These values should be overwritten in all active environments with the
    correct actions and q values.
    """
    actions = terminal_actions
    q_values = empty_q_values
    if rl_type == "ppo":
        values = empty_values
        entropies = empty_entropies

        return actions, q_values, values, entropies

    return actions, q_values, None, None