• 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

How can I make an Adjustment that will let me pick from available armour?

draco963

Well-known member
OK, so I'm making some Legacy items (I know, I know, broken; it's the spirit of the campaign), and I've come across something that's tripping me up...

The current WoL file has only gotten as far as a few weapons in it. I'm making some custom items, one of which is a shield and the other some gloves. Now, the entire structure of the WoL stuff is built around dependency on some feats being granted, which is done using the WoL permanent adjustment and which attaches specifically to an individual selected item.

That's all fine, and works as intended. Except, the existing adjustment allows one to select only weapons, and not armour or gear. I've tried editing the existing adjustment entry or making my own, but the drop-down list Show Menu in the Editor doesn't show options for armour or gear, and I haven't been able to figure our how the option Current Weapons was programmed, as I can't find anywhere its tag, YourWep, so as to mimic it.

Can anyone give me a pointer? Thanks!
 
OK, so I'm making some Legacy items (I know, I know, broken; it's the spirit of the campaign), and I've come across something that's tripping me up...

The current WoL file has only gotten as far as a few weapons in it. I'm making some custom items, one of which is a shield and the other some gloves. Now, the entire structure of the WoL stuff is built around dependency on some feats being granted, which is done using the WoL permanent adjustment and which attaches specifically to an individual selected item.

That's all fine, and works as intended. Except, the existing adjustment allows one to select only weapons, and not armour or gear. I've tried editing the existing adjustment entry or making my own, but the drop-down list Show Menu in the Editor doesn't show options for armour or gear, and I haven't been able to figure our how the option Current Weapons was programmed, as I can't find anywhere its tag, YourWep, so as to mimic it.

Can anyone give me a pointer? Thanks!

Add the following eval script at Pre-Levels/10001

Code:
~ Add armor to our dropdown list

field[pCandExpr].text &= " | (component.BaseArmor & !Helper.Static)"

This will add any armor the character has. You can add to the above with similar flags for any gear you want to be able to display as well.

PS I forgot this file even existed.
 
Back
Top