-- UNITDEF -- TLLMOHOGEO -- -------------------------------------------------------------------------------- local unitName = "tllmohogeo" -------------------------------------------------------------------------------- local unitDef = { activateWhenBuilt = true, bmcode = 0, buildAngle = 8192, buildCostEnergy = 12000, buildCostMetal = 5950, builder = false, buildingGroundDecalDecaySpeed = 30, buildingGroundDecalSizeX = 6, buildingGroundDecalSizeY = 6, buildingGroundDecalType = [[tllmohogeo_aoplane.dds]], buildTime = 160000, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON]], corpse = [[tllmohogeo_dead]], description = [[Hazardous Geothermal Foundry Produces Energy/Metal]], designation = [[]], energyMake = 3000, energyStorage = 3000, energyUse = 2500, explodeAs = [[NUCLEAR_MISSILE]], footprintX = 4, footprintZ = 4, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, makesMetal = 35, maxDamage = 5320, maxSlope = 10, maxWaterDepth = 0, metalStorage = 600, name = [[Moho Geothermal Foundry]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[TLLMOHOGEO]], onoffable = false, selfDestructAs = [[NUCLEAR_MISSILE]], side = [[TLL]], sightDistance = 210, unitname = [[tllmohogeo]], unitnumber = 803, useBuildingGroundDecal = true, yardMap = [[GGGGGGGGGGGGGGGG]], featureDefs = nil, sfxtypes = { explosiongenerators = { [1] = [[custom:PILOT]], }, }, sounds = { activate = [[tllgeo]], canceldestruct = [[cancel2]], deactivate = [[tllgeooff]], underattack = [[tllwarning]], count = { [1] = [[tllcount]], [2] = [[tllcount]], [3] = [[tllcount]], [4] = [[tllcount]], [5] = [[tllcount]], [6] = [[tllcount]], }, select = { [1] = [[tllgeosel]], }, }, } -------------------------------------------------------------------------------- local featureDefs = { tllmohogeo_dead = { blocking = true, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[wreckage]], featureDead = [[tllmohogeo_heap]], featurereclamate = [[smudge01]], footprintX = 4, footprintZ = 4, height = 21, hitdensity = 105, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllmex_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, tllmohogeo_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 = [[4x4a]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[All Worlds]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------