-- UNITDEF -- TLLMEGACOLDFUS -- -------------------------------------------------------------------------------- local unitName = "tllmegacoldfus" -------------------------------------------------------------------------------- local unitDef = { activateWhenBuilt = true, bmcode = 0, buildAngle = 4096, buildCostEnergy = 290000, buildCostMetal = 58900, builder = false, buildingGroundDecalDecaySpeed = 30, buildingGroundDecalSizeX = 10, buildingGroundDecalSizeY = 10, buildingGroundDecalType = [[tllmegacoldfus_aoplane.dds]], buildTime = 1500000, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON]], corpse = [[dead]], description = [[Produces Metal and Energy/ Storage]], designation = [[TL-CF]], downloadable = 1, energyMake = 14500, energyStorage = 29000, energyUse = 11500, explodeAs = [[SUPERBLAST_BUILDING]], footprintX = 7, footprintZ = 7, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, makesMetal = 180, maxDamage = 12000, maxSlope = 10, maxWaterDepth = 0, metalStorage = 0, name = [[Dark Matter Converter]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[TLLMEGACOLDFUS]], radarDistance = 0, selfDestructAs = [[SUPERBLAST_BUILDING]], side = [[TLL]], sightDistance = 210, unitname = [[tllmegacoldfus]], unitnumber = 922, useBuildingGroundDecal = true, workerTime = 0, yardMap = [[ooooooo ooooooo ooooooo ooooooo ooooooo ooooooo ooooooo]], featureDefs = nil, sfxtypes = { explosiongenerators = { [1] = [[custom:SmallWhiteLight]], }, }, sounds = { canceldestruct = [[cancel2]], underattack = [[warning1]], count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, select = { [1] = [[fusion1]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[FUS_SHIELD]], }, }, } local weaponDefs = { FUS_SHIELD = { name = [[FusionShield]], rgbColor = [[1.000 0.000 0.000]], shieldAlpha = 0.45, shieldBadColor = [[1 0.2 0.2]], shieldEnergyUse = 0, shieldForce = 0, shieldGoodColor = [[0.2 1 0.2]], shieldInterceptType = 0, shieldMaxSpeed = 0, shieldOffset = [[0 95 0]], shieldPower = 0, shieldPowerRegen = 0, shieldPowerRegenEnergy = 0, shieldRadius = 30, shieldRepulser = true, smartShield = true, visibleShield = true, visibleShieldHitFrames = 0, visibleShieldRepulse = true, weaponType = [[Shield]], damage = { default = 0, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = true, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 5, footprintZ = 5, height = 12, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllmegacoldfus_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Metal Shards]], featurereclamate = [[smudge01]], footprintX = 5, footprintZ = 5, hitdensity = 5, metal = 0.6400 * unitDef.buildCostMetal, object = [[5x5a]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------