Starbound

Starbound

You Arn't Safe: ...Anymore!
 This topic has been pinned, so it's probably important
samaw  [developer] 29 Sep, 2017 @ 8:52pm
Mod details.
One thing to mention is that I edit '/scripts/actions/movement.lua'
If another mod replaces that file, the hatch opening will stop.

Nothing in this mod is permenent. Safe to remove.
Seems to be a server side deal.

Something I found out making this is that SB1.3 changed quite a bit or its workings.
The old mod changed '/scripts/pathing.lua' but the door opening portion of that only seems to be used by pets.
Doors by NPC's are split into to function sets.
One is written in 'movment.lua' and is what handles when the behavior system wants to open/close doors. The other is called in 'movement.lua' but is located in '/scripts/pathutil.lua'
The open/close in 'pathutil.lua' is called when an NPC is in persuit. It looks for a target and opens, then closes any doors that get in the way.