Starbound

Starbound

300 ratings
Interaction Control
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
17.496 KB
15 Aug, 2017 @ 7:56pm
5 Dec, 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
21 Jan, 2021 @ 7:40am
Go to your Room.
Accuser
0
19 Mar, 2018 @ 2:58pm
How to use
Bam4000
45 Comments
Duke Monterier 25 Sep, 2023 @ 11:55pm 
Craft not found.
VANTA 25 Mar, 2023 @ 4:17pm 
how do i craft it
Meteora 18 Jul, 2022 @ 2:44pm 
Aww snap don't work on doors I hate when people get in my house unannounced XD
space is cool 23 Jun, 2022 @ 5:04pm 
..it doesn't work on doors wtf
Bullet 7 Jul, 2020 @ 9:27am 
wait this works on doors right
I Darkstar X 20 Jul, 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 26 Nov, 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 27 Oct, 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 13 Apr, 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 25 Mar, 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 :/