CHIMP handcannon (#15667)

This commit is contained in:
Nemanja
2023-04-23 19:58:45 -04:00
committed by GitHub
parent 8fbdad3009
commit 37bc649eef
22 changed files with 267 additions and 39 deletions

View File

@@ -52,3 +52,62 @@
components:
- type: CartridgeAmmo
proto: BulletMagnumRubber
- type: entity
id: BaseAnomalousCartridge
parent: BaseCartridgeMagnum
description: Packs twice the punch of a standard A.P.E. particle.
abstract: true
components:
- type: Sprite
netsync: false
sprite: Objects/Weapons/Guns/Ammunition/Casings/anomalous_casing.rsi
layers:
- state: base
map: ["enum.AmmoVisualLayers.Base"]
- type: Tag
tags:
- Cartridge
- CartridgeCHIMP
- type: entity
id: CartridgeAnomalousParticleDelta
parent: BaseAnomalousCartridge
name: cartridge (delta particle)
components:
- type: Sprite
layers:
- state: base
map: ["enum.AmmoVisualLayers.Base"]
- state: overlay
color: crimson
- type: CartridgeAmmo
proto: AnomalousParticleDeltaStrong
- type: entity
id: CartridgeAnomalousParticleEpsilon
parent: BaseAnomalousCartridge
name: cartridge (epsilon particle)
components:
- type: Sprite
layers:
- state: base
map: ["enum.AmmoVisualLayers.Base"]
- state: overlay
color: plum
- type: CartridgeAmmo
proto: AnomalousParticleEpsilonStrong
- type: entity
id: CartridgeAnomalousParticleZeta
parent: BaseAnomalousCartridge
name: cartridge (zeta particle)
components:
- type: Sprite
layers:
- state: base
map: ["enum.AmmoVisualLayers.Base"]
- state: overlay
color: goldenrod
- type: CartridgeAmmo
proto: AnomalousParticleZetaStrong

View File

@@ -338,10 +338,23 @@
- type: Projectile
damage:
types:
Heat: 3
Heat: 5
- type: TimedDespawn
lifetime: 3
- type: entity
parent: AnomalousParticleDelta
id: AnomalousParticleDeltaStrong
noSpawn: true
components:
- type: AnomalousParticle
particleType: Delta
severityPerSeverityHit: 0.05
stabilityPerDestabilizingHit: 0.08
healthPerWeakeningeHit: -0.1
stabilityPerWeakeningeHit: -0.2
- type: entity
parent: AnomalousParticleDelta
id: AnomalousParticleEpsilon
@@ -351,6 +364,18 @@
- type: AnomalousParticle
particleType: Epsilon
- type: entity
parent: AnomalousParticleEpsilon
id: AnomalousParticleEpsilonStrong
noSpawn: true
components:
- type: AnomalousParticle
particleType: Epsilon
severityPerSeverityHit: 0.05
stabilityPerDestabilizingHit: 0.08
healthPerWeakeningeHit: -0.1
stabilityPerWeakeningeHit: -0.2
- type: entity
parent: AnomalousParticleDelta
id: AnomalousParticleZeta
@@ -360,6 +385,18 @@
- type: AnomalousParticle
particleType: Zeta
- type: entity
parent: AnomalousParticleZeta
id: AnomalousParticleZetaStrong
noSpawn: true
components:
- type: AnomalousParticle
particleType: Zeta
severityPerSeverityHit: 0.05
stabilityPerDestabilizingHit: 0.08
healthPerWeakeningeHit: -0.1
stabilityPerWeakeningeHit: -0.2
# Launcher projectiles (grenade / rocket)
- type: entity
id: BulletRocket

View File

@@ -125,3 +125,42 @@
capacity: 5
chambers: [ True, True, True, True, True ]
ammoSlots: [ null, null, null, null, null ]
- type: entity
id: WeaponPistolCHIMP
parent: BaseWeaponRevolver
name: C.H.I.M.P. handcannon
description: Just because it's a little C.H.I.M.P. doesn't mean it can't punch like an A.P.E.
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Revolvers/chimp.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-unshaded-1
visible: false
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Appearance
- type: MagazineVisuals
magState: mag
steps: 3
zeroVisible: false
- type: Clothing
sprite: Objects/Weapons/Guns/Revolvers/chimp.rsi
- type: RevolverAmmoProvider
whitelist:
tags:
- CartridgeCHIMP
proto: CartridgeAnomalousParticleDelta #when revolvers stop sucking cock, make this spawn empty
capacity: 10
chambers: [ True, True, True, True, True, True, True, True, True, True ]
ammoSlots: [ null, null, null, null, null, null, null, null, null, null ]
soundEject:
path: /Audio/Weapons/Guns/MagOut/revolver_magout.ogg
soundInsert:
path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg
- type: Gun
fireRate: 1.5
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/taser2.ogg

View File

@@ -236,6 +236,10 @@
- PowerCellSmall
- PowerCellMedium
- PowerCellHigh
- WeaponPistolCHIMP
- CartridgeAnomalousParticleDelta
- CartridgeAnomalousParticleEpsilon
- CartridgeAnomalousParticleZeta
- SynthesizerInstrument
- RPED
- ClothingShoesBootsMag