Skip to content

Commit

Permalink
fixed contraband on the beanbag kammerer and bandolier
Browse files Browse the repository at this point in the history
  • Loading branch information
hivehum committed Nov 8, 2024
1 parent 8561bc5 commit c7b7043
Show file tree
Hide file tree
Showing 12 changed files with 119 additions and 108 deletions.
10 changes: 0 additions & 10 deletions Resources/Prototypes/Catalog/Cargo/cargo_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@
category: cargoproduct-category-name-security
group: market

- type: cargoProduct
id: SecurityShotgunNonLethal
icon:
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagpump.rsi
state: icon
product: CrateSecurityShotgunNonlethal
cost: 2000
category: cargoproduct-category-name-security
group: market

- type: cargoProduct
id: SecurityRiot
icon:
Expand Down
13 changes: 0 additions & 13 deletions Resources/Prototypes/Catalog/Fills/Crates/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,6 @@
- id: ClothingHeadHelmetBasic
amount: 3

- type: entity
id: CrateSecurityShotgunNonlethal
parent: CrateSecgear
name: nonlethal shotgun crate
description: For when you need to break some ribs. Contains two Beanbag Kammerer shotguns with extra ammunition. Requires Security access to open.
components:
- type: StorageFill
contents:
- id: WeaponShotgunKammererBeanbag
amount: 2
- id: BoxBeanbag
amount: 3

- type: entity
id: CrateSecurityNonlethal
parent: CrateSecgear
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Clothing/Belt/belts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@
# Belts without visualizers

- type: entity
parent: [ClothingBeltAmmoProviderBase, BaseMinorContraband]
parent: [ClothingBeltAmmoProviderBase, BaseMinorCivilianContraband]
id: ClothingBeltBandolier
name: bandolier
description: A bandolier for holding shotgun ammunition.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,36 +156,6 @@
- type: BallisticAmmoProvider
proto: ShellShotgunBeanbag

- type: entity
name: Beanbag Enforcer
parent: WeaponShotgunEnforcer
id: WeaponShotgunEnforcerBeanbag
description: A premium combat shotgun with an extended magazine and a built-in silencer, modified to only accept .50 beanbag shotgun shells. Carry gauze.
components:
- type: Sprite
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagenforcer.rsi
- type: Clothing
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagenforcer.rsi
- type: Item
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagenforcer_inhands_64x.rsi
- type: Gun
fireRate: 2
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/_Impstation/Weapons/Guns/Gunshots/silenced2.ogg
soundEmpty:
path: /Audio/Weapons/Guns/Empty/empty.ogg
- type: BallisticAmmoProvider
whitelist:
tags:
- ShellShotgunBeanbag
capacity: 7
proto: ShellShotgunBeanbag
soundInsert:
path: /Audio/Weapons/Guns/MagIn/shotgun_insert.ogg

- type: entity
name: Kammerer
parent: [BaseWeaponShotgun, BaseGunWieldable, BaseRestrictedContraband]
Expand All @@ -208,39 +178,6 @@
tags:
- WeaponShotgunKammerer

- type: entity
name: Beanbag Kammerer
parent: [BaseWeaponShotgun, BaseGunWieldable, BaseMinorContraband]
id: WeaponShotgunKammererBeanbag
description: A pump shotgun with a built-in silencer, modified to only accept .50 beanbag shotgun shells. Carry gauze.
components:
- type: Item
size: Normal
shape:
- 0,0,4,0
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagpump_inhands_64x.rsi
- type: Sprite
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagpump.rsi
- type: Clothing
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagpump.rsi
- type: Gun
fireRate: 2
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/_Impstation/Weapons/Guns/Gunshots/silenced2.ogg
soundEmpty:
path: /Audio/Weapons/Guns/Empty/empty.ogg
- type: BallisticAmmoProvider
whitelist:
tags:
- ShellShotgunBeanbag
capacity: 4
proto: ShellShotgunBeanbag
soundInsert:
path: /Audio/Weapons/Guns/MagIn/shotgun_insert.ogg

- type: entity
name: sawn-off shotgun
parent: BaseWeaponShotgun
Expand Down
18 changes: 0 additions & 18 deletions Resources/Prototypes/Recipes/Lathes/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -613,15 +613,6 @@
Glass: 200
Plastic: 200

- type: latheRecipe
parent: BaseWeaponRecipe
id: WeaponShotgunKammererBeanbag
result: WeaponShotgunKammererBeanbag
materials:
Steel: 300
Glass: 200
Plastic: 200

- type: latheRecipe
parent: WeaponDisabler
id: WeaponDisablerSMG
Expand All @@ -631,15 +622,6 @@
Glass: 500
Plastic: 500

- type: latheRecipe
parent: BaseWeaponRecipe
id: WeaponShotgunEnforcerBeanbag
result: WeaponShotgunEnforcerBeanbag
materials:
Steel: 1000
Glass: 500
Plastic: 500

- type: latheRecipe
id: MagazineGrenadeEmpty
result: MagazineGrenadeEmpty
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- type: cargoProduct
id: SecurityShotgunNonLethal
icon:
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagpump.rsi
state: icon
product: CrateSecurityShotgunNonlethal
cost: 2000
category: cargoproduct-category-name-security
group: market
12 changes: 12 additions & 0 deletions Resources/Prototypes/_Impstation/Catalog/Fills/Crates/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- type: entity
id: CrateSecurityShotgunNonlethal
parent: CrateSecgear
name: nonlethal shotgun crate
description: For when you need to break some ribs. Contains two Beanbag Kammerer shotguns with extra ammunition. Requires Security access to open.
components:
- type: StorageFill
contents:
- id: WeaponShotgunKammererBeanbag
amount: 2
- id: BoxBeanbag
amount: 3
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
- type: entity
name: Beanbag Enforcer
parent: WeaponShotgunEnforcer
id: WeaponShotgunEnforcerBeanbag
description: A premium combat shotgun with an extended magazine and a built-in silencer, modified to only accept .50 beanbag shotgun shells. Carry gauze.
components:
- type: Sprite
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagenforcer.rsi
- type: Clothing
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagenforcer.rsi
- type: Item
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagenforcer_inhands_64x.rsi
- type: Gun
fireRate: 2
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/_Impstation/Weapons/Guns/Gunshots/silenced2.ogg
soundEmpty:
path: /Audio/Weapons/Guns/Empty/empty.ogg
- type: BallisticAmmoProvider
whitelist:
tags:
- ShellShotgunBeanbag
capacity: 7
proto: ShellShotgunBeanbag
soundInsert:
path: /Audio/Weapons/Guns/MagIn/shotgun_insert.ogg

- type: entity
name: Beanbag Kammerer
parent: [BaseWeaponShotgun, BaseGunWieldable, BaseMinorSecurityCivilianContraband]
id: WeaponShotgunKammererBeanbag
description: A pump shotgun with a built-in silencer, modified to only accept .50 beanbag shotgun shells. Carry gauze.
components:
- type: Item
size: Normal
shape:
- 0,0,4,0
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagpump_inhands_64x.rsi
- type: Sprite
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagpump.rsi
- type: Clothing
sprite: _Impstation/Objects/Weapons/Guns/Shotguns/beanbagpump.rsi
- type: Gun
fireRate: 2
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/_Impstation/Weapons/Guns/Gunshots/silenced2.ogg
soundEmpty:
path: /Audio/Weapons/Guns/Empty/empty.ogg
- type: BallisticAmmoProvider
whitelist:
tags:
- ShellShotgunBeanbag
capacity: 4
proto: ShellShotgunBeanbag
soundInsert:
path: /Audio/Weapons/Guns/MagIn/shotgun_insert.ogg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- type: entity
id: BaseMinorSecurityCivilianContraband
parent: BaseMinorContraband
abstract: true
components:
- type: Contraband
allowedDepartments: [ Security, Civilian ]

- type: entity
id: BaseMinorCivilianContraband
parent: BaseMinorContraband
abstract: true
components:
- type: Contraband
allowedDepartments: [ Civilian ]
17 changes: 17 additions & 0 deletions Resources/Prototypes/_Impstation/Recipes/Lathes/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- type: latheRecipe
parent: BaseWeaponRecipe
id: WeaponShotgunKammererBeanbag
result: WeaponShotgunKammererBeanbag
materials:
Steel: 300
Glass: 200
Plastic: 200

- type: latheRecipe
parent: BaseWeaponRecipe
id: WeaponShotgunEnforcerBeanbag
result: WeaponShotgunEnforcerBeanbag
materials:
Steel: 1000
Glass: 500
Plastic: 500
3 changes: 3 additions & 0 deletions Resources/Prototypes/_Impstation/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

- type: Tag
id: WeaponCleanerLakeUpgradeKit

- type: Tag
id: ShellShotgunBeanbag
3 changes: 0 additions & 3 deletions Resources/Prototypes/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1267,9 +1267,6 @@
- type: Tag
id: ShellShotgun

- type: Tag
id: ShellShotgunBeanbag

- type: Tag
id: Shiv

Expand Down

0 comments on commit c7b7043

Please sign in to comment.