Skip to content

Commit

Permalink
add HasEnchantment keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
GroundAura committed Sep 16, 2024
1 parent c9d2499 commit 4bfb419
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Keyword = OCF_EquipSlot61|Armor|NONE|61
Keyword = OCF_EquipTypeShield|Armor|0x141E8~Skyrim.esm
;Keyword = OCF_EquipTypeVoice|Armor|0x25BEE~Skyrim.esm

;Keyword = OCF_HasEnchantmentT|Armor|NONE|E
;Keyword = OCF_HasEnchantmentF|Armor|NONE|-E
Keyword = OCF_HasEnchantmentT|Armor|NONE|E
Keyword = OCF_HasEnchantmentF|Armor|NONE|-E

;Keyword = OCF_ProvidesArmorF|Armor|NONE|AR(0/0)
;Keyword = OCF_ProvidesArmorT|Armor|-OCF_ProvidesArmorF
Expand Down Expand Up @@ -2170,8 +2170,8 @@ Keyword = OCF_EquipTypeRightHand|Weapon|0x13F42~Skyrim.esm
;Keyword = OCF_EquipTypeShield|Weapon|0x141E8~Skyrim.esm
;Keyword = OCF_EquipTypeVoice|Weapon|0x25BEE~Skyrim.esm

;Keyword = OCF_HasEnchantmentT|Weapon|NONE|E
;Keyword = OCF_HasEnchantmentF|Weapon|NONE|-E
Keyword = OCF_HasEnchantmentT|Weapon|NONE|E
Keyword = OCF_HasEnchantmentF|Weapon|NONE|-E

;Keyword = OCF_HasTemplateFlagT|Weapon|NONE|T
;Keyword = OCF_HasTemplateFlagF|Weapon|NONE|-T
Expand Down
Binary file modified dist/Object Categorization Framework/Base/OCF.esp
Binary file not shown.
12 changes: 11 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,25 @@

## Version 6.0.0

- **Author's Note:** I've added numerous race keywords to `NPC_` records to cover the majority of vanilla and modded races. This is just the first step however. The keywords are set up but very few mods are patched so far. If you know of any mods that add new creature types, let me know so I can put them on my radar and work my way through them (I'm already aware of Mihail's and gg77's mods). Identifying ghosts is also still a work in progress so they may be incorrectly given living race keywords.

- **Author's Note:** Thanks to Komegaki and Mieekaserra for additions including in this update.

- **Now requires** [Spell Perk Item Distributor](https://www.nexusmods.com/skyrimspecialedition/mods/36869) (v7.0.0+) for Exclusive Groups feature.

- **ESP (`OCF.esp`):** Added new Keywords (`OCF.esp|xxx`).

- **FLM filters added:** Diverse Dragons Collection.

- **FormList Categorization added:** Diverse Dragons Collection (`PROJ`).

- **Keywords (`ARMO`) added:** `OCF_AccessoryAshOfWar`.

- **Keywords (`ARMO`, `WEAP`) added:** `OCF_HasEnchantmentT` \[`0x88C~OCF.esp`\], `OCF_HasEnchantmentF` \[`0x88D~OCF.esp`\].

- **Keywords (`MGEF`, `SPEL`) added:** `OCF_MgefPowerAction_AshOfWar`.

- **Keywords (`NPC_`) added:** Added ~500+ keywords. (See Keyword Reference for full list.)
- **Keywords (`NPC_`) added:** Added ~500+ keywords. (See [Keyword Reference](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference) for full list.)

- **Keyword Categorization added:** Vanilla (`NPC_`), CC Bone Wolf (`NPC_`), CC Dwarven Armored Mudcrab (`NPC_`), CC Fishing (`NPC_`), CC Goblins (`NPC_`), CC Nchuanthumz Dwarven Home (`NPC_`), CC Necromantic Grimoire (`NPC_`), CC Nix Hound (`NPC_`), CC Pets of Skyrim (`NPC_`), CC Plague of the Dead (`NPC_`), CC Saints & Seducers (`NPC_`), CC Shadowrend (`NPC_`), CC The Cause (`NPC_`), CC The Contest (`NPC_`), [Actual Sweet Roll Variants - Requiem Patch](https://www.nexusmods.com/skyrimspecialedition/mods/113324) (`ALCH`), [Apachii Helmet Wigs](https://www.nexusmods.com/skyrimspecialedition/mods/2014) (`ARMO`), [Ashes of War Weapon Art](https://www.nexusmods.com/skyrimspecialedition/mods/100174) (`ARMO`), Beyond Skyrim Assets (`NPC_`), Beyond Skyrim Bruma (`NPC_`), Darenii's Arclight (`NPC_`), Darenii's Flames of Coldharbour (`NPC_`), Darenii's Natura (`NPC_`), Darenii's Vulcano (`NPC_`), Diverse Dragons Collection (`MGEF`, `SPEL`), [Diverse Foods - Requiem Patch](https://www.nexusmods.com/skyrimspecialedition/mods/113485) (`ALCH`), Hydra's Reversed Daggers (`WEAP`), Immersive Magic Brooms (`NPC_`), LRS Hunter Extension (`NPC_`), Kittytail's Ancient Blood Magic (`NPC_`), Mihail's Bantam Guars (`NPC_`), Mihail's Ring-necked Pheasants (`NPC_`), Missile's CC Goblins Addon (`NPC_`), Natures Bounty - Pheasant Encounters (`NPC_`), Nether's Follower Framework (`NPC_`), Pheasants of Skyrim (`NPC_`), SimonMagus' Mysticism (`NPC_`), Unofficial Skyrim Special Edition Patch (`NPC_`), [Vicn's Vigilant](https://www.nexusmods.com/skyrimspecialedition/mods/11849) (`MGEF`, `SPEL`), Weapons Armor Clothing & Clutter Fixes (`NPC_`), general (`NPC_`).

Expand Down
12 changes: 12 additions & 0 deletions docs/wiki/Keyword-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,12 @@

- `WearWhenStripped` \[`0xAF0509~Update.esm`\]

### Enchanted

- `OCF_HasEnchantmentT` \[`0x88C~OCF.esp`\] - An enchanted item (only considers if the base form has an enchantment, not player added enchantments).

- `OCF_HasEnchantmentF` \[`0x88D~OCF.esp`\] - A non-enchanted item.

### Equip Slot

- `OCF_EquipSlot30` - Called 'Head' by the CK. Per vanilla standard, used as a tertiary head slot.
Expand Down Expand Up @@ -5484,6 +5490,12 @@

- `OCF_MatContainsSilver`

### Enchanted

- `OCF_HasEnchantmentT` \[`0x88C~OCF.esp`\] - An enchanted item (only considers if the base form has an enchantment, not player added enchantments).

- `OCF_HasEnchantmentF` \[`0x88D~OCF.esp`\] - A non-enchanted item.

### Equip Type

- `OCF_EquipTypeBothHands` - Uses both the left and right hand slots.
Expand Down
2 changes: 2 additions & 0 deletions docs/wiki/_Sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
- [Contains Gems](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#contains-gems)
- [Contains Metals](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#contains-metals)
- [Don't Undress](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#dont-undress)
- [Enchanted](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#enchanted)
- [Equip Slot](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#equip-slot)
- [Equip Type](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#equip-type)
- [Inventory Color](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#inventory-color-1)
Expand Down Expand Up @@ -203,6 +204,7 @@
- [Artifacts](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#artifacts-7)
- [Contains Gems](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#contains-gems-1)
- [Contains Metals](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#contains-metals-1)
- [Enchanted](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#enchanted-1)
- [Equip Type](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#equip-type-3)
- [Gathering](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#gathering-1)
- [Grip](https://github.com/GroundAura/Object-Categorization-Framework/wiki/Keyword-Reference#grip)
Expand Down

0 comments on commit 4bfb419

Please sign in to comment.