{{!-- Combat Tab --}}
    
      
        
        
          
          
        
        
          
          
          {{#if data.secondary.is3Dcombat}}
            
            
          {{/if}}
        
        
          {{#each data.arcs as |arc idx|}}
            {{#if arc.is3D}}  
              {{#if @root.data.secondary.is3Dcombat}} 
                {{> systems/fvtt-pegasus-rpg/templates/partial-vehicle-arc.html idx=idx  arc=arc}}
              {{/if}}
            {{else}}
              {{> systems/fvtt-pegasus-rpg/templates/partial-vehicle-arc.html idx=idx arc=arc}}
            {{/if}}
          {{/each}}
        
        
          - 
            
            
              
            
            
              
            
            
              
            
            
              
            
          {{#each effects as |effect key|}}
- 
             {{effect.name}}
            {{effect.system.effectlevel}}
            {{upperFirst effect.system.type}}
            {{upperFirst effect.datsystema.genre}}
            {{upper effect.system.stataffected}} {{effect.name}}
            {{effect.system.effectlevel}}
            {{upperFirst effect.system.type}}
            {{upperFirst effect.datsystema.genre}}
            {{upper effect.system.stataffected}}  
{{/each}}
 
     
    {{!-- Modules Tab --}}
    
      
      
        - 
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
        {{#each vehicleHull as |hull key|}}
- 
           {{hull.name}}
          {{hull.system.size}}
          {{hull.system.hulltype}}
          {{hull.system.hr}}
          {{hull.system.man}}
          {{hull.system.vms}} {{hull.name}}
          {{hull.system.size}}
          {{hull.system.hulltype}}
          {{hull.system.hr}}
          {{hull.system.man}}
          {{hull.system.vms}}  
{{/each}}
        - 
          
          
            
          
          
            
          
          
            
          
        {{#each powerCoreModules as |powercore key|}}
- 
           {{powercore.name}}
          {{powercore.system.coretype}}
          {{powercore.system.pc}}
          {{powercore.system.nrg}} {{powercore.name}}
          {{powercore.system.coretype}}
          {{powercore.system.pc}}
          {{powercore.system.nrg}}  
{{/each}}
        - 
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
        {{#each mobilityModules as |mobility key|}}
- 
           {{mobility.name}}
          {{mobility.system.vehiclecategory}}
          {{mobility.system.quality}}
          {{mobility.system.mr}}
          {{mobility.system.ts_f}}
          {{mobility.system.ts_s}}
          {{mobility.system.ts_r}}
          {{mobility.system.man}} {{mobility.name}}
          {{mobility.system.vehiclecategory}}
          {{mobility.system.quality}}
          {{mobility.system.mr}}
          {{mobility.system.ts_f}}
          {{mobility.system.ts_s}}
          {{mobility.system.ts_r}}
          {{mobility.system.man}}  
{{/each}}
        - 
          
          
            
          
          
            
          
          
            
          
        {{#each propulsionModules as |propulsion key|}}
- 
           {{propulsion.name}}
          {{propulsion.system.quality}}
          {{propulsion.system.ad}}
          {{propulsion.system.topspeed}} {{propulsion.name}}
          {{propulsion.system.quality}}
          {{propulsion.system.ad}}
          {{propulsion.system.topspeed}}  
{{/each}}
        - 
          
          
            
          
          
            
          
        {{#each combatModules as |combat key|}}
- 
           {{combat.name}}
          {{combat.system.combattype}}
          {{combat.system.fc}} {{combat.name}}
          {{combat.system.combattype}}
          {{combat.system.fc}}  
{{/each}}
        - 
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
        {{#each vehicleModules as |vehiclemod key|}}
- 
           {{vehiclemod.name}}
          {{vehiclemod.system.category}}
          {{vehiclemod.system.location}}
          {{vehiclemod.system.security}}
          {{vehiclemod.system.nrg}}
          {{vehiclemod.system.range}}
          {{vehiclemod.system.idr}} {{vehiclemod.name}}
          {{vehiclemod.system.category}}
          {{vehiclemod.system.location}}
          {{vehiclemod.system.security}}
          {{vehiclemod.system.nrg}}
          {{vehiclemod.system.range}}
          {{vehiclemod.system.idr}}  
{{/each}}
        - 
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
          
            
          
        {{#each vehicleWeaponModules as |weapon key|}}
- 
           {{weapon.name}}
          {{weapon.system.site}}
          {{weapon.system.location}}
          {{weapon.system.dmg}}
          {{weapon.system.aoe}}
          {{weapon.system.turrent}}
          {{weapon.system.nrg}}
          {{weapon.system.idr}} {{weapon.name}}
          {{weapon.system.site}}
          {{weapon.system.location}}
          {{weapon.system.dmg}}
          {{weapon.system.aoe}}
          {{weapon.system.turrent}}
          {{weapon.system.nrg}}
          {{weapon.system.idr}}  
{{/each}}
 
    {{!-- Crew Tab --}}
    
      
      
        - 
          
            
{{#each crewList as |member key|}}- 
           {{member.name}} {{member.name}}  
{{/each}}
 
    {{!-- Cargo Tab --}}
    
      
      
        - 
          
          
            
          
          
            
          
          
            
          
            
{{#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 equipments as |equip key|}}
        {{> systems/fvtt-pegasus-rpg/templates/partial-actor-equipment.html equip=equip level=1 canequip=false}}
        {{/each}}
      Cargo information : 
      
        {{editor data.cargo.cargoinformation target="system.cargo.cargoinformation" button=true owner=owner
        editable=editable}}
      
      
     
    {{!-- Details Tab --}}
    
      
      Description : 
      
        {{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}}