1-- Animation file descriptor
2-- This file will describe the frames used to load an animation
3
4animation = {
5
6    -- The file to load the frames from
7    image_filename = "data/entities/battle/effects/magic_shield.png",
8    -- The number of rows and columns of images, will be used to compute
9    -- the images width and height, and also the frames number (row x col)
10    rows = 4,
11    columns = 4,
12    -- set the image dimensions on battles (in pixels)
13    frame_width = 256.0,
14    frame_height = 256.0,
15    -- The frames duration in milliseconds
16    frames = {
17        [0] = { id = 0, duration = 50 },
18        [1] = { id = 1, duration = 50 },
19        [2] = { id = 2, duration = 50 },
20        [3] = { id = 3, duration = 50 },
21        [4] = { id = 4, duration = 50 },
22        [5] = { id = 5, duration = 50 },
23        [6] = { id = 6, duration = 50 },
24        [7] = { id = 7, duration = 50 },
25        [8] = { id = 8, duration = 50 },
26        [9] = { id = 9, duration = 50 },
27        [10] = { id = 10, duration = 50 },
28        [11] = { id = 11, duration = 50 },
29        [12] = { id = 12, duration = 50 },
30        [13] = { id = 13, duration = 50 },
31        [14] = { id = 14, duration = 50 },
32        [15] = { id = 15, duration = 0 }, -- 0 means forever
33    }
34}
35