PART
{
  name = conformaldecals-semiotic
  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-2 Semiotic Standard Decal
  title = #LOC_ConformalDecals_semiotic-title

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

  // After several unfortunate mishaps with confusing signage on spacecraft, The Peel-N-Stik™ Corporation teamed up with Kerland-Mutani to unveil the Semiotic Standard for Kerbal Vessels, a set of standardized icons for use on ships and stations. (Based on the work of Ron Cobb)
  description = #LOC_ConformalDecals_semiotic-description

  // conformal decal sticker semiotic standard for kerbal vessels Ron Cobb Alien 
  tags = #LOC_ConformalDecals_semiotic-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

    tileSize = 64, 64
    tileIndex = 0

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

    scaleRange = 0.05, 0.5
    cutoffAdjustable = false

    shader = ConformalDecals/Decal/Standard

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

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

  MODULE {
    name = ModuleB9PartSwitch

    SUBTYPE {
      name = hazard
      title = #LOC_ConformalDecals_semiotic-variant-00
      primaryColor = Red
      secondaryColor = White

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

    SUBTYPE {
      name = blank
      title = #LOC_ConformalDecals_semiotic-variant-01
      primaryColor = White
      secondaryColor = White

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

    SUBTYPE {
      name = pressurized-gravity
      title = #LOC_ConformalDecals_semiotic-variant-02
      primaryColor = Red
      secondaryColor = White

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

    SUBTYPE {
      name = pressurized-0G
      title = #LOC_ConformalDecals_semiotic-variant-03
      primaryColor = Red
      secondaryColor = White

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

    SUBTYPE {
      name = cryovault
      title = #LOC_ConformalDecals_semiotic-variant-04
      primaryColor = Blue
      secondaryColor = White

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

    SUBTYPE {
      name = airlock
      title = #LOC_ConformalDecals_semiotic-variant-05
      primaryColor = White
      secondaryColor = Black

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

    SUBTYPE {
      name = bulkhead
      title = #LOC_ConformalDecals_semiotic-variant-06
      primaryColor = White
      secondaryColor = Black

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

    SUBTYPE {
      name = unpressurized-area
      title = #LOC_ConformalDecals_semiotic-variant-07
      primaryColor = Black
      secondaryColor = Black

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

    SUBTYPE {
      name = unpressurized-gravity
      title = #LOC_ConformalDecals_semiotic-variant-08
      primaryColor = White
      secondaryColor = Black

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

    SUBTYPE {
      name = unpressurized-0g
      title = #LOC_ConformalDecals_semiotic-variant-09
      primaryColor = White
      secondaryColor = Black

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

    SUBTYPE {
      name = suit-locker
      title = #LOC_ConformalDecals_semiotic-variant-10
      primaryColor = Grey
      secondaryColor = White

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

    SUBTYPE {
      name = photonic-system
      title = #LOC_ConformalDecals_semiotic-variant-11
      primaryColor = Grey
      secondaryColor = White

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

    SUBTYPE {
      name = laser
      title = #LOC_ConformalDecals_semiotic-variant-12
      primaryColor = Grey
      secondaryColor = White

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

    SUBTYPE {
      name = electronic-system
      title = #LOC_ConformalDecals_semiotic-variant-13
      primaryColor = Grey
      secondaryColor = White

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

    SUBTYPE {
      name = life-support
      title = #LOC_ConformalDecals_semiotic-variant-14
      primaryColor = Grey
      secondaryColor = White

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

    SUBTYPE {
      name = bridge
      title = #LOC_ConformalDecals_semiotic-variant-15
      primaryColor = Grey
      secondaryColor = White

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

    SUBTYPE {
      name = computer-terminal
      title = #LOC_ConformalDecals_semiotic-variant-16
      primaryColor = Grey
      secondaryColor = White

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

    SUBTYPE {
      name = intercom
      title = #LOC_ConformalDecals_semiotic-variant-17
      primaryColor = Grey
      secondaryColor = White

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

    SUBTYPE {
      name = ladder
      title = #LOC_ConformalDecals_semiotic-variant-18
      primaryColor = Grey
      secondaryColor = White

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

    SUBTYPE {
      name = maintenance
      title = #LOC_ConformalDecals_semiotic-variant-19
      primaryColor = Grey
      secondaryColor = White

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

    SUBTYPE {
      name = storage
      title = #LOC_ConformalDecals_semiotic-variant-20
      primaryColor = Grey
      secondaryColor = Grey

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

    SUBTYPE {
      name = storage-food
      title = #LOC_ConformalDecals_semiotic-variant-21
      primaryColor = Grey
      secondaryColor = DeepGreen

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

    SUBTYPE {
      name = storage-refrigerated
      title = #LOC_ConformalDecals_semiotic-variant-22
      primaryColor = Blue
      secondaryColor = White

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

    SUBTYPE {
      name = storage-hazardous
      title = #LOC_ConformalDecals_semiotic-variant-23
      primaryColor = Grey
      secondaryColor = Orange

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

    SUBTYPE {
      name = galley
      title = #LOC_ConformalDecals_semiotic-variant-24
      primaryColor = DeepGreen
      secondaryColor = White

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

    SUBTYPE {
      name = coffee
      title = #LOC_ConformalDecals_semiotic-variant-25
      primaryColor = DeepGreen
      secondaryColor = White

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

    SUBTYPE {
      name = autodoc
      title = #LOC_ConformalDecals_semiotic-variant-26
      primaryColor = DeepGreen
      secondaryColor = White

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

    SUBTYPE {
      name = arrow
      title = #LOC_ConformalDecals_semiotic-variant-27
      primaryColor = Red
      secondaryColor = White

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

    SUBTYPE {
      name = high-radioactivity
      title = #LOC_ConformalDecals_semiotic-variant-28
      primaryColor = Orange
      secondaryColor = Black

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

    SUBTYPE {
      name = radiation-hazard
      title = #LOC_ConformalDecals_semiotic-variant-29
      primaryColor = Orange
      secondaryColor = Black

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

    SUBTYPE {
      name = radiation-bunker
      title = #LOC_ConformalDecals_semiotic-variant-30
      primaryColor = Red
      secondaryColor = White

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

    SUBTYPE {
      name = exhaust
      title = #LOC_ConformalDecals_semiotic-variant-31
      primaryColor = Orange
      secondaryColor = White

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