diff --git a/mods/d2k/rules/infantry.yaml b/mods/d2k/rules/infantry.yaml index 150ba32b31..07e68141f5 100644 --- a/mods/d2k/rules/infantry.yaml +++ b/mods/d2k/rules/infantry.yaml @@ -74,34 +74,48 @@ trooper: WithInfantryBody: AttackSequence: shoot -medic: +thumper: Inherits: ^Infantry + -AutoTarget: Buildable: Queue: Infantry BuildPaletteOrder: 60 - Prerequisites: ~barracks.medics, upgrade.barracks, ~techlevel.high + Prerequisites: upgrade.barracks, ~techlevel.high Valued: Cost: 200 CustomBuildTimeValue: Value: 108 Tooltip: - Name: Medic - Description: Heals nearby infantry\n Strong vs Nothing\n Weak vs Everything + Name: Thumper + Description: Attracts nearby worms\n Unarmed Health: HP: 375 RevealsShroud: Range: 2c768 Mobile: - Speed: 42 - Armament: - Weapon: Heal - Cursor: ability - OutsideRangeCursor: ability - TargetStances: Ally - ForceTargetStances: None - AttackFrontal: + Speed: 43 + DeployToUpgrade: + Upgrades: deployed + Facing: 128 + AllowedTerrainTypes: Sand, Spice, Dune WithInfantryBody: - AttackSequence: heal + UpgradeTypes: deployed + UpgradeMaxEnabledLevel: 0 + WithSpriteBody@DEPLOYED: + Sequence: thump + UpgradeTypes: deployed + UpgradeMinEnabledLevel: 1 + WithIdleOverlay@DEPLOYED: + Sequence: thump-sand + UpgradeTypes: deployed + UpgradeMinEnabledLevel: 1 + AttractsWorms: + Intensity: 1000 + UpgradeTypes: deployed + UpgradeMinEnabledLevel: 1 + DisableOnUpgrade: + UpgradeTypes: deployed + UpgradeMinEnabledLevel: 1 Passenger: PipType: Blue Voiced: diff --git a/mods/d2k/rules/structures.yaml b/mods/d2k/rules/structures.yaml index cab05e7141..e4d159d9cb 100644 --- a/mods/d2k/rules/structures.yaml +++ b/mods/d2k/rules/structures.yaml @@ -168,9 +168,6 @@ barracks: ProvidesPrerequisite@harkonnen: Prerequisite: barracks.harkonnen Factions: harkonnen - ProvidesPrerequisite@medics: - Prerequisite: barracks.medics - Factions: atreides, ordos Power: Amount: -30 RenderSprites: diff --git a/mods/d2k/sequences/infantry.yaml b/mods/d2k/sequences/infantry.yaml index e0f59cdbc3..746d6bc618 100644 --- a/mods/d2k/sequences/infantry.yaml +++ b/mods/d2k/sequences/infantry.yaml @@ -170,7 +170,7 @@ engineer: Start: 4013 Offset: -30,-24 -medic: # actually thumper +thumper: stand: DATA.R8 Start: 1402 Facings: -8 @@ -196,10 +196,15 @@ medic: # actually thumper Facings: -8 Transpose: true Tick: 120 - heal: DATA.R8 + thump: DATA.R8 Start: 1458 Length: 5 Tick: 480 + thump-sand: DATA.R8 + Start: 3626 + Length: 5 + Tick: 480 + BlendMode: Multiply die1: DATA.R8 Frames: 1543, 1550, 1557, 1564, 1571, 1578, 1585, 1592, 1599, 1600, 1601, 1602 Length: 12