This mod is a base for easily adding bulletin board missions through mods.
Players won't see exactly what this mod is doing (or that it even exists), but it helps modders and gives them a way to better add bulletin board missions.
It adds a new script
bulletinboardmissions.lua to entities that have the
bulletinboard.lua script attached. The
bulletinboardmissions.lua script has several categories for missions that it selects from, depending on the kind of station it was attached to, such as Military, Trade, etc.
bulletinboardmissions.lua script updates, it randomly adds or removes missions from matching categories to the bulletin board script.
The Mod Example: New Mission uses this mod as a dependency to easily add a new mission to the game's bulletin boards.
bulletinboard.luaExtends the script's
initialize()function to add the
bulletinboardmissions.luaCore script of this mod that can be extended by other mods to add missions depending on category
serverSideOnly = falseThis mod introduces a new Entity script, and those have to be present on client and server.
clientSideOnly = falseClient side only is impossible, since new scripts are added through this mod, which is only possible on the server.
saveGameAltering = trueThe mod adds a new script
data/scripts/entity/bulletinboardmissions.luawhose path will be saved into the database. Once the mod is disabled, the script is no longer existant and the savegame will be slightly corrupted (not unplayable though).