fix rainbow ani

M  init.lua
This commit is contained in:
HybridDog 2016-07-28 08:12:27 +02:00
parent ce02f305bd
commit 407ac6b605

View File

@ -466,13 +466,13 @@ local nt = {
"^[transformFX".. "^[transformFX"..
"^[combine:16x16:16,0=nyancat_rainbow.png^[transformR90", "^[combine:16x16:16,0=nyancat_rainbow.png^[transformR90",
"default_water_source_animated.png^[verticalframe:8:1".. "default_water_source_animated.png^[verticalframe:8:1"..
"^nyancat_rainbow.png".. "^(nyancat_rainbow.png)"..
"^[transformFX".. "^[transformFX"..
"^[combine:16x16:0,16=nyancat_rainbow.png", "^[combine:16x16:0,16=nyancat_rainbow.png",
} }
for i = 1,2 do for i = 1,2 do
nt[i] = { nt[2*i-1] = {
name = nt[i], name = nt[i],
animation = { animation = {
type = "vertical_frames", type = "vertical_frames",
@ -483,7 +483,6 @@ for i = 1,2 do
} }
end end
nt[3] = nt[2]
nt[2] = nt[1] nt[2] = nt[1]
minetest.override_item("nyancat:nyancat_rainbow", {tiles = nt}) minetest.override_item("nyancat:nyancat_rainbow", {tiles = nt})