package thb.jeanluc.adventure.model;

import java.util.List;

/** A conditional line an NPC says on {@code talk}, first match wins. */
public record DialogueLine(List<Condition> when, String text) {
    public DialogueLine {
        when = when == null ? List.of() : List.copyOf(when);
    }
}
