Mod articles
-
This documentation is only valid for versions 1.22 and above.
User Extensibility
Keyword Form
BM_LicensesArmorItem - marks item as Armor; ex. Hide Chestplate
BM_LicensesBikiniItem - marks item as Bikini; ex. Leather Bikini
BM_LicensesClothingItem - marks item as Clothing; ex. Prisoner Rags
BM_LicensesWeaponItem - marks item as Weapon; ex. Iron Sword
BM_LicensesAmmoItem - marks item as Ammo/Arrow; ex. Iron Arrow
BM_LicensesMagicItem - marks item as Magic item; ex. Tome of Fireball, Scroll of Fireball, Staff of Fireball
BM_LicensesJewelryItem - marks item as Jewelry, possibly enchanted; ex. Circlet of Major Restoration
BM_LicensesBarterItem - marks item as tradable even without a Trading License
BM_License... -
This documentation is only valid for versions 1.22 and above. For integer mapping, definitions, and better formatting, view the bundled PDF.
Mod Events (Vanilla; requires default vanilla parameter setup)
ReporterLOSGain
This mod event is sent whenever an LPO Reporter—any proximity NPC tagged for LOS—sees the player. LPO catches OnGainLOS for SingleUpdate, but this event may nonetheless fire in quick succession.
RegisterForModEvent("BM-LPO_ReporterLOSGain", "LPO_OnReporterLOSGain")
Event LPO_OnReporterLOSGain(string eventName, string strArg, float numArg, Form sender)
ViolationCheck
This mod event is sent when LPO conducts a violation check.
RegisterForModEvent("BM-LPO_ViolationCheck", "LPO_OnViolationCheck")
Event LPO_... -
First, a guide:
BM_Licenses is the central script
BM_Player is for Player Quest Alias and any Events that run with said alias
BM_Licenses_Utility holds shared/common functions AND functions that external mods may wish to use
Scripts prefixed with BM_ME indicate that they are Magic Effects linked to a spell or enchantment
Scripts prefixed with BM_D indicate they are dialogue scripts holding start and end fragments
Scripts prefixed with BM_Licenses indicate they are quest scripts
If there's a license you'd like to hook into, check the corresponding license variable. For example, checking Armor License validity is just a simple check of == true. Some notes on these license variables:
If a license feature is disabled, the co... -
Can we get different license rules for each Hold? Licenses places a centricity on literal license documents. Licenses verifies your permissions by checking for license books. If you needed a different Armor License for each hold, that would result in duplicates across the entire license system. On the other hand, if only the rules differed while a single Armor License satisfied the requirement across all of Skyrim, there would be a dissonance between narrative and mechanics. I also want to reduce the number of script checks that run every time you change location so to keep this mod as lightweight as possible. If you're still interested in this niche, you might want to check out a mod called "Sexy Adventures."
Why did the guards arrest me if I've got nothing equipped? You likely pr...