Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
When the user adds a rank to their career, or adds their race, or adds anything else that contains advancement information about the Awareness skill, a new copy of the awareness skill is bootstrapped from that pick. This copy has a tag that means "set activated = 0 so any scripts on us don't run, and hide us in all tables."
This copy of awareness also has an autotag added to it that means 1st advance costs 200, or it has a field that means the same, and stores that cost value. Or, if this is one of the character's later advances, it might list the cost of the second or third advance instead. Now, when you're adding the "Add New Skill" advancement, the advancement scripts will look for copies of themselves that are already on the hero and have the "we're an advancement helper" tag on them. They will foreach through all the existing copies, find the cheapest version, and set that as the cost of this advancement. So, when the user chooses Awareness as the skill they're adding, yet another copy of that skill is added to the character, but this one's a real copy, and is shown on the tables. Or, if it's the second or third time this character has selected Awareness, it adds +10 to the value of the main copy of Awareness. |
#21 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Quote:
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. |
|
#22 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The cost actually paid is stored on the advancement itself. The base cost is looked up from the "advancement helper" copy of the skill. So, since they're in different places, whether the base cost is stored as a tag or as a field doesn't impact how the cost paid is stored.
|
#23 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Quote:
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. |
|
#24 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Mathias,
I've started to build these XP helper items that will store the costs. Should I use a tag system for handling skill and talent costs? Like a tag choice for (Trained, +10, +20)? 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. |
#25 |
|
|