C Ÿ- type: entity
  name: bible
  description: Apply to head repeatedly.
  parent: BaseStorageItem
  id: RMCBible
  components:
  - type: Sprite
    sprite: _RMC14/Objects/Misc/bible.rsi
    state: icon
  - type: Item
    sprite: _RMC14/Objects/Misc/bible.rsi
  - type: UseDelay
    delay: 10.0
  - type: MeleeWeapon
    soundHit:
      collection: Punch
    damage:
      types:
        Holy: 25
        Blunt: 1
  - type: Clothing
    slots:
    - Belt
  - type: Storage
    grid:
    - 0,0,0,1
  - type: UserInterface
    interfaces:
      enum.StorageUiKey.Key:
        type: StorageBoundUserInterface
  - type: Tag
    tags:
    - Book
CˆE‡E- type: entity
  parent: ColMarTechBase
  id: ColMarTechIntelGear
  name: ColMarTech intelligence officer gear rack
  description: An automated gear rack for IOs.
  components:
  - type: AccessReader
    access:
    - [ "CMAccessCommand" ]
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/ColMarTech/intel.rsi
  - type: CMAutomatedVendor
    jobs:
    - CMIntelOfficer
    sections:
    - name: Intelligence Set (Mandatory)
      takeAll: RMCIntelSet
      entries:
      - id: RMCVendorBundleIntel
    - name: Engineering Supplies
      entries:
      - id: CMAPCElectronics
        points: 5
      - id: RMCExplosivePlastic
        points: 10
      - id: RMCWeldingGoggles
        points: 5
    - name: Primary Ammunition
      entries:
      - id: CMMagazineRifleM4SPRAP
        points: 10
      - id: CMMagazineSMGM63AP
        points: 10
      - id: CMMagazineSMGM63Ext
        points: 10
      - id: CMMagazineRifleM54C
        points: 10
      - id: CMMagazineRifleM54CExt
        points: 10
    - name: Sidearm Ammunition
      entries:
      - id: RMCSpeedLoader44Marksman
        points: 10 # TODO RMC14 M1984 HP magazine
      - id: RMCMagazinePistolM1984AP
        points: 5
      - id: CMMagazinePistolMK80
        points: 10
      - id: RMCMagazinePistolSU6
        points: 10
    - name: Personal Sidearm
      entries:
      - id: RMCGunCasePistolMK80
        points: 15
      - id: RMCGunCasePistolSmart
        points: 15
    - name: Pouches
      entries:
      - id: RMCPouchMagazineLarge
        points: 10
      - id: RMCPouchShotgunLarge
        points: 10
      - id: RMCPouchAutoinjector
        points: 15
        recommended: true
      - id: RMCPouchMacheteFilled
        name: machete pouch (Full)
        points: 10
    - name: Utilities
      entries:
      - id: CMFireExtinguisherPortable
        points: 5
      - id: RMCFulton20
        points: 10
      - id: RMCMotionDetector
        points: 15
        recommended: true
      - id: RMCIntelDetector
        points: 5
    - name: Binoculars
      entries:
      - id: RMCBinoculars
        points: 5
      - id: RMCRangefinder
        points: 10
      - id: RMCLaserDesignator
        points: 15
    - name: Helmet Optics
      entries:
#      - id: TODO RMC14 medical helmet optic
#        points: 5
#      - id: TOOD RMC14 welding visor
#        points: 5
      - id: RMCVisorNightVision
        points: 25
        recommended: true
    - name: Radio Keys
      entries:
      - id: CMEncryptionKeyIntel
        points: 5
    - name: Spare Intel Kit
      entries:
      - id: RMCKitIntel
        name: field intelligence support kit (for untrained personnel)
        points: 20

- type: entity
  parent: ColMarTechBase
  id: ColMarTechIntelEquipment
  name: ColMarTech intelligence officer equipment rack
  description: An automated rack hooked up to a colossal storage of IO standard-issue equipment.
  components:
  - type: AccessReader
    access:
    - [ "CMAccessCommand" ]
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/ColMarTech/equipment.rsi
  - type: CMAutomatedVendor
    jobs:
    - CMIntelOfficer
    sections:
    - name: Standard Equipment
      takeAll: RMCIntelEquipment
      entries:
      - id: CMHandsInsulated
      - id: CMHeadsetIntel
      - id: CMMRE
    - name: Armor
      takeOne: CMArmor
      entries:
      - id: RMCArmorXM4
      - id: RMCArmorM3LightVariants
    - name: Jacket
      choices: { CMCoat: 1}
      entries:
      - id: RMCCoatService
    - name: Backpack
      choices: { CMBag: 1 }
      entries:
      - id: CMSatchelMarineIntel
        recommended: true
      - id: RMCSatchelMarineIntelChestrig
        recommended: true
      - id: RMCBackpackRTO
    - name: Helmet
      choices: { CMHelmet: 1 }
      entries:
      - id: RMCArmorHelmetM12Intel
        recommended: true
    - name: Hat
      choices: { CMHat: 1 }
      entries:
      - id: RMCHeadBeretGreen
      - id: CMHeadBeretTan
      - id: CMHeadCapOfficer
    - name: Belt
      choices: { CMBelt: 1 }
      entries:
      - id: RMCBeltUtilityGeneral
      - id: CMBeltMarine
        recommended: true
      - id: RMCBeltHolsterPistol
      - id: RMCBeltHolsterSMG
      - id: RMCBeltHolsterRevolver
      - id: RMCM276ShotgunShellLoadingRig
      - id: CMBeltUtilityFilled
        name: M276 pattern toolbelt rig (Full)
        recommended: true
    - name: Pouches
      choices: { CMPouches: 2 }
      entries:
      - id: RMCPouchDocument
        recommended: true
      - id: RMCPouchFirstAidInjectors
        name: first-aid pouch (refillable injectors)
      - id: RMCPouchFirstAidSplintsGauzeOintment
        name: first-aid pouch (gauze, ointment) # TODO RMC14 splints comma
      - id: RMCPouchFirstAidPills
        name: first-aid pouch (pill packets)
      - id: RMCPouchFlareFilled
        name: flare pouch (Full)
      - id: RMCPouchFuelTank
      - id: RMCPouchGeneralLarge
      - id: RMCPouchMagazinePistolLarge
      - id: RMCPouchMagazine
      - id: RMCPouchShotgun
      - id: RMCPouchPistol
      - id: RMCPouchToolsFill
        name: tools pouch (Full)
        recommended: true
      #- id: RMCPouchSling # TODO RMC14 Sling Pouch
    - name: Accessories
      choices: { CMAccessories: 1 }
      entries:
      - id: CMWebbingBlack
      - id: CMWebbingBrown
        recommended: true
      - id: CMWebbingHolster
      - id: CMWebbing
      - id: CMWebbingPouch
    - name: Mask
      choices: { CMMask: 1 }
      entries:
      - id: CMMaskGas
      - id: CMMaskCoif

- type: entity
  parent: ColMarTechBase
  id: ColMarTechIntelWeapons
  name: ColMarTech intelligence officer weapons rack
  description: An automated weapon rack hooked up to a small storage of standard-issue weapons. Can be accessed only by the Intelligence Officers.
  components:
  - type: AccessReader
    access:
    - [ "CMAccessCommand" ]
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/ColMarTech/guns.rsi
  - type: CMAutomatedVendor
    jobs:
    - CMIntelOfficer
    sections:
    - name: Primary Firearms
      entries:
      - id: WeaponRifleM4SPR
        amount: 4
      - id: WeaponSMGM63
        amount: 4
      - id: WeaponShotgunM42A2
        amount: 4
      - id: WeaponRifleM54C
        amount: 4
    - name: Primary Ammunition
      entries:
      - id: RMCBoxShotgunBuckshot
        amount: 12
      - id: RMCBoxShotgunFlechette
        amount: 12
      - id: RMCBoxShotgunSlugs
        amount: 12
      - id: CMMagazineRifleM4SPR
        amount: 24
      - id: CMMagazineSMGM63
        amount: 24
      - id: CMMagazineRifleM54C
        amount: 24
    - name: Sidearms
      entries:
      - id: RMCWeaponPistolM77Empty
        amount: 4
      - id: RMCWeaponRevolverM44Empty
        amount: 4
      - id: CMWeaponPistolM1984Empty
        amount: 4
    - name: Sidearm Ammunition
      entries:
      - id: CMMagazinePistolM77AP
        amount: 20
      - id: RMCSpeedLoaderM44
        amount: 20
      - id: CMMagazinePistolM1984
        amount: 20
      - id: RMCMagazinePistolM1984AP
        amount: 20 # TODO RMC14 M1984 HP magazine
      - id: CMMagazinePistolMK80
        amount: 20
    - name: Attachments
      entries:
      - id: RMCAttachmentRailFlashlight
        amount: 8
      - id: RMCAttachmentFlashlightGrip
        amount: 4
        recommended: true
    - name: Utilities
      entries:
      - id: CMM11Knife
        amount: 18
      - id: RMCM5Bayonet
        amount: 4
      - id: RMCPackFlareCAS
        amount: 2
      - id: CMPackFlare
        amount: 20
        recommended: true

- type: entity
  parent: CMVendorBundleRiflemanApparel
  id: RMCVendorBundleIntel
  name: essential intel set
  description: Contains a crowbar, fultons, an intel detector, and binoculars.
  components:
  - type: Sprite
    sprite: _RMC14/Objects/Tools/intel_detector.rsi
    state: datadetector
  - type: CMVendorBundle
    bundle:
    - CMCrowbar
    - RMCFulton20
    - RMCIntelDetector
    - RMCBinoculars

- type: entity
  parent: RMCKitBase
  id: RMCKitIntel
  name: field intelligence support kit
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,9,1
  - type: Sprite
    sprite: _RMC14/Objects/Storage/procase_mini.rsi # TODO RMC14 jtac overlay icon
  - type: Icon
    sprite: _RMC14/Objects/Storage/procase_mini.rsi
  - type: StorageFill
    contents:
    - id: RMCFulton20
    - id: CMEncryptionKeyIntel
    - id: CMPamphletIntel
    - id: RMCIntelDetector
    - id: RMCPouchDocument
C– • - type: entity
  name: bible
  description: Apply to head repeatedly.
  parent: BaseStorageItem
  id: RMCBible
  components:
  - type: Sprite
    sprite: _RMC14/Objects/Misc/bible.rsi
    state: icon
  - type: Item
    sprite: _RMC14/Objects/Misc/bible.rsi
  - type: UseDelay
    delay: 10.0
  - type: MeleeWeapon
    soundHit:
      collection: Punch
    damage:
      types:
        Holy: 25
        Blunt: 1
  - type: Clothing
    slots:
    - Belt
  - type: Storage
    grid:
    - 0,0,0,1
  - type: UserInterface
    interfaces:
      enum.StorageUiKey.Key:
        type: StorageBoundUserInterface
  - type: Tag
    tags:
    - Book


- type: entity
  parent: ColMarTechBase
  id: ColMarTechIntelGear
  name: ColMarTech intelligence officer gear rack
  description: An automated gear rack for IOs.
  components:
  - type: AccessReader
    access:
    - [ "CMAccessCommand" ]
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/ColMarTech/intel.rsi
  - type: CMAutomatedVendor
    jobs:
    - CMIntelOfficer
    sections:
    - name: Intelligence Set (Mandatory)
      takeAll: RMCIntelSet
      entries:
      - id: RMCVendorBundleIntel
    - name: Engineering Supplies
      entries:
      - id: CMAPCElectronics
        points: 5
      - id: RMCExplosivePlastic
        points: 10
      - id: RMCWeldingGoggles
        points: 5
    - name: Primary Ammunition
      entries:
      - id: CMMagazineRifleM4SPRAP
        points: 10
      - id: CMMagazineSMGM63AP
        points: 10
      - id: CMMagazineSMGM63Ext
        points: 10
      - id: CMMagazineRifleM54C
        points: 10
      - id: CMMagazineRifleM54CExt
        points: 10
    - name: Sidearm Ammunition
      entries:
      - id: RMCSpeedLoader44Marksman
        points: 10 # TODO RMC14 M1984 HP magazine
      - id: RMCMagazinePistolM1984AP
        points: 5
      - id: CMMagazinePistolMK80
        points: 10
      - id: RMCMagazinePistolSU6
        points: 10
    - name: Personal Sidearm
      entries:
      - id: RMCGunCasePistolMK80
        points: 15
      - id: RMCGunCasePistolSmart
        points: 15
    - name: Pouches
      entries:
      - id: RMCPouchMagazineLarge
        points: 10
      - id: RMCPouchShotgunLarge
        points: 10
      - id: RMCPouchAutoinjector
        points: 15
        recommended: true
      - id: RMCPouchMacheteFilled
        name: machete pouch (Full)
        points: 10
    - name: Utilities
      entries:
      - id: CMFireExtinguisherPortable
        points: 5
      - id: RMCFulton20
        points: 10
      - id: RMCMotionDetector
        points: 15
        recommended: true
      - id: RMCIntelDetector
        points: 5
    - name: Binoculars
      entries:
      - id: RMCBinoculars
        points: 5
      - id: RMCRangefinder
        points: 10
      - id: RMCLaserDesignator
        points: 15
    - name: Helmet Optics
      entries:
#      - id: TODO RMC14 medical helmet optic
#        points: 5
#      - id: TOOD RMC14 welding visor
#        points: 5
      - id: RMCVisorNightVision
        points: 25
        recommended: true
    - name: Radio Keys
      entries:
      - id: CMEncryptionKeyIntel
        points: 5
    - name: Spare Intel Kit
      entries:
      - id: RMCKitIntel
        name: field intelligence support kit (for untrained personnel)
        points: 20

- type: entity
  parent: ColMarTechBase
  id: ColMarTechIntelEquipment
  name: ColMarTech intelligence officer equipment rack
  description: An automated rack hooked up to a colossal storage of IO standard-issue equipment.
  components:
  - type: AccessReader
    access:
    - [ "CMAccessCommand" ]
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/ColMarTech/equipment.rsi
  - type: CMAutomatedVendor
    jobs:
    - CMIntelOfficer
    sections:
    - name: Standard Equipment
      takeAll: RMCIntelEquipment
      entries:
      - id: CMHandsInsulated
      - id: CMHeadsetIntel
      - id: CMMRE
    - name: Armor
      takeOne: CMArmor
      entries:
      - id: RMCArmorXM4
      - id: RMCArmorM3LightVariants
    - name: Jacket
      choices: { CMCoat: 1}
      entries:
      - id: RMCCoatService
    - name: Backpack
      choices: { CMBag: 1 }
      entries:
      - id: CMSatchelMarineIntel
        recommended: true
      - id: RMCSatchelMarineIntelChestrig
        recommended: true
      - id: RMCBackpackRTO
    - name: Helmet
      choices: { CMHelmet: 1 }
      entries:
      - id: RMCArmorHelmetM12Intel
        recommended: true
    - name: Hat
      choices: { CMHat: 1 }
      entries:
      - id: RMCHeadBeretGreen
      - id: CMHeadBeretTan
      - id: CMHeadCapOfficer
    - name: Belt
      choices: { CMBelt: 1 }
      entries:
      - id: RMCBeltUtilityGeneral
      - id: CMBeltMarine
        recommended: true
      - id: RMCBeltHolsterPistol
      - id: RMCBeltHolsterSMG
      - id: RMCBeltHolsterRevolver
      - id: RMCM276ShotgunShellLoadingRig
      - id: CMBeltUtilityFilled
        name: M276 pattern toolbelt rig (Full)
        recommended: true
    - name: Pouches
      choices: { CMPouches: 2 }
      entries:
      - id: RMCPouchDocument
        recommended: true
      - id: RMCPouchFirstAidInjectors
        name: first-aid pouch (refillable injectors)
      - id: RMCPouchFirstAidSplintsGauzeOintment
        name: first-aid pouch (gauze, ointment) # TODO RMC14 splints comma
      - id: RMCPouchFirstAidPills
        name: first-aid pouch (pill packets)
      - id: RMCPouchFlareFilled
        name: flare pouch (Full)
      - id: RMCPouchFuelTank
      - id: RMCPouchGeneralLarge
      - id: RMCPouchMagazinePistolLarge
      - id: RMCPouchMagazine
      - id: RMCPouchShotgun
      - id: RMCPouchPistol
      - id: RMCPouchToolsFill
        name: tools pouch (Full)
        recommended: true
      #- id: RMCPouchSling # TODO RMC14 Sling Pouch
    - name: Accessories
      choices: { CMAccessories: 1 }
      entries:
      - id: CMWebbingBlack
      - id: CMWebbingBrown
        recommended: true
      - id: CMWebbingHolster
      - id: CMWebbing
      - id: CMWebbingPouch
    - name: Mask
      choices: { CMMask: 1 }
      entries:
      - id: CMMaskGas
      - id: CMMaskCoif

- type: entity
  parent: ColMarTechBase
  id: ColMarTechIntelWeapons
  name: ColMarTech intelligence officer weapons rack
  description: An automated weapon rack hooked up to a small storage of standard-issue weapons. Can be accessed only by the Intelligence Officers.
  components:
  - type: AccessReader
    access:
    - [ "CMAccessCommand" ]
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/ColMarTech/guns.rsi
  - type: CMAutomatedVendor
    jobs:
    - CMIntelOfficer
    sections:
    - name: Primary Firearms
      entries:
      - id: WeaponRifleM4SPR
        amount: 4
      - id: WeaponSMGM63
        amount: 4
      - id: WeaponShotgunM42A2
        amount: 4
      - id: WeaponRifleM54C
        amount: 4
    - name: Primary Ammunition
      entries:
      - id: RMCBoxShotgunBuckshot
        amount: 12
      - id: RMCBoxShotgunFlechette
        amount: 12
      - id: RMCBoxShotgunSlugs
        amount: 12
      - id: CMMagazineRifleM4SPR
        amount: 24
      - id: CMMagazineSMGM63
        amount: 24
      - id: CMMagazineRifleM54C
        amount: 24
    - name: Sidearms
      entries:
      - id: RMCWeaponPistolM77Empty
        amount: 4
      - id: RMCWeaponRevolverM44Empty
        amount: 4
      - id: CMWeaponPistolM1984Empty
        amount: 4
    - name: Sidearm Ammunition
      entries:
      - id: CMMagazinePistolM77AP
        amount: 20
      - id: RMCSpeedLoaderM44
        amount: 20
      - id: CMMagazinePistolM1984
        amount: 20
      - id: RMCMagazinePistolM1984AP
        amount: 20 # TODO RMC14 M1984 HP magazine
      - id: CMMagazinePistolMK80
        amount: 20
    - name: Attachments
      entries:
      - id: RMCAttachmentRailFlashlight
        amount: 8
      - id: RMCAttachmentFlashlightGrip
        amount: 4
        recommended: true
    - name: Utilities
      entries:
      - id: CMM11Knife
        amount: 18
      - id: RMCM5Bayonet
        amount: 4
      - id: RMCPackFlareCAS
        amount: 2
      - id: CMPackFlare
        amount: 20
        recommended: true

- type: entity
  parent: CMVendorBundleRiflemanApparel
  id: RMCVendorBundleIntel
  name: essential intel set
  description: Contains a crowbar, fultons, an intel detector, and binoculars.
  components:
  - type: Sprite
    sprite: _RMC14/Objects/Tools/intel_detector.rsi
    state: datadetector
  - type: CMVendorBundle
    bundle:
    - CMCrowbar
    - RMCFulton20
    - RMCIntelDetector
    - RMCBinoculars

- type: entity
  parent: RMCKitBase
  id: RMCKitIntel
  name: field intelligence support kit
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,9,1
  - type: Sprite
    sprite: _RMC14/Objects/Storage/procase_mini.rsi # TODO RMC14 jtac overlay icon
  - type: Icon
    sprite: _RMC14/Objects/Storage/procase_mini.rsi
  - type: StorageFill
    contents:
    - id: RMCFulton20
    - id: CMEncryptionKeyIntel
    - id: CMPamphletIntel
    - id: RMCIntelDetector
    - id: RMCPouchDocument

# pistols
# SU6 smart pistol
- type: entity
  parent: RMCGunCaseBase
  id: RMCGunCasePistolSmart
  name: SU-6 smart pistol case
  description: A gun case containing the SU-6 smart pistol. Comes with a full belt holster.
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,3,1
    whitelist:
      tags:
      - RMCSmartPistol
      - RMCSmartPistolHolster
  - type: StorageFill
    contents:
    - id: RMCWeaponPistolSU6
    - id: RMCBeltSmartPistolFilled

# MK80
- type: entity
  parent: RMCGunCaseBase
  id: RMCGunCasePistolMK80
  name: MK80 pistol case
  description: A gun case containing the MK80. Comes with two magazines.
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,5,1
    whitelist:
      tags:
      - RMCMK80
      - CMMagazinePistolMK80
  - type: StorageFill
    contents:
    - id: RMCMK80
    - id: CMMagazinePistolMK80
      amount: 2
# D18
- type: entity
  parent: BaseStorageItem
  id: RMCD18Case
  name: D18 pistol case
  description: A fairly decorated and ceremonial box containing a CLF D18 and a single additional magazine for it. I guess those CLF folk really care about their craftsmanship and prose rather than practicality, eh?
  components:
  - type: Item
    size: Small
  - type: Sprite
    noRot: false
    sprite: _RMC14/Objects/Storage/D18case.rsi # Needs proper 'closed' Sprites, Open/Closed are identical atm
    layers:
    - state: closed
  - type: Icon
    sprite: _RMC14/Objects/Storage/D18case.rsi
    state: closed
  - type: Storage
    maxItemSize: Tiny
    grid:
    - 0,0,1,1
    whitelist:
      tags:
      - RMCWeaponPistolD18
      - RMCMagazinePistolD18
  - type: StorageFill
    contents:
    - id: RMCWeaponPistolD18
    - id: RMCMagazinePistolD18


# M77
- type: entity
  parent: RMCGunCaseBase
  id: RMCGunCasePistolM77
  name: M77 Combat Pistol case
  description: A gun case containing a M77 Combat Pistol. Comes with a rail flashlight and 6 magazines.
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,15,1
    whitelist:
      tags:
      - RMCWeaponPistolM77
      - CMMagazinePistolM77AP
      - RMCAttachmentRailFlashlight
  - type: StorageFill
    contents:
    - id: RMCAttachmentRailFlashlight
    - id: RMCWeaponPistolM77
    - id: CMMagazinePistolM77AP
      amount: 6

# M44 combat revolver
- type: entity
  parent: RMCGunCaseBase
  id: RMCGunCasePistolM44
  name: M44 combat revolver case
  description:
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,15,1
    whitelist:
      tags:
      - RMCWeaponRevolverM44
      - RMCSpeedLoader44Marksman
      - RMCAttachmentRailFlashlight
  - type: StorageFill
    contents:
    - id: RMCAttachmentRailFlashlight
    - id: RMCWeaponRevolverM44
    - id: RMCSpeedLoader44Marksman
      amount: 6

# M1984 service pistol
- type: entity
  parent: RMCGunCaseBase
  id: RMCGunCasePistolM1984
  name: M1984 service pistol case
  description:
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,15,1
    whitelist:
      tags:
      - CMWeaponPistolM1984
      - CMMagazinePistolM1984
      - RMCAttachmentRailFlashlight
  - type: StorageFill
    contents:
    - id: RMCAttachmentRailFlashlight
    - id: CMWeaponPistolM1984
    - id: CMMagazinePistolM1984
      amount: 6

# RSh9 Assault Revolver
- type: entity
  parent: RMCGunCaseBase
  id: RMCGunCaseRevolverRSh9
  name: RSh9 Assault Revolver case
  description:
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,15,1
    whitelist:
      tags:
      - RMCWeaponRevolverRSh9
      - RMCSpeedLoaderRsh9
      - RMCAttachmentRailFlashlight
  - type: StorageFill
    contents:
    - id: RMCAttachmentRailFlashlight
    - id: RMCWeaponRevolverRSh9
    - id: RMCSpeedLoaderRsh9
      amount: 6

# rifles
# M54CE2
- type: entity
  parent: RMCGunCaseBase
  id: RMCGunCaseRifleM54CE2
  name: M54CE2 heavy assault rifle case
  description: A gun case containing the M54CE2 heavy assault rifle. You can get additional ammunition at requisitions.
  components:
  - type: Storage
    maxItemSize: Ginormous
    grid:
    - 0,0,7,1
    whitelist:
      tags:
      - WeaponRifleM54CE2
      - CMMagazineRifleM54CE2
      - RMCAttachmentRailFlashlight
      - RMCAttachmentBipod
  - type: StorageFill
    contents:
    - id: WeaponRifleM54CE2
    - id: CMMagazineRifleM54CE2
    - id: CMMagazineRifleM54CE2HT

# XM88
- type: entity
  parent: RMCGunCaseBase
  id: RMCCaseXM88
  name: XM88 heavy rifle case
  description: A gun case containing the XM88 Heavy Rifle, a prototype weapon designed for use against heavily armored infantry targets and light vehicles. Contains an ammunition belt, two boxes of ammunition, the XS-9 Targeting Relay attachment, and the stock for the rifle.
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,11,1
    whitelist:
      components:
      - Gun
      tags:
      - RMCAttachmentXM88Stock
      - RMCAttachmentXS-9
      - RMCBox458SOCOM
      - RMCBox458SOCOM
      - RMCBeltSOCOM
  - type: StorageFill
    contents:
    - id: WeaponRifleXM88
    - id: RMCAttachmentXM88Stock
    - id: RMCAttachmentXS-9
    - id: RMCBox458SOCOM
    - id: RMCBox458SOCOM
    - id: RMCM300SOCOMBelt

# Shotguns
# XM51
- type: entity
  parent: RMCGunCaseBase
  id: RMCXM51Case
  name: XM51 breaching scattergun case
  description: A gun case containing the XM51 Breaching Scattergun. Comes with two spare magazines, two spare shell boxes, an optional stock and a belt to holster the weapon.
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,9,1
    whitelist:
      tags:
      - RMCAttachmentXM51Stock
      - RMCWeaponShotgunXM51
      - RMCMagazineShotgunXM51
      - RMCBoxShotgunBreaching
      - RMCXM51Holster
  - type: StorageFill
    contents:
    - id: RMCAttachmentXM51Stock
    - id: RMCWeaponShotgunXM51
    - id: RMCMagazineShotgunXM51
      amount: 2
    - id: RMCBoxShotgunBreaching
      amount: 2
    - id: RMCBeltXM51
  - type: RemoveOnlyStorage
    blacklist:
      tags:
      - RMCBoxShotgunBreaching
    whitelist:
      tags:
      - RMCAttachmentXM51Stock
      - RMCWeaponShotgunXM51
      - RMCMagazineShotgunXM51
      - RMCBoxShotgunBreaching
      - RMCXM51Holster

# MOU53
- type: entity
  parent: RMCGunCaseBase
  id: RMCMOU53Case
  name: MOU53 shotgun case
  description: A gun case containing the MOU53 shotgun. It does come loaded, but you'll still have to find ammunition as you go.
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,1,1
    whitelist:
      tags:
      - RMCWeaponShotgunMOU53
      - RMCAttachmentMOU53Stock
  - type: StorageFill
    contents:
    - id: WeaponShotgunMOU53
    - id: RMCAttachmentMOU53Stock

- type: entity
  parent: RMCGunCaseBase
  id: RMCM54CMK1Case
  name: M54C assault rifle MK1 case
  description: A gun case containing the M54C assault rifle MK1. It can only use proprietary MK1 magazines.
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,5,1
    whitelist:
      tags:
      - RMCWeaponRifleM54CMK1
      - CMMagazineRifleM54CMK1
  - type: StorageFill
    contents:
    - id: WeaponRifleM54CMK1
    - id: CMMagazineRifleM54CMK1
    - id: CMMagazineRifleM54CMK1

- type: entity
  parent: RMCGunCaseBase
  id: RMCM54CMK1CaseAP
  name: M54C assault rifle MK1 AP case
  description: A gun case containing the M54C assault rifle MK1 loaded with AP rounds. It can only use proprietary MK1 magazines.
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,5,1
    whitelist:
      tags:
      - RMCWeaponRifleM54CMK1
      - CMMagazineRifleM54CMK1AP
  - type: StorageFill
    contents:
    - id: WeaponRifleM54CMK1AP
    - id: CMMagazineRifleM54CMK1AP
    - id: CMMagazineRifleM54CMK1AP

- type: entity
  parent: RMCGunCaseBase
  id: RMCM54CMK2Case
  name: M54C assault rifle MK2 case
  description: A gun case containing the M54C assault rifle MK2.
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,9,1 # 5 slots
    whitelist:
      tags:
      - RMCWeaponRifleM54CMK2
      - CMMagazineRifleM54C
  - type: StorageFill
    contents:
    - id: WeaponRifleM54C
    - id: CMMagazineRifleM54C
    - id: CMMagazineRifleM54C
    - id: CMMagazineRifleM54C
    - id: CMMagazineRifleM54C

- type: entity
  parent: RMCGunCaseBase
  id: RMCM42A2ShotgunCase
  name: M42A2 pump shotgun case
  description: A gun case containing the M42A2 pump shotgun.
  components:
  - type: Storage
    maxItemSize: Huge
    grid:
    - 0,0,3,1 # 4 slots
    whitelist:
      tags:
      - RMCWeaponShotgunM42A2
      - RMCHandful
  - type: StorageFill
    contents:
    - id: WeaponShotgunM42A2
    # Group 1
    - id: CMShellShotgunBuckshot # Spawn 3 handfuls of shells, each group being random
      prob: 0.25
      orGroup: ShellOne
    - id: CMShellShotgunSlugs
      prob: 0.25
      orGroup: ShellOne
    - id: CMShellShotgunFlechette
      prob: 0.25
      orGroup: ShellOne
    # Group 2
    - id: CMShellShotgunBuckshot
      prob: 0.25
      orGroup: ShellTwo
    - id: CMShellShotgunSlugs
      prob: 0.25
      orGroup: ShellTwo
    - id: CMShellShotgunFlechette
      prob: 0.25
      orGroup: ShellTwo
    # Group 3
    - id: CMShellShotgunBuckshot
      prob: 0.25
      orGroup: ShellThree
    - id: CMShellShotgunSlugs
      prob: 0.25
      orGroup: ShellThree
    - id: CMShellShotgunFlechette
      prob: 0.25
      orGroup: ShellThree

# Launchers
# M79
- type: entity
  parent: RMCGunCaseBase
  id: RMCM79Case
  name: M79 grenade launcher case
  description: A gun case containing the M79 grenade launcher. Comes with three different grenade packets
  components:
  - type: Storage
    maxItemSize: Ginormous
    grid:
    - 0,0,7,1
    whitelist:
      tags:
      - RMCWeaponLauncherM79
      - RMCPacketGrenade
  - type: StorageFill
    contents:
    - id: CMWeaponLauncherM79
    - id: RMCPacketGrenadeM74AGMSStarShellFilled
    - id: RMCPacketGrenadeM74AGMSHornetFilled
    - id: RMCPacketGrenadeBatonSlugHIRRFilled


- type: soundCollection
  id: CMShotgunPump
  files:
  - /Audio/_RMC14/Weapons/Guns/Pump/shotgunpump1.ogg
  - /Audio/_RMC14/Weapons/Guns/Pump/shotgunpump2.ogg

- type: soundCollection
  id: CMM1984Shoot
  files:
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_m1984_1.ogg
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_m1984_2.ogg
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_m1984_3.ogg
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_m1984_4.ogg
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_m1984_5.ogg

- type: soundCollection
  id: RMCXM38Shoot
  files:
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_shotgun_tactical_1.ogg
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_shotgun_tactical_2.ogg
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_shotgun_tactical_3.ogg
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_shotgun_tactical_4.ogg

- type: soundCollection
  id: CMM54CShoot
  files:
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_rifle.ogg # TODO RMC14

- type: soundCollection
  id: CMSilencedShoot
  files:
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_silenced_shot1.ogg
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_silenced_shot2.ogg

- type: soundCollection
  id: CMShotgunLoad
  files:
  - /Audio/_RMC14/Weapons/Guns/Reload/shell_load1.ogg
  - /Audio/_RMC14/Weapons/Guns/Reload/shell_load2.ogg
  - /Audio/_RMC14/Weapons/Guns/Reload/shell_load3.ogg
  - /Audio/_RMC14/Weapons/Guns/Reload/shell_load4.ogg

- type: soundCollection
  id: CMAR10Shoot
  files:
  - /Audio/_RMC14/Weapons/Guns/Gunshots/gun_ar10.ogg

- type: soundCollection
  id: RMCFlamerShoot
  files:
  - /Audio/_RMC14/Weapons/Guns/Flamer/gun_flamethrower1.ogg
  - /Audio/_RMC14/Weapons/Guns/Flamer/gun_flamethrower2.ogg
  - /Audio/_RMC14/Weapons/Guns/Flamer/gun_flamethrower3.ogg


- type: entity
  id: SeedExtractor
  name: seed extractor
  parent: [ BaseMachinePowered, ConstructibleMachine ]
  description: Extracts seeds from produce.
  components:
  - type: Sprite
    sprite: Structures/Machines/seed_extractor.rsi
    snapCardinals: true
    layers:
    - state: seedextractor-off
    - state: seedextractor-unlit
      shader: unshaded
      map: ["enum.PowerDeviceVisualLayers.Powered"]
  - type: Physics
    bodyType: Static
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.25,-0.4,0.25,0.4"
        density: 190
        mask:
        - MachineMask
        layer:
        - MachineLayer
  - type: Appearance
  - type: GenericVisualizer
    visuals:
      enum.PowerDeviceVisuals.Powered:
        enum.PowerDeviceVisualLayers.Powered:
          True: { visible: true }
          False: { visible: false }
  - type: SeedExtractor
  - type: Machine
    board: SeedExtractorMachineCircuitboard
  - type: ApcPowerReceiver
    needsPower: false # TODO RMC14


- type: entity
  parent: RMCDispenserBase
  id: CMDispenserSoda
  name: soda fountain
  description: A drink fabricating machine, capable of producing many sugary drinks with just one touch.
  components:
  - type: Sprite
    drawdepth: SmallObjects
    sprite: _RMC14/Structures/Machines/Science/small_dispensers.rsi
    snapCardinals: true
    layers:
    - state: soda_dispenser
  - type: Machine
    board: CMCircuitboardDispenserSoda
  - type: RMCChemicalDispenser
    network: RMCChemStorageDrinks
    reagents:
    - JuiceBanana
    - JuiceBerry
    - JuiceCarrot
    - Coffee
    - Cola
    - Cream
    - DrGibb
    - JuiceGrape
    - Ice
    - JuiceLemon
    - LemonLime
    - JuiceLime
    - JuiceOrange
    - SodaWater
    - SpaceMountainWind
    - SpaceUp
    - Sugar
    - Tea
    - JuiceTomato
    - TonicWater
    - Water
    - JuiceWatermelon
  - type: ItemSlots
    slots:
      chemical_dispenser_slot:
        name: Soda Fountain
        whitelist:
          tags:
          - GlassBeaker
          - ChemDispensable
          - DrinkGlass

- type: entity
  parent: RMCChemStorageBase
  id: RMCChemStorageDrinks
  suffix: Drinks
  components:
  - type: RMCChemicalStorage
    network: RMCChemStorageDrinks
    energy: 1100
    maxEnergy: 1100
    baseMax: 1100
    maxPer: 0


# Base Vender
- type: entity
  parent: VendingMachine
  id: CMVendor
  name: Vendomat
  description: A generic vending machine.
  components:
  - type: Transform
    anchored: false
    noRot: true
  - type: Physics
    bodyType: Static
  - type: AmbientOnPowered
  - type: AmbientSound
    volume: -9
    range: 3
    enabled: false
    sound:
      path: /Audio/Ambience/Objects/vending_machine_hum.ogg
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.25,-0.45,0.25,0.45"
        mask:
        - MachineMask
        layer:
        - MachineLayer
        density: 200
  - type: Repairable
    doAfterDelay: 8
  - type: ActivatableUI
    key: enum.VendingMachineUiKey.Key
  - type: ActivatableUIRequiresPower
  - type: UserInterface
    interfaces:
      enum.VendingMachineUiKey.Key:
        type: VendingMachineBoundUserInterface
      enum.WiresUiKey.Key:
        type: WiresBoundUserInterface
  - type: TypingIndicator
    proto: robot
  - type: Speech
    speechVerb: Robotic
    speechSounds: Vending
  - type: IntrinsicRadioReceiver
  - type: IntrinsicRadioTransmitter
    channels:
    - Binary
  - type: ActiveRadio
    channels:
    - Binary
    - Common
  - type: DoAfter
  - type: Electrified
    enabled: false
    usesApcPower: true
  - type: PointLight
    enabled: false
    castShadows: false
    radius: 1.5
  - type: LitOnPowered
  - type: ApcPowerReceiver
    needsPower: false # TODO RMC14
    powerLoad: 0
  - type: Appearance
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/generic.rsi
    snapCardinals: true
    layers:
    - state: "off"
      map: ["enum.VendingMachineVisualLayers.Base"]
    - state: "off"
      map: [ "enum.VendingMachineVisualLayers.BaseUnshaded" ]
      shader: unshaded
    - state: "panel"
      map: ["enum.WiresVisualLayers.MaintenancePanel"]
  - type: VendingMachine
    pack: CMVendomat
    dispenseOnHitChance: 0.25
    dispenseOnHitThreshold: 2
    offState: off
    brokenState: broken
    normalState: normal-unshaded
  - type: Corrodible
    timeToApply: 4
    structure: true
  - type: ActivatableUIBlacklist
    blacklist:
      components:
      - Xeno
  - type: Destructible
    thresholds:
    - trigger:
        !type:DamageTrigger
        damage: 100
      behaviors:
      - !type:DoActsBehavior
        acts: ["Breakage"]
      - !type:EjectVendorItems
    - trigger:
        !type:DamageTrigger
        damage: 200
      behaviors:
      - !type:SpawnEntitiesBehavior
        spawn:
          CMSheetMetal1:
            min: 1
            max: 1
      - !type:DoActsBehavior
        acts: [ "Destruction" ]
      - !type:PlaySoundBehavior
        sound:
          collection: MetalGlassBreak

- type: vendingMachineInventory
  id: CMVendomat


# Coffee
- type: entity
  parent: CMVendor
  id: CMVendorCoffee
  name: Hot Drinks machine
  description: A vending machine which dispenses hot drinks.
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/coffee.rsi
  - type: VendingMachine
    pack: CMVendorCoffee
    ejectState: eject-unshaded

- type: vendingMachineInventory
  id: CMVendorCoffee
  startingInventory:
    DrinkHotCoffee: 25
    DrinkTeacup: 25
    DrinkHotCoco: 25


# Snack
- type: entity
  parent: CMVendor
  id: CMVendorSnack
  name: Hot Foods Machine
  description: A vending machine full of ready to cook meals, mhmmmm taste the nutritional goodness!
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/snack.rsi
  - type: VendingMachine
    pack: CMVendorSnack

- type: vendingMachineInventory
  id: CMVendorSnack
  startingInventory: # TODO RMC14
    RMCFoodSnackCheeseburgerPackaged: 12
    RMCFoodSnackBurritoPackaged: 12
    RMCFoodSnackHotdogPackaged: 12
    RMCFoodSnackKeplarCrisps: 12
    RMCFoodSnackKeplarFlamehotCrisps: 12
    RMCFoodSnackChipsPepper: 12
    RMCFoodSnackEATBar: 12
    RMCFoodSnackBoonie: 6
    RMCFoodSnackCHUNK: 6
    RMCFoodSnackBarcaridine: 6


# Cola
- type: entity
  parent: CMVendor
  id: CMVendorCola
  name: Bobda Softdrinks
  description: A softdrink vendor provided by Bobda Soda Company, Havana.
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/cola.rsi
  - type: VendingMachine
    pack: CMVendorCola

- type: vendingMachineInventory
  id: CMVendorCola
  startingInventory:
    # BASIC
    CMDrinkCanBobdaClassic: 10
    CMDrinkCanBobdaCherry: 10
    CMDrinkCanBobdaLime: 10
    CMDrinkCanBobdaGrape: 10
    CMDrinkCanBobdaBlue: 10
    CMDrinkCanBobdaPeach: 10
    CMDrinkCanBobdaCranberry: 10
    CMDrinkCanBobdaVanilla: 10
    CMDrinkCanBobdaPineapple: 10
    # DIET
    CMDrinkCanBobdaClassicDiet: 10
    CMDrinkCanBobdaCherryDiet: 10
    CMDrinkCanBobdaLimeDiet: 10
    CMDrinkCanBobdaGrapeDiet: 10
    CMDrinkCanBobdaBlueDiet: 10
    CMDrinkCanBobdaPeachDiet: 10
    CMDrinkCanBobdaCranberryDiet: 10
    CMDrinkCanBobdaVanillaDiet: 10
    CMDrinkCanBobdaPineappleDiet: 10
    # NON BOBDA
    CMDrinkCanCola: 10


# Cigarettes
- type: entity
  parent: CMVendor
  id: CMVendorCigs
  name: Cigarette Machine
  description: If you want to get cancer, might as well do it in style!
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/cigs.rsi
  - type: VendingMachine
    pack: CMVendorCigs

- type: vendingMachineInventory
  id: CMVendorCigs
  startingInventory:
    RMCCigarettePackLuckySloths: 50
    RMCTarbackTube: 20
    RMCMatchboxFull: 15
    RMCLighter: 25
    RMCZippo: 10


# Security
- type: entity
  parent: CMVendor
  id: CMVendorSec
  name: SecTech
  description: A security equipment vendor.
  suffix: Military Police
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/sec.rsi
  - type: VendingMachine
    pack: CMVendorSec
    denyState: deny-unshaded
    ejectState: eject-unshaded
  - type: AccessReader
    access: [["CMAccessBrig"]]

- type: vendingMachineInventory
  id: CMVendorSec
  startingInventory: # TODO RMC14
    RMCHandcuffs: 8
    RMCZipties: 10
    RMCGrenadeFlashBang: 4
    RMCWeaponTaser: 4
    # Pepper spray 4
    CMStunbaton: 4
    RMCFlashlight: 4
    CMBeltSecurityMP: 10
    CMFlash: 5
    RMCBoxDonut: 12
    # Evidence box 6
    CMArmorHelmetM10MP: 6
    CMHeadCapMP: 6
    CMJumpsuitMP: 2
    CMHeadBeretRed: 6
    CMGlassesSecurity: 3
    CMHeadset: 6

- type: entity
  parent: CMVendor
  id: RMCVendorSecArmory
  name: Riot Tech
  description: A Police Riot equipment vendor.
  suffix: Military Police
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/sec.rsi
  - type: VendingMachine
    pack: RMCVendorRiot
    denyState: deny-unshaded
    ejectState: eject-unshaded
  - type: AccessReader
    access: [["CMAccessBrig"]]

- type: vendingMachineInventory
  id: RMCVendorRiot
  startingInventory: # TODO RMC14
    Zipties: 40
    RMCGrenadeFlashBang: 20
    RMCMagazineSMGM63Rubber: 40
    ##RMCGrenadeTearGas: 40
    RMCMagazinePistolM1984Rubber: 40
    RMCMagazinePistolM77Rubber: 40
    RMCMagazineRifleM54CRubber: 40
    RMCMagazineRifleM4SPRRubber: 40
    CMArmorHelmetM10MP: 8
    ##RMCBreachingChargeRiot: 6

# Senior Enlisted Advisor
- type: entity
  parent: CMVendor
  id: CMVendorSEA
  name: SEATech
  description: An equipment vendor designed to save lives
  suffix: SEA
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/sec.rsi
  - type: VendingMachine
    pack: CMVendorSEA
    denyState: deny-unshaded
    ejectState: eject-unshaded
  - type: AccessReader
    access: [["CMAccessSEA"]]

- type: vendingMachineInventory
  id: CMVendorSEA
  startingInventory: # TODO RMC14
    RMCMagazineSMGM63Rubber: 20
    RMCMagazinePistolM1984Rubber: 20
    RMCMagazinePistolM77Rubber: 20
    RMCMagazineRifleM54CRubber: 20
    RMCMagazineRifleM4SPRRubber: 20
    CMShellShotgunBeanbag: 20
    CMFirstAidKitFilled: 2
    CMBurnAidKitFilled: 2
    #MedkitRadiationFilled: 1 #firstaid rad 1
    # Crew Monitor


# Nutriments
- type: entity
  parent: CMVendor
  id: CMVendorNutri
  name: NutriMax
  description: A plant nutrient vendor.
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/nutri.rsi
  - type: VendingMachine
    pack: CMVendorNutri
    denyState: deny-unshaded
    ejectState: eject-unshaded

- type: vendingMachineInventory
  id: CMVendorNutri
  startingInventory:
    EZNutrientChemistryBottle: 35
    Left4ZedChemistryBottle: 25
    RobustHarvestChemistryBottle: 15
    PestSpray: 20
    Syringe: 5
    PlantBag: 5


# Seeds
- type: entity
  parent: CMVendor
  id: CMVendorSeeds
  name: MegaSeed Servitor
  description: When you need seeds fast!
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/seeds.rsi
  - type: VendingMachine
    pack: CMVendorSeeds
    denyState: deny-unshaded
    ejectState: eject-unshaded

- type: vendingMachineInventory
  id: CMVendorSeeds
  startingInventory: # TODO RMC14
    BananaSeeds: 3
    BerrySeeds: 3
    CarrotSeeds: 3
    ChanterelleSeeds: 2
    ChiliSeeds: 3
    CornSeeds: 3
    EggplantSeeds: 3
    PotatoSeeds: 3
    SoybeanSeeds: 3
    #SunflowerSeeds: 2
    TomatoSeeds: 3
    WheatSeeds: 3
    AppleSeeds: 3
    PoppySeeds: 3
    SugarcaneSeeds: 3
    #PeanutSeeds: 3
    #WhitebeetSeeds: 3
    WatermelonSeeds: 3
    LimeSeeds: 3
    LemonSeeds: 3
    OrangeSeeds: 3
    # GrassSeeds: 3
    CocoaSeeds: 3
    # PlumpSeeds: 2
    CabbageSeeds: 3
    GrapeSeeds: 3
    PumpkinSeeds: 3
    # CherrySeed: 3
    RiceSeeds: 3


# Dinnerware
- type: entity
  parent: CMVendor
  id: CMVendorDinnerware
  name: Dinnerware
  description: A kitchen and restaraunt equipment vendor.
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/dinnerware.rsi
  - type: VendingMachine
    pack: CMVendorDinnerware

- type: vendingMachineInventory
  id: CMVendorDinnerware
  startingInventory:
    # TODO RMC14 Tray: 8
    RMCFork: 6
    RMCSpoon: 4
    RMCKitchenKnife: 5
    DrinkGlass: 8
    ClothingOuterApronChef: 2
    RMCCondimentSmallSalt: 4
    RMCCondimentSmallPepper: 4
    RMCCondimentEnzyme: 1
    RMCCondiment: 8
    FoodPlateTin: 5
    FoodBowlBig: 10
    RMCKitchenKnifeButcher: 1
    RMCKitchenKnifeChef: 3
    RMCRollingPin: 4
    PairedChopsticks: 4
    FoodPlate: 10
    FoodPlateSmall: 10
    FoodPlateMuffinTin: 5
    FoodKebabSkewer: 5
    CMBeaker: 5
    CMBeakerLarge: 5
    Pitcher: 2
    DrinkMug: 5
    DrinkMugBlack: 2
    DrinkMugBlue: 2
    DrinkMugGreen: 2
    DrinkMugHeart: 1
    DrinkMugMetal: 2
    DrinkMugMoebius: 1
    DrinkMugOne: 1
    DrinkMugRainbow: 2
    DrinkMugRed: 2

# BODA
- type: entity
  parent: CMVendor
  id: CMVendorSodaSoviet
  name: BODA
  description: An old sweet water vending machine, how did this end up here?
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/sovietsoda.rsi
  - type: VendingMachine
    pack: CMVendorSodaSoviet

- type: vendingMachineInventory
  id: CMVendorSodaSoviet
  startingInventory:
    CMDrinkCanBoda: 30


# Ingridients
- type: entity
  parent: CMVendor
  id: CMVendorIngredients
  name: Galley Auxiliary Storage Requisition System
  description: A vending machine meant to be use for cooks.
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/snack.rsi
  - type: VendingMachine
    pack: CMVendorIngredient

- type: vendingMachineInventory
  id: CMVendorIngredient
  startingInventory:
    FoodContainerEgg: 12
    FoodMeatFish: 12
    FoodMeat: 24
    DrinkMilkCarton: 24
    DrinkSoyMilkCarton: 12
    RMCCondimentEnzyme: 12
    ReagentContainerFlour: 12
    RMCCondimentSugar: 12
    RMCCondimentCornOil: 12
    RMCCondimentSmallSalt: 12
    RMCCondimentSmallPepper: 12
    # TODO RMC14 Mint 12
    FoodApple: 12
    FoodBanana: 12
    FoodMushroom: 12
    FoodCherry: 12
    FoodChiliPepper: 12
    FoodCabbage: 12
    FoodCarrot: 12
    FoodCorn: 12
    FoodEggplant: 12
    FoodLemon: 12
    FoodLime: 12
    FoodOrange: 12
    FoodPotato: 12
    FoodTomato: 12
    # TODO RMC14 Whitebeet 12
    FoodOnion: 12
    FoodGarlic: 12
    ReagentContainerRice: 12
C¾c½c# Base Vender
- type: entity
  parent: VendingMachine
  id: CMVendor
  name: Vendomat
  description: A generic vending machine.
  components:
  - type: Transform
    anchored: false
    noRot: true
  - type: Physics
    bodyType: Static
  - type: AmbientOnPowered
  - type: AmbientSound
    volume: -9
    range: 3
    enabled: false
    sound:
      path: /Audio/Ambience/Objects/vending_machine_hum.ogg
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.25,-0.45,0.25,0.45"
        mask:
        - MachineMask
        layer:
        - MachineLayer
        density: 200
  - type: Repairable
    doAfterDelay: 8
  - type: ActivatableUI
    key: enum.VendingMachineUiKey.Key
  - type: ActivatableUIRequiresPower
  - type: UserInterface
    interfaces:
      enum.VendingMachineUiKey.Key:
        type: VendingMachineBoundUserInterface
      enum.WiresUiKey.Key:
        type: WiresBoundUserInterface
  - type: TypingIndicator
    proto: robot
  - type: Speech
    speechVerb: Robotic
    speechSounds: Vending
  - type: IntrinsicRadioReceiver
  - type: IntrinsicRadioTransmitter
    channels:
    - Binary
  - type: ActiveRadio
    channels:
    - Binary
    - Common
  - type: DoAfter
  - type: Electrified
    enabled: false
    usesApcPower: true
  - type: PointLight
    enabled: false
    castShadows: false
    radius: 1.5
  - type: LitOnPowered
  - type: ApcPowerReceiver
    needsPower: false # TODO RMC14
    powerLoad: 0
  - type: Appearance
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/generic.rsi
    snapCardinals: true
    layers:
    - state: "off"
      map: ["enum.VendingMachineVisualLayers.Base"]
    - state: "off"
      map: [ "enum.VendingMachineVisualLayers.BaseUnshaded" ]
      shader: unshaded
    - state: "panel"
      map: ["enum.WiresVisualLayers.MaintenancePanel"]
  - type: VendingMachine
    pack: CMVendomat
    dispenseOnHitChance: 0.25
    dispenseOnHitThreshold: 2
    offState: off
    brokenState: broken
    normalState: normal-unshaded
  - type: Corrodible
    timeToApply: 4
    structure: true
  - type: ActivatableUIBlacklist
    blacklist:
      components:
      - Xeno
  - type: Destructible
    thresholds:
    - trigger:
        !type:DamageTrigger
        damage: 100
      behaviors:
      - !type:DoActsBehavior
        acts: ["Breakage"]
      - !type:EjectVendorItems
    - trigger:
        !type:DamageTrigger
        damage: 200
      behaviors:
      - !type:SpawnEntitiesBehavior
        spawn:
          CMSheetMetal1:
            min: 1
            max: 1
      - !type:DoActsBehavior
        acts: [ "Destruction" ]
      - !type:PlaySoundBehavior
        sound:
          collection: MetalGlassBreak

- type: vendingMachineInventory
  id: CMVendomat


# Coffee
- type: entity
  parent: CMVendor
  id: CMVendorCoffee
  name: Hot Drinks machine
  description: A vending machine which dispenses hot drinks.
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/coffee.rsi
  - type: VendingMachine
    pack: CMVendorCoffee
    ejectState: eject-unshaded

- type: vendingMachineInventory
  id: CMVendorCoffee
  startingInventory:
    DrinkHotCoffee: 25
    DrinkTeacup: 25
    DrinkHotCoco: 25


# Snack
- type: entity
  parent: CMVendor
  id: CMVendorSnack
  name: Hot Foods Machine
  description: A vending machine full of ready to cook meals, mhmmmm taste the nutritional goodness!
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/snack.rsi
  - type: VendingMachine
    pack: CMVendorSnack

- type: vendingMachineInventory
  id: CMVendorSnack
  startingInventory: # TODO RMC14
    RMCFoodSnackCheeseburgerPackaged: 12
    RMCFoodSnackBurritoPackaged: 12
    RMCFoodSnackHotdogPackaged: 12
    RMCFoodSnackKeplarCrisps: 12
    RMCFoodSnackKeplarFlamehotCrisps: 12
    RMCFoodSnackChipsPepper: 12
    RMCFoodSnackEATBar: 12
    RMCFoodSnackBoonie: 6
    RMCFoodSnackCHUNK: 6
    RMCFoodSnackBarcaridine: 6


# Cola
- type: entity
  parent: CMVendor
  id: CMVendorCola
  name: Bobda Softdrinks
  description: A softdrink vendor provided by Bobda Soda Company, Havana.
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/cola.rsi
  - type: VendingMachine
    pack: CMVendorCola

- type: vendingMachineInventory
  id: CMVendorCola
  startingInventory:
    # BASIC
    CMDrinkCanBobdaClassic: 10
    CMDrinkCanBobdaCherry: 10
    CMDrinkCanBobdaLime: 10
    CMDrinkCanBobdaGrape: 10
    CMDrinkCanBobdaBlue: 10
    CMDrinkCanBobdaPeach: 10
    CMDrinkCanBobdaCranberry: 10
    CMDrinkCanBobdaVanilla: 10
    CMDrinkCanBobdaPineapple: 10
    # DIET
    CMDrinkCanBobdaClassicDiet: 10
    CMDrinkCanBobdaCherryDiet: 10
    CMDrinkCanBobdaLimeDiet: 10
    CMDrinkCanBobdaGrapeDiet: 10
    CMDrinkCanBobdaBlueDiet: 10
    CMDrinkCanBobdaPeachDiet: 10
    CMDrinkCanBobdaCranberryDiet: 10
    CMDrinkCanBobdaVanillaDiet: 10
    CMDrinkCanBobdaPineappleDiet: 10
    # NON BOBDA
    CMDrinkCanCola: 10


# Cigarettes
- type: entity
  parent: CMVendor
  id: CMVendorCigs
  name: Cigarette Machine
  description: If you want to get cancer, might as well do it in style!
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/cigs.rsi
  - type: VendingMachine
    pack: CMVendorCigs

- type: vendingMachineInventory
  id: CMVendorCigs
  startingInventory:
    RMCCigarettePackLuckySloths: 50
    RMCTarbackTube: 20
    RMCMatchboxFull: 15
    RMCLighter: 25
    RMCZippo: 10


# Security
- type: entity
  parent: CMVendor
  id: CMVendorSec
  name: SecTech
  description: A security equipment vendor.
  suffix: Military Police
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/sec.rsi
  - type: VendingMachine
    pack: CMVendorSec
    denyState: deny-unshaded
    ejectState: eject-unshaded
  - type: AccessReader
    access: [["CMAccessBrig"]]

- type: vendingMachineInventory
  id: CMVendorSec
  startingInventory: # TODO RMC14
    RMCHandcuffs: 8
    RMCZipties: 10
    RMCGrenadeFlashBang: 4
    RMCWeaponTaser: 4
    # Pepper spray 4
    CMStunbaton: 4
    RMCFlashlight: 4
    CMBeltSecurityMP: 10
    CMFlash: 5
    RMCBoxDonut: 12
    # Evidence box 6
    CMArmorHelmetM10MP: 6
    CMHeadCapMP: 6
    CMJumpsuitMP: 2
    CMHeadBeretRed: 6
    CMGlassesSecurity: 3
    CMHeadset: 6

- type: entity
  parent: CMVendor
  id: RMCVendorSecArmory
  name: Riot Tech
  description: A Police Riot equipment vendor.
  suffix: Military Police
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/sec.rsi
  - type: VendingMachine
    pack: RMCVendorRiot
    denyState: deny-unshaded
    ejectState: eject-unshaded
  - type: AccessReader
    access: [["CMAccessBrig"]]

- type: vendingMachineInventory
  id: RMCVendorRiot
  startingInventory: # TODO RMC14
    Zipties: 40
    RMCGrenadeFlashBang: 20
    RMCMagazineSMGM63Rubber: 40
    ##RMCGrenadeTearGas: 40
    RMCMagazinePistolM1984Rubber: 40
    RMCMagazinePistolM77Rubber: 40
    RMCMagazineRifleM54CRubber: 40
    RMCMagazineRifleM4SPRRubber: 40
    CMArmorHelmetM10MP: 8
    ##RMCBreachingChargeRiot: 6

# Senior Enlisted Advisor
- type: entity
  parent: CMVendor
  id: CMVendorSEA
  name: SEATech
  description: An equipment vendor designed to save lives
  suffix: SEA
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/sec.rsi
  - type: VendingMachine
    pack: CMVendorSEA
    denyState: deny-unshaded
    ejectState: eject-unshaded
  - type: AccessReader
    access: [["CMAccessSEA"]]

- type: vendingMachineInventory
  id: CMVendorSEA
  startingInventory: # TODO RMC14
    RMCMagazineSMGM63Rubber: 20
    RMCMagazinePistolM1984Rubber: 20
    RMCMagazinePistolM77Rubber: 20
    RMCMagazineRifleM54CRubber: 20
    RMCMagazineRifleM4SPRRubber: 20
    CMShellShotgunBeanbag: 20
    CMFirstAidKitFilled: 2
    CMBurnAidKitFilled: 2
    #MedkitRadiationFilled: 1 #firstaid rad 1
    # Crew Monitor


# Nutriments
- type: entity
  parent: CMVendor
  id: CMVendorNutri
  name: NutriMax
  description: A plant nutrient vendor.
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/nutri.rsi
  - type: VendingMachine
    pack: CMVendorNutri
    denyState: deny-unshaded
    ejectState: eject-unshaded

- type: vendingMachineInventory
  id: CMVendorNutri
  startingInventory:
    EZNutrientChemistryBottle: 35
    Left4ZedChemistryBottle: 25
    RobustHarvestChemistryBottle: 15
    PestSpray: 20
    Syringe: 5
    PlantBag: 5


# Seeds
- type: entity
  parent: CMVendor
  id: CMVendorSeeds
  name: MegaSeed Servitor
  description: When you need seeds fast!
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/seeds.rsi
  - type: VendingMachine
    pack: CMVendorSeeds
    denyState: deny-unshaded
    ejectState: eject-unshaded

- type: vendingMachineInventory
  id: CMVendorSeeds
  startingInventory: # TODO RMC14
    BananaSeeds: 3
    BerrySeeds: 3
    CarrotSeeds: 3
    ChanterelleSeeds: 2
    ChiliSeeds: 3
    CornSeeds: 3
    EggplantSeeds: 3
    PotatoSeeds: 3
    SoybeanSeeds: 3
    #SunflowerSeeds: 2
    TomatoSeeds: 3
    WheatSeeds: 3
    AppleSeeds: 3
    PoppySeeds: 3
    SugarcaneSeeds: 3
    #PeanutSeeds: 3
    #WhitebeetSeeds: 3
    WatermelonSeeds: 3
    LimeSeeds: 3
    LemonSeeds: 3
    OrangeSeeds: 3
    # GrassSeeds: 3
    CocoaSeeds: 3
    # PlumpSeeds: 2
    CabbageSeeds: 3
    GrapeSeeds: 3
    PumpkinSeeds: 3
    # CherrySeed: 3
    RiceSeeds: 3
    GarlicSeeds: 3
    OnionSeeds: 3


# Dinnerware
- type: entity
  parent: CMVendor
  id: CMVendorDinnerware
  name: Dinnerware
  description: A kitchen and restaraunt equipment vendor.
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/dinnerware.rsi
  - type: VendingMachine
    pack: CMVendorDinnerware

- type: vendingMachineInventory
  id: CMVendorDinnerware
  startingInventory:
    # TODO RMC14 Tray: 8
    RMCFork: 6
    RMCSpoon: 4
    RMCKitchenKnife: 5
    DrinkGlass: 8
    ClothingOuterApronChef: 2
    RMCCondimentSmallSalt: 4
    RMCCondimentSmallPepper: 4
    RMCCondimentEnzyme: 1
    RMCCondiment: 8
    FoodPlateTin: 5
    FoodBowlBig: 10
    RMCKitchenKnifeButcher: 1
    RMCKitchenKnifeChef: 3
    RMCRollingPin: 4
    PairedChopsticks: 4
    FoodPlate: 10
    FoodPlateSmall: 10
    FoodPlateMuffinTin: 5
    FoodKebabSkewer: 5
    CMBeaker: 5
    CMBeakerLarge: 5
    Pitcher: 2
    DrinkMug: 5
    DrinkMugBlack: 2
    DrinkMugBlue: 2
    DrinkMugGreen: 2
    DrinkMugHeart: 1
    DrinkMugMetal: 2
    DrinkMugMoebius: 1
    DrinkMugOne: 1
    DrinkMugRainbow: 2
    DrinkMugRed: 2

# BODA
- type: entity
  parent: CMVendor
  id: CMVendorSodaSoviet
  name: BODA
  description: An old sweet water vending machine, how did this end up here?
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/sovietsoda.rsi
  - type: VendingMachine
    pack: CMVendorSodaSoviet

- type: vendingMachineInventory
  id: CMVendorSodaSoviet
  startingInventory:
    CMDrinkCanBoda: 30


# Ingridients
- type: entity
  parent: CMVendor
  id: CMVendorIngredients
  name: Galley Auxiliary Storage Requisition System
  description: A vending machine meant to be use for cooks.
  components:
  - type: Sprite
    sprite: _RMC14/Structures/Machines/VendingMachines/snack.rsi
  - type: VendingMachine
    pack: CMVendorIngredient

- type: vendingMachineInventory
  id: CMVendorIngredient
  startingInventory:
    FoodContainerEgg: 12
    FoodMeatFish: 12
    FoodMeat: 24
    DrinkMilkCarton: 24
    DrinkSoyMilkCarton: 12
    RMCCondimentEnzyme: 12
    ReagentContainerFlour: 12
    RMCCondimentSugar: 12
    RMCCondimentCornOil: 12
    RMCCondimentSmallSalt: 12
    RMCCondimentSmallPepper: 12
    # TODO RMC14 Mint 12
    FoodApple: 12
    FoodBanana: 12
    FoodMushroom: 12
    FoodCherry: 12
    FoodChiliPepper: 12
    FoodCabbage: 12
    FoodCarrot: 12
    FoodCorn: 12
    FoodEggplant: 12
    FoodLemon: 12
    FoodLime: 12
    FoodOrange: 12
    FoodPotato: 12
    FoodTomato: 12
    # TODO RMC14 Whitebeet 12
    FoodOnion: 12
    FoodGarlic: 12
    ReagentContainerRice: 12
