ChemicalInjectionProjectileComponent (#2657)

Co-authored-by: py01 <pyronetics01@gmail.com>
This commit is contained in:
py01
2020-12-08 06:19:01 -06:00
committed by GitHub
parent cc26218060
commit 656eb7dc2e
4 changed files with 91 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
id: ShellShotgunBase
name: shell (.50)
parent: BaseItem
@@ -87,3 +87,15 @@
- type: Ammo
projectile: PelletShotgun
projectilesFired: 6
- type: entity
id: ShellTranquilizer
name: shell (.50 tranquilizer)
parent: ShellShotgunBase
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Ammunition/Casings/shotgun_shell_practice.rsi
- type: Ammo
projectile: PelletShotgunTranquilizer
projectilesFired: 1
ammoSpread: 0

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
id: PelletShotgunSlug
name: pellet (.50 slug)
abstract: true
@@ -76,3 +76,24 @@
- type: Projectile
damages:
Blunt: 1
- type: entity
id: PelletShotgunTranquilizer
name: pellet (.50 tranquilizer)
abstract: true
parent: BulletBasePractice
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/buckshot.rsi
state: base
- type: Projectile
damages:
Blunt: 1
- type: SolutionContainer
maxVol: 10
contents:
reagents:
- ReagentId: chem.H2O
Quantity: 10
caps: RemoveFrom
- type: ChemicalInjectionProjectile