Adds new sprites for shotgun shell boxes (#33176)

* Adds new sprites for shotgun shell boxes

* Adds second set of mag visuals for slug and uranium casings

* Fixes yaml that I messed up

* Changes credit to new username before merging happens
This commit is contained in:
SpaceRox1244
2024-11-12 18:45:59 -05:00
committed by GitHub
parent cc3712be0c
commit af3593a3b7
19 changed files with 125 additions and 32 deletions

View File

@@ -16,114 +16,145 @@
id: AmmoProviderShotgunShell
abstract: true
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Ammunition/Boxes/shotgun.rsi
- type: BallisticAmmoProvider
mayTransfer: true
whitelist:
tags:
- ShellShotgun
capacity: 16
- type: MagazineVisuals
magState: mag
steps: 5
zeroVisible: false
- type: Appearance
# Shotgun Shells
- type: entity
name: shotgun beanbag cartridges dispenser
parent: AmmoProviderShotgunShell
id: BoxBeanbag
description: A dispenser box full of beanbag shots, designed for riot shotguns.
name: shell box (beanbag)
components:
- type: BallisticAmmoProvider
proto: ShellShotgunBeanbag
- type: Sprite
layers:
- state: boxwide
- state: shellbeanbag
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: beanbag
- type: entity
name: shotgun lethal cartridges dispenser
name: shell box (lethal)
parent: AmmoProviderShotgunShell
id: BoxLethalshot
description: A dispenser box full of lethal pellet shots, designed for riot shotguns.
components:
- type: BallisticAmmoProvider
proto: ShellShotgun
- type: Sprite
layers:
- state: boxwide
- state: shelllethal
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: lethal
- type: entity
name: shotgun slug cartridges dispenser
name: shell box (slug)
parent: AmmoProviderShotgunShell
id: BoxShotgunSlug
description: A dispenser box full of slugs, designed for riot shotguns.
components:
- type: BallisticAmmoProvider
proto: ShellShotgunSlug
- type: MagazineVisuals
magState: mag-alt
steps: 5
zeroVisible: false
- type: Sprite
layers:
- state: boxwide
- state: shellslug
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-alt-1
map: ["enum.GunVisualLayers.Mag"]
- state: slug
- type: entity
name: shotgun flare cartridges dispenser
name: shell box (flare)
parent: AmmoProviderShotgunShell
id: BoxShotgunFlare
description: A dispenser box full of flare cartridges, designed for riot shotguns.
components:
- type: BallisticAmmoProvider
proto: ShellShotgunFlare
- type: Sprite
layers:
- state: boxwide
- state: shellflare
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: flare
- type: entity
name: shotgun incendiary cartridges dispenser
name: shell box (incendiary)
parent: AmmoProviderShotgunShell
id: BoxShotgunIncendiary
description: A dispenser box full of incendiary cartridges, designed for riot shotguns.
components:
- type: BallisticAmmoProvider
proto: ShellShotgunIncendiary
- type: Sprite
layers:
- state: boxwide
- state: shellincendiary
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: incendiary
- type: entity
name: shotgun uranium cartridges dispenser
name: shell box (uranium)
parent: AmmoProviderShotgunShell
id: BoxShotgunUranium
description: A dispenser box full of uranium cartridges, designed for riot shotguns.
components:
- type: BallisticAmmoProvider
proto: ShellShotgunUranium
- type: MagazineVisuals
magState: mag-alt
steps: 5
zeroVisible: false
- type: Sprite
layers:
- state: boxwide
- state: shelluranium
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-alt-1
map: ["enum.GunVisualLayers.Mag"]
- state: uranium
- type: entity
name: shotgun practice cartridges dispenser
name: shell box (practice)
parent: AmmoProviderShotgunShell
id: BoxShotgunPractice
description: A dispenser box full of practice cartridges, designed for riot shotguns.
components:
- type: BallisticAmmoProvider
proto: ShellShotgunPractice
- type: Sprite
layers:
- state: boxwide
- state: shellpractice
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: practice
- type: entity
name: tranquilizer cartridges dispenser
name: shell box (tranquilizer)
parent: AmmoProviderShotgunShell
id: BoxShellTranquilizer
description: A dispenser box full of tranquilizer cartridges, designed for riot shotguns.
components:
- type: BallisticAmmoProvider
proto: ShellTranquilizer
- type: Sprite
layers:
- state: boxwide
- state: shelltranquilizer
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: tranquilizer

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

View File

@@ -0,0 +1,62 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprites by SpaceRox1244",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
},
{
"name": "mag-1"
},
{
"name": "mag-2"
},
{
"name": "mag-3"
},
{
"name": "mag-4"
},
{
"name": "mag-alt-1"
},
{
"name": "mag-alt-2"
},
{
"name": "mag-alt-3"
},
{
"name": "mag-alt-4"
},
{
"name": "lethal"
},
{
"name": "beanbag"
},
{
"name": "slug"
},
{
"name": "incendiary"
},
{
"name": "practice"
},
{
"name": "uranium"
},
{
"name": "flare"
},
{
"name": "tranquilizer"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B