From 597308964a499fa65e5c148a7cf4523efe6d8021 Mon Sep 17 00:00:00 2001 From: Wil Thieme Date: Thu, 15 Sep 2022 20:32:17 -0400 Subject: [PATCH 1/8] override StringManager.contains to match items better --- README.md | 2 +- extension.xml | 7 +++-- scripts/manager_item_EI.lua | 60 +++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 3 deletions(-) create mode 100644 scripts/manager_item_EI.lua diff --git a/README.md b/README.md index 4c6ef7f..a1262e0 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This extension modifies the item sheet to add some additional features: * Wand / staff charges field * Slot field for wondrous items * Source field for tracking which book the information is from -* Type field visibility fixed +* Weapon/Shield/Armor detection functions are now 'fuzzy' so "Armor" / "Armors" / "Armor and Defense" / etc will all detect as armor. All of the type specific fields only display with the appropriate item type, the same as would originally happen with "Weapon" or "Armor" in the Type field. Additionally, I have fixed the problem where "Weapon" would show the additional fields, but "Magic Weapon" would not. Visibility of the type-specific fields depends on "Weapon", "Armor", "Wand", "Staff", or "Wondrous Item" exactly, with capitalization. Otherwise text before or after doesn't matter. diff --git a/extension.xml b/extension.xml index 8711d08..3a9b75f 100644 --- a/extension.xml +++ b/extension.xml @@ -8,7 +8,7 @@ Feature: Enhanced Items - 4.7 + 4.8 llisandur Adds useful fields to various types of items @@ -20,12 +20,15 @@ 50 - + + +