Starbound

Starbound

302 ratings
Interaction Control
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
17.496 KB
Aug 15, 2017 @ 7:56pm
Dec 5, 2017 @ 10:54pm
3 Change Notes ( view )

Subscribe to download
Interaction Control

Description
Born from my desire for my crew to look like they were "running" my ship instead of just hanging out on it, this mod adds a new tool called the Authorizor, which is crafted at the Wiring Station and can be used to control how NPCs interact with objects. While holding the Authorizor, left-click on an object (such as a console, teleporter, or water cooler) to allow NPCs to interact with it, and right-click to deny. A green O indicates that access is granted, a red X indicates that access is denied, and a yellow ? means that either the object is tile-protected, or the object does not support NPC interactions.

Slightly more technical explanation: some objects have an "npcToy" parameter which contains subparameters specifying if and how NPCs can interact with that object. One of these subparameters, "ownerOnly", is a true/false value that prevents entities other than the one that created it from interacting with it, and the Authorizor works by setting this to false on left-click and true on right-click. It will also add the "ownerOnly" parameter and set it appropriately if it does not exist. This change applies only to that specific instance of that object and does not persist if the object is picked up and replaced. Note that not all objects that allow NPC interactions do so through npcToy settings (for example: doors, chairs, beds), and the Authorizor will not have any effect on these objects.

Objects that have been tweaked by this mod are vanilla-friendly, but the Authorizor tool itself is not. When visiting a server that doesn't have this mod, my recommendation for avoiding crashes is to store the Authorizor on a planet, return to your ship, and then uninstall the mod before joining the server. After leaving, remember to reinstall the mod before you return to where you left the Authorizor, or it will turn into a Perfectly Generic Item!

This mod should not be incompatible with any other mods. The Authorizor should work on all modded objects, as long as they use the npcToy parameters correctly.

DRM-free version: http://community.playstarbound.com/resources/interaction-control.4941/
Popular Discussions View All (2)
4
Jan 21, 2021 @ 7:40am
Go to your Room.
Accuser
0
Mar 19, 2018 @ 2:58pm
How to use
Bam4000
45 Comments
Duke Monterier Sep 25, 2023 @ 11:55pm 
Craft not found.
NAV Mar 25, 2023 @ 4:17pm 
how do i craft it
Meteora Jul 18, 2022 @ 2:44pm 
Aww snap don't work on doors I hate when people get in my house unannounced XD
space is cool Jun 23, 2022 @ 5:04pm 
..it doesn't work on doors wtf
Bullet Jul 7, 2020 @ 9:27am 
wait this works on doors right
I Darkstar X Jul 20, 2019 @ 8:37am 
A list of items that have npcToy parameters would be nice, do you know where I could find such a list?
Mozetronick Nov 26, 2018 @ 4:08am 
My Janitor NPC pushes a button in the pantry to turn off the lights. Did you teach him that? I do not know what was going to happen, but my Crew on the ship is still torn from side to side trying to run around the closed horizontal hatch
Symbro Oct 27, 2018 @ 6:35pm 
how does this not work on doors?!
nooooo... I have this one door that everyone likes to "hold closed"
let me through!
Dr.Sigma Apr 13, 2018 @ 10:23pm 
This mod is pretty good, but I was curious if you could make one or just make it so you can control were they move my giving them commands such as them waiting or having them follow you or have them go to a specific point. It would be nice, because I can't find anymods currently like that.
mercygrim96 Mar 25, 2018 @ 11:00am 
I wish I could keep them from going through doors, It annoys me when they enter the "cockpit" of the ship and are always standing infrom of my chair :/