- type: entity
  parent: BoxCardboard
  name: monkey cube box
  id: MonkeyCubeBox
  description: Drymate brand monkey cubes. Just add water!
  components:
  - type: StorageFill
    contents:
      - id: MonkeyCubeWrapped
        amount: 8
  - type: Sprite
    sprite: Objects/Misc/monkeycube.rsi
    state: box
  - type: StaticPrice
    price: 20
    vendPrice: 960 # Frontier - 120 per monkey (meat worth 540 at a depot)

- type: entity
  parent: BaseItem
  abstract: true
  suffix: Wrapped
  id: BaseWrappedCube
  components:
  - type: Item
    size: Tiny
  - type: SpawnItemsOnUse
    sound:
      path: /Audio/Effects/unwrap.ogg
  - type: Sprite
    sprite: Objects/Misc/monkeycube.rsi

- type: entity
  parent: BaseWrappedCube
  name: monkey cube
  id: MonkeyCubeWrapped
  description: Unwrap this to get a monkey cube.
  components:
  - type: SpawnItemsOnUse
    items:
    - id: MonkeyCube
  - type: Sprite
    state: wrapper
  - type: Tag
    tags:
    - MonkeyCube
  - type: StaticPrice
    price: 55 # The same price as dead (-20)

- type: entity
  parent: MonkeyCubeBox
  name: kobold cube box
  id: KoboldCubeBox
  description: Condensed kobolds in a cube. Just add water!
  components:
  - type: StorageFill
    contents:
      - id: KoboldCubeWrapped
        amount: 8
  - type: Sprite
    sprite: Objects/Misc/monkeycube.rsi
    state: box_kobold
  - type: StaticPrice # Frontier
    vendPrice: 640 # Frontier - 80 per kobold (meat worth 360 at a depot)

- type: entity
  parent: MonkeyCubeBox
  name: variant cube box
  id: VariantCubeBox
  description: Both kobold cubes and monkey cubes. Just add water!
  components:
  - type: StorageFill
    contents:
      - id: KoboldCubeWrapped
        amount: 4
      - id: MonkeyCubeWrapped
        amount: 4
  - type: Sprite
    sprite: Objects/Misc/monkeycube.rsi
    state: box_variant
  - type: StaticPrice
    price: 20
    vendPrice: 800 # Frontier - 120 per monkey, 80 per kobold (meat worth 450 at a depot)

- type: entity
  parent: BaseWrappedCube
  name: kobold cube
  id: KoboldCubeWrapped
  description: Unwrap this to get a kobold cube.
  components:
  - type: SpawnItemsOnUse
    items:
      - id: KoboldCube
  - type: Sprite
    state: wrapper_kobold

- type: entity
  parent: MonkeyCubeBox
  name: monkey cube box
  suffix: Syndicate
  id: SyndicateSpongeBox
  description: Drymate brand monkey cubes. Just add water!
  components:
  - type: StorageFill
    contents:
      - id: SyndicateSpongeWrapped
        amount: 6
  - type: Sprite
    sprite: Objects/Misc/monkeycube.rsi
    state: box

- type: entity
  parent: MonkeyCubeWrapped
  name: monkey cube
  suffix: Wrapped, Syndicate
  id: SyndicateSpongeWrapped
  components:
  - type: SpawnItemsOnUse
    items:
      - id: SyndicateSponge
