{{> "systems/city-of-mist/templates/parts/tag-name.html" activated=(hasActivatedItem tag) tagdirection=(getDirection tag) tag=tag}}
{{#if (not tag.parent.system.locked)}}
{{#if (canTakeLoadoutWeakness tag)}}
{{/if}}
{{else}}
{{#if tag.parent.isOwner}}
{{#if (eq tag.system.burn_state 0)}}
{{#if canBurn}}
{{#if tag.isBurnable}}
{{/if}}
{{/if}}
{{else}}
{{#if (eq tag.system.burn_state 1)}}
{{/if}}
{{/if}}
{{/if}}
{{/if}}