diff --git a/mods/d2k/chrome/ingame-player.yaml b/mods/d2k/chrome/ingame-player.yaml index a5cbb959a2..4482aebb63 100644 --- a/mods/d2k/chrome/ingame-player.yaml +++ b/mods/d2k/chrome/ingame-player.yaml @@ -109,7 +109,7 @@ Container@PLAYER_WIDGETS: DisableKeyRepeat: true DisableKeySound: true TooltipText: Deploy - TooltipDesc: Selected units will perform their default deploy activity\n - MCVs will unpack into a Construction Yard\n - Thumpers will start or stop attracting worms\n\nActs immediately on selected units. + TooltipDesc: Selected units will perform their default deploy activity\n - MCVs will unpack into a Construction Yard\n - Thumpers will start or stop attracting worms\n - Devastators will become immobilized and explode\n\nActs immediately on selected units. TooltipContainer: TOOLTIP_CONTAINER Children: Image@ICON: diff --git a/mods/d2k/rules/vehicles.yaml b/mods/d2k/rules/vehicles.yaml index 863cf45404..0596125665 100644 --- a/mods/d2k/rules/vehicles.yaml +++ b/mods/d2k/rules/vehicles.yaml @@ -316,6 +316,7 @@ devastator: TurnSpeed: 3 Speed: 31 Crushes: crate, infantry, spicebloom, wall + RequiresCondition: !overload RevealsShroud: Range: 4c768 Armament: @@ -328,8 +329,26 @@ devastator: Explodes: Weapon: UnitExplodeLarge EmptyWeapon: UnitExplodeLarge + RequiresCondition: !overload SpawnActorOnDeath: Actor: devastator.husk + Explodes@OVERLOAD: + Weapon: PlasmaExplosion + EmptyWeapon: PlasmaExplosion + RequiresCondition: meltdown + GrantConditionOnDeploy@REACTOR: + DeployedCondition: overload + CanUndeploy: false + WithIdleOverlay@OVERLOAD: + Sequence: active + RequiresCondition: overload + WithIdleOverlay@OVERLOAD2: + Sequence: active-2 + RequiresCondition: overload + KillsSelf@MELTDOWN: + Delay: 240 + RequiresCondition: overload + GrantsCondition: meltdown AttractsWorms: Intensity: 700 SelectionDecorations: diff --git a/mods/d2k/sequences/misc.yaml b/mods/d2k/sequences/misc.yaml index 9ec1443300..a9208cba7f 100644 --- a/mods/d2k/sequences/misc.yaml +++ b/mods/d2k/sequences/misc.yaml @@ -57,6 +57,10 @@ explosion: Length: 8 Tick: 120 BlendMode: Alpha + devastator: DATA.R8 + Start: 3947 + Length: 17 + Tick: 120 large_trail: idle: DATA.R8 diff --git a/mods/d2k/sequences/vehicles.yaml b/mods/d2k/sequences/vehicles.yaml index 24f9faf220..8529ac88e2 100644 --- a/mods/d2k/sequences/vehicles.yaml +++ b/mods/d2k/sequences/vehicles.yaml @@ -199,6 +199,16 @@ devastator: Tick: 80 Facings: -32 BlendMode: Additive + active: DATA.R8 + Start: 3839 + Length: 14 + Tick: 130 + BlendMode: Additive + active-2: DATA.R8 + Start: 4152 + Length: 12 + Tick: 110 + BlendMode: Additive icon: DATA.R8 Start: 4289 Offset: -30,-24 diff --git a/mods/d2k/weapons/other.yaml b/mods/d2k/weapons/other.yaml index 0076e8fddf..fb7b9ccad2 100644 --- a/mods/d2k/weapons/other.yaml +++ b/mods/d2k/weapons/other.yaml @@ -306,3 +306,20 @@ BloomExplosion: harvester: 25 DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath AffectsParent: true + +PlasmaExplosion: + Warhead@1Dam: SpreadDamage + Spread: 2c0 + Falloff: 100, 37, 0 + Damage: 2000 + Versus: + None: 100 + Wood: 100 + Light: 100 + Heavy: 100 + Concrete: 60 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: SandCrater + Warhead@3Eff: CreateEffect + Explosions: devastator \ No newline at end of file