Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Taking a value from a repeating section for use in another, nominated repeating section

Hi all, I have a skill system where the time a character spends in a given pursuit (an "Experience") gives them points to spend augmenting their Attributes. Here's what that looks like- So the player chooses the time spent in years in a given part of their life. The dropdown below the title defines the amount of points granted by a given Experience per year. Hobbies grant 0.5, Military Experience grants 2 points per year. For example. These points appear in the 3rd box on the left hand side. These are then spent by selecting the "Rank" in each Focus.  Here's the question- I have a rule where one can "stack" Experiences that relate. So a childhood spent tinkering with computers and hacking games as a hobby grants some points which can then give a starting bonus to time spent in academic studies of computers and software. Playing with computers (Hobby) from 10 till 16 gives 3 points towards the Mind Focus of "Hacking", which allows the player to raise Hacking from Untrained to Journeyman. This costs 3 points. Under the stacking rule, the Bachelors in Computer Science should start with the character at Journeyman in that skill. The issue is that I need a way to attribute the points spent in the Hobby Experience (Hacking Focus) to the Academic Experience (CompSci Focus) in a different repeating field. Is there a way I can store the value of points spent in each of the 4 areas of each Experience, and then assign that value to the appropriate different Experience if it suits, but not if it does not. I expect this will have to be assigned by the player, and that's the best way to do it. Ideally I'd like to be able to have a dropdown that is populated by the Label field from each Focus. That's the field which is labeled "Hacking" or "Analyze Opponent" for example. The player would then go to the Stacking Focus (the 2nd one in the chronological progression of the character) and choose the "foundational" Focus. Points spent there would then be added to the stacking one.  Note: I mean added to the specific Focus that's stacking. So points spent in a foundational Body Focus would then be available to be assigned to a stacking Body Focus only. Sorry if this is not clear. I can try again if this explanation makes no sense.
1706363999
GiGs
Pro
Sheet Author
API Scripter
It's not clear enough to me :) Generally speaking, repeating sections are unrelated to each other- because you don't know what a player will put in each repeating section ahead of time (that's why they exist!) Are there exactly 4 areas that you want to store points in? This would be easy to do: just create 4 attributes (possibly hidden), one for each focus, and in the skills repeating section, have players choose which of these 4 foci this skill belongs to, and whenever its points change, recalculate the 4 global attributes. You'd need to use getSectionIDs for this.
Sorry that's not more clear. Thanks. I'll look into that.