-- UNITDEF -- TLLASP -- -------------------------------------------------------------------------------- local unitName = "tllasp" -------------------------------------------------------------------------------- local unitDef = { activateWhenBuilt = true, bmcode = 0, buildAngle = 4096, buildCostEnergy = 8953, buildCostMetal = 451, buildDistance = 8, builder = true, buildingGroundDecalDecaySpeed = 30, buildingGroundDecalSizeX = 6, buildingGroundDecalSizeY = 6, buildingGroundDecalType = [[tllasp_aoplane.dds]], buildTime = 24760, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON]], corpse = [[dead]], description = [[Automatically Repairs Aircraft]], designation = [[]], energyMake = 10, energyStorage = 100, energyUse = 0, explodeAs = [[BIG_UNITEX]], footprintX = 4, footprintZ = 4, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, isAirBase = true, maxDamage = 718, maxSlope = 10, maxWaterDepth = 1, name = [[Air Repair Pad]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[TLLASP]], onoffable = true, selfDestructAs = [[BIG_UNIT]], side = [[TLL]], sightDistance = 193, unitname = [[tllasp]], unitnumber = 805, useBuildingGroundDecal = true, workerTime = 2000, yardMap = [[oooo oooo oooo oooo]], 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 = 21, hitdensity = 105, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllasp_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 = 2, hitdensity = 105, metal = 0.6400 * unitDef.buildCostMetal, object = [[4x4B]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------