NPC Helper 2/Docs

Create an NPC

Movie theater

How an NPC reacts to movies and what they think of the concession stand, with the response words and tags.

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.

  • Reject turns 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, or Reject under [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.