Interactions
Switches for the game's interactions, set for everyone here or for one player with Player.setInteraction. Off until a resource turns them on: 'horseWhistle', the companion key's whistle that calls the horse; 'playerTalk', Talk and focus chat on another player; and 'trespass', being in private and prohibited areas with no HUD warning and the AI told not to react. On by default: 'npcChatter', the barks and lines of NPCs; 'pointing', where the B key points the player's arm where their camera looks, on all screens; 'cooking', the prompt and use key at the game's fires; and 'smoking', the same at smokehouses and drying racks. 'npcTalk', Talk on an NPC, and 'npcChat', focus chat on an NPC, can never be turned on, because the game's NPC conversations crashed players' games.
interactions.names
names: arrayAll interaction names.
interactions.set()
Interactions.set(name, allowed)Allows or forbids an interaction for all players.
interactions.get()
Interactions.get(name)Whether an interaction is allowed for all players.