
I have a list of three things: {{spell_components_verbal=1}} {{spell_components_somatic=1}} {{spell_components_material=1}} I'm trying to make "V, S, M" or "V, S" or "V, M" or "S, M". There is no if statement to test if a value is 0, only if it is a 1. I feel like this is impossible within the current restrictions, but maybe someone else has an idea. {{#spell_components_verbal}}V{{/spell_components_verbal}}
{{#spell_components_somatic}}{{#spell_components_verbal}}, {{/spell_components_verbal}}S{{/spell_components_somatic}}
{{#spell_components_material}}{{#spell_components_verbal}}, {{/spell_components_verbal}}{{#spell_components_somatic}}, {{/spell_components_somatic}}M{{/spell_components_material}} Is what I'm currently using. Obviously all 3 comes out as "V, S, , M". Any ideas?