{{!-- Name --}}
{{!-- Contents --}}
{{!-- Roster --}}
{{ localize "DND5E.FACILITY.FIELDS.defenders.max.label" }}
{{#each defenders}}
-
{{#if @root.editable}}
{{/if}}
{{else}}
-
{{ localize "DND5E.FACILITY.NoDefenders" }}
{{/each}}
{{!-- Basic Facilities --}}
{{ localize "DND5E.FACILITY.Types.Basic.Label.other" }}
{{#each facilities.basic.chosen}}
{{> ".facility" }}
{{/each}}
{{#each facilities.basic.available}}
-
{{ localize label }}
{{/each}}
{{!-- Special Facilities --}}
{{#with facilities.special}}
{{ localize "DND5E.FACILITY.Types.Special.Label.other" }}
{{ value }} / {{ max }}
{{#each chosen}}
{{> ".facility" }}
{{/each}}
{{#each available}}
-
{{ localize label }}
{{/each}}
{{/with}}
{{!-- Description --}}
{{ localize "DND5E.FACILITY.Description" }}
{{#if editable}}
{{else}}
{{{ bastion.description }}}
{{/if}}
{{#*inline ".facility"}}
{{#if (and progress.max executing)}}
{{ progress.value }}
/
{{ progress.max }}
{{/if}}
{{#if hirelings.length}}
{{#each hirelings}}
{{> ".occupant" type="hireling" }}
{{/each}}
{{/if}}
{{#if defenders.length}}
{{#each defenders}}
{{> ".occupant" type="defender" }}
{{/each}}
{{/if}}
{{#if creatures.length}}
{{#each creatures}}
{{> ".occupant" type="creature" }}
{{/each}}
{{/if}}
{{/inline}}
{{#*inline ".occupant"}}
{{#if actor}}
{{#unless pending}}

{{/unless}}
{{/if}}
{{#if @root.editable}}
{{#if (or actor pending)}}
{{/if}}
{{/if}}
{{/inline}}