PART
{
  name = conformaldecals-generic
  module = Part
  author = Andrew Cassidy
  MODEL
  {
    model = ConformalDecals/Assets/decal-blank
    scale = 1.0, 1.0, 1.0
  }
  rescaleFactor = 1

  // Attachment
  attachRules = 1,1,0,0,1
  node_attach = 0.0, 0.0, 0.05, 0.0, 0.0, -1.0

  // Tech
  TechRequired = start

  // Info
  cost = 75
  category = Structural

  // CDL-1 Generic Decal
  title = #LOC_ConformalDecals_generic-title

  // Peel-N-Stik Adhesive Decals
  manufacturer = #LOC_ConformalDecals_agent-peel-n-stick_title

  // A set of generic warning decals and signs to add to your vehicles. 
  description = #LOC_ConformalDecals_generic-description

  // conformal decal sticker generic hazard warning danger
  tags = #LOC_ConformalDecals_generic-tags 

  bulkheadProfiles = srf

  // Parameters
  mass = 0.0005
  dragModel = NONE
  angularDrag = 0.0
  crashTolerance = 10
  maxTemp = 2000
  breakingForce = 350
  breakingTorque = 150
  physicalSignificance = NONE

  MODULE
  {
    name = ModuleConformalDecal

    useBaseNormal = true

    tile = 0, 2, 128, 112

    defaultScale = 0.5
    defaultDepth = 0.1
    defaultOpacity = 0.8

    opacityAdjustable = true

    cutoff = 0.5
    cutoffAdjustable = false

    scaleRange = 0.1, 4
    scaleMode = AVERAGE

    shader = ConformalDecals/Decal/Standard

    KEYWORD { 
      name = DECAL_SDF_ALPHA 
      value = false
    }

    TEXTURE {
      name = _Decal
      textureUrl = ConformalDecals/Parts/Generic/Generic-Atlas
      isMain = true
      autoTile = true
    }

    TEXTURE {
      name = _SpecMap
      textureUrl = ConformalDecals/Assets/Decal-Spec
      autoScale = true
    }
  }

  MODULE {
    name = ModuleB9PartSwitch

    SUBTYPE {
      name = hazard
      title = #LOC_ConformalDecals_generic-variant-hazard
      primaryColor = Gold
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          shader = ConformalDecals/Paint/DiffuseSDF
          tile = 0, 2, 128, 112 
        }      
      }
    }

    SUBTYPE {
      name = high-voltage
      title = #LOC_ConformalDecals_generic-variant-high-voltage
      primaryColor = Gold
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 128, 2, 128, 112 
        }
      }
    }

    SUBTYPE {
      name = radioactive
      title = #LOC_ConformalDecals_generic-variant-radioactive
      primaryColor = Gold
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 256, 2, 128, 112 
        }
      }
    }

    SUBTYPE {
      name = strong-rf
      title = #LOC_ConformalDecals_generic-variant-strong-rf
      primaryColor = Gold
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 384, 2, 128, 112 
        }
      }
    }

    SUBTYPE {
      name = ejection-seat
      title = #LOC_ConformalDecals_generic-variant-ejection-seat
      primaryColor = Red
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 690, 4, 330, 118 
        }
      }
    }

    SUBTYPE {
      name = danger-triangle 
      title = #LOC_ConformalDecals_generic-variant-danger-triangle
      primaryColor = Red
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 898, 4, 122, 118
        }
      }
    }

    SUBTYPE {
      name = danger-explosive
      title = #LOC_ConformalDecals_generic-variant-danger-explosive
      primaryColor = Red
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 6, 126, 196, 132
        }
      }
    }

    SUBTYPE {
      name = nfpa-hydrazine
      title = #LOC_ConformalDecals_generic-variant-nfpa-hydrazine
      primaryColor = TurquoiseBlue
      secondaryColor = Yellow

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 210, 122, 94, 94 
        }
      }
    }

    SUBTYPE {
      name = rescue-arrow-right
      title = #LOC_ConformalDecals_generic-variant-rescue-arrow-right
      primaryColor = Gold
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA {
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 8, 262, 192, 70 
        }
      }
    }

    SUBTYPE {
      name = kerbnet
      title = #LOC_ConformalDecals_generic-variant-kerbnet
      primaryColor = White
      secondaryColor = Grey

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          tile = 4, 334, 132, 132 }
          cutoff = 0
      }
    }

    SUBTYPE {
      name = explosive-bolts
      title = #LOC_ConformalDecals_generic-variant-explosive-bolts
      primaryColor = Red
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 508, 332, 262, 112 
        }
      }
    }

    SUBTYPE {
      name = intake-left
      title = #LOC_ConformalDecals_generic-variant-intake-left
      primaryColor = Red
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 202, 218, 164, 114 
        }
      }
    }

    SUBTYPE {
      name = intake-right
      title = #LOC_ConformalDecals_generic-variant-intake-right
      primaryColor = Red
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 366, 218, 164, 114 
        }
      }
    }

    SUBTYPE {
      name = remove-before-flight
      title = #LOC_ConformalDecals_generic-variant-remove-before-flight
      primaryColor = Red
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 146, 338, 348, 26 }
      }
    }

    SUBTYPE {
      name = avgas-only
      title = #LOC_ConformalDecals_generic-variant-avgas-only
      primaryColor = Gold
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 146, 368, 172, 54 }
      }
    }

    SUBTYPE {
      name = jetfuel-only
      title = #LOC_ConformalDecals_generic-variant-jetfuel-only
      primaryColor = White
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 322, 368, 172, 54 }
      }
    }

    SUBTYPE {
      name = no-steppy
      title = #LOC_ConformalDecals_generic-variant-no-steppy
      primaryColor = Gold
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 146, 426, 172, 48 }
      }
    }

    SUBTYPE {
      name = diagonal-stripes
      title = #LOC_ConformalDecals_generic-variant-diagonal-stripes
      primaryColor = Gold
      secondaryColor = Black

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 2, 478, 312, 32 }
      }
    }

    SUBTYPE {
      name = stripe
      title = #LOC_ConformalDecals_generic-variant-stripe
      primaryColor = White
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 326, 426, 164, 20 
        }
      }
    }


    SUBTYPE {
      name = ground 
      title = #LOC_ConformalDecals_generic-variant-ground
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 776, 388, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = numeral-1
      title = #LOC_ConformalDecals_generic-variant-numeral-1
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 328, 456, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = numeral-2
      title = #LOC_ConformalDecals_generic-variant-numeral-2
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 376, 456, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = numeral-3
      title = #LOC_ConformalDecals_generic-variant-numeral-3
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 424, 456, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = numeral-4
      title = #LOC_ConformalDecals_generic-variant-numeral-4
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 472, 456, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = numeral-5
      title = #LOC_ConformalDecals_generic-variant-numeral-5
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 520, 456, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = numeral-6
      title = #LOC_ConformalDecals_generic-variant-numeral-6
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 568, 456, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = numeral-7
      title = #LOC_ConformalDecals_generic-variant-numeral-7
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA {
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 614, 456, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = numeral-8
      title = #LOC_ConformalDecals_generic-variant-numeral-8
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 662, 456, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = numeral-9
      title = #LOC_ConformalDecals_generic-variant-numeral-9
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA {
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 710, 456, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = numeral-0
      title = #LOC_ConformalDecals_generic-variant-numeral-0
      primaryColor = Black
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          KEYWORD { name = DECAL_SDF_ALPHA }
          tile = 758, 456, 48, 48 
        }
      }
    }

    SUBTYPE {
      name = pence
      title = #LOC_ConformalDecals_generic-variant-pence
      primaryColor = TwilightBlue
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          TEXTURE {
            name = _SpecMap
            remove = true
          }

          tile = 826, 360, 196, 150 
          opacity = 1
          cutoff = 0
          opacityAdjustable = false
          useBaseNormal = false
        }
      }
    }
  }
}
