{ "objectName" : "standingturret", "printable" : false, "rarity" : "Common", "objectType" : "container", "price" : 750, "slotCount" : 1, "uiConfig" : "/interface/turret/standingturret.config", "frameCooldown" : 5, "autoCloseCooldown" : 3600, "containerCallback" : "containerCallback", "description" : "Turret for your protection! Can only be placed once.", "shortdescription" : "Defense Turret", "subtitle" : "Automatic Base Defense", "race" : "generic", "category" : "wire", "breakDropOptions" : [ [ [ "circuitboard", 1, { } ], [ "laserdiode", 1, { } ] ] ], "apexDescription" : "Always watchful.", "avianDescription" : "The monsters don't stand a chance, unless they can fly.", "floranDescription" : "Effective againssst living thingsss.", "glitchDescription" : "Care. Must not disrupt my brother in his vigilance.", "humanDescription" : "An automated security system.", "hylotlDescription" : "Looks like a turret of some sort.", "inventoryIcon" : "icon.png", "orientations" : [ { "dualImage" : "turretstand.png:bottom", "imagePosition" : [-16, 0], "imageLayers" : [ { "image" : "turretstand.png:bottom" }, { "image" : "turretgun.png:dead" } ], "spaces" : [ [-2, 0], [-1, 0], [0, 0], [1, 0], [-2, 1], [-1, 1], [0, 1], [1, 1] ], "anchors" : [ "bottom" ], "animationParts" : { "gun" : "turretgun.png", "stand" : "turretstand.png:bottom", "energybottom" : "energy.png", "energytop" : "emptyenergy.png", "energyside" : "emptyenergy.png" }, "animationPosition" : [0, 16], "baseOffset" : [0, 2] }, { "dualImage" : "turretstand.png:top", "imagePosition" : [-16, -24], "imageLayers" : [ { "image" : "turretstand.png:top" }, { "image" : "turretgun.png:dead" } ], "spaces" : [ [-2, -1], [-1, -1], [0, -1], [1, -1], [-2, 0], [-1, 0], [0, 0], [1, 0] ], "anchors" : [ "top" ], "animationParts" : { "gun" : "turretgun.png", "stand" : "turretstand.png:top", "energybottom" : "emptyenergy.png", "energytop" : "energy.png", "energyside" : "emptyenergy.png" }, "animationPosition" : [0, -8], "baseOffset" : [0, -1] }, { "image" : "turretstand.png:left", "imagePosition" : [0, 0], "imageLayers" : [ { "image" : "turretstand.png:left" }, { "image" : "turretgun.png:dead" } ], "spaces" : [ [0, 0], [1, 0], [0, 1], [1, 1], [0, 2], [1, 2] ], "anchors" : [ "left" ], "direction" : "right", "animationParts" : { "gun" : "turretgun.png", "stand" : "turretstand.png:left", "energybottom" : "emptyenergy.png", "energytop" : "emptyenergy.png", "energyside" : "energy.png" }, "animationPosition" : [16, 16], "baseOffset" : [2, 2] }, { "image" : "turretstand.png:left", "imagePosition" : [-24, 0], "spaces" : [ [-1, 0], [0, 0], [-1, 1], [0, 1], [-1, 2], [0, 2] ], "anchors" : [ "right" ], "direction" : "left", "imageLayers" : [ { "image" : "turretstand.png:left?flipx" }, { "image" : "turretgun.png:dead?flipx" } ], "animationParts" : { "gun" : "turretgun.png", "stand" : "turretstand.png:left", "energybottom" : "emptyenergy.png", "energytop" : "emptyenergy.png", "energyside" : "energy.png" }, "animationPosition" : [-8, 16], "baseOffset" : [-1, 2] } ], "objectWidth" : 4, "animation" : "standingturret.animation", "scripts" : [ "/objects/wired/standingturret/standingturret.lua", "/scripts/stateMachine.lua", "/scripts/util.lua", "/scripts/vec2.lua" ], "damageTeam" : { "type" : "friendly" }, "scriptDelta" : 5, "outboundNodes" : [ [0, 0] ], "inboundNodes" : [ [0, 1] ], "tipOffset" : [2.5, 0], "rotationTime" : 5, "rotationRange" : 30, "minTargetRange" : 2.5, "targetRange" : 50, "targetAngleRange" : 40, "targetOffset" : [0, -0.5], "letGoCooldown" : 0.5, "targetCooldown" : 0.5, "maxTrackingYVel" : 2.5, "energy" : { "baseEnergy" : 100, "energyRegen" : 5 } }