• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Remove Trackers from Consumables

Valdacil

Well-known member
I spend so much time on the In-Play tab and view it as combat central (along with Adjust and Condition and Spells). The Tracked Resources & Abilities bothers me a little bit because it is so cluttered. I really only want to see things like limited use abilities, charges for items with charges (ie Wands) and ammo. Everything else like attunement 1/day, or the occult skill unlocks, or consumable items (torches, trail rations, etc) just clutter up the screen when I'm trying to manage resources in combat.

I already had a mechanic override for ABP, so I added a couple of lines to remove the trackers from armor and weapon attunement. I just created a new mechanic to remove trackers from all of the occult skill unlocks.

But the script for gear is a little bit different. Looking at an item that shows up that I don't want to (Magnetized Paper), I don't see the usual User.Tracker that shows up on feats and abilities. I thought maybe ShowInTabl.ipTracker might have been it, but my script doesn't seem to be working to remove that.

Without having to edit every piece of gear, any suggestions on how to quickly do that programmatically?
 
I ended up figuring it out. I believe I've accounted for most exceptions and for things that have charges. I'll post the script later when I have time.

I removed Helper.UsesQty to get rid of the tracker, but first did a check to see if stackQty = trkMax (meaning the thing doesn't have charges and is single use item).
 
Lol, I've even used that adjustment to remove the tracker from daggers. Sometimes I get tied up in what I'm doing and forget to use ALL of my resources.
 
Lol, I've even used that adjustment to remove the tracker from daggers. Sometimes I get tied up in what I'm doing and forget to use ALL of my resources.
LOL Yeah I have done that also.... :D

Just wanted to mention as adjustments are a good way to get script examples. :)
 
Here's what I have. This is a mechanic that runs at Render/10000:

Code:
      ~ Find all equipment that doesn't have charges except armor and weapons
      foreach pick in hero from BaseEquip where "!component.BaseArmor & !component.BaseWep & !gType.Wand & !gType.Rod & GearVlSort.LimitedUse & Helper.UsesQty"
        If (eachpick.field[trkMax].value = eachpick.field[stackQty].value) Then
          perform eachpick.delete[Helper.UsesQty]
        EndIf
      nexteach
 
Could it be done by giving it the source "Hide trackers" or something similar as well as the parent source "Equipment, Weapons and Amor to show"?
 
Back
Top