-- UNITDEF -- TLLMSTOR -- -------------------------------------------------------------------------------- local unitName = "tllmstor" -------------------------------------------------------------------------------- local unitDef = { activateWhenBuilt = true, bmcode = 0, buildAngle = 4096, buildCostEnergy = 580, buildCostMetal = 215, builder = false, buildingGroundDecalDecaySpeed = 30, buildingGroundDecalSizeX = 6, buildingGroundDecalSizeY = 6, buildingGroundDecalType = [[tllmstor_aoplane.dds]], buildTime = 3125, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON]], corpse = [[dead]], description = [[Increases Metal Storage (4000)]], designation = [[TL-MS]], energyUse = 0, explodeAs = [[SMALL_BUILDINGEX]], footprintX = 4, footprintZ = 4, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, maxDamage = 1811, maxSlope = 10, maxWaterDepth = 0, metalStorage = 4000, name = [[Metal Storage]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[tllMSTOR]], ovradjust = 1, selfDestructAs = [[SMALL_BUILDING]], side = [[TLL]], sightDistance = 210, unitname = [[tllmstor]], unitnumber = 893, useBuildingGroundDecal = true, workerTime = 0, yardMap = [[oooooooooooooooo]], featureDefs = nil, sounds = { canceldestruct = [[cancel2]], underattack = [[warning1]], count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, select = { [1] = [[stormtl1]], }, }, } -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = true, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 4, footprintZ = 4, height = 12, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllmstor_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Metal Shards]], featurereclamate = [[smudge01]], footprintX = 4, footprintZ = 4, hitdensity = 4, metal = 0.6400 * unitDef.buildCostMetal, object = [[4x4b]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------