diff options
author | Anthony Zhang <azhang9@gmail.com> | 2012-02-09 22:08:49 -0500 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2012-02-09 22:08:49 -0500 |
commit | e94941931d37d8be5d4fcc982ab5dcc21ad978f9 (patch) | |
tree | 9bdbea6ff5b4dedb57c943fab1df4006ab8d8ee8 /jeija/temperest.lua | |
parent | f54166af45bf270cd671b3cda3cf693a3865da77 (diff) |
Wield images for raillike nodes, remove inventory images for nodes that never appear in the inventory.
Diffstat (limited to 'jeija/temperest.lua')
-rw-r--r-- | jeija/temperest.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/jeija/temperest.lua b/jeija/temperest.lua index 7fa61e3..0f84624 100644 --- a/jeija/temperest.lua +++ b/jeija/temperest.lua @@ -1,17 +1,18 @@ --TEMPEREST-PLUG minetest.register_node("jeija:mesecon_plug", { - description = "Plug", drawtype = "raillike", paramtype = "light", is_ground_content = true, tile_images = {"jeija_mesecon_plug.png"}, inventory_image = "jeija_mesecon_plug.png", + wield_image = "jeija_mesecon_plug.png", material = minetest.digprop_constanttime(0.1), walkable = false, selection_box = { type = "fixed", }, + description = "Plug", }) mesecon:register_on_signal_on(function(pos, node) @@ -120,6 +121,7 @@ minetest.register_node("jeija:mesecon_socket_off", { is_ground_content = true, tile_images = {"jeija_mesecon_socket_off.png"}, inventory_image = "jeija_mesecon_socket_off.png", + wield_image = "jeija_mesecon_socket_off.png", material = minetest.digprop_constanttime(0.1), walkable = false, selection_box = { @@ -132,7 +134,6 @@ minetest.register_node("jeija:mesecon_socket_on", { paramtype = "light", is_ground_content = true, tile_images = {"jeija_mesecon_socket_on.png"}, - inventory_image = "jeija_mesecon_socket_on.png", material = minetest.digprop_constanttime(0.1), walkable = false, selection_box = { @@ -170,6 +171,7 @@ minetest.register_node("jeija:mesecon_inverter_off", { is_ground_content = true, tile_images = {"jeija_mesecon_inverter_off.png"}, inventory_image = "jeija_mesecon_inverter_off.png", + wield_image = "jeija_mesecon_inverter_off.png", material = minetest.digprop_constanttime(0.1), walkable = false, selection_box = { @@ -182,7 +184,6 @@ minetest.register_node("jeija:mesecon_inverter_on", { paramtype = "light", is_ground_content = true, tile_images = {"jeija_mesecon_inverter_on.png"}, - inventory_image = "jeija_mesecon_inverter_on.png", material = minetest.digprop_constanttime(0.1), walkable = false, selection_box = { |