summaryrefslogtreecommitdiff
path: root/mesecons_isolated
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-17 05:26:18 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-17 05:26:18 -0400
commit11f91bfdd6d4d610e5da848fa65a937b2655ad1e (patch)
tree023b1bed8ba7d5659c018558500f2d2f6548366d /mesecons_isolated
parent78fdedc880f33f740d7dbaee3c23ca34c0b397da (diff)
downloadmesecons-11f91bfdd6d4d610e5da848fa65a937b2655ad1e.tar
mesecons-11f91bfdd6d4d610e5da848fa65a937b2655ad1e.tar.gz
mesecons-11f91bfdd6d4d610e5da848fa65a937b2655ad1e.tar.bz2
mesecons-11f91bfdd6d4d610e5da848fa65a937b2655ad1e.tar.xz
mesecons-11f91bfdd6d4d610e5da848fa65a937b2655ad1e.zip
new nodeboxes+textures for isolated mesecons
Diffstat (limited to 'mesecons_isolated')
-rw-r--r--mesecons_isolated/init.lua43
1 files changed, 41 insertions, 2 deletions
diff --git a/mesecons_isolated/init.lua b/mesecons_isolated/init.lua
index ad98ea8..f36dcc7 100644
--- a/mesecons_isolated/init.lua
+++ b/mesecons_isolated/init.lua
@@ -1,13 +1,52 @@
minetest.register_node("mesecons_isolated:isolated_on", {
+ drawtype = "nodebox",
description = "isolated mesecons",
- tiles = {"default_stone.png"},
+ tiles = {
+ "jeija_isolated_wire_sides.png",
+ "jeija_isolated_wire_sides.png",
+ "jeija_isolated_wire_ends_on.png",
+ "jeija_isolated_wire_ends_on.png",
+ "jeija_isolated_wire_sides.png",
+ "jeija_isolated_wire_sides.png"
+ },
+ paramtype = "light",
+ walkable = false,
+ stack_max = 99,
+ selection_box = {
+ type = "fixed",
+ fixed = { -16/32-0.001, -19/32, -5/32, 16/32+0.001, -11/32, 5/32 }
+ },
+ node_box = {
+ type = "fixed",
+ fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
+ },
groups = {dig_immediate = 3, mesecon = 3, mesecon_conductor_craftable=1},
drop = "mesecons_isolated:isolated_off",
+
})
minetest.register_node("mesecons_isolated:isolated_off", {
+ drawtype = "nodebox",
description = "isolated mesecons",
- tiles = {"default_wood.png"},
+ tiles = {
+ "jeija_isolated_wire_sides.png",
+ "jeija_isolated_wire_sides.png",
+ "jeija_isolated_wire_ends_off.png",
+ "jeija_isolated_wire_ends_off.png",
+ "jeija_isolated_wire_sides.png",
+ "jeija_isolated_wire_sides.png"
+ },
+ paramtype = "light",
+ walkable = false,
+ stack_max = 99,
+ selection_box = {
+ type = "fixed",
+ fixed = { -16/32-0.001, -19/32, -5/32, 16/32+0.001, -11/32, 5/32 }
+ },
+ node_box = {
+ type = "fixed",
+ fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
+ },
groups = {dig_immediate = 3, mesecon = 3, mesecon_conductor_craftable=1, not_in_creative_inventory = 1},
})