Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
So I finally got this to work. Overall is not too bad but you do have to do a "Replaces Thing ID". So currently I won't be able to do add this to my Adjustments addon.
So on the "Language" tab do a new(copy) of "Common[thingid.lCommon]". On the "Containerreq" tab change the logic to: Code:
!source.HouNoComm & !Hero.NoDefComm On the "Int Item Power" tab do a New(Blank). Give it a name of like "No Common Language" and a new Unique ID. Then enter a new "Eval Scripts" at First 10: Code:
perform container.assign[Hero.NoDefComm] Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#11 |
Senior Member
Join Date: Nov 2009
Location: Jonesboro, AR (USA)
Posts: 858
|
That did it - thanks Shadow! I actually added the eval script to my power that adds Draconic as a default language, so now my sword has Draconic but not Common, and I can just make a similar power for any other default language.
Next I'll work on getting it set it up so that rather than using a separate power for each desired language the power will just give a drop box with a list of choices. I'll post back here with either success or a request for help . . . |
#12 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Aaron - a suggestion: Add !Hide.Language to the list expression for the language table on an intelligent item. That way, all those replacements and containerreqs could be replaced by simply assigning the Hide.Language tag to that copy of common.
|
#13 |
Senior Member
Join Date: Nov 2009
Location: Jonesboro, AR (USA)
Posts: 858
|
All right - I need pointing in the right direction.
I was thinking the way to go about this would be to simply give the item an extra language slot now that I've got the Common tongue eliminated. I went to the Tiefling race to see how their extra starting language is assigned, and attached that script to my ii power. But even though the power is on the item it grants the extra language slot to the character. I've tried using 'container.herofield[tLangSta]' and 'container.parent.herofield . . .' but both end up still giving the character the extra language slot rather than the item. |
#14 |
Senior Member
Join Date: Nov 2009
Location: Jonesboro, AR (USA)
Posts: 858
|
Quote:
|
|
#15 |
Banned
Join Date: May 2012
Posts: 1
|
I really wanted to send a small word to say thanks to you for the fantastic points you are writing on forums.wolflair.com. My time-consuming internet lookup has at the end been honored with extremely good ideas to exchange with my pals. I ‘d express that many of us site visitors actually are extremely endowed to exist in a notable community with so many lovely individuals with useful points. I feel really fortunate to have used your webpage and look forward to so many more fun moments reading here. Thanks a lot again for a lot of things.
|
#16 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
So taking the script from the Skill gives: Code:
container.child[gCustMagic].field[gLangs].value += 1 Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#17 |
Senior Member
Join Date: Nov 2009
Location: Jonesboro, AR (USA)
Posts: 858
|
And that does exactly what I wanted it to do - I now have an intelligent item power that removes Common as the default language and allows the owner/user/creator of said item to choose a replacement language for it.
Many thanks, Shadow! |
#18 |
|
|