PART
{
  name = conformaldecals-munar
  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-3 Surface Base Decal
  title = #LOC_ConformalDecals_munar-title

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

  // Munar Industries Ltd. saw the wild success of the CDL-2 decal, and wanted to develop a decal set for their own line of Heluim mining bases. These decals are more explicit than the Semiotic Standard and aimed at the hazards that come with more advanced techonologies. (Based on the work of Gavin Rothery)
  description = #LOC_ConformalDecals_munar-description

  // conformal decal sticker Moon munar lunar industries Gavin Rothery Sarang 
  tags = #LOC_ConformalDecals_munar-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 = -1, -1, 0, 0
    tileSize = 96, 96
    tileIndex = 0

    defaultScale = 0.1
    defaultDepth = 0.1
    defaultOpacity = 0.8
    defaultCutoff = 0

    scaleRange = 0.05, 0.5
    scaleMode = MINIMUM
    cutoffAdjustable = false

    shader = ConformalDecals/Decal/Standard

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

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

  MODULE {
    name = ModuleB9PartSwitch

    SUBTYPE {
      name = severe-danger
      title = #LOC_ConformalDecals_munar-variant-severe-danger
      primaryColor = #2B250D
      secondaryColor = #F78000

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 0 }
      }
    }

    SUBTYPE {
      name = danger
      title = #LOC_ConformalDecals_munar-variant-danger
      primaryColor = #93927E
      secondaryColor = #2B250D

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 2 }
      }
    }

    SUBTYPE {
      name = hazard
      title = #LOC_ConformalDecals_munar-variant-hazard
      primaryColor = #2B250D
      secondaryColor = #CC1F01

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 6 }
      }
    }

    SUBTYPE {
      name = warning
      title = #LOC_ConformalDecals_munar-variant-warning
      primaryColor = #2B250D
      secondaryColor = #93927E

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 5 }
      }
    }

    SUBTYPE {
      name = bulkhead
      title = #LOC_ConformalDecals_munar-variant-bulkhead
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 7 }
      }
    }

    
    SUBTYPE {
      name = hatch
      title = #LOC_ConformalDecals_munar-variant-hatch
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 3 }
      }
    }

    SUBTYPE {
      name = pressure-hatch
      title = #LOC_ConformalDecals_munar-variant-pressure-hatch
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 4 }
      }
    }

    SUBTYPE {
      name = door
      title = #LOC_ConformalDecals_munar-variant-door
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 5 }
      }
    }

    SUBTYPE {
      name = door-danger
      title = #LOC_ConformalDecals_munar-variant-door-danger
      primaryColor = #2B250D
      secondaryColor = #CC1F01

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          tile = 960, 0, 64, 96 
          scaleMode = HEIGHT
        }
      }
    }

    SUBTYPE {
      name = airlock-interior
      title = #LOC_ConformalDecals_munar-variant-airlock-interior
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 866, 96, 142, 96 }
      }
    }

    SUBTYPE {
      name = airlock-exterior
      title = #LOC_ConformalDecals_munar-variant-airlock-exterior
      primaryColor = #CC1F01
      secondaryColor = #2B250D

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 768, 96, 142, 96 }
      }
    }

    SUBTYPE {
      name = check-seals
      title = #LOC_ConformalDecals_munar-variant-check-seals
      primaryColor = White
      secondaryColor = #93927E

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 8 }
      }
    }

    SUBTYPE {
      name = pressure-seal
      title = #LOC_ConformalDecals_munar-variant-pressure-seal
      primaryColor = White
      secondaryColor = #93927E

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 9 }
      }
    }

    SUBTYPE {
      name = vacuum
      title = #LOC_ConformalDecals_munar-variant-vacuum
      primaryColor = #93927E
      secondaryColor = #2B250D

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 17 }
      }
    }

    SUBTYPE {
      name = gas-mask
      title = #LOC_ConformalDecals_munar-variant-gas-mask
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 96, 320, 96, 116 }
      }
    }

    SUBTYPE {
      name = oxygen-rich
      title = #LOC_ConformalDecals_munar-variant-oxygen-rich
      primaryColor = #CC1F01
      secondaryColor = #2B250D

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 288, 416, 96, 96 }
      }
    }

    SUBTYPE {
      name = robotic-work
      title = #LOC_ConformalDecals_munar-variant-robotic-work
      primaryColor = #F78000
      secondaryColor = #2B250D

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 10 }
      }
    }

    SUBTYPE {
      name = explosion
      title = #LOC_ConformalDecals_munar-variant-explosion
      primaryColor = #F78000
      secondaryColor = #2B250D

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 0, 320, 96, 116 }
      }
    }

    SUBTYPE {
      name = radiation
      title = #LOC_ConformalDecals_munar-variant-radiation
      primaryColor = #F78000
      secondaryColor = #2B250D

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 1 }
      }
    }

    SUBTYPE {
      name = antimatter
      title = #LOC_ConformalDecals_munar-variant-antimatter
      primaryColor = #F78000
      secondaryColor = #2B250D

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 11 }
      }
    }

    SUBTYPE {
      name = high-voltage
      title = #LOC_ConformalDecals_munar-variant-high-voltage
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 13 }
      }
    }

    SUBTYPE {
      name = extreme-voltage
      title = #LOC_ConformalDecals_munar-variant-extreme-voltage
      primaryColor = #2B250D
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 14 }
      }
    }
    
    SUBTYPE {
      name = explosive-bolts
      title = #LOC_ConformalDecals_munar-variant-explosive-bolts
      primaryColor = #93927E
      secondaryColor = #CC1F01

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 15 }
      }
    }

    SUBTYPE {
      name = autonomous-device
      title = #LOC_ConformalDecals_munar-variant-autonomous-device
      primaryColor = #2B250D
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tileIndex = 16 }
      }
    }

    SUBTYPE {
      name = gravity-adjust
      title = #LOC_ConformalDecals_munar-variant-gravity-adjust
      primaryColor = White
      secondaryColor = #CC1F01

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 288, 320, 96, 96 }
      }
    }

    SUBTYPE {
      name = electromagnetic
      title = #LOC_ConformalDecals_munar-variant-electromagnetic
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { 
          tile = 967, 195, 50, 90 
          scaleMode = HEIGHT
        }
      }
    }
    
    SUBTYPE {
      name = mind-step
      title = #LOC_ConformalDecals_munar-variant-mind-step
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 1, 447, 230, 64 }
      }
    }
    
    SUBTYPE {
      name = class-1
      title = #LOC_ConformalDecals_munar-variant-class-1
      primaryColor = #CC1F01
      secondaryColor = #93927E

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 0, 192, 96, 128 }
      }
    }

    SUBTYPE {
      name = class-2
      title = #LOC_ConformalDecals_munar-variant-class-2
      primaryColor = #93927E
      secondaryColor = #CC1F01

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 96, 192, 96, 128 }
      }
    }

    SUBTYPE {
      name = class-3
      title = #LOC_ConformalDecals_munar-variant-class-3
      primaryColor = #93927E
      secondaryColor = #93927E

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 192, 192, 96, 128 }
      }
    }

    SUBTYPE {
      name = class-4
      title = #LOC_ConformalDecals_munar-variant-class-4
      primaryColor = #93927E
      secondaryColor = #93927E

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 288, 192, 96, 128 }
      }
    }

    SUBTYPE {
      name = class-5
      title = #LOC_ConformalDecals_munar-variant-class-5
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 384, 192, 96, 128 }
      }
    }

    SUBTYPE {
      name = class-6
      title = #LOC_ConformalDecals_munar-variant-class-6
      primaryColor = #93927E
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 480, 192, 96, 128 }
      }
    }

    SUBTYPE {
      name = class-7
      title = #LOC_ConformalDecals_munar-variant-class-7
      primaryColor = #F78000
      secondaryColor = #93927E

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 576, 192, 96, 128 }
      }
    }

    SUBTYPE {
      name = class-8
      title = #LOC_ConformalDecals_munar-variant-class-8
      primaryColor = #93927E
      secondaryColor = #F78000

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 672, 192, 96, 128 }
      }
    }

    SUBTYPE {
      name = class-9
      title = #LOC_ConformalDecals_munar-variant-class-9
      primaryColor = #93927E
      secondaryColor = #F78000

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 768, 192, 96, 128 }
      }
    }

    SUBTYPE {
      name = class-10
      title = #LOC_ConformalDecals_munar-variant-class-10
      primaryColor = #F78000
      secondaryColor = White

      MODULE {
        IDENTIFIER { name = ModuleConformalDecal }
        DATA { tile = 864, 192, 96, 128 }
      }
    }
  }
}
