Create an account
To install the mod, you ecessarily need SMAPI, read the guide.

Trash Can Reactions v0.3.0  

Upload: 08 Jul 2023, 20:44
Created by: aedenthorn [X]
Uploaded by: Aqxaro
Trash Can Reactions v0.3.0

This mod allows you to set, via the config.json file created after you run the game with this mod, the following variables relating to reactions triggered when an NPC sees a farmer rummage through a trash can:

{
  "Enabled": true,
  "LinusDialogue": "Data\\ExtraDialogue:Town_DumpsterDiveComment_Linus",
  "ChildDialogue": "Data\\ExtraDialogue:Town_DumpsterDiveComment_Child",
  "TeenDialogue": "Data\\ExtraDialogue:Town_DumpsterDiveComment_Teen",
  "AdultDialogue": "Data\\ExtraDialogue:Town_DumpsterDiveComment_Adult",
  "LinusEmote": 32,
  "LinusPoints": 5,
  "ChildEmote": 28,
  "ChildPoints": -25,
  "TeenEmote": 8,
  "TeenPoints": -25,
  "AdultEmote": 12,
  "AdultPoints": -25
  "SpecificCharacters": {
    "ExampeNPCName": {
      "dialogue": "Characters\\Dialogue\\ExampleNPC:Town_DumpsterDiveComment",
      "emote": 32,
      "points": 10
    }
  }
}

By default this mod just replaces the in-game variables, which are split into four different sets, depending on the type of NPC reacting (Linus, a child, a teen, or an adult). The default values are what are used in the vanilla game.

You can set custom reactions for specific NPCs by adding entries to "SpecificCharacters" (make sure to put a comma after the closing "}"!).

Dialogue Variables

The dialogue variables are paths to existing strings (or custom strings from Content Patcher mods).

Emote Variables

The emote variables determine which emote to play. Emotes are numbered according to the file TileSheets\emotes by the index of the first emote in the row (there are 4 emotes per row), starting from index 0.

So, the first emote would be 0, the second emote would be 4, the third emote would be 8, etc. Only use multiples of 4!

Here are my descriptions of the emotes:

0 - emote appearing
4 - drop emptying, question mark
8 - question mark
12 - smoke, angry
16 - exclamation mark
20 - heart
24 - sleep zzz
28 - drop, sad
32 - happy
36 - X
40 - ...
44 - fishing hook
48 - community centre bundle
52 - gamepad
56 - musical note
60 - :/

Comments
The minimum comment length is 10 characters.