Skip to content

Commit

Permalink
Migrate out rubber bullets/mags (space-wizards#27329)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmoGarbage404 authored Apr 26, 2024
1 parent de96541 commit 735eeef
Show file tree
Hide file tree
Showing 30 changed files with 60 additions and 666 deletions.
78 changes: 0 additions & 78 deletions Resources/Prototypes/Catalog/Fills/Boxes/ammunition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,6 @@
- id: MagazinePistolCaselessRiflePractice
amount: 4

- type: entity
name: box of .25 caseless (rubber) magazines
parent: BoxMagazine
id: BoxMagazineCaselessRifleRubber
description: A box full of
components:
- type: StorageFill
contents:
- id: MagazineCaselessRifleRubber
amount: 4

# LightRifle
- type: entity
name: box of .30 rifle magazines
Expand All @@ -67,17 +56,6 @@
- id: MagazineLightRiflePractice
amount: 4

- type: entity
name: box of .30 rifle (rubber) magazines
parent: BoxMagazine
id: BoxMagazineLightRifleRubber
description: A box full of .30 rifle (practice) magazines.
components:
- type: StorageFill
contents:
- id: MagazineLightRifleRubber
amount: 4

- type: entity
name: box of Vector magazines
parent: BoxMagazine
Expand All @@ -100,17 +78,6 @@
- id: MagazineMagnumSubMachineGunPractice
amount: 3

- type: entity
name: box of Vector (rubber) magazines
parent: BoxMagazine
id: BoxMagazineMagnumSubMachineGunRubber
description: A box full of Vector (rubber) magazines.
components:
- type: StorageFill
contents:
- id: MagazineMagnumSubMachineGunRubber
amount: 3

# Pistol
- type: entity
name: box of WT550 .35 auto magazines
Expand Down Expand Up @@ -145,17 +112,6 @@
- id: MagazinePistolPractice
amount: 4

- type: entity
name: box of pistol .35 auto (rubber) magazines
parent: BoxMagazine
id: BoxMagazinePistolRubber
description: A box full of pistol .35 auto (rubber) magazines.
components:
- type: StorageFill
contents:
- id: MagazinePistolRubber
amount: 4

- type: entity
name: box of machine pistol .35 auto magazines
parent: BoxMagazine
Expand All @@ -178,18 +134,6 @@
- id: MagazinePistolHighCapacityPractice
amount: 4

- type: entity
name: box of machine pistol .35 auto (rubber) magazines
parent: BoxMagazine
id: BoxMagazinePistolHighCapacityRubber
description: A box full of machine pistol .35 auto (rubber) magazines.
components:
- type: StorageFill
contents:
- id: MagazinePistolHighCapacityRubber
amount: 4


- type: entity
name: box of SMG .35 auto magazines
parent: BoxMagazine
Expand All @@ -212,17 +156,6 @@
- id: MagazinePistolSubMachineGunPractice
amount: 3

- type: entity
name: box of SMG .35 auto (rubber) magazines
parent: BoxMagazine
id: BoxMagazinePistolSubMachineGunRubber
description: A box full of SMG .35 auto (rubber) magazines.
components:
- type: StorageFill
contents:
- id: MagazinePistolSubMachineGunRubber
amount: 3

# Shotgun
- type: entity
name: box of (.50 pellet) ammo drums
Expand Down Expand Up @@ -290,14 +223,3 @@
contents:
- id: MagazineRiflePractice
amount: 4

- type: entity
name: box of .20 rifle (rubber) magazines
parent: BoxMagazine
id: BoxMagazineRifleRubber
description: A box full of .20 rifle (rubber) magazines.
components:
- type: StorageFill
contents:
- id: MagazineRifleRubber
amount: 4
15 changes: 5 additions & 10 deletions Resources/Prototypes/Catalog/VendingMachines/Inventories/ammo.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
- type: vendingMachineInventory
id: AmmoVendInventory
startingInventory:
MagazineBoxCaselessRifle: 3
MagazineBoxCaselessRifle: 6
MagazineBoxCaselessRiflePractice: 3
MagazineBoxCaselessRifleRubber: 3

MagazineBoxLightRifleBig: 3
MagazineBoxLightRifleBig: 6
MagazineBoxLightRiflePractice: 3
MagazineBoxLightRifleRubber: 3

MagazineBoxMagnum: 3
MagazineBoxMagnum: 6
MagazineBoxMagnumPractice: 3
MagazineBoxMagnumRubber: 3

MagazineBoxPistol: 3
MagazineBoxPistol: 6
MagazineBoxPistolPractice: 3
MagazineBoxPistolRubber: 3

MagazineBoxRifle: 3
MagazineBoxRifle: 6
MagazineBoxRiflePractice: 3
MagazineBoxRifleRubber: 3
Original file line number Diff line number Diff line change
Expand Up @@ -65,27 +65,6 @@
zeroVisible: false
- type: Appearance

- type: entity
parent: BaseMagazineBoxCaselessRifle
id: MagazineBoxCaselessRifleBigRubber
name: ammunition box (.25 caseless rubber)
components:
- type: BallisticAmmoProvider
capacity: 200
proto: CartridgeCaselessRifleRubber
- type: Sprite
layers:
- state: base-b
map: ["enum.GunVisualLayers.Base"]
- state: magb-1
map: ["enum.GunVisualLayers.Mag"]
- state: rubber-b
- type: MagazineVisuals
magState: magb
steps: 2
zeroVisible: false
- type: Appearance

- type: entity
parent: BaseMagazineBoxCaselessRifle
id: MagazineBoxCaselessRifle
Expand Down Expand Up @@ -114,18 +93,3 @@
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: practice

- type: entity
parent: BaseMagazineBoxCaselessRifle
id: MagazineBoxCaselessRifleRubber
name: ammunition box (.25 caseless rubber)
components:
- type: BallisticAmmoProvider
proto: CartridgeCaselessRifleRubber
- type: Sprite
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: rubber
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,6 @@
map: ["enum.GunVisualLayers.Mag"]
- state: practice

- type: entity
parent: BaseMagazineBoxLightRifle
id: MagazineBoxLightRifleRubber
name: ammunition box (.30 rifle rubber)
components:
- type: BallisticAmmoProvider
proto: CartridgeLightRifleRubber
- type: Sprite
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: rubber

- type: entity
id: MagazineBoxLightRifleIncendiary
parent: BaseMagazineBoxLightRifle
Expand Down Expand Up @@ -117,4 +102,4 @@
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: uranium
- state: uranium
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,6 @@
map: ["enum.GunVisualLayers.Mag"]
- state: practice

- type: entity
parent: BaseMagazineBoxMagnum
id: MagazineBoxMagnumRubber
name: ammunition box (.45 magnum rubber)
components:
- type: BallisticAmmoProvider
proto: CartridgeMagnumRubber
- type: Sprite
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: rubber

- type: entity
id: MagazineBoxMagnumIncendiary
parent: BaseMagazineBoxMagnum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,6 @@
map: ["enum.GunVisualLayers.Mag"]
- state: practice

- type: entity
parent: BaseMagazineBoxPistol
id: MagazineBoxPistolRubber
name: ammunition box (.35 auto rubber)
components:
- type: BallisticAmmoProvider
proto: CartridgePistolRubber
- type: Sprite
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: rubber

- type: entity
id: MagazineBoxPistolIncendiary
parent: BaseMagazineBoxPistol
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,6 @@
zeroVisible: false
- type: Appearance

- type: entity
parent: BaseMagazineBoxRifle
id: MagazineBoxRifleBigRubber
name: ammunition box (.20 rifle rubber)
components:
- type: BallisticAmmoProvider
capacity: 200
proto: CartridgeRiflePractice
- type: Sprite
layers:
- state: base-b
map: ["enum.GunVisualLayers.Base"]
- state: magb-1
map: ["enum.GunVisualLayers.Mag"]
- state: practice-b
- type: MagazineVisuals
magState: magb
steps: 2
zeroVisible: false
- type: Appearance

- type: entity
parent: BaseMagazineBoxRifle
id: MagazineBoxRifle
Expand Down Expand Up @@ -94,21 +73,6 @@
map: ["enum.GunVisualLayers.Mag"]
- state: practice

- type: entity
parent: BaseMagazineBoxRifle
id: MagazineBoxRifleRubber
name: ammunition box (.20 rifle rubber)
components:
- type: BallisticAmmoProvider
proto: CartridgeRifleRubber
- type: Sprite
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- state: rubber

- type: entity
id: MagazineBoxRifleIncendiary
parent: BaseMagazineBoxRifle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,3 @@
- state: tip
map: [ "enum.AmmoVisualLayers.Tip" ]
color: "#dbdbdb"

- type: entity
id: CartridgeCaselessRifleRubber
name: cartridge (.25 caseless rubber)
parent: BaseCartridgeCaselessRifle
components:
- type: CartridgeAmmo
proto: BulletCaselessRifleRubber
- type: Sprite
layers:
- state: base
map: [ "enum.AmmoVisualLayers.Base" ]
- state: tip
map: [ "enum.AmmoVisualLayers.Tip" ]
color: "#43c4f7"
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,6 @@
map: [ "enum.AmmoVisualLayers.Tip" ]
color: "#dbdbdb"

- type: entity
id: CartridgeLightRifleRubber
name: cartridge (.30 rifle rubber)
parent: BaseCartridgeLightRifle
components:
- type: CartridgeAmmo
proto: BulletLightRifleRubber
- type: Sprite
layers:
- state: base
map: [ "enum.AmmoVisualLayers.Base" ]
- state: tip
map: [ "enum.AmmoVisualLayers.Tip" ]
color: "#43c4f7"

- type: entity
id: CartridgeLightRifleIncendiary
name: cartridge (.30 rifle incendiary)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,6 @@
map: [ "enum.AmmoVisualLayers.Tip" ]
color: "#dbdbdb"

- type: entity
id: CartridgeMagnumRubber
name: cartridge (.45 magnum rubber)
parent: BaseCartridgeMagnum
components:
- type: CartridgeAmmo
proto: BulletMagnumRubber
- type: Sprite
layers:
- state: base
map: [ "enum.AmmoVisualLayers.Base" ]
- state: tip
map: [ "enum.AmmoVisualLayers.Tip" ]
color: "#43c4f7"

- type: entity
id: CartridgeMagnumIncendiary
name: cartridge (.45 magnum incendiary)
Expand Down
Loading

0 comments on commit 735eeef

Please sign in to comment.