SKSE based framework for restricting item equip/item pick up/spell cast if requirements are not met, using keywords.
How To Use
Create a keyword with an editorID matching this format and assign it to your item/spell via Keyword Item Distributor.
RestrictEquip:
RestrictCast:
RestrictPickUp:
RestrictEquip - restricts item/spell equip
RestrictCast - restricts spell cast
RestrictPickUp - restricts item pickup
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)
Object filters (the item that is equipped)
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/picked up as normal but a perk/ability will be added to the player, and removed on unequip/drop.
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
Instructions
Requirements
SKSE64
Visual C++ Redistributables 2022
Address Library for SKSE Plugins
powerofthree's Tweaks
Installation
Install with a mod manager, such as Mod Organizer.
Item Equip Restrictor
FOMOD installer Supports SE 1.5.97 Supports AE 1.6.640 and higher