"Vault of Magic" - Item Tables

Treasure Trove by CR

This chart is intended for use with the Kobold Press publication, "[Vault of Magic (https://koboldpress.com/kpstore/product/vault-of-magic-for-5th-edition/)". Items which include a link to DNDBeyond are part of the SRD.

Citation

Vault of Magic for 5th Edition by Kobold Press

This chart uses input variables
  • Challenge_Rating
Result

{% my_chart = roll_chart name:{$Challenge_Rating} %}
{% tableA = my_chart.1 %}{% amountA = my_chart.2 %}
{% tableB = my_chart.3 %}{% amountB = my_chart.4 %}

{% loot = get_chart name:{Magic Items Table {$tableA}} %}
{% c={$amountA}%}
{% result = unq count:c source:loot %}
{%for i in range from:1 to:c%}
{{result.$i.1}}
{{result.$i.2}}, {{result.$i.3}} {%if result.$i.4 != ""%}({{result.$i.4}}){%end%}
{%if result.$i.5 == "VoM"%}Vault of Magic, page {{result.$i.6}}
{%else%}Resolve: {DNDBeyond Link}
{%end%}
{%end%}

{%if tableB > 0%}
{% loot = get_chart name:{Magic Items Table {$tableB}} %}
{% d={$amountB}%}
{% result = unq count:d source:loot %}
{%for i in range from:1 to:d%}
{{result.$i.1}}
{{result.$i.2}}, {{result.$i.3}} {%if result.$i.4 != ""%}({{result.$i.4}}){%end%}
{%if result.$i.5 == "VoM"%}Vault of Magic, page {{result.$i.6}}
{%else%}Resolve: {DNDBeyond Link}
{%end%}
{%end%}
{%end%}

{#{% my_chart = roll_chart name:{$Challenge_Rating} %}
{% tableA = my_chart.1 %}{% amountA = my_chart.2 %}
{% tableB = my_chart.3 %}{% amountB = my_chart.4 %}

{% for i in range from:1 to:{$amountA} %}
{% result = roll_chart name: {Magic Items Table {$tableA}} %}
**{{result.1}}**
*{{result.2}}, {{result.3}}* {% if result.4 != "" %}({{result.4}}){%end%}
{% if result.5 == "VoM" %}Vault of Magic, page {{result.6}}
{% else %}**{DNDBeyond Link}**
{%end%}{%end%}

{% if tableB > 0 %}
{% for i in range from:1 to:{$amountB} %}
{% result = roll_chart name: {Magic Items Table {$tableB}} %}
**{{result.1}}**
*{{result.2}}, {{result.3}}* {% if result.4 != "" %}({{result.4}}){%end%}
{% if result.5 == "VoM" %}Vault of Magic, page {{result.6}}
{% else %}**{DNDBeyond Link}**
{%end%}{%end%}{%end%}#}