When the player invites an NPC to the movie theater, the NPC reacts to what is playing and to the snacks. NPC Helper 2 adds the NPC to the game's movie data from two tables in the main NPC file. A pack that uses them must require NPC Helper 2.6.0.
toml
[Movies]
Love = ["romance", "spring_movie_0"]
Like = ["comedy"]
Dislike = ["horror"]
Neutral = ["drama"]
Reject = ["*"]
[Snacks]
Love = ["Popcorn"]
Like = ["Sweet"]
Dislike = ["Salty", "Joja"]
[Movies]#
Each entry is a movie ID or one of its tags. The groups are Love, Like, Dislike, Neutral and Reject, in any letter case.
Rejectturns the invitation down."*"rejects every movie.- A movie is matched to the first group that lists it, in the order Love, Like, Dislike, Neutral, Reject. A tag listed under two groups is reported, and the first one wins.
- Tags and IDs are free text, so they work with movies from other mods. They are not checked against the game.
[Snacks]#
Each entry is a concession item name or a tag. The groups are Love, Like and Dislike. As with movies, the entries are free text.
What is checked#
- A group the game does not have (
Hate, orRejectunder[Snacks]) is reported and skipped. - Blank and repeated entries are removed.
- If another mod already gives the NPC movie reactions or snack tastes, theirs are kept and NPC Helper 2 says so in the log.
In the SDK#
csharp
new NpcBuilder("Rei")
.MovieReaction(MovieResponse.Love, "romance", "spring_movie_0")
.MovieReaction(MovieResponse.Reject, "*")
.Snacks(SnackTaste.Love, "Popcorn")
.Snacks(SnackTaste.Dislike, "Salty", "Joja");
See the C# SDK.