1dirname = path.dirname(__file__) 2 3world:new_immovable_type{ 4 name = "deadtree3", 5 descname = _ "Dead Tree", 6 editor_category = "trees_dead", 7 size = "none", 8 attributes = {}, 9 programs = { 10 program = { 11 "animate=idle 20000", 12 "remove=16" 13 } 14 }, 15 animations = { 16 idle = { 17 pictures = path.list_files(dirname .. "idle.png"), 18 hotspot = { 23, 61 }, 19 }, 20 } 21} 22