Add texture to egg writer

This commit is contained in:
tacigar 2016-12-17 22:58:44 +09:00
parent 46999a3909
commit e80ef175b1

View File

@ -56,11 +56,41 @@ do -- register egg writer
local tiles = { local tiles = {
["active"] = { ["active"] = {
"default_stone.png", "maidroid_tool_egg_writer_top.png",
"maidroid_tool_egg_writer_bottom.png",
"maidroid_tool_egg_writer_right.png",
"maidroid_tool_egg_writer_right.png^[transformFX",
{
backface_culling = false,
image = "maidroid_tool_egg_writer_front_active.png^[transformFX",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 1.5,
},
},
{
backface_culling = false,
image = "maidroid_tool_egg_writer_front_active.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 1.5,
},
},
}, },
["inactive"] = { ["inactive"] = {
"default_stone.png", "maidroid_tool_egg_writer_top.png",
"maidroid_tool_egg_writer_bottom.png",
"maidroid_tool_egg_writer_right.png",
"maidroid_tool_egg_writer_right.png^[transformFX",
"maidroid_tool_egg_writer_front.png^[transformFX",
"maidroid_tool_egg_writer_front.png",
}, },
} }