Proto-kinetic crusher (#16277)

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
This commit is contained in:
metalgearsloth
2023-05-14 13:15:18 +10:00
committed by GitHub
parent 356bf96039
commit 6417bb4fa0
68 changed files with 926 additions and 312 deletions

View File

@@ -33,12 +33,6 @@
isLooped: true
property: Radius
enabled: false
toggleAction:
name: action-name-toggle-light
description: action-description-toggle-light
icon: { sprite: Objects/Tools/flashlight.rsi, state: flashlight }
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
event: !type:ToggleActionEvent
- type: ToggleableLightVisuals
spriteLayer: light
inhandVisuals:

View File

@@ -130,6 +130,7 @@
parent: BaseBulletHighVelocity
name: Icicle
description: Brrrrr.
noSpawn: true
components:
- type: Sprite
sprite: Structures/Specific/Anomalies/ice_anom.rsi

View File

@@ -309,6 +309,37 @@
- type: TimedDespawn
lifetime: 0.4
- type: entity
id: BulletCharge
name: charge bolt
parent: BaseBulletHighVelocity
noSpawn: true
description: Marks a target for additional damage.
components:
- type: Sprite
noRot: false
sprite: Objects/Weapons/Guns/Projectiles/magic.rsi
layers:
- state: chronobolt
shader: unshaded
- type: GatheringProjectile
- type: DamageMarkerOnCollide
whitelist:
components:
- MobState
damage:
types:
Blunt: 20
Slash: 5
- type: Projectile
impactEffect: BulletImpactEffectKinetic
damage:
types:
Blunt: 0
# Short lifespan
- type: TimedDespawn
lifetime: 0.4
- type: entity
parent: BaseBullet
id: AnomalousParticleDelta

View File

@@ -0,0 +1,96 @@
- type: entity
name: crusher
parent: BaseItem
id: BaseWeaponCrusher # Crusher? But I...
abstract: true
description: An early design of the proto-kinetic accelerator.
components:
- type: Sharp
- type: UnpoweredFlashlight
toggleAction:
name: action-name-toggle-light
description: action-description-toggle-light
icon: { sprite: Objects/Tools/flashlight.rsi, state: flashlight }
iconOn: Objects/Tools/flashlight.rsi/flashlight-on.png
event: !type:ToggleActionEvent
- type: PointLight
enabled: false
radius: 4
- type: entity
name: crusher
parent: BaseWeaponCrusher
id: WeaponCrusher
components:
- type: Sprite
sprite: Objects/Weapons/Melee/crusher.rsi
state: icon
- type: AmmoCounter
- type: UseDelayOnShoot
- type: UseDelay
delay: 1.9
- type: Gun
soundGunshot: /Audio/Weapons/plasma_cutter.ogg
fireRate: 0.5
useKey: false
- type: RechargeBasicEntityAmmo
rechargeCooldown: 1.5
rechargeSound:
path: /Audio/Weapons/Guns/MagIn/kinetic_reload.ogg
- type: BasicEntityAmmoProvider
proto: BulletCharge
capacity: 1
count: 1
- type: MeleeWeapon
attackRate: 0.75
damage:
types:
Blunt: 10
Slash: 5
- type: Wieldable
- type: MeleeRequiresWield
- type: GunRequiresWield
- type: Item
size: 150
- type: DisarmMalus
- type: Tool
qualities:
- Prying
- type: entity
name: crusher dagger
parent: BaseWeaponCrusher
id: WeaponCrusherDagger
description: A scaled down version of a proto-kinetic crusher, usually used in a last ditch scenario.
components:
- type: Sprite
sprite: Objects/Weapons/Melee/crusher_dagger.rsi
state: icon
- type: MeleeWeapon
attackRate: 1.5
damage:
types:
Slash: 6.5
- type: Item
size: 30
# Like a crusher... but better
- type: entity
name: crusher glaive
parent: WeaponCrusher
id: WeaponCrusherGlaive
description: An early design of the proto-kinetic accelerator, in glaive form.
components:
- type: UseDelayOnShoot
- type: UseDelay
delay: 1.9
- type: Gun
fireRate: 1
- type: RechargeBasicEntityAmmo
rechargeCooldown: 0.5
- type: Sprite
sprite: Objects/Weapons/Melee/crusher_glaive.rsi
- type: MeleeWeapon
attackRate: 1.25
- type: Item
size: 150

View File

@@ -3,6 +3,7 @@
description: Accelerated particles.
id: ParticlesProjectile
parent: BaseBullet
noSpawn: true
components:
- type: Sprite
layers:

View File

@@ -314,9 +314,6 @@
- type: Tag
id: GuideEmbeded
- type: Tag
id: GunsDisabled # Allow certain entities to not use guns without complicating the system with an event
- type: Tag
id: Handcuffs