-- UNITDEF -- TLLTIDE -- -------------------------------------------------------------------------------- local unitName = "tlltide" -------------------------------------------------------------------------------- local unitDef = { activateWhenBuilt = true, bmcode = 0, buildAngle = 8192, buildCostEnergy = 485, buildCostMetal = 95, builder = false, buildTime = 2290, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON]], corpse = [[dead]], description = [[Produces Energy]], designation = [[TLL-TID]], energyUse = 0, explodeAs = [[SMALL_BUILDINGEX]], footprintX = 3, footprintZ = 3, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, maxDamage = 258, maxSlope = 20, minWaterDepth = 18, name = [[Tidal Generator]], noAutoFire = false, noChaseCategory = [[ALL]], noshadow = 1, objectName = [[tllTIDE]], onoffable = true, ovradjust = 1, selfDestructAs = [[SMALL_BUILDING]], side = [[TLL]], sightDistance = 100, sonarDistance = 0, tidalGenerator = 1, unitname = [[tlltide]], unitnumber = 854, waterline = 1, workerTime = 0, yardMap = [[wwwwwwwww]], featureDefs = nil, sounds = { canceldestruct = [[cancel2]], underattack = [[tllwarning]], count = { [1] = [[tllcount]], [2] = [[tllcount]], [3] = [[tllcount]], [4] = [[tllcount]], [5] = [[tllcount]], [6] = [[tllcount]], }, select = { [1] = [[tlltidal]], }, }, } -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = false, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 3, footprintZ = 3, height = 12, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tlltide_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 = 24, metal = 0.6400 * unitDef.buildCostMetal, object = [[3x3b]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------