summaryrefslogtreecommitdiff
path: root/mesecons_extrawires
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-12-27 12:48:02 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-12-27 12:48:02 -0500
commit84ad046533be7449b647ad06c9a168cfc91b2b60 (patch)
treeafee7886d3e7be94f321f93327d562a3f3ce7d1b /mesecons_extrawires
parentcdd9a93da9c8ed5e89993bc225647dbce71f96f4 (diff)
downloadmesecons-84ad046533be7449b647ad06c9a168cfc91b2b60.tar
mesecons-84ad046533be7449b647ad06c9a168cfc91b2b60.tar.gz
mesecons-84ad046533be7449b647ad06c9a168cfc91b2b60.tar.bz2
mesecons-84ad046533be7449b647ad06c9a168cfc91b2b60.tar.xz
mesecons-84ad046533be7449b647ad06c9a168cfc91b2b60.zip
Added a couple of needed textures for curved/corner wires and tweak code to
use them. Also fixed the "on" state image for wire ends so that it works for curved wires also.
Diffstat (limited to 'mesecons_extrawires')
-rw-r--r--mesecons_extrawires/corner.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua
index 885a1ca..df45d41 100644
--- a/mesecons_extrawires/corner.lua
+++ b/mesecons_extrawires/corner.lua
@@ -24,9 +24,9 @@ end
minetest.register_node("mesecons_extrawires:corner_on", {
drawtype = "nodebox",
tiles = {
+ "jeija_insulated_wire_curved_tb_on.png",
+ "jeija_insulated_wire_curved_tb_on.png^[transformR270",
"jeija_insulated_wire_sides_on.png",
- "jeija_insulated_wire_sides_on.png",
- "jeija_insulated_wire_ends_on.png",
"jeija_insulated_wire_ends_on.png",
"jeija_insulated_wire_sides_on.png",
"jeija_insulated_wire_ends_on.png"
@@ -51,9 +51,9 @@ minetest.register_node("mesecons_extrawires:corner_off", {
drawtype = "nodebox",
description = "Mesecon Corner",
tiles = {
+ "jeija_insulated_wire_curved_tb_off.png",
+ "jeija_insulated_wire_curved_tb_off.png^[transformR270",
"jeija_insulated_wire_sides_off.png",
- "jeija_insulated_wire_sides_off.png",
- "jeija_insulated_wire_ends_off.png",
"jeija_insulated_wire_ends_off.png",
"jeija_insulated_wire_sides_off.png",
"jeija_insulated_wire_ends_off.png"