From aded799ae500c9e1e6fec5b4eebb3a5d401c10e2 Mon Sep 17 00:00:00 2001 From: Alzore <140123969+Blackern5000@users.noreply.github.com> Date: Wed, 2 Jul 2025 19:54:02 -0500 Subject: [PATCH] Reduce most salvage mob health, reduce most salvage weapon damage. (#38131) --- .../Entities/Mobs/NPCs/asteroid.yml | 4 +-- .../Prototypes/Entities/Mobs/NPCs/carp.yml | 6 +++- .../Prototypes/Entities/Mobs/NPCs/space.yml | 10 ++++-- .../Entities/Mobs/NPCs/spacetick.yml | 2 +- .../Weapons/Guns/Projectiles/projectiles.yml | 21 +++++++++-- .../Entities/Objects/Weapons/Melee/mining.yml | 36 ++++++++++++++----- 6 files changed, 60 insertions(+), 19 deletions(-) diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/asteroid.yml b/Resources/Prototypes/Entities/Mobs/NPCs/asteroid.yml index de8f15f4c0..941091335a 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/asteroid.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/asteroid.yml @@ -57,7 +57,7 @@ - type: MobThresholds thresholds: 0: Alive - 250: Dead + 150: Dead - type: MeleeWeapon soundHit: path: "/Audio/Weapons/smash.ogg" @@ -378,7 +378,7 @@ - type: MobThresholds thresholds: 0: Alive - 75: Dead + 45: Dead - type: MeleeWeapon angle: 0 animation: WeaponArcBite diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/carp.yml b/Resources/Prototypes/Entities/Mobs/NPCs/carp.yml index 8db27e19c5..971f5e1dc6 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/carp.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/carp.yml @@ -156,6 +156,10 @@ suffix: "Salvage Ruleset" components: - type: SalvageMobRestrictions + - type: MobThresholds + thresholds: + 0: Alive + 30: Dead - type: entity name: space carp @@ -222,7 +226,7 @@ - type: MobThresholds thresholds: 0: Alive - 150: Dead + 82: Dead # Might seem random, but this brings up the hits to kill with a crusher mark to 3 - type: Stamina critThreshold: 150 - type: DamageStateVisuals diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/space.yml b/Resources/Prototypes/Entities/Mobs/NPCs/space.yml index 2bd0de128b..039cac3358 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/space.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/space.yml @@ -34,7 +34,7 @@ - type: MobThresholds thresholds: 0: Alive - 100: Dead + 80: Dead - type: Stamina critThreshold: 150 - type: MovementAlwaysTouching @@ -168,6 +168,10 @@ spawned: - id: FoodMeat amount: 1 + - type: MobThresholds + thresholds: + 0: Alive + 60: Dead - type: entity id: MobKangarooSpaceSalvage @@ -194,7 +198,7 @@ - type: MobThresholds thresholds: 0: Alive - 90: Dead + 45: Dead - type: Stamina critThreshold: 150 - type: DamageStateVisuals @@ -295,7 +299,7 @@ - type: MobThresholds thresholds: 0: Alive - 100: Dead + 45: Dead - type: Stamina critThreshold: 150 - type: DamageStateVisuals diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/spacetick.yml b/Resources/Prototypes/Entities/Mobs/NPCs/spacetick.yml index 92b27c7a4c..2eaf7c819f 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/spacetick.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/spacetick.yml @@ -41,7 +41,7 @@ - type: MobThresholds thresholds: 0: Alive - 15: Dead + 5: Dead - type: Destructible thresholds: - trigger: diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml index 712be28de3..7c94dd65cc 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Projectiles/projectiles.yml @@ -496,7 +496,7 @@ impactEffect: BulletImpactEffectKinetic damage: types: - Blunt: 25 + Blunt: 15 Structural: 30 # Short lifespan - type: TimedDespawn @@ -553,8 +553,8 @@ - MobState damage: types: - Blunt: 20 - Slash: 5 + Blunt: 18 + Slash: 4 - type: Projectile impactEffect: BulletImpactEffectKinetic damage: @@ -564,6 +564,21 @@ - type: TimedDespawn lifetime: 0.4 + # Deals less damage, glaive has better HP recovery +- type: entity + id: BulletChargeGlaive + name: leech bolt + parent: BulletCharge + components: + - type: DamageMarkerOnCollide + whitelist: + components: + - MobState + damage: + types: + Blunt: 1 + Slash: 5 + - type: entity parent: BaseBullet id: AnomalousParticleDelta diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Melee/mining.yml b/Resources/Prototypes/Entities/Objects/Weapons/Melee/mining.yml index 8cbf2530ec..3ed57e0495 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Melee/mining.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Melee/mining.yml @@ -106,6 +106,7 @@ enabled: false radius: 4 +# Very high burst damage if you land a mark, while also providing a small amount of healing. - type: entity parent: [BaseWeaponCrusher, BaseSecurityCargoContraband] id: WeaponCrusher @@ -132,7 +133,7 @@ - type: LeechOnMarker leech: groups: - Brute: -10 + Brute: -6 - type: Gun soundGunshot: /Audio/Weapons/plasma_cutter.ogg fireRate: 1 @@ -146,25 +147,26 @@ capacity: 1 count: 1 - type: MeleeWeapon - attackRate: 1.5 + attackRate: 1 wideAnimationRotation: -135 damage: types: - Blunt: 10 - Slash: 5 + Blunt: 6 + Slash: 4 soundHit: collection: MetalThud - type: Wieldable - type: IncreaseDamageOnWield damage: types: - Blunt: 2.5 - Slash: 2.5 + Blunt: 6 + Slash: 2 Structural: 30 - type: GunRequiresWield - type: DisarmMalus - type: Prying +# No mark ability in exchange for wideswing, autoattack, and being one-handed - type: entity parent: [ BaseKnife, BaseWeaponCrusher, BaseSecurityCargoContraband] id: WeaponCrusherDagger @@ -194,12 +196,12 @@ - type: ThrowingAngle angle: 225 -# Like a crusher... but better +# Less mark damage in exchange for more healing. Also has a better ratio of blunt to slash damage, but less structural. - type: entity parent: [ WeaponCrusher, BaseSecurityCargoContraband] id: WeaponCrusherGlaive name: crusher glaive - description: An early design of the proto-kinetic accelerator, in glaive form. + description: An early design of the proto-kinetic accelerator, in glaive form. Provides better healing in exchange for less charged damage. components: - type: Sprite sprite: Objects/Weapons/Melee/crusher_glaive.rsi @@ -215,11 +217,27 @@ - suitStorage - type: UseDelay delay: 1.9 + - type: BasicEntityAmmoProvider + proto: BulletChargeGlaive + capacity: 1 + count: 1 - type: LeechOnMarker leech: groups: Brute: -21 - - type: MeleeWeapon - type: Tag tags: - Pickaxe + - type: MeleeWeapon + attackRate: 1 + wideAnimationRotation: -135 + damage: + types: + Blunt: 3 + Slash: 7 + - type: IncreaseDamageOnWield + damage: + types: + Blunt: 2 + Slash: 6 + Structural: 20 -- 2.51.2