- type: entity
  parent: BaseItem
  id: Crayon
  name: crayon
  abstract: true
  description: "A colourful crayon. Looks tasty. Mmmm..."
  components:
  - type: UserInterface
    interfaces:
    - key: enum.CrayonUiKey.Key
      type: CrayonBoundUserInterface

- type: entity
  parent: Crayon
  id: CrayonWhite
  suffix: White
  components:
  - type: Sprite
    sprite: Objects/Misc/crayons.rsi
    state: crayonwhite
  - type: Crayon
    color: white
    capacity: 30

- type: entity
  parent: Crayon
  id: CrayonRed
  suffix: Red
  components:
  - type: Sprite
    sprite: Objects/Misc/crayons.rsi
    state: crayonred
  - type: Crayon
    color: red
    capacity: 30

- type: entity
  parent: Crayon
  id: CrayonGreen
  suffix: Green
  components:
  - type: Sprite
    sprite: Objects/Misc/crayons.rsi
    state: crayongreen
  - type: Crayon
    color: green
    capacity: 30

- type: entity
  parent: Crayon
  id: CrayonPurple
  suffix: Purple
  components:
  - type: Sprite
    sprite: Objects/Misc/crayons.rsi
    state: crayonpurple
  - type: Crayon
    color: purple
    capacity: 30

- type: entity
  parent: Crayon
  id: CrayonOrange
  suffix: Orange
  components:
  - type: Sprite
    sprite: Objects/Misc/crayons.rsi
    state: crayonorange
  - type: Crayon
    color: orange
    capacity: 30

- type: entity
  parent: Crayon
  id: CrayonYellow
  suffix: Yellow
  components:
  - type: Sprite
    sprite: Objects/Misc/crayons.rsi
    state: crayonyellow
  - type: Crayon
    color: yellow
    capacity: 30

- type: entity
  id: CrayonBox
  parent: BaseItem
  name: crayon box
  components:
  - type: Sprite
    sprite: Objects/Misc/crayons.rsi
    state: crayonbox
  - type: Storage
    capacity: 30
  - type: Item
    size: 9999

- type: entity
  id: CrayonBoxFilled
  name: crayon box
  parent: CrayonBox
  suffix: Filled
  components:
  - type: StorageFill
    contents:
      - name: CrayonGreen
      - name: CrayonOrange
      - name: CrayonPurple
      - name: CrayonRed
      - name: CrayonWhite
      - name: CrayonYellow 
