Getting the library
Missions don't bundle the library — they load it at runtime from a shared
__lib__/ folder next to your missions/ directory. Each library is a versioned
zip:
artemis-sbs.sbs_utils.v1.4.0.sbslib— thesbs_utilslibraryartemis-sbs.LegendaryMissions.<addon>.v1.4.0.mastlib— optionalartemis-sbs.LegendaryMissions.races.v1.4.0.mastlib— needed if you use theaiorfleetsadd-on. Carries ship interiors and fleet compositions; without it a player ship has an empty Engineering console and nothing raids you. See The races add-on. LegendaryMissions addons
Your mission's story.json lists the ones it needs:
{
"sbslib": ["artemis-sbs.sbs_utils.v1.4.0.sbslib"],
"mastlib": ["artemis-sbs.LegendaryMissions.consoles.v1.4.0.mastlib"]
}
Getting the files
- Starting a new mission?
sbs createfetches everything the template pins, so there's nothing to do by hand. - With the
sbstool:sbs fetchpulls missions and their libraries. See the CLI. - From GitHub releases: download the
.sbslib/.mastlibassets from the sbs_utils and LegendaryMissions releases into__lib__/.
Building from source
If you're developing the library itself, build a lib from a source folder with
sbs lib <folder> (see the CLI); the working tree can also be
run directly with sbs debug --use-working-tree.