Jump to content

[Script] Check if Settlement has supply connection


Zorkaz

Recommended Posts

yeah:

Location[] linkedLocations = refLocalWorkshop.MyLocation.GetAllLinkedLocations(kwdWorkshopCaravan)
If (linkedLocations.Length > 0)
    ; has supply line
EndIf

This particular keyword reflink implements supply line connections. The provisioner NPC has nothing to do with it, really, and is just eye candy. OK, it also serve as the "graphical interface" for a particular supply line. But the resource sharing is completely unrelated to it.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...