-- UNITDEF -- TLLUWJAM -- -------------------------------------------------------------------------------- local unitName = "tlluwjam" -------------------------------------------------------------------------------- local unitDef = { activateWhenBuilt = true, bmcode = 0, buildAngle = 8192, buildCostEnergy = 803, buildCostMetal = 121, builder = false, buildTime = 4912, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON]], corpse = [[dead]], description = [[Sonar Jammer]], designation = [[TL-uwj]], energyMake = 0, energyStorage = 0, energyUse = 15, explodeAs = [[SMALL_BUILDINGEX]], footprintX = 3, footprintZ = 3, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, maxDamage = 250, maxSlope = 20, metalStorage = 0, minWaterDepth = 30, name = [[UW Sonar Jammer]], noAutoFire = false, noChaseCategory = [[ALL]], noshadow = 1, objectName = [[TLLuwjam]], onoffable = true, ovradjust = 1, selfDestructAs = [[SMALL_BUILDING]], side = [[TLL]], sightDistance = 175, sonarDistanceJam = 750, unitname = [[tlluwjam]], unitnumber = 869, waterline = 7, workerTime = 0, yardMap = [[ooooooooo]], featureDefs = nil, sounds = { canceldestruct = [[cancel2]], underattack = [[warning1]], cant = { [1] = [[cantdo4]], }, count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, ok = { [1] = [[kbarmmov]], }, select = { [1] = [[radjam1]], }, }, } -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = true, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 3, footprintZ = 3, height = 12, hitdensity = 103, metal = 0.8000 * unitDef.buildCostMetal, object = [[tlluwjam_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Metal Shards]], featurereclamate = [[smudge01]], footprintX = 3, footprintZ = 3, hitdensity = 5, metal = 0.6400 * unitDef.buildCostMetal, object = [[3x3e]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------