local drawableSprite = require("structs.drawable_sprite")
local utils = require("utils")
local aelperLib = require("mods").requireFromPlugin("libraries.aelper_lib")

local entity = {}

entity.name = aelperLib.register_template_name("auspicioushelper/TemplateIceblock")
entity.depth = -13000

entity.placements = {
  {
    name = "Template Iceblock",
    data = {
      template = "",
      depthoffset=0,
      sinkTime="1",
      sinkDist="12",
      respawnTime="1.6",
      triggerable=true,
      ridingTriggers=true,
      disconnect=true,
      quiet=0,
      followGravity=true,
      _loenn_display_template = true,
    }
  }
}
entity.fieldOrder = {
  "x","y", "template","depthoffset","sinkTime","sinkDist"
}
entity.fieldInformation = function(entity)
    return {
        template = {
            options = aelperLib.get_template_options(entity)
        }
    }
end

entity.selection = aelperLib.template_selection
entity.draw = aelperLib.get_entity_draw("tcore")

return entity