Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

powerofthree

Uploaded by

powerofthree

Virus scan

Safe to use

About this mod

SKSE based framework for restricting item equip/spell cast if requirements are not met, using keywords.

Requirements
Permissions and credits
Translations
  • Spanish
Changelogs
ITEM EQUIP RESTRICTOR



Requirements 

SKSE64
Skyrim SE 1.5.39 onwards
meh's Address Library for SKSE Plugins
powerofthree's Tweaks


Description

SKSE based framework for restricting item equip/spell cast if conditions are not met. Uses keywords.

With this mod, you could... 

  • add gender specific equipment (eg. block male players from wearing female oriented armor)
  • add skill based requirements before you can wield that Ebony Sword

and more!

How To Use

Create a keyword with an editorID matching this format and assign it to your item/spell via Keyword Item Distributor.

RestrictEquip:Filters:OptionalDebuffPerk
OR
RestrictCast:Filters

RestrictEquip - restricts item/spell equip
RestrictCast - restricts spell cast


Filters

Level(X), where X is the minimum level required. This can be an number (50) or a global (MyGlobalEditorID)
Skill(X), where Skill is an actor value (ie. Smithing, Restoration)

Actor filters (the person who is equipping)
Spoiler:  
Show

Male
Female
Player
NPC
Combat

Faction EditorID
Perk EditorID
Race EditorID
Keyword EditorID

Worn Item Keywords


Object filters (the item that is equipped)
Spoiler:  
Show

Ammo - equipped weapon keywords


Filters can be chained using "+".
Additional OR filters can be added using ","
Negate filters using "!"


;Can only be equipped by female player characters OR all NPCs
RestrictEquip:Female+Player,NPC

;Can only be equipped if actor is male AND level 20 or higher
RestrictEquip:Male+Level(20)

;Can only be cast if actor has a Destruction skill of 50 or higher
RestrictCast:Destruction(50)

;Can only be equipped by bandits
RestrictEquip:BanditFaction

;Can only be equipped by vampires
RestrictEquip:ActorTypeVampire

;Cannot be equipped by vampires
RestrictEquip:!ActorTypeVampire

;Cannot equip in combat
RestrictEquip:!Combat

Debuffs

The item will be equipped as normal but a perk/ability will be added to the player on equip, and removed on unequip.
Debuffs can only be applied to the player.

;Adds the PlayerEncumbrance Perk if player's Heavy Armor skill is not 30 or higher

RestrictEquip:HeavyArmor(30):PlayerEncumbrancePerk

Example using Keyword Item Distributor

;Assigns RestrictEquip:HeavyArmor(30) keyword to all Ebony Armor using KID
;This prevents NPCs and the player from equipping Ebony Armor unless their Heavy Armor skill is 30 or higher

Keyword = RestrictEquip:HeavyArmor(30)|Armor|ArmorMaterialEbony

;Assigns RestrictEquip:WeaponMaterialSteel keyword to all Steel Arrows using KID
;Steel arrows can only be used with steel bows/crossbows (weapons with WeaponMaterialSteel keyword)

Keyword = RestrictEquip:WeapMaterialSteel|Ammo|SteelArrow


Notifications

Notifications can be changed or disabled in po3_ItemEquipRestrictor.ini  in Data/SKSE/Plugins

Installation

  • Install as normal with a mod manager. 

Credits


Source

  • Ryan (SniffleMan) for CommonLibSSE