From 8206ac70f1453f8851df48f57d9470714775382c Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 28 Aug 2012 14:17:18 -0400 Subject: Gave receivers their own textures. Needed so that they can be textured separately, plus the nodeboxes were a little glitchy with the wires textures. --- mesecons_receiver/init.lua | 28 ++++++++++++------------- mesecons_textures/textures/receiver_fb_off.png | Bin 0 -> 346 bytes mesecons_textures/textures/receiver_fb_on.png | Bin 0 -> 491 bytes mesecons_textures/textures/receiver_lr_off.png | Bin 0 -> 457 bytes mesecons_textures/textures/receiver_lr_on.png | Bin 0 -> 481 bytes mesecons_textures/textures/receiver_tb_off.png | Bin 0 -> 477 bytes mesecons_textures/textures/receiver_tb_on.png | Bin 0 -> 515 bytes 7 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 mesecons_textures/textures/receiver_fb_off.png create mode 100644 mesecons_textures/textures/receiver_fb_on.png create mode 100644 mesecons_textures/textures/receiver_lr_off.png create mode 100644 mesecons_textures/textures/receiver_lr_on.png create mode 100644 mesecons_textures/textures/receiver_tb_off.png create mode 100644 mesecons_textures/textures/receiver_tb_on.png diff --git a/mesecons_receiver/init.lua b/mesecons_receiver/init.lua index b5119ec..aa91bd6 100644 --- a/mesecons_receiver/init.lua +++ b/mesecons_receiver/init.lua @@ -8,18 +8,18 @@ rcvboxes = { minetest.register_node("mesecons_receiver:receiver_on", { drawtype = "nodebox", tiles = { - "wires_on.png", - "wires_on.png", - "wires_vertical_on.png", - "wires_vertical_on.png", - "wires_bump_on.png", - "wires_bump_on.png", + "receiver_tb_on.png", + "receiver_tb_on.png", + "receiver_lr_on.png", + "receiver_lr_on.png", + "receiver_fb_on.png", + "receiver_fb_on.png", }, paramtype = "light", paramtype2 = "facedir", selection_box = { type = "fixed", - fixed = { -3/16, -8/16, -8/16, 3/16, 2/16, 8/16 } + fixed = { -3/16, -8/16, -8/16, 3/16, 3/16, 8/16 } }, node_box = { type = "fixed", @@ -34,18 +34,18 @@ minetest.register_node("mesecons_receiver:receiver_off", { drawtype = "nodebox", description = "You hacker you", tiles = { - "wires_off.png", - "wires_off.png", - "wires_vertical_off.png", - "wires_vertical_off.png", - "wires_bump_off.png", - "wires_bump_off.png", + "receiver_tb_off.png", + "receiver_tb_off.png", + "receiver_lr_off.png", + "receiver_lr_off.png", + "receiver_fb_off.png", + "receiver_fb_off.png", }, paramtype = "light", paramtype2 = "facedir", selection_box = { type = "fixed", - fixed = { -3/16, -8/16, -8/16, 3/16, 2/16, 8/16 } + fixed = { -3/16, -8/16, -8/16, 3/16, 3/16, 8/16 } }, node_box = { type = "fixed", diff --git a/mesecons_textures/textures/receiver_fb_off.png b/mesecons_textures/textures/receiver_fb_off.png new file mode 100644 index 0000000..6be0a66 Binary files /dev/null and b/mesecons_textures/textures/receiver_fb_off.png differ diff --git a/mesecons_textures/textures/receiver_fb_on.png b/mesecons_textures/textures/receiver_fb_on.png new file mode 100644 index 0000000..1705a58 Binary files /dev/null and b/mesecons_textures/textures/receiver_fb_on.png differ diff --git a/mesecons_textures/textures/receiver_lr_off.png b/mesecons_textures/textures/receiver_lr_off.png new file mode 100644 index 0000000..e144691 Binary files /dev/null and b/mesecons_textures/textures/receiver_lr_off.png differ diff --git a/mesecons_textures/textures/receiver_lr_on.png b/mesecons_textures/textures/receiver_lr_on.png new file mode 100644 index 0000000..0198e32 Binary files /dev/null and b/mesecons_textures/textures/receiver_lr_on.png differ diff --git a/mesecons_textures/textures/receiver_tb_off.png b/mesecons_textures/textures/receiver_tb_off.png new file mode 100644 index 0000000..460febb Binary files /dev/null and b/mesecons_textures/textures/receiver_tb_off.png differ diff --git a/mesecons_textures/textures/receiver_tb_on.png b/mesecons_textures/textures/receiver_tb_on.png new file mode 100644 index 0000000..077eae3 Binary files /dev/null and b/mesecons_textures/textures/receiver_tb_on.png differ -- cgit v1.2.3