From e80ef175b1c8294f67df54571ff32c7bf667db12 Mon Sep 17 00:00:00 2001 From: tacigar Date: Sat, 17 Dec 2016 22:58:44 +0900 Subject: [PATCH] Add texture to egg writer --- maidroid_tool/egg_writer.lua | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/maidroid_tool/egg_writer.lua b/maidroid_tool/egg_writer.lua index e8a3989..bb98c90 100644 --- a/maidroid_tool/egg_writer.lua +++ b/maidroid_tool/egg_writer.lua @@ -56,11 +56,41 @@ do -- register egg writer local tiles = { ["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"] = { - "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", }, }