• 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

Change wearable ring limit?

Lonewolf147

Well-known member
Is there a way to change the core limit of how may rings can be worn? In my 3.5 D&D game I allow players to wear more than 2 rings, but obviously when you equip more than 2 Hero Lab shows it as an error.

This question would also apply to any other core limit too.
 
Which system d20 or Pathfinder? It often makes a difference. I would would recommend looking at the script on "Hand of Glory" which is in both d20/Pathfinder. As the Hand of Glory allows a third ring to be worn.
 
It would be both, so I'll look at Hand of Glory, but primarily the issue is in my 3.5 D&D game (d20) since those players actually own more than two rings each.
 
So I'm finally getting around to doing this. I found the Hand of Glory and made a my own 'wondrous' item with the same scripts. I modified it so that it does not need to be equipped to gain the benefits. When I add my new item to a character, it does indeed allow me to have 3 rings equipped.

But, it I add a second or third copy of my wondrous item, the rules don't seem to stack. I'm still limited to 3 rings. Here's the eval script I'm using copied from the Hand of Glory.

perform hero.assign[ExtraSlot.EqpRing]

Is there a way to make this stackable, or to specify a number of ExtraSlot's?
 
So I'm finally getting around to doing this. I found the Hand of Glory and made a my own 'wondrous' item with the same scripts. I modified it so that it does not need to be equipped to gain the benefits. When I add my new item to a character, it does indeed allow me to have 3 rings equipped.

But, it I add a second or third copy of my wondrous item, the rules don't seem to stack. I'm still limited to 3 rings. Here's the eval script I'm using copied from the Hand of Glory.

perform hero.assign[ExtraSlot.EqpRing]

Is there a way to make this stackable, or to specify a number of ExtraSlot's?
I just checked the background component in d20 and sure enough it does a count on "ExtraSlot.EqpRing". So having multiple tags will give your the ability to wear more rings.

So in this case I have to assume the tags are not getting on the hero. Add your new item multiple times to a character. Then go to "Develop->Floating Info Windows->Show Hero Tags". Then look to see how many times you see the tag "ExtraSlot.EqpRing" listed?
 
I've added the item 5 times. Looking at the tag list, the ExtraSlot is only listed once.
So post your FULL script on the item. Because if the above is the only script then it would run five times placing 5 tags on the hero. So wondering if you have any other logic stopping it from executing.
 
Code:
perform hero.assign[ExtraSlot.EqpRing]

That is all I have in there. I copied it from the Hand of Glory, but deleted part of it. Here's the full script from the HoG


Code:
      ~ If we're equipped, add a tag that allows an extra ring slot.
      doneif (field[gIsEquip].value = 0)

      perform hero.assign[ExtraSlot.EqpRing]

I'm not having this as an equipable item. It is always active, so I don't need doneif logic. But, to be complete, I did put in the full HoG script, made my item equipable and tried again. Same result. Even if I add and equip several Hands of Glory it only adds it once.
 
Last edited:
I just tested this script in a clean version of d20 and I get a new tag each time I add the item. Do a CTRL-R to make sure you working with clean system.

If still an issue post your .user file here so I can take a look. Because its not making sense... :(
 
I just figured out the problem. When the items are stacked, it only counts it once. If I have the items separate, it gives me multiple tags.
 
IF you have my Toby's Custom Stuff Source there is a feat in there for extra items, dont remember the name of the feat, it works for all items (Except chest piece). I've been trying to find a way to override the information contained in the games core files. But failed every time. The code is essentially as has been written here, though a little more flexible.

Speaking of which if anyone has suggestions about how to override the information about the Extra Chest Pieces I would very much like to know, it would help in creating things like Dastanas, Tabards, Surcoats and Over-Robes.

I suspect that it is an issue with the hardcodded information in one of herolabs *.1st source files but I dont know enough about how the XML works. Nor would I fancy messing with such.
 
I just figured out the problem. When the items are stacked, it only counts it once. If I have the items separate, it gives me multiple tags.

There should be a way account for this by "Counting" the number of stacks.

PSEUDOCODE:

IF item is not stacked: DONE
IF item is stacked, Count Stacks.
Add +1 per counted stack to item slot.


I have run into a similar issue with the Commander's ring + Purple Dragon Ring. While both are worn together they only count as a single ring (Kinda like one of those combining celtic rings). It works fine if you just wear a single extra ring, but if you try to add more than one extra ring it give errors.

Not really, a very likely situation so I haven't focused on fixing this, but they seem like they would be related. I'll give this some thought and if I find a solution I'll pass it along, perhaps it will help you.
 
IF you have my Toby's Custom Stuff Source there is a feat in there for extra items, dont remember the name of the feat, it works for all items (Except chest piece). I've been trying to find a way to override the information contained in the games core files. But failed every time. The code is essentially as has been written here, though a little more flexible.
I was just looking at the tags in d20 and I thought I saw logic for all ExtraSlot.Eqp? tags including Chest. So your saying "ExtraSlot.EqpChest" does not work?
 
The reason ExtraSlot.EqpChest does not work is that is not a valid tag. So not sure why HL didn't toss you an error about that.

The Robs are the same slot as Armor in d20. So you need to use the ExtraSlot.EqpArmor tag to allow for a suite of armor and robe to be worn.
 
I tested this out and I can not duplicate an issue. I used the following script and had no issues:

Pre-Levels/10000
Code:
perform hero.assign[ExtraSlot.EqpArmor]
And HL let me have two robes on then. Unless you have more info I am not considering this a bug as I can't duplicate the issue... :(
 
Back
Top