-- UNITDEF -- TLLASPNS -- -------------------------------------------------------------------------------- local unitName = "tllaspns" -------------------------------------------------------------------------------- local unitDef = { activateWhenBuilt = true, bmcode = 0, buildAngle = 4096, buildCostEnergy = 9180, buildCostMetal = 489, buildDistance = 8, builder = true, buildTime = 29537, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON]], corpse = [[dead]], description = [[Automatically Repairs Aircraft - Naval Series]], designation = [[TL-RPNS]], energyMake = 10, energyStorage = 100, energyUse = 0, explodeAs = [[BIG_UNITEX]], footprintX = 4, footprintZ = 4, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, isAirBase = true, maxDamage = 680, maxSlope = 14, minWaterDepth = 15, name = [[Air Repair Pad NS]], noAutoFire = false, noChaseCategory = [[ALL]], noshadow = 1, objectName = [[tllaspns]], onoffable = true, ovradjust = 1, selfDestructAs = [[BIG_UNIT]], side = [[TLL]], sightDistance = 175, sortbias = 0, unitname = [[tllaspns]], unitnumber = 881, waterline = 13, workerTime = 2000, yardMap = [[wwww wwww wwww wwww]], featureDefs = nil, sounds = { build = [[pairwork]], canceldestruct = [[cancel2]], underattack = [[warning1]], unitcomplete = [[untdone]], count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, select = { [1] = [[pairactv]], }, }, } -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = true, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 4, footprintZ = 4, height = 20, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllaspns_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Wreckage]], featurereclamate = [[smudge01]], footprintX = 4, footprintZ = 4, height = 4, hitdensity = 100, metal = 0.6400 * unitDef.buildCostMetal, object = [[4x4a]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------