-- UNITDEF -- TLLAAP -- -------------------------------------------------------------------------------- local unitName = "tllaap" -------------------------------------------------------------------------------- local unitDef = { bmcode = 0, buildCostEnergy = 19400, buildCostMetal = 4070, builder = true, buildingGroundDecalDecaySpeed = 30, buildingGroundDecalSizeX = 10, buildingGroundDecalSizeY = 10, buildingGroundDecalType = [[tllaap_aoplane.dds]], buildTime = 30000, canMove = true, canPatrol = true, canstop = 1, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON PLANT]], corpse = [[dead]], damageModifier = 0.85, description = [[Produces T2 Aircraft]], designation = [[TL-AAP]], energyStorage = 200, energyUse = 0, explodeAs = [[LARGE_BUILDINGEX]], firestandorders = 1, footprintX = 7, footprintZ = 7, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, maxDamage = 3250, maxSlope = 10, maxWaterDepth = 0, metalStorage = 200, mobilestandorders = 1, name = [[Advanced Aircraft Plant]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[TLLAAP]], ovradjust = 1, radarDistance = 1200, selfDestructAs = [[LARGE_BUILDING]], side = [[TLL]], sightDistance = 240, standingfireorder = 2, standingmoveorder = 1, unitname = [[tllaap]], unitnumber = 883, useBuildingGroundDecal = true, workerTime = 420, yardMap = [[ooooooo occccco occccco occccco occccco occccco ooooooo]], buildoptions = { [1] = [[tllaca]], [2] = [[tllcopter]], [3] = [[tllabomber]], [4] = [[tlltorpp]], [5] = [[tlladvfight]], [6] = [[tllrsplane]], [7] = [[tllrobber]], }, 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 = 7, footprintZ = 7, height = 20, hitdensity = 100, metal = 0.6141 * unitDef.buildCostMetal, object = [[tllaap_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Wreckage]], featurereclamate = [[smudge01]], footprintX = 7, footprintZ = 7, height = 4, hitdensity = 100, metal = 0.4912 * unitDef.buildCostMetal, object = [[6x6a]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------