-- UNITDEF -- TLLCOLDFUS -- -------------------------------------------------------------------------------- local unitName = "tllcoldfus" -------------------------------------------------------------------------------- local unitDef = { activateWhenBuilt = true, bmcode = 0, buildAngle = 4096, buildCostEnergy = 25000, buildCostMetal = 6176, builder = false, buildingGroundDecalDecaySpeed = 30, buildingGroundDecalSizeX = 8, buildingGroundDecalSizeY = 8, buildingGroundDecalType = [[tllcoldfus_aoplane.dds]], buildTime = 138000, category = [[ALL NOTDEFENSE NOTHOVERNOTVTOL NOTMOBILE NOTSUB NOTSUBNOTSHIP NOTVTOL NOTWEAPON]], corpse = [[dead]], description = [[Produces Metals and Energy / Storage]], designation = [[TL-CF]], downloadable = 1, energyMake = 2500, energyStorage = 40000, energyUse = 1500, explodeAs = [[NUCLEAR_MISSILE]], footprintX = 5, footprintZ = 5, iconType = [[building]], idleAutoHeal = 5, idleTime = 1800, makesMetal = 21, maxDamage = 8900, maxSlope = 10, maxWaterDepth = 0, metalStorage = 0, name = [[Singular Hadron Emission Reactor]], noAutoFire = false, noChaseCategory = [[ALL]], objectName = [[TLLCOLDFUS]], radarDistance = 0, selfDestructAs = [[CRBLMSSL]], side = [[TLL]], sightDistance = 210, unitname = [[tllcoldfus]], unitnumber = 922, useBuildingGroundDecal = true, workerTime = 0, yardMap = [[ooooo ooooo ooooo ooooo ooooo]], featureDefs = nil, sfxtypes = { explosiongenerators = { [1] = "custom:muzzleflaretiny", [2] = "custom:PILOT", }, }, sounds = { canceldestruct = [[cancel2]], underattack = [[warning1]], count = { [1] = [[count6]], [2] = [[count5]], [3] = [[count4]], [4] = [[count3]], [5] = [[count2]], [6] = [[count1]], }, select = { [1] = [[fusion1]], }, }, weaponDefs = nil, weapons = { [1] = { def = "TLL_FLAME", }, [2] = { def = "TLL_FLAME", slaveto = 1, }, [3] = { def = [[FUS_SHIELD]], }, }, } local weaponDefs = { FUS_SHIELD = { name = [[FusionShield]], rgbColor = [[1.000 0.000 0.000]], shieldAlpha = 0.45, shieldBadColor = [[1 0.2 0.2]], shieldEnergyUse = 0, shieldForce = 0, shieldGoodColor = [[0.2 1 0.2]], shieldInterceptType = 0, shieldMaxSpeed = 0, shieldOffset = [[-9 44 0]], shieldPower = 0, shieldPowerRegen = 0, shieldPowerRegenEnergy = 0, shieldRadius = 20, shieldRepulser = true, smartShield = true, visibleShield = true, visibleShieldHitFrames = 0, visibleShieldRepulse = true, weaponType = [[Shield]], damage = { default = 0, }, }, tll_flame = { areaofeffect = 48, avoidfeature = false, beamlaser = 1, beamTime = 0.15, burst = 10, burstrate = 0.01, craterareaofeffect = 0, craterboost = 0, cratermult = 0, firestarter = 100, flamegfxtime = 1.1, groundbounce = true, impulseboost = 0, impulsefactor = 0, intensity = 0.6, name = "FlameThrower", noselfdamage = true, range = 500, reloadtime = 0.1, rgbcolor = "1 0.95 0.9", rgbcolor2 = "0.9 0.85 0.8", sizegrowth = 1.1, soundhitwet = "sizzle", soundhitwetvolume = 0.5, soundstart = "emgpuls2", soundtrigger = false, sprayangle = 800, tolerance = 2500, turret = true, weapontimer = 1.5, weapontype = "BeamLaser", weaponvelocity = 300, damage = { default = 16, flamethrowers = 6, raider_resistant = 8, subs = 5, }, }, } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- local featureDefs = { dead = { blocking = true, category = [[tll_corpses]], damage = 0.6000 * unitDef.maxDamage, description = [[Wreckage]], featureDead = [[heap]], featurereclamate = [[smudge01]], footprintX = 5, footprintZ = 5, height = 12, hitdensity = 100, metal = 0.8000 * unitDef.buildCostMetal, object = [[tllcoldfus_dead]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, heap = { blocking = false, category = [[heaps]], damage = 0.3600 * unitDef.maxDamage, description = [[Metal Shards]], featurereclamate = [[smudge01]], footprintX = 5, footprintZ = 5, hitdensity = 5, metal = 0.6400 * unitDef.buildCostMetal, object = [[5x5a]], reclaimable = true, seqnamereclamate = [[tree1reclamate]], world = [[all]], }, } unitDef.featureDefs = featureDefs -------------------------------------------------------------------------------- return lowerkeys({[unitName] = unitDef}) --------------------------------------------------------------------------------