* add emergency shotgun * yml parent cleanup
@@ -7,8 +7,8 @@
|
|||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
layers:
|
layers:
|
||||||
- state: icon
|
- state: icon
|
||||||
map: [ "enum.GunVisualLayers.Base" ]
|
map: [ "enum.GunVisualLayers.Base" ]
|
||||||
- type: Item
|
- type: Item
|
||||||
# If you update this also update the bulldog's size.
|
# If you update this also update the bulldog's size.
|
||||||
size: Large
|
size: Large
|
||||||
@@ -166,6 +166,9 @@
|
|||||||
size: Normal
|
size: Normal
|
||||||
- type: BallisticAmmoProvider
|
- type: BallisticAmmoProvider
|
||||||
capacity: 4
|
capacity: 4
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- WeaponShotgunKammerer
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: sawn-off shotgun
|
name: sawn-off shotgun
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
name: fire axe cabinet
|
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.
|
description: There is a small label that reads "For Emergency use only" along with details for safe use of the axe. As if.
|
||||||
components:
|
components:
|
||||||
|
- type: Damageable # adding destructible causes the entity inside to be deleted when the cabinet is destroyed :(
|
||||||
|
damageContainer: Inorganic
|
||||||
|
damageModifierSet: Glass
|
||||||
- type: MeleeSound
|
- type: MeleeSound
|
||||||
soundGroups:
|
soundGroups:
|
||||||
Brute:
|
Brute:
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
- 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
|
||||||
|
|
||||||
@@ -1080,6 +1080,9 @@
|
|||||||
- type: Tag
|
- type: Tag
|
||||||
id: WeaponPistolCHIMPUpgradeKit
|
id: WeaponPistolCHIMPUpgradeKit
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: WeaponShotgunKammerer
|
||||||
|
|
||||||
- type: Tag
|
- type: Tag
|
||||||
id: Window
|
id: Window
|
||||||
|
|
||||||
|
|||||||
|
After Width: | Height: | Size: 486 B |
|
After Width: | Height: | Size: 749 B |
|
After Width: | Height: | Size: 757 B |
|
After Width: | Height: | Size: 449 B |
|
After Width: | Height: | Size: 327 B |
|
After Width: | Height: | Size: 388 B |
|
After Width: | Height: | Size: 553 B |
|
After Width: | Height: | Size: 682 B |
|
After Width: | Height: | Size: 129 B |
|
After Width: | Height: | Size: 237 B |
|
After Width: | Height: | Size: 104 B |
@@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 396 B |
|
After Width: | Height: | Size: 107 B |