diff --git a/module/applications/sheets-configs/adversary-settings.mjs b/module/applications/sheets-configs/adversary-settings.mjs index ff1fdacd2..c12b77b21 100644 --- a/module/applications/sheets-configs/adversary-settings.mjs +++ b/module/applications/sheets-configs/adversary-settings.mjs @@ -139,6 +139,7 @@ export default class DHAdversarySettings extends DHBaseActorSettings { // Filter out data that is not configurable for colossi // These still exist under the hood, but its more user friendly to exclude if (this.actor.system.typeData?.type === 'colossus') { + context.isColossus = true; const role = this.actor.system.typeData.role; context.resources = context.resources.filter(r => role === 'framework' ? r.key !== 'hitPoints' : r.key !== 'stress'); } diff --git a/templates/sheets-settings/adversary-settings/colossus.hbs b/templates/sheets-settings/adversary-settings/colossus.hbs index 73b2a738a..9a407f22c 100644 --- a/templates/sheets-settings/adversary-settings/colossus.hbs +++ b/templates/sheets-settings/adversary-settings/colossus.hbs @@ -3,6 +3,7 @@ data-tab='{{tabs.colossus.id}}' data-group='{{tabs.colossus.group}}' > + {{#if isColossus}} {{#if (eq colossus.role "framework")}}
{{else}} - - {{formGroup systemFields.typeData.types.colossus.fields.adjacentParts name="system.typeData.adjacentParts" value=document._source.system.typeData.adjacentParts localize=true }} + + {{formGroup systemFields.typeData.types.colossus.fields.adjacentParts name="system.typeData.adjacentParts" value=document._source.system.typeData.adjacentParts localize=true }} + {{/if}} {{/if}} \ No newline at end of file