{{!-- Combat Tab --}}
    
      
        
        
        
        
        
          - 
            
            
              
            
            
              
            
            
              
            
            
              
            
          {{#each effects as |effect key|}}
- 
            {{#if effect.system.locked}}
              {{#if @root.isGM}}
                 {{else}} {{else}} {{/if}}
            {{else}} {{/if}}
            {{else}} {{/if}}
            {{effect.name}}
            {{effect.system.effectlevel}}
            {{upperFirst effect.system.type}}
            {{upperFirst effect.system.genre}}
            {{upper effect.system.stataffected}} {{/if}}
            {{effect.name}}
            {{effect.system.effectlevel}}
            {{upperFirst effect.system.type}}
            {{upperFirst effect.system.genre}}
            {{upper effect.system.stataffected}}  
              {{#if effect.system.locked}}
                {{#if  @root.isGM}}
                   
                {{/if}}
              {{else}}
                 
              {{/if}}
             
{{/each}}
 
     
    {{!-- Other Tab --}}
    
      
        - 
          
          
            
          
          
            
          
          
            
          
        {{#each specs as |spec key|}}
- 
           {{spec.name}}
          {{upper spec.system.statistic}}
          {{spec.system.dice}}
          {{#if spec.system.ispowergroup}}
          {{#if spec.system.powersactivated}}
          Deactivate
          {{else}}
          Activate
          {{/if}}
          {{else}}
           - 
          {{/if}} {{spec.name}}
          {{upper spec.system.statistic}}
          {{spec.system.dice}}
          {{#if spec.system.ispowergroup}}
          {{#if spec.system.powersactivated}}
          Deactivate
          {{else}}
          Activate
          {{/if}}
          {{else}}
           - 
          {{/if}}  
{{/each}}
 
    
    
    {{!-- Powers Tab --}}
    
      
        
        
        
          - 
            
            
              
            
            
              
            
            
              
            
            
              
            
          {{#each abilities as |ability key|}}
- 
             {{ability.name}}
            {{upper ability.system.affectedstat}}
            {{ability.system.statmodifier}}
            {{upperFirst ability.system.statusaffected}}
            {{ability.system.statusmodifier}} {{ability.name}}
            {{upper ability.system.affectedstat}}
            {{ability.system.statmodifier}}
            {{upperFirst ability.system.statusaffected}}
            {{ability.system.statusmodifier}}  
{{/each}}
 
     
    {{!-- Equipement Tab --}}
    
      
        
Encumbrance
        Current : {{encCurrent}}
        Capacity : {{encCapacity}}
        Hindrance : {{encHindrance}}
      
      
        - 
          
          
            
          
          
            
          
          
            
          
            
{{#each moneys as |money key|}}- 
           {{money.name}}
          
          
          
            
          
          
            {{#if money.system.idrDice}}
            {{money.system.idrDice}}
            {{else}}
             - 
            {{/if}} {{money.name}}
          
          
          
            
          
          
            {{#if money.system.idrDice}}
            {{money.system.idrDice}}
            {{else}}
             - 
            {{/if}}  
{{/each}}
        - 
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
            
{{#each weapons as |weapon key|}}- 
           {{weapon.name}}
          
          
          
          
          {{#if (gt weapon.system.ammomax 0)}}
          
          {{else}}
          
          
          {{/if}}
          
            {{#if (count weapon.system.effects)}}
            {{#if weapon.system.activated}}
            Deactivate
            {{else}}
            Activate
            {{/if}}
            {{else}}
             - 
            {{/if}}
          
          
          
            {{#if weapon.system.idrDice}}
            {{weapon.system.idrDice}}
            {{else}}
             - 
            {{/if}} {{weapon.name}}
          
          
          
          
          {{#if (gt weapon.system.ammomax 0)}}
          
          {{else}}
          
          
          {{/if}}
          
            {{#if (count weapon.system.effects)}}
            {{#if weapon.system.activated}}
            Deactivate
            {{else}}
            Activate
            {{/if}}
            {{else}}
             - 
            {{/if}}
          
          
          
            {{#if weapon.system.idrDice}}
            {{weapon.system.idrDice}}
            {{else}}
             - 
            {{/if}}  
{{/each}}
        - 
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
            
{{#each armors as |armor key|}}- 
           {{armor.name}}
          {{upper armor.system.statistic}}
          {{armor.system.resistanceDice}}
          {{armor.system.locationprotected}}
          
            {{#if (count armor.system.effects)}}
            {{#if armor.system.activated}}
            Deactivate
            {{else}}
            Activate
            {{/if}}
            {{else}}
             - 
            {{/if}}
          
          {{armor.system.weight}}
          
            {{#if armor.system.idrDice}}
            {{armor.system.idrDice}}
            {{else}}
             - 
            {{/if}} {{armor.name}}
          {{upper armor.system.statistic}}
          {{armor.system.resistanceDice}}
          {{armor.system.locationprotected}}
          
            {{#if (count armor.system.effects)}}
            {{#if armor.system.activated}}
            Deactivate
            {{else}}
            Activate
            {{/if}}
            {{else}}
             - 
            {{/if}}
          
          {{armor.system.weight}}
          
            {{#if armor.system.idrDice}}
            {{armor.system.idrDice}}
            {{else}}
             - 
            {{/if}}  
{{/each}}
        - 
          
          
            
          
          
            
          
          
            
          
          
            
          
            
{{#each shields as |shield key|}}- 
           {{shield.name}}
          {{shield.system.levelDice}}
          
            {{#if (count shield.system.effects)}}
            {{#if shield.system.activated}}
            Deactivate
            {{else}}
            Activate
            {{/if}}
            {{else}}
             - 
            {{/if}}
          
          {{shield.system.weight}}
          
            {{#if shield.system.idrDice}}
            {{shield.system.idrDice}}
            {{else}}
             - 
            {{/if}} {{shield.name}}
          {{shield.system.levelDice}}
          
            {{#if (count shield.system.effects)}}
            {{#if shield.system.activated}}
            Deactivate
            {{else}}
            Activate
            {{/if}}
            {{else}}
             - 
            {{/if}}
          
          {{shield.system.weight}}
          
            {{#if shield.system.idrDice}}
            {{shield.system.idrDice}}
            {{else}}
             - 
            {{/if}}  
{{/each}}
        - 
          
          
            
          
          
            
          
          
            
          
          
            
          
            
{{#each containersTree as |equip key|}}
        {{> systems/fvtt-pegasus-rpg/templates/partial-actor-equipment.html equip=equip level=1}}
          {{#each equip.system.contents as |subgear key|}}
          {{> systems/fvtt-pegasus-rpg/templates/partial-actor-equipment.html equip=subgear level=2}}
          {{/each}}
        
{{/each}}
     
    {{!-- Biography Tab --}}
    
      
      
        
        - 
          
          Status
        {{#each virtues as |virtue key|}}
- 
           {{virtue.name}} {{virtue.name}}  
{{/each}}
 
      
        
        - 
          
          Status
        {{#each vices as |vice key|}}
- 
           {{vice.name}} {{vice.name}}  
{{/each}}
 
      
      Catchphrase : 
      
      
      
      Background : 
      
        {{editor data.biodata.description target="system.biodata.description" button=true owner=owner
        editable=editable}}
      
      
      Notes : 
      
        {{editor data.biodata.notes target="system.biodata.notes" button=true owner=owner editable=editable}}