if not GET_ITEM then function GET_ITEM(section, index) return (section * 512) + index end end local MEUS_KITS = { { -- VERMELHO textura = 900000, X = 6, Y = 5, tempo = 100, itensAvulsos = {{0, 100}, {0, 101}, {1, 65}, {3, 37}, {4, 66}, {5, 82}, {6, 80}, {12, 297}, {12, 298} }, idsDoSet = {200, 201, 213} }, { -- AMARELO textura = 900001, X = 6, Y = 5, tempo = 100, itensAvulsos = {{6, 61}, {12, 214}, }, idsDoSet = {214} }, { -- AZUL textura = 900002, X = 6, Y = 5, tempo = 100, itensAvulsos = {{0, 63},{0, 143},{0, 144},{0, 145}, {6, 62},{6, 92}, {12, 215}, {12, 369},{13, 208}, {12, 366}, {00, 69}, {00, 70}, {12, 212}, {12, 213}, {06, 58}, {13, 280}, {13, 281}, {00, 245}, {00, 246}, {00, 247}, {00, 248}, {00, 249}, {06, 156}, {12, 384}, }, idsDoSet = {215, 253, 207, 192, 191} }, { -- FOGO textura = 900003, X = 10, Y = 10, tempo = 60, itensAvulsos = {{0, 64}, {6, 63},{6, 68},{0, 89},{0, 90},{0, 91}, {12, 216}, {12, 230}, {12, 231}, {13, 219}, }, idsDoSet = {216, 221} }, { -- FUMAÇA BRANCA textura = 900005, X = 6, Y = 6, tempo = 120, itensAvulsos = { {0, 152}, {0, 153}, {1, 106}, {1, 107}, {3, 62}, {3, 63}, {4, 27}, {5, 125}, {6, 126}, {12, 296}, {12, 297}, {12, 372}, {13, 270}, {2, 63}, {2, 62}, {2, 61}, {6, 113}, {12, 312}, {12, 313}, {00, 241}, {00, 242}, {00, 243}, {00, 244}, {06, 155}, {12, 383}, }, idsDoSet = {266, 267, 268, 269, 270, 293, 322, 321, 283, 193, 194, 262} }, } function AplicarEfeitos() do return end -- DESATIVADO (o jogo chama esta funcao sozinho) for _, kit in ipairs(MEUS_KITS) do for _, item in ipairs(kit.itensAvulsos) do AddItemBackgroundAnimated(GET_ITEM(item[1], item[2]), kit.textura, kit.X, kit.Y, kit.tempo) end for _, idS in ipairs(kit.idsDoSet) do for categ = 7, 11 do AddItemBackgroundAnimated(GET_ITEM(categ, idS), kit.textura, kit.X, kit.Y, kit.tempo) end end end end -- DESATIVADO (sem bordas animadas nos itens): AplicarEfeitos()