components:
- type: Sprite
layers:
- - state: icon
- map: [ "enum.GunVisualLayers.Base" ]
+ - state: icon
+ map: [ "enum.GunVisualLayers.Base" ]
- type: Item
# If you update this also update the bulldog's size.
size: Large
size: Normal
- type: BallisticAmmoProvider
capacity: 4
+ - type: Tag
+ tags:
+ - WeaponShotgunKammerer
- type: entity
name: sawn-off shotgun
name: fire axe cabinet
description: There is a small label that reads "For Emergency use only" along with details for safe use of the axe. As if.
components:
+ - type: Damageable # adding destructible causes the entity inside to be deleted when the cabinet is destroyed :(
+ damageContainer: Inorganic
+ damageModifierSet: Glass
- type: MeleeSound
soundGroups:
Brute:
--- /dev/null
+- type: entity
+ parent: FireAxeCabinet
+ id: ShotGunCabinet
+ name: shotgun cabinet
+ description: There is a small label that reads "For Emergency use only" along with details for safe use of the shotgun. As if.
+ components:
+ - type: Sprite
+ sprite: Structures/Wallmounts/shotgun_cabinet.rsi
+ layers:
+ - state: cabinet
+ - state: shotgun
+ map: ["enum.ItemCabinetVisualLayers.ContainsItem"]
+ visible: true
+ - state: glass
+ map: ["enum.ItemCabinetVisualLayers.Door"]
+ - type: ItemCabinet
+ cabinetSlot:
+ ejectOnInteract: true
+ whitelist:
+ tags:
+ - WeaponShotgunKammerer
+ - type: AccessReader
+ access: [["Security"], ["Command"]]
+
+- type: entity
+ id: ShotGunCabinetOpen
+ parent: [ShotGunCabinet, FireAxeCabinetOpen]
+ suffix: Open
+
+- type: entity
+ id: ShotGunCabinetFilled
+ parent: [ShotGunCabinet,FireAxeCabinetFilled]
+ suffix: Filled
+ components:
+ - type: ItemCabinet
+ cabinetSlot:
+ startingItem: WeaponShotgunKammerer
+ ejectOnInteract: true
+ whitelist:
+ tags:
+ - WeaponShotgunKammerer
+
+- type: entity
+ id: ShotGunCabinetFilledOpen
+ parent: [ShotGunCabinetFilled,FireAxeCabinetFilledOpen]
+ suffix: Filled, Open
+
--- /dev/null
+{
+ "version": 1,
+ "license": "CC-BY-SA-3.0",
+ "copyright": "Inspired by tg station\u0027s fireaxe cabinet https://github.com/tgstation/tgstation/commit/d0d81185f09ca30d3b0856d476544240dba0de53 Made by DISCORD@ps3moira#9488",
+ "size": {
+ "x": 32,
+ "y": 32
+ },
+ "states": [
+ {
+ "name": "glass"
+ },
+ {
+ "name": "glass-1"
+ },
+ {
+ "name": "glass-2"
+ },
+ {
+ "name": "glass-3"
+ },
+ {
+ "name": "glass-4"
+ },
+ {
+ "name": "glass-up"
+ },
+ {
+ "name": "locked"
+ },
+ {
+ "name": "shotgun"
+ },
+ {
+ "name": "unlocked"
+ },
+ {
+ "name": "cabinet"
+ },
+ {
+ "name": "cabinet-empty-open"
+ },
+ {
+ "name": "cabinet-filled-closed"
+ },
+ {
+ "name": "cabinet-filled-open"
+ }
+ ]
+}
\ No newline at end of file