Plugin to show item borders with different colors for those items found in any armory set.
Show additional "matching" armory set info as well.
Changes:
2019-08-23 Updated to do strict item, skill and (passive/cube) power check by default. Removed ShowGemNamesLeft flag. Pastebin link will be permanent.
2019-01-31 Fixed typo in Matching.
2019-01-30 Changed "equipped" Armory Set to "matching" Armory Set, as there can be several...
2019-01-29 Added more options to control how Armory Set names are displayed. Toggle key is now NumPad-Divide.
2019-01-27 Added CurrentArmorySetWarning . CurrentArmorySetIndicator (*) and CurrentArmorySetWarning (!!!) are configurable.
2019-01-25 Show current armory set name, show # of equipped items for each armory set.
2019-01-24 List of Armory set numbers and names is hidden when Stash is visible.
Fixed plugin descriptions, I got confused about stash and inventory.
Added new option (ShowArmorySetNames) to show Armory Set names on the left side of the screen.
Unfortunately THUD seems to give item numbers only for the first 5 Armory Set slots even though it has all 10 Armory Set slot available (as Armory Set name list confirms).
Plugin updated.
Current armory set name is shown in Inventory header.
New feature is to check if current armory set is same as equipped items etc. on player.
AFAIK it is only possible to easily compare cubed items between player and current armory set.
You mispelled the word "Mathcing" everywhere in your plugin, including the customization.
It should be "Matching".
Also Unicode Set indicators are not showing properly in the list to the left. They just show as letters after setnames: "u25C0".
If I customize one of them, then both old and new codes show together like "u25C2u25B6"
You mispelled the word "Mathcing" everywhere in your plugin, including the customization.
It should be "Matching".
Fixed on rev 904.
Originally Posted by Stormreaver
Also Unicode Set indicators are not showing properly in the list to the left. They just show as letters after setnames: "u25C0".
If I customize one of them, then both old and new codes show together like "u25C2u25B6"
"MatchingSetIndicator" and "MatchingPowersIndicator" should work if they are given proper C# Unicode escape sequence.
If compiler does not recognize it, it will be something else...
If your editor supports it, you can place Unicode characters there directly like "◀" or "◂".
I use C# Unicode escape sequence for portability, but can not guarantee that it works after files are uploaded and downloaded and edited before complation.
This should work:
Code:
const string left = "\u25C0";
const string left2 = "\u25C2";
Notice the escape sequence \u in the string literal before hexadecimal character code.
It can be even multi-byte sequence like "\uD83D\uDEE1" for "🛡";
Ok i got the symbols to show properly by adding forward flash "".
In your example in the OP you listed customization for them that did NOT include "forward slash ".
You probably should fix that to include it "\u....".
Code:
plugin.MathcingSetIndicator = "u25C0"; // black left-pointing pointer
plugin.MathcingPowersIndicator = "u25C2"; // black left-pointing small triangle
Btw on the left list, what are the numbers in brackets ( ) after the Set Name?
Last edited by Stormreaver; 01-31-2019 at 09:14 PM.
Ok i got the symbols to show properly by adding forward flash "".
In your example in the OP you listed customization for them that did NOT include "forward slash ".
You probably should fix that to include it "\u....".
Code:
plugin.MathcingSetIndicator = "u25C0"; // black left-pointing pointer
plugin.MathcingPowersIndicator = "u25C2"; // black left-pointing small triangle
Oh yes, no I can see where the error is, OWNEDCORE editor strips backslash away. I noticed it before when using windows path names.
I changed the example to use unicode characters without escaping them.
Btw on the left list, what are the numbers in brackets ( ) after the Set Name?
The numbers are: how many equipped items are found on each set.
I will make a new version where label can be configured:
Code:
public string ArmorySetLabelFormat { get; set; } = "{0:00} {1} ({2})"; // Armory Set number, name and equipped item count.