-- UNITDEF -- TLLUWFUSION -- -------------------------------------------------------------------------------- local unitName = "tlluwfusion" -------------------------------------------------------------------------------- local unitDef = { activateWhenBuilt = true, bmcode = 0, buildAngle = 8192, buildCostEnergy = 14500, buildCostMetal = 4100, builder = false, buildTime = 120000, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON]], corpse = [[dead]], description = [[Produces Metal and Energy/ Storage]], designation = [[TL-UWF]], downloadable = 1, energyMake = 1000, energyUse = 400, explodeAs = [[ATOMIC_BLAST]], footprintX = 6, footprintZ = 4, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, makesMetal = 6, maxDamage = 3311, maxSlope = 20, -- maxWaterDepth = 255, minWaterDepth = 34, name = [[Underwater Heavy Elemental Reactor]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[tllUWFUSion]], selfDestructAs = [[NUCLEAR_MISSILE]], side = [[TLL]], sightDistance = 110, unitname = [[tlluwfusion]], unitnumber = 867, workerTime = 0, yardMap = [[oooooooooooooooooooooooo]], featureDefs = nil, sounds = { canceldestruct = [[cancel2]], underattack = [[tllwarning]], count = { [1] = [[tllcount]], [2] = [[tllcount]], [3] = [[tllcount]], [4] = [[tllcount]], [5] = [[tllcount]], [6] = [[tllcount]], }, select = { [1] = [[tlluwfusion]], }, }, weaponDefs = nil, weapons = { [1] = { def = [[FUS_SHIELD2]], }, }, } local weaponDefs = { FUS_SHIELD2 = { name = [[PersonalShield]], 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 = [[21 60 0]], shieldPower = 0, shieldPowerRegen = 0, shieldPowerRegenEnergy = 0, shieldRadius = 25, shieldRepulser = true, smartShield = true, visibleShield = true, visibleShieldHitFrames = 70, 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 = 6, footprintZ = 4, height = 12, hitdensity = 123, metal = 0.8000 * unitDef.buildCostMetal, object = [[tlluwfusion_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Metal Shards]], featurereclamate = [[smudge01]], footprintX = 6, footprintZ = 4, hitdensity = 4, metal = 0.6400 * unitDef.buildCostMetal, object = [[4x4d]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------