
##-------------------------------------------------------------------------
## UEF units

##-- shields

#structures

UnitBlueprint {
	Merge = true,
	BlueprintId="ueb4202", #UEF T2 Shield Gen
	
	ModIconName = '4dc',
	
	AddExtraCategories = {
		SHIELDRESIZER = true,
    },
    	
    Display = {	
		Abilities = {
            'Shield Enhancements',
        },
    },
	
	Defense = {
		Shield = {
			ShieldSlider = true,
			AdjustEnergy = true,
		},
	},
				 
    Enhancements = {
		Slots = {
			Shields = {
				name = '<LOC _Shields>',
				x = 5,
				y = 10,
			},
		},
		
		InstantShield = {
			BuildCostEnergy = 1000,
			BuildCostMass = 200,
			BuildTime = 300,
			Icon = 'ist',
			Name = 'Instant Shield',
			Slot = 'Shields',
				
			MaintenanceConsumptionPerSecondEnergy = 300,
				
			ImpactEffects = 'UEFShieldHit01',
            ImpactMesh = '/effects/entities/ShieldSection01/ShieldSection01_mesh',
            Mesh = '/effects/entities/Shield01/Shield01_mesh',
            MeshZ = '/effects/entities/Shield01/Shield01z_mesh',
			
            RegenAssistMult = 80,
            ShieldEnergyDrainRechargeTime = 3,
            ShieldMaxHealth = 12000,
            ShieldRechargeTime = 11.25,
			ShieldRegenRate = 150,
            ShieldRegenStartTime = 1,
            ShieldVerticalOffset = -3,
			
			-----------------------------------------------
			InstantShield = true,
			ShieldRadius = 26,
			ShieldSlider = true,
			AdjustEnergy = true,
								
			UpgradeUnitAmbientBones = {
				'UEB4202',
			},
		},
		
		InstantShieldRemove = {
			BuildCostEnergy = 1,
			BuildCostMass = 1,
			BuildTime = 0.1,
			Icon = 'ist',
			Name = 'Remove Instant Shield',
			Prerequisite = 'InstantShield',
			RemoveEnhancements = {
				'InstantShield',
				'InstantShieldRemove',
			},
			Slot = 'Shields',
		},
	},
}

UnitBlueprint {
	Merge = true,
	BlueprintId="ueb4301", #UEF T3 Shield Gen
	
	ModIconName = '4dc',
	
	AddExtraCategories = {
		SHIELDRESIZER = true,
    },
    	
    Display = {	
		Abilities = {
            'Shield Enhancements',
        },
    },
	
	Defense = {
		Shield = {
			ShieldSlider = true,
			AdjustEnergy = true,
		},
	},
		 		
    Enhancements = {
		Slots = {
			Shields = {
				name = '<LOC _Shields>',
				x = 5,
				y = 10,
			},
		},
		
		InstantShield = {
			BuildCostEnergy = 1500,
			BuildCostMass = 300,
			BuildTime = 20,
			Icon = 'ist',
			Name = 'Instant Shield',
			Slot = 'Shields',
				
			MaintenanceConsumptionPerSecondEnergy = 400,
				
			ImpactEffects = 'UEFShieldHit01',
            ImpactMesh = '/effects/entities/ShieldSection01/ShieldSection01_mesh',
            Mesh = '/effects/entities/Shield01/Shield01_mesh',
            MeshZ = '/effects/entities/Shield01/Shield01z_mesh',
            RegenAssistMult = 80,
            ShieldEnergyDrainRechargeTime = 1,
            ShieldMaxHealth = 18000,
            ShieldRechargeTime = 11.5,
			ShieldRegenRate = 196.5,
            ShieldRegenStartTime = 1,
            ShieldVerticalOffset = -6,
			
			-----------------------------------------------
			InstantShield = true,
			ShieldRadius = 44,
			ShieldSlider = true,
			AdjustEnergy = true,
								
			UpgradeUnitAmbientBones = {
				'UEB4301',
			},
		},
		
		InstantShieldRemove = {
			BuildCostEnergy = 1,
			BuildCostMass = 1,
			BuildTime = 0.1,
			Icon = 'ist',
			Name = 'Remove Instant Shield',
			Prerequisite = 'InstantShield',
			RemoveEnhancements = {
				'InstantShield',
				'InstantShieldRemove',
			},
			Slot = 'Shields',
		},
	},
}

##mobile units

UnitBlueprint {
	Merge = true,
	BlueprintId="uel0401", #UEF FATBOY
	
	ModIconName = '4dc',

	Abilities = {		
		RallyPoint = true,
	},

	AddExtraCategories = {
		SHIELDRESIZER = true,
		SHIELD = true,
    },
	
	Defense = {
		Shield = {
			MaintenanceConsumptionPerSecondEnergy = 600,
				
			 ImpactEffects = 'UEFShieldHit01',
            ImpactMesh = '/effects/entities/ShieldSection01/ShieldSection01_mesh',
            Mesh = '/effects/entities/Shield01/Shield01_mesh',
            MeshZ = '/effects/entities/Shield01/Shield01z_mesh',
            RegenAssistMult = 60,
            ShieldEnergyDrainRechargeTime = 5,
            ShieldMaxHealth = 20000,
            ShieldRechargeTime = 80,
            ShieldRegenRate = 128,
            ShieldRegenStartTime = 1,
            ShieldSize = 25,
            ShieldVerticalOffset = -7,
			
			-----------------------------------------------
			InstantShield = true,
			ShieldRadius = 25,
			ShieldSlider = true,
			AdjustEnergy = true,
		
		},
	},
}

UnitBlueprint {
	Merge = true,
	BlueprintId="uel0307", #uef t2 mobile Shield Gen
	
	ModIconName = '4dc',
	
	AddExtraCategories = {
		SHIELDRESIZER = true,
    },
	
	Display = {	
		Abilities = {
            'Shield Enhancements',
        },
    },
    		
	Defense = {
		Shield = {				
			ImpactEffects = 'UEFShieldHit01',
            ImpactMesh = '/effects/entities/ShieldSection01/ShieldSection01_mesh',
            Mesh = '/effects/entities/Shield01/Shield01_mesh',
            MeshZ = '/effects/entities/Shield01/Shield01z_mesh',
            RegenAssistMult = 60,
            ShieldEnergyDrainRechargeTime = 5,
            ShieldMaxHealth = 4000,
            ShieldRechargeTime = 24,
            ShieldRegenRate = 55,
            ShieldRegenStartTime = 1,
            ShieldVerticalOffset = -3,
			
			-----------------------------------------------
			InstantShield = true,
			ShieldRadius = 16,
		},
	},
		
	Enhancements = {
		Slots = {
			Shields = {
				name = '<LOC _Shields>',
				x = 5,
				y = 10,
			},
		},
		
		ShieldBoost = {
			BuildCostEnergy = 110,
			BuildCostMass = 60,
			BuildTime = 11,
			Icon = 'ist',
			Name = 'Shield Boost',
			Slot = 'Shields',
				
			MaintenanceConsumptionPerSecondEnergy = 125,
            ShieldEnergyDrainRechargeTime = 2,
            ShieldMaxHealth = 5000,
            ShieldRechargeTime = 18,
			ShieldRegenRate = 68.75,
			
			-----------------------------------------------
								
			UpgradeUnitAmbientBones = {
				'UEL0307',
			},
		},
		
		ShieldBoostRemove = {
			BuildCostEnergy = 1,
			BuildCostMass = 1,
			BuildTime = 0.1,
			Icon = 'ist',
			Name = 'Remove Shield Boost',
			Prerequisite = 'ShieldBoost',
			RemoveEnhancements = {
				'ShieldBoost',
				'ShieldBoostRemove',
			},
			Slot = 'Shields',
		},
	},
}

##SEA UNITS

UnitBlueprint {
	Merge = true,
	BlueprintId="xes0205", #uef t2 shield boat
	
	ModIconName = '4dc',
	
	AddExtraCategories = {
		SHIELDRESIZER = true,
    },
	
	Display = {	
		Abilities = {
            'Shield Enhancements',
        },
    },
    		
	Defense = {
		Shield = {
			ImpactEffects = 'UEFShieldHit01',
            ImpactMesh = '/effects/entities/ShieldSection01/ShieldSection01_mesh',
            Mesh = '/effects/entities/Shield01/Shield01_mesh',
            MeshZ = '/effects/entities/Shield01/Shield01z_mesh',
            RegenAssistMult = 60,
            ShieldEnergyDrainRechargeTime = 5,
            ShieldMaxHealth = 8000,
            ShieldRechargeTime = 32,
            ShieldRegenRate = 80,
            ShieldRegenStartTime = 1,
            ShieldSize = 120,
            ShieldVerticalOffset = -50,
			
			-----------------------------------------------
			InstantShield = true,
			ShieldRadius = 120,
		
		},
	},
	
	Enhancements = {
		Slots = {
			Shields = {
				name = '<LOC _Shields>',
				x = 5,
				y = 10,
			},
		},
		
		ShieldBoost = {
			BuildCostEnergy = 150,
			BuildCostMass = 70,
			BuildTime = 14,
			Icon = 'ist',
			Name = 'Shield Boost',
			Slot = 'Shields',
			
			MaintenanceConsumptionPerSecondEnergy = 188,
			ShieldEnergyDrainRechargeTime = 2,
            ShieldMaxHealth = 10000,
            ShieldRechargeTime = 28,
            ShieldRegenRate = 100,
			
			-----------------------------------------------
								
			UpgradeUnitAmbientBones = {
				'XES0205',
			},
		},
		
		ShieldBoostRemove = {
			BuildCostEnergy = 1,
			BuildCostMass = 1,
			BuildTime = 0.1,
			Icon = 'ist',
			Name = 'Remove Shield Boost',
			Prerequisite = 'ShieldBoost',
			RemoveEnhancements = {
				'ShieldBoost',
				'ShieldBoostRemove',
			},
			Slot = 'Shields',
		},
	},
}
