Tengu1958
July 30th, 2020, 01:27
I am trying to create a Rune Tab for my Runequest game. I'm not a programmer so I tend to parrot other code in the ruleset. I am using the Basic Roleplaying (BRP) in Unity version.
Runes share a lot with Skills mechanically. So I copied the record_char_skills.xml and made record_char_runes.xml. I followed this logic for record_skills.xml to record_runes.xml. I did the same for the associated lua files for the scripts to include a manager_action_rune.lua, charsheet_runelist.lua and charsheet_runelistitem.lua and adjusted my base file to include the new files. Then I added affinities and runes to the gameline script file parroting categories and skills.
I went through the files I copied and changed every single instance of skill to rune and category to affinity. I paid attention to lowercase and uppercase in all these changes. I also paid attention to the abbreviation "cat" used for category and created "aff" for affinity and made all of these changes.
One difference between skill categories and rune affinities is that skill categories have a bonus that can be added to category's skills, while rune affinities do not. Because of this I removed everything related to bonuses in these rune files.
Here is my expectation. When I run these files I want to see a list of runes broken down by affinity in the same manner that skills are broken down by category.
My current output is not my expectation. I get the three affinities listed one under the other followed by a column of the 16 runes. Everything else seems to work fine as I can roll the dice for a rune. I can change the rune values as expected. The base values appear as entered. Custom runes can be created. But the runes refuse to group properly.
Is there something in the category bonus that is used for sorting? I'm at a loss. Like I mentioned. I more of a parrot than a programmer. If I can get this done though I will be well on my way to running Runequest for my players.
Thanks for any input.
Runes share a lot with Skills mechanically. So I copied the record_char_skills.xml and made record_char_runes.xml. I followed this logic for record_skills.xml to record_runes.xml. I did the same for the associated lua files for the scripts to include a manager_action_rune.lua, charsheet_runelist.lua and charsheet_runelistitem.lua and adjusted my base file to include the new files. Then I added affinities and runes to the gameline script file parroting categories and skills.
I went through the files I copied and changed every single instance of skill to rune and category to affinity. I paid attention to lowercase and uppercase in all these changes. I also paid attention to the abbreviation "cat" used for category and created "aff" for affinity and made all of these changes.
One difference between skill categories and rune affinities is that skill categories have a bonus that can be added to category's skills, while rune affinities do not. Because of this I removed everything related to bonuses in these rune files.
Here is my expectation. When I run these files I want to see a list of runes broken down by affinity in the same manner that skills are broken down by category.
My current output is not my expectation. I get the three affinities listed one under the other followed by a column of the 16 runes. Everything else seems to work fine as I can roll the dice for a rune. I can change the rune values as expected. The base values appear as entered. Custom runes can be created. But the runes refuse to group properly.
Is there something in the category bonus that is used for sorting? I'm at a loss. Like I mentioned. I more of a parrot than a programmer. If I can get this done though I will be well on my way to running Runequest for my players.
Thanks for any input.