package thb.jeanluc.adventure.model;

import java.util.List;

/** One stage of a {@link Quest}: an objective, a completion condition, optional rewards. */
public record QuestStage(String objective, List<Condition> completion, List<Effect> onComplete) {
    public QuestStage {
        completion = completion == null ? List.of() : List.copyOf(completion);
        onComplete = onComplete == null ? List.of() : List.copyOf(onComplete);
    }
}
