|
|
Thread Tools | Display Modes |
|
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,502
|
This is one of those nice-to-have things because I'm doing a lot of fiddling to find the best approach, but currently I basically have the same code for editable fields for the Race, Background, and Command Package tabs because all three allow for addition of a set of choices for a bonus, automatic specialties, and individual skill bonuses (and eventually penalties). Currently, every time I fix one, as I learn a better way to handle it, I have to copy and paste that code to each location. It strikes me that there ought to be a better way.
Here is an example of one of the more complicated (such as they go) editor entries: Code:
<inputthing name="Skill Bonus Choices" helptext="Add one or more skill bonus choices that the characters of this race can pick."> <it_bootcustom compset="cmpsetSB"> <match>thingid.fRPlusSk</match> <inputthing name="Skills" helptext="Pick the skills that can be chosen for this bonus."> <it_taglist group="Skill" tag="?" dynamic="no"/> </inputthing> <inputthing name="Skill Types" helptext="Pick the skill types that can be chosen for this bonus."> <it_taglist group="Skills" tag="?" dynamic="no"/> </inputthing> <inputthing name="Bonus" helptext="Pick the bonus value."> <it_tagpick group="Bonus" tag="?" dynamic="no"/> </inputthing> </it_bootcustom> </inputthing> </editthing> |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Inputthinggroups were actually only added around a year ago:
Code:
<inputthinggroup id="Conflicts"> <inputthing name="Conflicts" helptext="Details about conflicts this quality has with other qualities or augmentations"> <it_separator/> </inputthing> <inputthing name="Removed by Cyber/Bio?" helptext="If this ability will be lost if a specific portion of the character is replaced by augmentations, choose the augmentation types here. For example, many vision-related abilities are lost if the character replaces their eyes."> <it_taglist group="AugExclude" tag="?"/> </inputthing> <inputthing name="Mutually Exclusive Options" helptext="If this ability is one of a group (or many groups) of abilities where you may not select more than one of the avaialble options, choose those groups here. For example, there are many skin-based metagenetic qualities that cannot be chosen together. Another example is that you are only allowed to follow a single code of conduct."> <it_taglist group="MutualExcl" tag="?"/> </inputthing> </inputthinggroup> Code:
<inputthing> <it_groupref id="Conflicts"/> </inputthing> |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Nov 2009
Posts: 1,502
|
Excellent! That works perfectly!
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
I'm plundering this as it will simplify the coding I need to do for the editor.
RavenX Pronouns: She/Her Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you. I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all. |
#4 |
Thread Tools | |
Display Modes | |
|
|