-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing attributes from Quartermaster sheet #4
Comments
The reason that they are invisible is that they are in a repeating section, and for some reason Roll20 does not display those in the last tab. If you know how to pull repeating attributes out of a sheet, the attributes are named after this pattern:
|
Thanks!
I got pretty close to working that out last night. I pulled up the Github
html and read up about repeating sections. It still couldn’t get it to
work.
But from your email, I think I see my mistake. I was using _attr_uses at
the end:
!blades add-by-token repeating_materiel_$0_attr_uses
I think I’ll try:
!blades add-by-token repeating_materiel_$0_uses
Cheers
…On Mon, 6 Apr 2020 at 12:32 am, Jakob Oesinghaus ***@***.***> wrote:
The reason that they are invisible is that they are in a repeating
section, and for some reason Roll20 does not display those in the last tab.
If you know how to pull repeating attributes out of a sheet, the
attributes are named after this pattern:
repeating_materiel_${id}_name
repeating_material_${id}_check
repeating_material_${id}_uses
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APBPIHE66KNU2J4A2V6FDZTRLCI6TANCNFSM4L4A5HJQ>
.
|
Still no luck pull the attributes from the Materiel repeating section.
I think I’m getting the !blades function right as it’s working with all
other attributes listed on the last tab.
I thought:
blades add-by-token repeating_materiel_$0_uses
would link to the top horses circle dots and:
blades add-by-token repeating_materiel_$1_uses
would link to the top blackshot circle dots. But I can’t see how either
links to those or any other values in the materiel repeating.
So I can only assume I’m misunderstanding what you mean by ${id}.
On Mon, 6 Apr 2020 at 6:40 am, Oliver Granger <oliver@watergoesred.net>
wrote:
… Thanks!
I got pretty close to working that out last night. I pulled up the Github
html and read up about repeating sections. It still couldn’t get it to
work.
But from your email, I think I see my mistake. I was using _attr_uses at
the end:
!blades add-by-token repeating_materiel_$0_attr_uses
I think I’ll try:
!blades add-by-token repeating_materiel_$0_uses
Cheers
On Mon, 6 Apr 2020 at 12:32 am, Jakob Oesinghaus ***@***.***>
wrote:
> The reason that they are invisible is that they are in a repeating
> section, and for some reason Roll20 does not display those in the last tab.
>
> If you know how to pull repeating attributes out of a sheet, the
> attributes are named after this pattern:
>
> repeating_materiel_${id}_name
> repeating_material_${id}_check
> repeating_material_${id}_uses
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#4 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/APBPIHE66KNU2J4A2V6FDZTRLCI6TANCNFSM4L4A5HJQ>
> .
>
|
I got it working by inspecting the HTML script for each repeating
section and finding its specific alphanumeric ID.
For example:
!blades add-by-token repeating_materiel_-M38Dkb8kZTtl1n18Vpf_uses
I don't know if that is what you meant or if it's a good way to do it, but
it's working for the moment.
On Mon, 6 Apr 2020 at 8:49 am, Oliver Granger <oliver@watergoesred.net>
wrote:
… Still no luck pull the attributes from the Materiel repeating section.
I think I’m getting the !blades function right as it’s working with all
other attributes listed on the last tab.
I thought:
blades add-by-token repeating_materiel_$0_uses
would link to the top horses circle dots and:
blades add-by-token repeating_materiel_$1_uses
would link to the top blackshot circle dots. But I can’t see how either
links to those or any other values in the materiel repeating.
So I can only assume I’m misunderstanding what you mean by ${id}.
On Mon, 6 Apr 2020 at 6:40 am, Oliver Granger ***@***.***>
wrote:
> Thanks!
>
> I got pretty close to working that out last night. I pulled up the Github
> html and read up about repeating sections. It still couldn’t get it to
> work.
>
> But from your email, I think I see my mistake. I was using _attr_uses at
> the end:
> !blades add-by-token repeating_materiel_$0_attr_uses
>
> I think I’ll try:
> !blades add-by-token repeating_materiel_$0_uses
>
> Cheers
>
> On Mon, 6 Apr 2020 at 12:32 am, Jakob Oesinghaus <
> ***@***.***> wrote:
>
>> The reason that they are invisible is that they are in a repeating
>> section, and for some reason Roll20 does not display those in the last tab.
>>
>> If you know how to pull repeating attributes out of a sheet, the
>> attributes are named after this pattern:
>>
>> repeating_materiel_${id}_name
>> repeating_material_${id}_check
>> repeating_material_${id}_uses
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <#4 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/APBPIHE66KNU2J4A2V6FDZTRLCI6TANCNFSM4L4A5HJQ>
>> .
>>
>
|
Yes, that's what I meant! Sorry that I have been pretty busy and not very responsive. |
Good to know and no worries! I nutted it out eventually. Both your sheet and your script are great. Cheers! |
Hi
Just something minor on the Quartermaster character sheet. I'm trying to use your Blades Companion script to link to quantities of different Materiel, which requires linking to the relevant attribute. But no attributes appear on the Attributes and Abilities tab for Horses, Blackshot, or Religious Supplies. All the other Materiel have attributes or have them appear after I fill them in on the sheet.
Is there any way to ensure these three Materiel terms (all have 2 or 3 rows each) have attributes appear?
Thanks
Oliver
The text was updated successfully, but these errors were encountered: