Repo-wide formatting pass

This commit is contained in:
cardboardbread committed 2026-09-18 07:14:49 -04:00
1 parent 20b5d31836
commit 62ade7ea45
291 files changed
+1405 -1423

No files matched your search

+38 -36
View File
@@ -6,44 +6,46 @@ local Effects = import('/lua/effecttemplates.lua')
HHMADDOGE = Class(TWalkingLandUnit) {
Weapons = {
HAG = Class(TDFHeavyPlasmaCannonWeapon)
{
PlayFxWeaponPackSequence = function(self)
if self.SpinManip then
self.SpinManip:SetTargetSpeed(0)
self.SpinManip2:SetTargetSpeed(0)
end
self.ExhaustEffects = EffectUtils.CreateBoneEffects( self.unit, 'L_Exhaust', self.unit:GetArmy(), Effects.WeaponSteam01 )
TDFHeavyPlasmaCannonWeapon.PlayFxWeaponPackSequence(self)
end,
HAG = Class(TDFHeavyPlasmaCannonWeapon)
{
PlayFxWeaponPackSequence = function(self)
if self.SpinManip then
self.SpinManip:SetTargetSpeed(0)
self.SpinManip2:SetTargetSpeed(0)
end
self.ExhaustEffects = EffectUtils.CreateBoneEffects(self.unit, 'L_Exhaust', self.unit:GetArmy(),
Effects.WeaponSteam01)
TDFHeavyPlasmaCannonWeapon.PlayFxWeaponPackSequence(self)
end,
PlayFxRackSalvoChargeSequence = function(self)
if not self.SpinManip then
self.SpinManip = CreateRotator(self.unit, 'L_Gun_Barrel', 'z', nil, 270, 180, 60)
self.SpinManip2 = CreateRotator(self.unit, 'R_Gun_Barrel', 'z', nil, 270, 180, 60)
self.unit.Trash:Add(self.SpinManip)
end
if self.SpinManip then
self.SpinManip:SetTargetSpeed(500)
self.SpinManip2:SetTargetSpeed(500)
end
TDFHeavyPlasmaCannonWeapon.PlayFxRackSalvoChargeSequence(self)
end,
PlayFxRackSalvoReloadSequence = function(self)
if self.SpinManip then
self.SpinManip:SetTargetSpeed(200)
self.SpinManip2:SetTargetSpeed(200)
end
self.ExhaustEffects = EffectUtils.CreateBoneEffects( self.unit, 'L_Exhaust', self.unit:GetArmy(), Effects.WeaponSteam01 )
TDFHeavyPlasmaCannonWeapon.PlayFxRackSalvoChargeSequence(self)
end,
},
PlayFxRackSalvoChargeSequence = function(self)
if not self.SpinManip then
self.SpinManip = CreateRotator(self.unit, 'L_Gun_Barrel', 'z', nil, 270, 180, 60)
self.SpinManip2 = CreateRotator(self.unit, 'R_Gun_Barrel', 'z', nil, 270, 180, 60)
self.unit.Trash:Add(self.SpinManip)
end
if self.SpinManip then
self.SpinManip:SetTargetSpeed(500)
self.SpinManip2:SetTargetSpeed(500)
end
TDFHeavyPlasmaCannonWeapon.PlayFxRackSalvoChargeSequence(self)
end,
PlayFxRackSalvoReloadSequence = function(self)
if self.SpinManip then
self.SpinManip:SetTargetSpeed(200)
self.SpinManip2:SetTargetSpeed(200)
end
self.ExhaustEffects = EffectUtils.CreateBoneEffects(self.unit, 'L_Exhaust', self.unit:GetArmy(),
Effects.WeaponSteam01)
TDFHeavyPlasmaCannonWeapon.PlayFxRackSalvoChargeSequence(self)
end,
},
},
}
TypeClass = HHMADDOGE
TypeClass = HHMADDOGE