Astromath Posted July 25, 2020 Report Share Posted July 25, 2020 This is what I have: <SKILL XMLID="BRIBERY" SHOWDIALOG="Yes" DISPLAY="Bribery" MINCOST="1" FAMILIARITYROLL="8" FAMILIARITYCOST="1" EXCLUSIVE="Yes"> <CHARACTERISTIC_CHOICE> <ITEM CHARACTERISTIC="PRE" BASECOST="3" LVLCOST="2" LVLVAL="1" /> </CHARACTERISTIC_CHOICE> <ADDER XMLID="FIRSTCULTURE" DISPLAY="First Culture or Region" SHOWALIAS="No" BASECOST="2" MINCOST="1" INPUTLABEL="Culture/Region" OTHERINPUT="Yes" EXCLUSIVE="Yes" > </ADDER> <ADDER XMLID="ADDCULTURE" DISPLAY="Additional Culture(s) or Region(s)" SHOWALIAS="No" BASECOST="1" MINCOST="1" INPUTLABEL="Culture(s)/Region(s)" OTHERINPUT="Yes" EXCLUSIVE="Yes"> </ADDER> <DEFINITION>A character with this Interaction Skill knows when to bribe someone, how to approach him, and how much to offer.</DEFINITION> </SKILL> What I expect: The 2 adders to show. Check. What I expect: Checking the first adder box to replace the base cost of the bribery skill with 2. Problem. It adds 2 to the bribery base cost instead. What I expect: Checking the first adder box does not produce an extra "First Culture" box for that adder. Problem. It does. What I expect: Before checking the first adder box, the second adder box to be grayed out. Problem. It's not grayed out. Expected output if adder is not chosen: 3 Bribery 11- Expected output if adder is chosen: 2 Bribery: [culture] 11- What it actually outputs: 5 Bribery 11- I was using the 5th edition computer programming skill as an example. There, the first adder chosen replaces the base cost, not add to it, then all the additional chosen adders add to the first adder chosen. It's probably something simple, but I just can't see it. Quote Link to comment Share on other sites More sharing options...
Simon Posted July 25, 2020 Report Share Posted July 25, 2020 You're not going to get the behavior you're after without overriding/re-defining one of the optionally Adder-based Skills (Animal Handler, Survival, etc.) -- they require custom code in order to flip between being either a straight 3/2 Skill or being Adder-based. Without that, Adders will work as they should -- adding into the cost of the Skill. As for the lack of the Adders in the output of the Skill, you have SHOWALIAS set to No, so they're not displaying (by design). Quote Link to comment Share on other sites More sharing options...
Astromath Posted July 25, 2020 Author Report Share Posted July 25, 2020 I had a feeling SHOWALIAS was part of the problem since it wasn't defined in the docs. So, by deleting that, the adders should show in the end result. IOW, I can't get the same behavior as Computer Programming then. That's a bummer. I'm not too sure how to do it then. Any hints will be appreciated. I'm trying to add in xml so that I can add the extra stuff from Hero System Skills (6E). So far, I'm up to Bribery (6E Skills book, page 93, subsection Subdividing Bribery). P.S. Right now, you have in the Preferences the Template tab to add 5th edition source books. Will you be eventually doing that with the 6th edition source books (basically a second Template tab labelled "Template 6E")? Quote Link to comment Share on other sites More sharing options...
Simon Posted July 25, 2020 Report Share Posted July 25, 2020 The source book selection was intentionally removed for 6E -- elements that Steve considers canon/part of the core rules are added in, others are up to the user and/or character packs to include as needed/desired. That was part of the increased focus on toolkitting for 6E. Quote Link to comment Share on other sites More sharing options...
Astromath Posted July 25, 2020 Author Report Share Posted July 25, 2020 Ah. I see. I'm still completely flummoxed as how to do the Bribery skill. I probably need to do each as its own skill as a workaround, but I'd rather be able to do it like Computer Programming. But, on the other side, I am learning XML by doing this. Quote Link to comment Share on other sites More sharing options...
Astromath Posted July 26, 2020 Author Report Share Posted July 26, 2020 I figured a work around. Reduce the BASECOST of the main skill to 0 and add an ADDER with the title No Culture/Region Choice with BASECOST of 3. All that's left is the part of graying out the other two adders when that is chosen. I'll be looking at examples in the Main6E template where some skills do that. Quote Link to comment Share on other sites More sharing options...
Simon Posted July 26, 2020 Report Share Posted July 26, 2020 REQUIRES and EXCLUDES are the attributes you’re looking for Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.